Skip to content

Commit e34cd90

Browse files
authored
Merge pull request #266 from xyz-tools/fix/node22-compat
Fix Node 22 compatibility
2 parents 11689f1 + 573717d commit e34cd90

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@v4
2525
- uses: actions/setup-node@v4
2626
with:
27-
node-version: '20.x'
27+
node-version: '22.x'
2828
cache: "npm"
2929
- run: npm ci
3030
- run: npm run build

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.19.0
1+
v22.12.0

rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-env node */
2-
import pkg from './package.json' assert { type: 'json' };
2+
import pkg from './package.json' with { type: 'json' };
33
import esbuild from 'rollup-plugin-esbuild';
44
import dts from 'rollup-plugin-dts';
55
import { nodeResolve } from '@rollup/plugin-node-resolve';

0 commit comments

Comments
 (0)