refactor: update to node 22

This commit is contained in:
Rainer Killinger
2025-06-30 15:17:51 +02:00
parent ef4e1f8ded
commit c8e290200f
56 changed files with 14214 additions and 13224 deletions

View File

@@ -38,15 +38,14 @@
"@openstapps/api": "workspace:*",
"@openstapps/core": "workspace:*",
"@openstapps/core-tools": "workspace:*",
"@openstapps/eslint-config": "workspace:*",
"@openstapps/logger": "workspace:*",
"@types/cli-progress": "3.11.0",
"@types/express": "4.17.17",
"@types/fs-extra": "9.0.13",
"@types/json-schema": "7.0.11",
"@types/json-schema": "7.0.15",
"@types/junit-report-builder": "3.0.0",
"@types/mocha": "10.0.1",
"@types/node": "18.15.3",
"@types/mocha": "10.0.10",
"@types/node": "22.15.31",
"@types/wait-on": "5.3.1",
"cli-progress": "3.12.0",
"commander": "10.0.0",
@@ -55,20 +54,21 @@
"wait-on": "6.0.1"
},
"devDependencies": {
"@openstapps/eslint-config": "workspace:*",
"@openstapps/prettier-config": "workspace:*",
"@openstapps/tsconfig": "workspace:*",
"@types/chai": "4.3.5",
"@types/chai-as-promised": "7.1.5",
"@types/chai-spies": "1.0.3",
"c8": "7.14.0",
"chai": "4.3.7",
"chai-as-promised": "7.1.1",
"chai-spies": "1.0.0",
"mocha": "10.2.0",
"@types/chai": "4.3.20",
"@types/chai-as-promised": "7.1.8",
"@types/chai-spies": "1.0.6",
"c8": "10.1.3",
"chai": "4.5.0",
"chai-as-promised": "7.1.2",
"chai-spies": "1.1.0",
"mocha": "10.8.2",
"mocha-junit-reporter": "2.2.0",
"nock": "13.3.1",
"ts-node": "10.9.2",
"tsup": "6.7.0",
"tsup": "8.5.0",
"typescript": "5.4.2"
},
"tsup": {

View File

@@ -162,7 +162,11 @@ describe('e2e Connector', function () {
await e2eRun(httpClient, {
to: 'http://localhost',
samplesLocation: './node_modules/@openstapps/core/test/resources',
}).should.eventually.include('Unexpected difference between original and retrieved sample');
}).should.eventually.satisfy((errors: string[]) => {
return errors.every(error => {
return error.startsWith('Unexpected difference between original and retrieved sample');
});
});
});
it('should fail to index', async function () {

View File

@@ -38,7 +38,7 @@
"@openstapps/logger": "workspace:*",
"@types/body-parser": "1.19.2",
"@types/express": "4.17.17",
"@types/json-schema": "7.0.11",
"@types/json-schema": "7.0.15",
"@types/morgan": "1.9.4",
"body-parser": "1.20.2",
"express": "4.18.2",
@@ -49,20 +49,20 @@
"@openstapps/eslint-config": "workspace:*",
"@openstapps/prettier-config": "workspace:*",
"@openstapps/tsconfig": "workspace:*",
"@types/chai": "4.3.5",
"@types/chai-as-promised": "7.1.5",
"@types/chai-spies": "1.0.3",
"@types/mocha": "10.0.1",
"c8": "7.14.0",
"chai": "4.3.7",
"chai-as-promised": "7.1.1",
"chai-spies": "1.0.0",
"@types/chai": "4.3.20",
"@types/chai-as-promised": "7.1.8",
"@types/chai-spies": "1.0.6",
"@types/mocha": "10.0.10",
"c8": "10.1.3",
"chai": "4.5.0",
"chai-as-promised": "7.1.2",
"chai-spies": "1.1.0",
"conventional-changelog-cli": "2.2.2",
"mocha": "10.2.0",
"mocha": "10.8.2",
"mocha-junit-reporter": "2.2.0",
"nock": "13.3.1",
"ts-node": "10.9.2",
"tsup": "6.7.0",
"tsup": "8.5.0",
"typedoc": "0.25.12",
"typescript": "5.4.2"
},

View File

@@ -40,22 +40,22 @@
"@openstapps/eslint-config": "workspace:*",
"@openstapps/prettier-config": "workspace:*",
"@openstapps/tsconfig": "workspace:*",
"@types/chai": "4.3.5",
"@types/chai-as-promised": "7.1.5",
"@types/chai-spies": "1.0.3",
"@types/mocha": "10.0.1",
"@types/chai": "4.3.20",
"@types/chai-as-promised": "7.1.8",
"@types/chai-spies": "1.0.6",
"@types/mocha": "10.0.10",
"@types/traverse": "0.6.32",
"c8": "7.14.0",
"chai": "4.3.7",
"chai-as-promised": "7.1.1",
"chai-spies": "1.0.0",
"c8": "10.1.3",
"chai": "4.5.0",
"chai-as-promised": "7.1.2",
"chai-spies": "1.1.0",
"conventional-changelog-cli": "2.2.2",
"date-fns": "3.6.0",
"mocha": "10.2.0",
"mocha": "10.8.2",
"mocha-junit-reporter": "2.2.0",
"traverse": "0.6.7",
"ts-node": "10.9.2",
"tsup": "6.7.0",
"tsup": "8.5.0",
"typedoc": "0.25.12",
"typescript": "5.4.2",
"undici": "5.22.1"

View File

@@ -22,15 +22,15 @@
"@openstapps/eslint-config": "workspace:*",
"@openstapps/prettier-config": "workspace:*",
"@openstapps/tsconfig": "workspace:*",
"@types/chai": "4.3.5",
"@types/mocha": "10.0.1",
"@types/node": "18.15.3",
"c8": "7.14.0",
"chai": "4.3.7",
"mocha": "10.2.0",
"@types/chai": "4.3.20",
"@types/mocha": "10.0.10",
"@types/node": "22.15.31",
"c8": "10.1.3",
"chai": "4.5.0",
"mocha": "10.8.2",
"mocha-junit-reporter": "2.2.0",
"ts-node": "10.9.2",
"tsup": "6.7.0",
"tsup": "8.5.0",
"typedoc": "0.25.12",
"typescript": "5.4.2"
},

