@ai-sdk/code-mode 1.0.142 → 1.0.144

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +8 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/code-mode",
3
- "version": "1.0.142",
3
+ "version": "1.0.144",
4
4
  "description": "QuickJS-backed code mode tool for AI SDK",
5
5
  "keywords": [
6
6
  "ai",
@@ -37,15 +37,16 @@
37
37
  "README.md"
38
38
  ],
39
39
  "peerDependencies": {
40
- "ai": "7.0.185"
40
+ "ai": "7.0.187"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/node": "22.19.19",
44
+ "@typescript/native": "npm:typescript@7.0.2",
44
45
  "@vercel/ai-tsconfig": "0.0.0",
45
46
  "@vercel/ai-tsdown-config": "0.0.0",
46
- "ai": "7.0.185",
47
+ "ai": "7.0.187",
47
48
  "tsdown": "^0.23.0",
48
- "typescript": "6.0.3",
49
+ "typescript": "npm:@typescript/typescript6@6.0.2",
49
50
  "zod": "4.6.7"
50
51
  },
51
52
  "engines": {
@@ -72,6 +73,9 @@
72
73
  "clean": "del-cli build",
73
74
  "type-check": "tsc --noEmit && tsc --noEmit -p src/tsconfig.json",
74
75
  "test": "pnpm test:node",
76
+ "test:node22": "node ../../tools/with-node.mjs 22 pnpm test",
77
+ "test:node24": "node ../../tools/with-node.mjs 24 pnpm test",
78
+ "test:node26": "node ../../tools/with-node.mjs 26 pnpm test",
75
79
  "test:watch": "vitest --config vitest.node.config.js",
76
80
  "test:node": "vitest --config vitest.node.config.js --run",
77
81
  "test:e2e": "vitest --config vitest.e2e.config.ts --run"