From 13caddd91f45a1f10d1483e80ad54986b69f5dc6 Mon Sep 17 00:00:00 2001 From: rolljee Date: Tue, 30 Jul 2024 18:11:43 +0200 Subject: [PATCH] Use node 18 --- .github/workflows/pull_request.workflow.yml | 4 +- package-lock.json | 124 +++++++++++++++++++- package.json | 11 +- 3 files changed, 127 insertions(+), 12 deletions(-) diff --git a/.github/workflows/pull_request.workflow.yml b/.github/workflows/pull_request.workflow.yml index 1791565..0229bb7 100644 --- a/.github/workflows/pull_request.workflow.yml +++ b/.github/workflows/pull_request.workflow.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - node: [18, 20] + node: [18] steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v3 @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - node: [18, 20] + node: [18] needs: [lint] steps: - uses: actions/checkout@v2 diff --git a/package-lock.json b/package-lock.json index 885f527..da70f2e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,8 +21,9 @@ "@types/sinon": "^17.0.3", "cz-conventional-changelog": "^3.3.0", "eslint-plugin-kuzzle": "^0.0.12", + "memfs": "^4.11.0", "mocha": "^8.2.1", - "mock-fs": "^4.13.0", + "mock-fs": "5.2.0", "semantic-release-config-kuzzle": "^1.0.0", "semantic-release-slack-bot": "^4.0.2", "should": "^13.2.3", @@ -334,6 +335,60 @@ "@jridgewell/sourcemap-codec": "^1.4.10" } }, + "node_modules/@jsonjoy.com/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-q6XAnWQDIMA3+FTiOYajoYqySkO+JSat0ytXGSuRdq9uXE7o92gzuQwQM14xaCRlBLGq3v5miDGC4vkVTn54xA==", + "dev": true, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/json-pack": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/json-pack/-/json-pack-1.0.4.tgz", + "integrity": "sha512-aOcSN4MeAtFROysrbqG137b7gaDDSmVrl5mpo6sT/w+kcXpWnzhMjmY/Fh/sDx26NBxyIE7MB1seqLeCAzy9Sg==", + "dev": true, + "dependencies": { + "@jsonjoy.com/base64": "^1.1.1", + "@jsonjoy.com/util": "^1.1.2", + "hyperdyperid": "^1.2.0", + "thingies": "^1.20.0" + }, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, + "node_modules/@jsonjoy.com/util": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/util/-/util-1.3.0.tgz", + "integrity": "sha512-Cebt4Vk7k1xHy87kHY7KSPLT77A7Ev7IfOblyLZhtYEhrdQ6fX4EoLq3xOQ3O/DRMEh2ok5nyC180E+ABS8Wmw==", + "dev": true, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -3856,6 +3911,15 @@ "node": ">=10.17.0" } }, + "node_modules/hyperdyperid": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/hyperdyperid/-/hyperdyperid-1.2.0.tgz", + "integrity": "sha512-Y93lCzHYgGWdrJ66yIktxiaGULYc6oGiABxhcO5AufBeOyoIdZF7bIfLaOrbM0iGIOXQQgxxRrFEnb+Y6w1n4A==", + "dev": true, + "engines": { + "node": ">=10.18" + } + }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -4930,6 +4994,25 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/memfs": { + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/memfs/-/memfs-4.11.0.tgz", + "integrity": "sha512-+6kz90/YQoZuHvg3rn1CGPMZfEMaU5xe7xIavZMNiom2RNesiI8S37p9O9n+PlIUnUgretjLdM6HnqpZYl3X2g==", + "dev": true, + "dependencies": { + "@jsonjoy.com/json-pack": "^1.0.3", + "@jsonjoy.com/util": "^1.3.0", + "tree-dump": "^1.0.1", + "tslib": "^2.0.0" + }, + "engines": { + "node": ">= 4.0.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + } + }, "node_modules/meow": { "version": "13.2.0", "resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz", @@ -5278,10 +5361,13 @@ } }, "node_modules/mock-fs": { - "version": "4.14.0", - "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-4.14.0.tgz", - "integrity": "sha512-qYvlv/exQ4+svI3UOvPUpLDF0OMX5euvUH0Ny4N5QyRyhNdgAgUrVH3iUINSzEPLvx0kbo/Bp28GJKIqvE7URw==", - "dev": true + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/mock-fs/-/mock-fs-5.2.0.tgz", + "integrity": "sha512-2dF2R6YMSZbpip1V1WHKGLNjr/k48uQClqMVb5H3MOvwc9qhYis3/IWbj02qIg/Y8MDXKFF4c5v0rxx2o6xTZw==", + "dev": true, + "engines": { + "node": ">=12.0.0" + } }, "node_modules/ms": { "version": "2.1.2", @@ -10154,6 +10240,18 @@ "node": ">=0.8" } }, + "node_modules/thingies": { + "version": "1.21.0", + "resolved": "https://registry.npmjs.org/thingies/-/thingies-1.21.0.tgz", + "integrity": "sha512-hsqsJsFMsV+aD4s3CWKk85ep/3I9XzYV/IXaSouJMYIoDlgyi11cBhsqYe9/geRfB0YIikBQg6raRaM+nIMP9g==", + "dev": true, + "engines": { + "node": ">=10.18" + }, + "peerDependencies": { + "tslib": "^2" + } + }, "node_modules/through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", @@ -10270,6 +10368,22 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/tree-dump": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/tree-dump/-/tree-dump-1.0.2.tgz", + "integrity": "sha512-dpev9ABuLWdEubk+cIaI9cHwRNNDjkBBLXTwI4UCUFdQ5xXKqNXoK4FEciw/vxf+NQ7Cb7sGUyeUtORvHIdRXQ==", + "dev": true, + "engines": { + "node": ">=10.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/streamich" + }, + "peerDependencies": { + "tslib": "2" + } + }, "node_modules/trough": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz", diff --git a/package.json b/package.json index bd2d4b4..8f82f75 100644 --- a/package.json +++ b/package.json @@ -26,19 +26,20 @@ "yaml": "^2.5.0" }, "devDependencies": { + "@semantic-release/changelog": "^6.0.3", + "@semantic-release/git": "^10.0.1", "@types/mocha": "^8.2.0", "@types/mock-fs": "^4.13.0", "@types/node": "^22.0.0", "@types/should": "^13.0.0", "@types/sinon": "^17.0.3", - "eslint-plugin-kuzzle": "^0.0.12", - "@semantic-release/changelog": "^6.0.3", - "@semantic-release/git": "^10.0.1", "cz-conventional-changelog": "^3.3.0", + "eslint-plugin-kuzzle": "^0.0.12", + "memfs": "^4.11.0", + "mocha": "^8.2.1", + "mock-fs": "5.2.0", "semantic-release-config-kuzzle": "^1.0.0", "semantic-release-slack-bot": "^4.0.2", - "mocha": "^8.2.1", - "mock-fs": "^4.13.0", "should": "^13.2.3", "should-sinon": "0.0.6", "sinon": "^9.2.3",