View File

@@ -62,7 +62,7 @@
"mustache": "4.2.0",
"openapi-types": "12.1.0",
"plantuml-encoder": "1.4.0",
"re2": "1.18.2",
"re2": "1.21.0",
"toposort": "2.0.2",
"ts-json-schema-generator": "1.2.0"
},
@@ -70,20 +70,20 @@
"@openstapps/eslint-config": "workspace:*",
"@openstapps/prettier-config": "workspace:*",
"@openstapps/tsconfig": "workspace:*",
"@types/chai": "4.3.5",
"@types/chai": "4.3.20",
"@types/fs-extra": "9.0.13",
"@types/glob": "8.1.0",
"@types/json-schema": "7.0.11",
"@types/mocha": "10.0.1",
"@types/json-schema": "7.0.15",
"@types/mocha": "10.0.10",
"@types/mustache": "4.2.2",
"@types/node": "18.15.3",
"c8": "7.14.0",
"chai": "4.3.7",
"mocha": "10.2.0",
"@types/node": "22.15.31",
"c8": "10.1.3",
"chai": "4.5.0",
"mocha": "10.8.2",
"mocha-junit-reporter": "2.2.0",
"nock": "13.3.1",
"ts-node": "10.9.2",
"tsup": "6.7.0",
"tsup": "8.5.0",
"typedoc": "0.25.12",
"typescript": "5.4.2"
},

View File

