@doist/react-compiler-tracker
Advanced tools
+16
-0
@@ -5,2 +5,18 @@ # Changelog | ||
| ## [2.3.5](https://github.com/Doist/react-compiler-tracker/compare/react-compiler-tracker-v2.3.4...react-compiler-tracker-v2.3.5) (2026-06-10) | ||
| ### Bug Fixes | ||
| * **deps:** update babel monorepo to v7.29.7 ([#137](https://github.com/Doist/react-compiler-tracker/issues/137)) ([46397e2](https://github.com/Doist/react-compiler-tracker/commit/46397e297646358838413afef00722d2a5f21985)) | ||
| * **deps:** update dependency minimatch to v10.2.5 ([#109](https://github.com/Doist/react-compiler-tracker/issues/109)) ([dc30434](https://github.com/Doist/react-compiler-tracker/commit/dc30434001fda84052c826de6d2b6953043193c7)) | ||
| * drop Node 20 support ([#143](https://github.com/Doist/react-compiler-tracker/issues/143)) ([13a0e11](https://github.com/Doist/react-compiler-tracker/commit/13a0e11a23668f84c0e6fcaecdbd338cda847a5c)) | ||
| ## [2.3.4](https://github.com/Doist/react-compiler-tracker/compare/react-compiler-tracker-v2.3.3...react-compiler-tracker-v2.3.4) (2026-04-04) | ||
| ### Bug Fixes | ||
| * **security:** replace npx with npm exec to prevent unintended remote package execution ([#106](https://github.com/Doist/react-compiler-tracker/issues/106)) ([f3d0900](https://github.com/Doist/react-compiler-tracker/commit/f3d090067cbba0bbf658fbe971e4a9a5980f9901)) | ||
| ## [2.3.3](https://github.com/Doist/react-compiler-tracker/compare/react-compiler-tracker-v2.3.2...react-compiler-tracker-v2.3.3) (2026-03-16) | ||
@@ -7,0 +23,0 @@ |
@@ -13,3 +13,3 @@ import { execSync } from 'node:child_process'; | ||
| try { | ||
| return execSync(`npx tsx ${cliPath} ${args.join(' ')} 2>&1`, { | ||
| return execSync(`npm exec --no -- tsx ${cliPath} ${args.join(' ')} 2>&1`, { | ||
| cwd, | ||
@@ -16,0 +16,0 @@ encoding: 'utf8', |
+1
-1
@@ -303,3 +303,3 @@ #!/usr/bin/env node | ||
| if (errorDetails) { | ||
| console.log('Errors:' + errorDetails); | ||
| console.log(`Errors:${errorDetails}`); | ||
| } | ||
@@ -306,0 +306,0 @@ } |
@@ -114,2 +114,2 @@ import { execSync } from 'node:child_process'; | ||
| } | ||
| export { getAll, normalizeFilePaths, filterByGlob, validateFilesExist, partitionByExistence }; | ||
| export { filterByGlob, getAll, normalizeFilePaths, partitionByExistence, validateFilesExist }; |
+13
-13
| { | ||
| "name": "@doist/react-compiler-tracker", | ||
| "version": "2.3.3", | ||
| "version": "2.3.5", | ||
| "description": "A React Compiler violation tracker to help migrations and prevent regressions", | ||
@@ -38,3 +38,3 @@ "type": "module", | ||
| "engines": { | ||
| "node": "^20.0.0 || >=22.0.0" | ||
| "node": ">=22.0.0" | ||
| }, | ||
@@ -52,13 +52,13 @@ "files": [ | ||
| "rimraf": "6.1.3", | ||
| "@biomejs/biome": "2.4.6", | ||
| "@biomejs/biome": "2.4.16", | ||
| "@doist/tsconfig": "2.0.1", | ||
| "@types/babel__core": "7.20.5", | ||
| "@types/node": "25.4.0", | ||
| "@types/node": "25.9.1", | ||
| "babel-plugin-react-compiler": "1.0.0", | ||
| "husky": "9.1.7", | ||
| "lint-staged": "16.3.3", | ||
| "npm-run-all2": "8.0.4", | ||
| "tsx": "4.21.0", | ||
| "typescript": "5.9.3", | ||
| "vitest": "4.0.18" | ||
| "lint-staged": "17.0.7", | ||
| "npm-run-all2": "9.0.1", | ||
| "tsx": "4.22.4", | ||
| "typescript": "6.0.3", | ||
| "vitest": "4.1.8" | ||
| }, | ||
@@ -69,8 +69,8 @@ "peerDependencies": { | ||
| "dependencies": { | ||
| "@babel/core": "7.29.0", | ||
| "@babel/preset-react": "7.28.5", | ||
| "@babel/preset-typescript": "7.28.5", | ||
| "@babel/core": "7.29.7", | ||
| "@babel/preset-react": "7.29.7", | ||
| "@babel/preset-typescript": "7.29.7", | ||
| "glob": "13.0.6", | ||
| "minimatch": "10.2.4" | ||
| "minimatch": "10.2.5" | ||
| } | ||
| } |
+8
-8
@@ -72,3 +72,3 @@ # React Compiler Tracker | ||
| ```bash | ||
| npx @doist/react-compiler-tracker --overwrite | ||
| npm exec --no -- @doist/react-compiler-tracker --overwrite | ||
| ``` | ||
@@ -81,3 +81,3 @@ | ||
| ```bash | ||
| npx @doist/react-compiler-tracker --stage-record-file src/components/Button.tsx src/hooks/useData.ts | ||
| npm exec --no -- @doist/react-compiler-tracker --stage-record-file src/components/Button.tsx src/hooks/useData.ts | ||
| ``` | ||
@@ -92,3 +92,3 @@ | ||
| ```bash | ||
| npx @doist/react-compiler-tracker --check-files src/components/Button.tsx src/hooks/useData.ts | ||
| npm exec --no -- @doist/react-compiler-tracker --check-files src/components/Button.tsx src/hooks/useData.ts | ||
| ``` | ||
@@ -101,3 +101,3 @@ | ||
| ```bash | ||
| npx @doist/react-compiler-tracker | ||
| npm exec --no -- @doist/react-compiler-tracker | ||
| ``` | ||
@@ -110,3 +110,3 @@ | ||
| ```bash | ||
| npx @doist/react-compiler-tracker --check-files --show-errors src/components/Button.tsx | ||
| npm exec --no -- @doist/react-compiler-tracker --check-files --show-errors src/components/Button.tsx | ||
| ``` | ||
@@ -141,3 +141,3 @@ | ||
| "lint-staged": { | ||
| "*.{js,jsx,ts,tsx}": "npx @doist/react-compiler-tracker --stage-record-file" | ||
| "*.{js,jsx,ts,tsx}": "npm exec --no -- @doist/react-compiler-tracker --stage-record-file" | ||
| } | ||
@@ -157,3 +157,3 @@ } | ||
| if [ -n "$FILES" ]; then | ||
| npx @doist/react-compiler-tracker --check-files $FILES | ||
| npm exec --no -- @doist/react-compiler-tracker --check-files $FILES | ||
| fi | ||
@@ -170,3 +170,3 @@ ``` | ||
| if [ -n "$FILES" ]; then | ||
| npx @doist/react-compiler-tracker --stage-record-file $FILES | ||
| npm exec --no -- @doist/react-compiler-tracker --stage-record-file $FILES | ||
| fi | ||
@@ -173,0 +173,0 @@ ``` |
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
76309
1.8%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated