Commit 8323a3c
committed
fix: scope Node version constraint to ai-isolate-node (Node >= 22 for isolated-vm)
The previous "Node 24+" claim was overreaching:
- Only `@tanstack/ai-isolate-node` (via `isolated-vm`) has a Node version
floor. Everything else in the workspace runs fine on older Node.
- `isolated-vm`'s actual `engines.node` is `>=22.0.0` (see
https://github.com/laverdet/isolated-vm/blob/main/package.json), not 24.
Changes:
- Root package.json: drop the `node: ">=24"` entry from engines (keep the
pnpm constraint). No global Node floor for development.
- packages/typescript/ai-isolate-node/package.json: bump `engines.node`
from `>=18` to `>=22` to match upstream.
- packages/typescript/ai-isolate-node/README.md: same — say `>=22`, and
add the `--no-node-snapshot` flag note for Node 20+ runtime usage.1 parent 30e3317 commit 8323a3c
3 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments