Skip to content

Commit 0ac3cab

Browse files
committed
chore(deps): update deps to latest, minimize overrides, upgrade expo sample to SDK 56
- Update 46 outdated external dependencies to their latest versions (vitest 2->4, zod 3->4 + @modelcontextprotocol/sdk 1.0->1.29, eslint, @playwright/test, rollup, @docusaurus/*, @rspack/*, react/react-native, postcss, svelte, vue, wrangler, ...). - Minimize pnpm.overrides from 40 to 7 now that the latest direct deps pull patched transitives natively (kept: ip-address, minimatch, on-headers, postcss, qs, serialize-javascript, uuid). - Relax the vitest fs check (server.fs.strict=false) so vite 6 can load the temp config files that loadJs/loadConfig dynamically import. - Bump activesupport to >=7.2.3.1 in the React Native CLI sample Gemfiles. - Upgrade the Expo sample to SDK 56 (RN 0.85, react-navigation -> expo-router theming, regenerated android/ios native projects). Clears the outstanding Dependabot alerts (vite, ws, activesupport, uuid, ...). pnpm audit: 0; cpp.js tests 68/68; expo sample npm audit: 0.
1 parent 16bc155 commit 0ac3cab

42 files changed

Lines changed: 6154 additions & 7511 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

cppjs-core/cpp.js/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"test:coverage": "vitest run --coverage"
2121
},
2222
"devDependencies": {
23-
"vitest": "^2.1.4",
24-
"@vitest/coverage-v8": "^2.1.4"
23+
"vitest": "^4.1.7",
24+
"@vitest/coverage-v8": "^4.1.7"
2525
},
2626
"dependencies": {
2727
"@rollup/plugin-commonjs": "^29.0.2",
@@ -30,7 +30,7 @@
3030
"@rollup/plugin-virtual": "^3.0.2",
3131
"commander": "^14.0.3",
3232
"glob": "^13.0.6",
33-
"rollup": "^4.60.2",
33+
"rollup": "^4.60.4",
3434
"upath": "^3.0.7",
3535
"decompress": "^4.2.1",
3636
"follow-redirects": "^1.16.0",

cppjs-core/cpp.js/vitest.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
import { defineConfig } from 'vitest/config';
22

33
export default defineConfig({
4+
// loadJs/loadConfig dynamically import config files written to os.tmpdir()
5+
// during tests. Vite 6 tightened server.fs.allow and rejects those out-of-root
6+
// paths ("Does the file exist?"); relax the fs check for the test runner.
7+
server: {
8+
fs: {
9+
strict: false,
10+
},
11+
},
412
test: {
513
include: ['test/**/*.test.js'],
614
environment: 'node',

cppjs-core/cppjs-core-create-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@cpp.js/sample-cloud-cloudflare-worker": "workspace:^",
2323
"@cpp.js/sample-mobile-reactnative-cli": "workspace:^",
2424
"@cpp.js/sample-mobile-reactnative-expo": "2.0.0-beta.15",
25-
"fs-extra": "^11.3.4",
25+
"fs-extra": "^11.3.5",
2626
"kleur": "^4.1.5",
2727
"prompts": "^2.4.2",
2828
"replace": "^1.2.2"

cppjs-core/cppjs-mcp/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"AGENTS.md"
2121
],
2222
"dependencies": {
23-
"@modelcontextprotocol/sdk": "^1.0.4",
24-
"zod": "^3.23.8"
23+
"@modelcontextprotocol/sdk": "^1.29.0",
24+
"zod": "^4.4.3"
2525
},
2626
"keywords": [
2727
"mcp",

cppjs-plugins/cppjs-plugin-metro/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
},
1212
"dependencies": {
1313
"cpp.js": "workspace:^",
14-
"@babel/runtime": "^7.29.2",
15-
"@react-native/metro-babel-transformer": "^0.85.2",
14+
"@babel/runtime": "^7.29.7",
15+
"@react-native/metro-babel-transformer": "^0.85.3",
1616
"upath": "^3.0.7"
1717
},
1818
"keywords": [

cppjs-plugins/cppjs-plugin-react-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"cpp.js": "workspace:^",
1616
"@cpp.js/plugin-metro": "workspace:^",
1717
"@cpp.js/core-embind-jsi": "workspace:^",
18-
"@babel/runtime": "^7.29.2",
18+
"@babel/runtime": "^7.29.7",
1919
"upath": "^3.0.7"
2020
},
2121
"keywords": [

cppjs-samples/cppjs-playground-backend-nodejs-multithread/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@cpp.js/package-tiff": "workspace:^",
2525
"@cpp.js/package-webp": "workspace:^",
2626
"@cpp.js/package-zlib": "workspace:^",
27-
"ws": "8.20.0",
27+
"ws": "8.21.0",
2828
"xhr2": "^0.2.1"
2929
},
3030
"keywords": [

cppjs-samples/cppjs-playground-backend-nodejs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@cpp.js/package-tiff": "workspace:^",
2626
"@cpp.js/package-webp": "workspace:^",
2727
"@cpp.js/package-zlib": "workspace:^",
28-
"ws": "8.20.0",
28+
"ws": "8.21.0",
2929
"xhr2": "^0.2.1"
3030
},
3131
"keywords": [

cppjs-samples/cppjs-playground-cloud-cloudflare-worker/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
"@cpp.js/package-zlib": "workspace:^"
3636
},
3737
"devDependencies": {
38-
"wrangler": "^4.85.0",
39-
"@playwright/test": "^1.59.1"
38+
"wrangler": "^4.95.0",
39+
"@playwright/test": "^1.60.0"
4040
},
4141
"keywords": [
4242
"cpp.js-sample",

cppjs-samples/cppjs-playground-mobile-reactnative-cli/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ruby ">= 2.6.10"
55

66
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
77
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
8-
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
8+
gem 'activesupport', '>= 7.2.3.1'
99
gem 'xcodeproj', '< 1.26.0'
1010
gem 'concurrent-ruby', '< 1.3.4'
1111

0 commit comments

Comments
 (0)