From 471c99e4caac8c3589003a04f09f529c1b278aef Mon Sep 17 00:00:00 2001 From: bourgeoa Date: Wed, 9 Apr 2025 15:19:43 +0200 Subject: [PATCH 1/4] remove --experimental-require-module --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index d149bb6b..672c0fc9 100644 --- a/package.json +++ b/package.json @@ -146,12 +146,12 @@ "main": "index.js", "scripts": { "build": "echo nothing to build", - "solid": "node --experimental-require-module ./bin/solid", + "solid": "node ./bin/solid", "standard": "standard \"{bin,examples,lib,test}/**/*.js\"", "validate": "node ./test/validate-turtle.js", - "c8": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 c8 --reporter=text-summary mocha -n experimental-require-module --recursive test/integration/ test/unit/", - "mocha": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha -n experimental-require-module --recursive test/integration/ test/unit/", - "mocha-integration": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha -n experimental-require-module --recursive test/integration/http-test.js", + "c8": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 c8 --reporter=text-summary mocha --recursive test/integration/ test/unit/", + "mocha": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/ test/unit/", + "mocha-integration": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/http-test.js", "mocha-account-creation-oidc": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/account-creation-oidc-test.js", "mocha-account-manager": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/account-manager-test.js", "mocha-account-template": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/account-template-test.js", @@ -188,6 +188,6 @@ "solid": "bin/solid" }, "engines": { - "node": ">=20.17.0 <21 || >=22.8.0" + "node": ">=20.19.0 <21 || >=22.14.0" } } From 6b667bf0bbcee21e94dd3c5581a78dd989673926 Mon Sep 17 00:00:00 2001 From: bourgeoa Date: Wed, 9 Apr 2025 15:46:13 +0200 Subject: [PATCH 2/4] c8 -n --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 672c0fc9..c1b00e1e 100644 --- a/package.json +++ b/package.json @@ -149,7 +149,7 @@ "solid": "node ./bin/solid", "standard": "standard \"{bin,examples,lib,test}/**/*.js\"", "validate": "node ./test/validate-turtle.js", - "c8": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 c8 --reporter=text-summary mocha --recursive test/integration/ test/unit/", + "c8": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 c8 -n --reporter=text-summary mocha --recursive test/integration/ test/unit/", "mocha": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/ test/unit/", "mocha-integration": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/http-test.js", "mocha-account-creation-oidc": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/account-creation-oidc-test.js", From 3011c506ede76d8f7a85aa4a0aa38e951f4767d5 Mon Sep 17 00:00:00 2001 From: bourgeoa Date: Wed, 9 Apr 2025 15:51:13 +0200 Subject: [PATCH 3/4] mocha -n --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c1b00e1e..5df8c9b7 100644 --- a/package.json +++ b/package.json @@ -149,7 +149,7 @@ "solid": "node ./bin/solid", "standard": "standard \"{bin,examples,lib,test}/**/*.js\"", "validate": "node ./test/validate-turtle.js", - "c8": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 c8 -n --reporter=text-summary mocha --recursive test/integration/ test/unit/", + "c8": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 c8 --reporter=text-summary mocha -n --recursive test/integration/ test/unit/", "mocha": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/ test/unit/", "mocha-integration": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/http-test.js", "mocha-account-creation-oidc": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/account-creation-oidc-test.js", From 5ceab36052795683ed8c4f22600caa37a864f1eb Mon Sep 17 00:00:00 2001 From: bourgeoa Date: Wed, 9 Apr 2025 15:59:38 +0200 Subject: [PATCH 4/4] -n experimental-require-module --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5df8c9b7..2e73b476 100644 --- a/package.json +++ b/package.json @@ -149,7 +149,7 @@ "solid": "node ./bin/solid", "standard": "standard \"{bin,examples,lib,test}/**/*.js\"", "validate": "node ./test/validate-turtle.js", - "c8": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 c8 --reporter=text-summary mocha -n --recursive test/integration/ test/unit/", + "c8": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 c8 --reporter=text-summary mocha -n experimental-require-module --recursive test/integration/ test/unit/", "mocha": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/ test/unit/", "mocha-integration": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/http-test.js", "mocha-account-creation-oidc": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --recursive test/integration/account-creation-oidc-test.js",