From ae1c78eb24d3e9163a3abec76733f475a400625d Mon Sep 17 00:00:00 2001 From: Marie Lucca Date: Wed, 23 Jul 2025 09:46:56 -0400 Subject: [PATCH 1/2] chore: update typescript-plugin-css-modules to v5.2.0 --- package-lock.json | 144 +++++++++++++++--------------------- packages/react/package.json | 2 +- 2 files changed, 62 insertions(+), 84 deletions(-) diff --git a/package-lock.json b/package-lock.json index ec17dedc131..337e881a48d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26784,7 +26784,8 @@ "node_modules/sax": { "version": "1.3.0", "dev": true, - "license": "ISC" + "license": "ISC", + "optional": true }, "node_modules/saxes": { "version": "6.0.0", @@ -28290,35 +28291,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/stylus": { - "version": "0.62.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@adobe/css-tools": "~4.3.1", - "debug": "^4.3.2", - "glob": "^7.1.6", - "sax": "~1.3.0", - "source-map": "^0.7.3" - }, - "bin": { - "stylus": "bin/stylus" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://opencollective.com/stylus" - } - }, - "node_modules/stylus/node_modules/source-map": { - "version": "0.7.4", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">= 8" - } - }, "node_modules/sugarss": { "version": "4.0.1", "dev": true, @@ -29512,58 +29484,6 @@ "typescript": ">=4.8.4" } }, - "node_modules/typescript-plugin-css-modules": { - "version": "5.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/postcss-modules-local-by-default": "^4.0.2", - "@types/postcss-modules-scope": "^3.0.4", - "dotenv": "^16.4.2", - "icss-utils": "^5.1.0", - "less": "^4.2.0", - "lodash.camelcase": "^4.3.0", - "postcss": "^8.4.35", - "postcss-load-config": "^3.1.4", - "postcss-modules-extract-imports": "^3.0.0", - "postcss-modules-local-by-default": "^4.0.4", - "postcss-modules-scope": "^3.1.1", - "reserved-words": "^0.1.2", - "sass": "^1.70.0", - "source-map-js": "^1.0.2", - "stylus": "^0.62.0", - "tsconfig-paths": "^4.2.0" - }, - "peerDependencies": { - "typescript": ">=4.0.0" - } - }, - "node_modules/typescript-plugin-css-modules/node_modules/dotenv": { - "version": "16.5.0", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.5.0.tgz", - "integrity": "sha512-m/C+AwOAr9/W1UOIZUo232ejMNnJAJtYQjUbHoNTBNTJSvqzzDh7vnrei3o3r3m9blf6ZoDkvcw0VmozNRFJxg==", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://dotenvx.com" - } - }, - "node_modules/typescript-plugin-css-modules/node_modules/tsconfig-paths": { - "version": "4.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "json5": "^2.2.2", - "minimist": "^1.2.6", - "strip-bom": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/uc.micro": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz", @@ -31560,7 +31480,7 @@ "tsx": "4.20.3", "typed-css-modules": "^0.9.1", "typescript": "^5.8.2", - "typescript-plugin-css-modules": "5.1.0", + "typescript-plugin-css-modules": "^5.2.0", "unist-util-find": "3.0.0", "unist-util-find-before": "4.0.0", "unist-util-flat-filter": "2.0.0", @@ -31660,6 +31580,19 @@ "url": "https://github.com/sponsors/wooorm" } }, + "packages/react/node_modules/dotenv": { + "version": "16.6.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.6.1.tgz", + "integrity": "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, "packages/react/node_modules/fsevents": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", @@ -31892,6 +31825,21 @@ "url": "https://github.com/sponsors/wooorm" } }, + "packages/react/node_modules/tsconfig-paths": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", + "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==", + "dev": true, + "license": "MIT", + "dependencies": { + "json5": "^2.2.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, "packages/react/node_modules/tsx": { "version": "4.20.3", "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.20.3.tgz", @@ -31912,6 +31860,36 @@ "fsevents": "~2.3.3" } }, + "packages/react/node_modules/typescript-plugin-css-modules": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/typescript-plugin-css-modules/-/typescript-plugin-css-modules-5.2.0.tgz", + "integrity": "sha512-c5pAU5d+m3GciDr/WhkFldz1NIEGBafuP/3xhFt9BEXS2gmn/LvjkoZ11vEBIuP8LkXfPNhOt1BUhM5efFuwOw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/postcss-modules-local-by-default": "^4.0.2", + "@types/postcss-modules-scope": "^3.0.4", + "dotenv": "^16.4.2", + "icss-utils": "^5.1.0", + "less": "^4.2.0", + "lodash.camelcase": "^4.3.0", + "postcss": "^8.4.35", + "postcss-load-config": "^3.1.4", + "postcss-modules-extract-imports": "^3.0.0", + "postcss-modules-local-by-default": "^4.0.4", + "postcss-modules-scope": "^3.1.1", + "reserved-words": "^0.1.2", + "sass": "^1.70.0", + "source-map-js": "^1.0.2", + "tsconfig-paths": "^4.2.0" + }, + "optionalDependencies": { + "stylus": "^0.62.0" + }, + "peerDependencies": { + "typescript": ">=4.0.0" + } + }, "packages/rollup-plugin-import-css": { "version": "0.0.0", "devDependencies": { diff --git a/packages/react/package.json b/packages/react/package.json index 47d0f5039f6..31d5cea5a5b 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -208,7 +208,7 @@ "tsx": "4.20.3", "typed-css-modules": "^0.9.1", "typescript": "^5.8.2", - "typescript-plugin-css-modules": "5.1.0", + "typescript-plugin-css-modules": "^5.2.0", "unist-util-find": "3.0.0", "unist-util-find-before": "4.0.0", "unist-util-flat-filter": "2.0.0", From fa7e65bddb98f59405a677ed9fb8cce3049738d4 Mon Sep 17 00:00:00 2001 From: Marie Lucca <40550942+francinelucca@users.noreply.github.com> Date: Wed, 23 Jul 2025 11:14:07 -0400 Subject: [PATCH 2/2] Create cool-cows-suffer.md --- .changeset/cool-cows-suffer.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/cool-cows-suffer.md diff --git a/.changeset/cool-cows-suffer.md b/.changeset/cool-cows-suffer.md new file mode 100644 index 00000000000..a1ea6af5097 --- /dev/null +++ b/.changeset/cool-cows-suffer.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +chore: update typescript-plugin-css-modules to v5.2.0