Skip to content

Commit af2ab1d

Browse files
committed
fix: update Node.js for November 2026 security release
1 parent f99b5d0 commit af2ab1d

4 files changed

Lines changed: 12 additions & 4 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'powersync': patch
3+
'@powersync/cli-plugin-config-edit': patch
4+
---
5+
6+
Update the Node.js runtime bundled in standalone installers to 24.22.3. The configuration editor now uses the CLI's Node executable so standalone installations use their bundled runtime for the editor.

‎.nvmrc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24
1+
24.22.3

‎README.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ Monorepo for the PowerSync CLI and related tooling. Built with [pnpm](https://pn
66

77
## Requirements
88

9-
- **Node**: LTS v24+ (see [.nvmrc](./.nvmrc); use `nvm use` to switch)
9+
- **Node**: LTS v24+ (see [.nvmrc](./.nvmrc); use `fnm use --install-if-missing` to switch)
1010
- **Package manager**: pnpm
1111

12+
Package installations use your own Node runtime; update it to Node 22.23.5, 24.22.3, or 26.13.1 (or a newer patched release in those lines). Rebuild and reinstall standalone installers to update their bundled Node runtime. The configuration editor uses the same Node executable as the CLI.
13+
1214
## Monorepo structure
1315

1416
The workspace is split into the main CLI, shared **packages**, and optional **plugins**:
@@ -58,7 +60,7 @@ Users can manage their own installed plugins dynamically at runtime. Run `powers
5860
## Getting started
5961

6062
```bash
61-
nvm use # use Node from .nvmrc (optional)
63+
fnm use --install-if-missing
6264
pnpm install
6365
pnpm build
6466
```

‎plugins/config-edit/src/commands/edit/config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default class EditConfig extends SharedInstanceCommand {
4949
this.log(`Serving built editor from: ${targetDist}`);
5050

5151
const child = spawn(
52-
'node',
52+
process.execPath,
5353
[path.join(targetDist, 'server/index.mjs'), '--host', flags.host, '--port', String(flags.port)],
5454
{
5555
cwd: editorDir,

0 commit comments

Comments
 (0)