@@ -58,20 +58,20 @@
"@openstapps/logger": "workspace:*",
"@openstapps/prettier-config": "workspace:*",
"@openstapps/tsconfig": "workspace:*",
"@types/chai": "4.3.5",
"@types/chai": "4.3.20",
"@types/json-patch": "0.0.30",
"@types/json-schema": "7.0.11",
"@types/mocha": "10.0.1",
"@types/node": "18.15.3",
"c8": "7.14.0",
"chai": "4.3.7",
"@types/json-schema": "7.0.15",
"@types/mocha": "10.0.10",
"@types/node": "22.15.31",
"c8": "10.1.3",
"chai": "4.5.0",
"conditional-type-checks": "1.0.6",
"mocha": "10.2.0",
"mocha": "10.8.2",
"mocha-junit-reporter": "2.2.0",
"source-map-support": "0.5.21",
"surge": "0.23.1",
"ts-node": "10.9.2",
"tsup": "6.7.0",
"tsup": "8.5.0",
"typedoc": "0.25.12",
"typescript": "5.4.2"
},

View File

@@ -32,15 +32,15 @@
"@openstapps/eslint-config": "workspace:*",
"@openstapps/prettier-config": "workspace:*",
"@openstapps/tsconfig": "workspace:*",
"@types/chai": "4.3.5",
"@types/mocha": "10.0.1",
"@types/node": "18.15.3",
"c8": "7.14.0",
"chai": "4.3.7",
"mocha": "10.2.0",
"@types/chai": "4.3.20",
"@types/mocha": "10.0.10",
"@types/node": "22.15.31",
"c8": "10.1.3",
"chai": "4.5.0",
"mocha": "10.8.2",
"mocha-junit-reporter": "2.2.0",
"ts-node": "10.9.2",
"tsup": "6.7.0",
"tsup": "8.5.0",
"typedoc": "0.25.12"
},
"tsup": {

View File

@@ -37,13 +37,13 @@
"@openstapps/eslint-config": "workspace:*",
"@openstapps/prettier-config": "workspace:*",
"@testdeck/mocha": "0.3.3",
"@types/chai": "4.3.5",
"@types/mocha": "10.0.1",
"@types/chai": "4.3.20",
"@types/mocha": "10.0.10",
"@types/node": "14.18.38",
"@types/rimraf": "3.0.2",
"c8": "7.14.0",
"chai": "4.3.7",
"mocha": "10.2.0",
"c8": "10.1.3",
"chai": "4.5.0",
"mocha": "10.8.2",
"mocha-junit-reporter": "2.2.0",
"nock": "13.3.1",
"rimraf": "5.0.0",

View File

@@ -37,9 +37,9 @@
"@openstapps/eslint-config": "workspace:*",
"@openstapps/prettier-config": "workspace:*",
"@openstapps/tsconfig": "workspace:*",
"@types/node": "18.15.3",
"@types/node": "22.15.31",
"ts-node": "10.9.2",
"tsup": "6.7.0",
"tsup": "8.5.0",
"typedoc": "0.25.12",
"typescript": "5.4.2"
},

View File

@@ -37,19 +37,19 @@
"@openstapps/eslint-config": "workspace:*",
"@openstapps/prettier-config": "workspace:*",
"@openstapps/tsconfig": "workspace:*",
"@types/chai": "4.3.5",
"@types/chai-as-promised": "7.1.5",
"@types/chai-spies": "1.0.3",
"@types/mocha": "10.0.1",
"@types/node": "18.15.3",
"c8": "7.14.0",
"chai": "4.3.7",
"chai-as-promised": "7.1.1",
"chai-spies": "1.0.0",
"mocha": "10.2.0",
"@types/chai": "4.3.20",
"@types/chai-as-promised": "7.1.8",
"@types/chai-spies": "1.0.6",
"@types/mocha": "10.0.10",
"@types/node": "22.15.31",
"c8": "10.1.3",
"chai": "4.5.0",
"chai-as-promised": "7.1.2",
"chai-spies": "1.1.0",
"mocha": "10.8.2",
"mocha-junit-reporter": "2.2.0",
"ts-node": "10.9.2",
"tsup": "6.7.0",
"tsup": "8.5.0",
"typedoc": "0.25.12",
"typescript": "5.4.2"
},