Skip to content

Commit 728ae21

Browse files
author
Guy Bedford
authored
Node.js 22 support (#765)
1 parent 3f7355a commit 728ae21

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

integration-tests/js-compute/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ await retry(10, expBackoff('60s', '30s'), async () => {
103103
})
104104
core.endGroup()
105105

106-
const { default: tests } = await import(join(fixturePath, 'tests.json'), { assert: { type: 'json' } });
106+
const { default: tests } = await import(join(fixturePath, 'tests.json'), { with: { type: 'json' } });
107107

108108
core.startGroup('Running tests')
109109
function chunks(arr, size) {

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
{
22
"name": "@fastly/js-compute",
33
"version": "3.13.1",
4-
"engines": {
5-
"node": "16 - 20",
6-
"npm": "^8 || ^9 || ^10"
7-
},
84
"license": "Apache-2.0",
95
"main": "js-compute-runtime-cli.js",
106
"types": "types/index.d.ts",

0 commit comments

Comments
 (0)