Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ updates:
target-branch: 'develop'
schedule:
interval: 'daily'
# Versions are pinned (.npmrc save-exact): an update moves the pinned version to the new one.
# The default for a library (`auto`) would widen it into a range.
versioning-strategy: 'increase'
groups:
# The @vitest/* packages require the exact same vitest version, so they
# have to be updated together with vitest in one pull request.
Expand Down
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Exact versions only: npm install saves the version it installs, never a range. Updates come
# through Dependabot.
save-exact=true
6 changes: 6 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ npm run audit:all # npm audit in root AND every tests/* package — always

## After any dependency change

**Exact versions only** (asked by the security team): every `dependencies`, `devDependencies` and
`overrides` entry, in the root and the test fixtures, names one version, never a range (`.npmrc`
has `save-exact=true`; an override of a direct dependency is its `$name` reference). Updates come
through Dependabot (`versioning-strategy: increase`); a security fix it doesn't make is a pinned
bump or override by hand. `peerDependencies` stay ranges: they say what pp-dev works with.

Always verify with the **repo-wide audit**, not just root:

```bash
Expand Down
441 changes: 210 additions & 231 deletions package-lock.json

Large diffs are not rendered by default.

108 changes: 54 additions & 54 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,23 +69,23 @@
"node": ">=24"
},
"overrides": {
"@xmldom/xmldom": ">=0.8.12",
"brace-expansion": ">=5.0.12",
"@xmldom/xmldom": "0.9.12",
"brace-expansion": "5.0.12",
"cheerio": {
"undici": "^6.28.1"
"undici": "6.29.1"
},
"chokidar": "^5.0.0",
"glob": "^14.0.3",
"http-cache-semantics": ">=4.3.0",
"ip-address": ">=10.7.1",
"chokidar": "$chokidar",
"glob": "14.0.7",
"http-cache-semantics": "4.3.0",
"ip-address": "10.7.4",
"minimatch": "11.0.4",
"nanoid": "3.3.18",
"next@*": {
"postcss": "8.5.23"
},
"qs": ">=6.16.1",
"serialize-javascript": ">=7.1.2",
"tar": "^7.5.22",
"qs": "6.17.1",
"serialize-javascript": "7.1.3",
"tar": "7.5.22",
"vite@*": {
"postcss": "8.5.23"
}
Expand All @@ -105,54 +105,54 @@
}
},
"dependencies": {
"axios": "^1.20.0",
"cac": "^7.1.0",
"chokidar": "^5.0.0",
"diff-match-patch": "^1.0.5",
"dir-compare": "^5.0.0",
"ejs": "^7.0.2",
"esbuild": "^0.28.2",
"express": "^5.3.0",
"file-type": "^22.2.0",
"http-proxy-middleware": "^4.2.0",
"isbinaryfile": "^6.0.0",
"axios": "1.21.0",
"cac": "7.1.0",
"chokidar": "5.0.0",
"diff-match-patch": "1.0.5",
"dir-compare": "5.0.0",
"ejs": "7.0.2",
"esbuild": "0.28.2",
"express": "5.3.0",
"file-type": "22.2.0",
"http-proxy-middleware": "4.2.1",
"isbinaryfile": "6.0.0",
"jsdom": "30.1.3",
"jszip": "^3.10.2",
"picocolors": "^1.1.1",
"sass": "^1.105.2",
"sharp": "^0.35.5",
"svgo": "^4.1.0",
"vite": "^8.3.4",
"vite-plugin-image-optimizer": "^2.0.3",
"vite-plugin-zip-pack": "^1.2.4",
"ws": "^8.22.0"
"jszip": "3.10.2",
"picocolors": "1.1.1",
"sass": "1.107.1",
"sharp": "0.35.5",
"svgo": "4.1.0",
"vite": "8.3.5",
"vite-plugin-image-optimizer": "2.0.3",
"vite-plugin-zip-pack": "1.2.4",
"ws": "8.23.0"
},
"devDependencies": {
"@playwright/test": "^1.64.1",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.3.0",
"@rollup/plugin-url": "^8.0.2",
"@types/diff-match-patch": "^1.0.36",
"@types/ejs": "^3.1.5",
"@types/express": "^5.0.6",
"@types/jsdom": "^30.0.0",
"@types/node": "^26.6.5",
"@types/ws": "^8.18.2",
"@vitest/coverage-v8": "^5.0.5",
"eslint": "^10.13.0",
"next": "^16.4.6",
"prettier": "^3.9.10",
"rimraf": "^6.1.3",
"rollup": "^4.64.10",
"rollup-plugin-dts": "^6.5.1",
"rollup-plugin-scss": "^4.0.1",
"@playwright/test": "1.64.1",
"@rollup/plugin-terser": "1.0.2",
"@rollup/plugin-typescript": "12.3.1",
"@rollup/plugin-url": "8.0.2",
"@types/diff-match-patch": "1.0.36",
"@types/ejs": "3.1.5",
"@types/express": "5.0.6",
"@types/jsdom": "30.0.0",
"@types/node": "26.6.6",
"@types/ws": "8.18.2",
"@vitest/coverage-v8": "5.1.2",
"eslint": "10.14.0",
"next": "16.4.6",
"prettier": "3.9.10",
"rimraf": "6.1.4",
"rollup": "4.68.8",
"rollup-plugin-dts": "6.5.1",
"rollup-plugin-scss": "4.0.1",
"rollup-plugin-visualizer": "7.1.1",
"svgtofont": "^6.5.3",
"tslib": "^2.8.1",
"tsx": "^4.23.15",
"typescript": "^6.0.3",
"typescript-eslint": "^8.72.0",
"vitest": "^5.0.5"
"svgtofont": "6.5.3",
"tslib": "2.9.1",
"tsx": "4.23.15",
"typescript": "6.0.3",
"typescript-eslint": "8.72.1",
"vitest": "5.1.2"
},
"files": [
"bin",
Expand Down
3 changes: 3 additions & 0 deletions tests/test-commonjs/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Exact versions only: npm install saves the version it installs, never a range. Updates come
# through Dependabot.
save-exact=true
12 changes: 6 additions & 6 deletions tests/test-commonjs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions tests/test-commonjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
},
"dependencies": {
"@metricinsights/pp-dev": "file:../../metricinsights-pp-dev-latest.tgz",
"jquery": "^4.0.0",
"luxon": "^3.7.2"
"jquery": "4.0.0",
"luxon": "3.7.2"
},
"devDependencies": {
"@types/jquery": "^4.0.1",
"@types/luxon": "^3.7.2",
"typescript": "^6.0.3",
"vite": "^8.3.4"
"@types/jquery": "4.0.1",
"@types/luxon": "3.7.6",
"typescript": "6.0.3",
"vite": "8.3.4"
}
}
3 changes: 3 additions & 0 deletions tests/test-nextjs-cjs/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Exact versions only: npm install saves the version it installs, never a range. Updates come
# through Dependabot.
save-exact=true
86 changes: 76 additions & 10 deletions tests/test-nextjs-cjs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions tests/test-nextjs-cjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
},
"dependencies": {
"@metricinsights/pp-dev": "file:../../metricinsights-pp-dev-latest.tgz",
"next": "^16.4.6",
"react": "^19.2.7",
"react-dom": "^19.2.7"
"next": "16.4.6",
"react": "19.3.0",
"react-dom": "19.3.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.3.2",
"@types/node": "^26",
"@types/react": "^19",
"@types/react-dom": "^19",
"postcss": "^8.5.16",
"tailwindcss": "^4",
"typescript": "^6"
"@tailwindcss/postcss": "4.3.3",
"@types/node": "26.6.4",
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",
"postcss": "8.5.29",
"tailwindcss": "4.3.3",
"typescript": "6.0.3"
}
}
3 changes: 3 additions & 0 deletions tests/test-nextjs/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Exact versions only: npm install saves the version it installs, never a range. Updates come
# through Dependabot.
save-exact=true
Loading
Loading