From a45e16770d41cd358bea95fd25bca34e45bb50b3 Mon Sep 17 00:00:00 2001 From: Alex Layton Date: Thu, 21 Nov 2024 14:23:23 -0500 Subject: [PATCH] chore: security updates --- oada/eslint.config.mjs | 22 +- oada/libs/lib-arangodb/package.json | 2 +- oada/libs/lib-config/package.json | 2 +- oada/libs/lib-kafka/package.json | 2 +- oada/libs/lib-prom/package.json | 4 +- oada/libs/models/package.json | 2 +- oada/libs/pino-debug/package.json | 2 +- oada/package.json | 14 +- oada/services/auth/package.json | 2 +- oada/services/http-handler/package.json | 2 +- .../services/permissions-handler/package.json | 2 +- oada/services/rev-graph-update/package.json | 4 +- oada/services/startup/package.json | 2 +- oada/services/sync-handler/package.json | 2 +- oada/services/write-handler/package.json | 4 +- oada/yarn.lock | 234 +++++++++--------- 16 files changed, 147 insertions(+), 155 deletions(-) diff --git a/oada/eslint.config.mjs b/oada/eslint.config.mjs index 3f800f73..0208a5c7 100644 --- a/oada/eslint.config.mjs +++ b/oada/eslint.config.mjs @@ -30,11 +30,13 @@ import typescript from 'typescript-eslint'; import _import from 'eslint-plugin-import'; import ava from 'eslint-plugin-ava'; +import github from 'eslint-plugin-github'; import noConstructorBind from 'eslint-plugin-no-constructor-bind'; import noSecrets from 'eslint-plugin-no-secrets'; import node from 'eslint-plugin-n'; import notice from 'eslint-plugin-notice'; import optimizeRegex from 'eslint-plugin-optimize-regex'; +import prettier from 'eslint-config-prettier'; import promise from 'eslint-plugin-promise'; import regexp from 'eslint-plugin-regexp'; import security from 'eslint-plugin-security'; @@ -57,30 +59,24 @@ export default typescript.config( js.configs.recommended, node.configs['flat/recommended'], security.configs.recommended, - sonarjs.configs.recommended, + //sonarjs.configs.recommended, unicorn.configs['flat/recommended'], regexp.configs['flat/recommended'], promise.configs['flat/recommended'], ...xoTypescript, + //github.getFlatConfigs().recommended, + ...github.getFlatConfigs().typescript, ...fixupConfigRules( compat.extends( - 'plugin:github/recommended', - 'plugin:github/typescript', 'plugin:optimize-regex/recommended', 'plugin:import/recommended', 'plugin:ava/recommended', ), ), + prettier, { files: ['**/*.{c,m,}ts'], - extends: [ - ...fixupConfigRules( - compat.extends( - //'plugin:github/typescript', - 'plugin:import/typescript', - ), - ), - ], + extends: [...fixupConfigRules(compat.extends('plugin:import/typescript'))], }, { ignores: [ @@ -162,14 +158,16 @@ export default typescript.config( }, ], + /* 'sonarjs/no-duplicate-string': [ 'warn', { threshold: 5, }, ], - 'sonarjs/cognitive-complexity': 'warn', + */ + 'eslint-comments/no-unused-disable': 'off', 'node/no-unpublished-import': 'off', diff --git a/oada/libs/lib-arangodb/package.json b/oada/libs/lib-arangodb/package.json index dd9f7d85..a522a911 100644 --- a/oada/libs/lib-arangodb/package.json +++ b/oada/libs/lib-arangodb/package.json @@ -75,7 +75,7 @@ "@types/deep-equal": "^1.0.4", "@types/flat": "^5.0.5", "@types/json-pointer": "^1.0.34", - "@types/node": "^22.9.0", + "@types/node": "^22.9.1", "ava": "6.2.0", "type-fest": "^4.27.0" }, diff --git a/oada/libs/lib-config/package.json b/oada/libs/lib-config/package.json index 8257570b..3eecf40d 100644 --- a/oada/libs/lib-config/package.json +++ b/oada/libs/lib-config/package.json @@ -41,7 +41,7 @@ "dotenv": "^16.4.5", "json5": "^2.2.3", "tslib": "2.8.1", - "yaml": "^2.6.0" + "yaml": "^2.6.1" }, "devDependencies": { "@types/convict": "^6.1.6", diff --git a/oada/libs/lib-kafka/package.json b/oada/libs/lib-kafka/package.json index 69b7283b..5b7caf4d 100644 --- a/oada/libs/lib-kafka/package.json +++ b/oada/libs/lib-kafka/package.json @@ -48,7 +48,7 @@ "@ava/typescript": "^5.0.0", "@types/convict": "^6.1.6", "@types/debug": "^4.1.12", - "@types/node": "^22.9.0", + "@types/node": "^22.9.1", "@types/uuid": "^10.0.0", "ava": "6.2.0" }, diff --git a/oada/libs/lib-prom/package.json b/oada/libs/lib-prom/package.json index a96d2c9e..70bd14ab 100644 --- a/oada/libs/lib-prom/package.json +++ b/oada/libs/lib-prom/package.json @@ -42,7 +42,7 @@ "devDependencies": { "@ava/typescript": "^5.0.0", "@types/convict": "^6.1.6", - "@types/node": "^22.9.0", + "@types/node": "^22.9.1", "@types/ws": "^8.5.13", "ava": "6.2.0", "fastify-plugin": "^5.0.1" @@ -51,6 +51,6 @@ "node": "22.5.1" }, "optionalDependencies": { - "nstats": "^5.0.0" + "nstats": "^6.0.1" } } diff --git a/oada/libs/models/package.json b/oada/libs/models/package.json index e23a7ded..865061d8 100644 --- a/oada/libs/models/package.json +++ b/oada/libs/models/package.json @@ -38,7 +38,7 @@ "node": "22.5.1" }, "devDependencies": { - "@types/node": "^22.9.0", + "@types/node": "^22.9.1", "jose": "^5.9.6" } } diff --git a/oada/libs/pino-debug/package.json b/oada/libs/pino-debug/package.json index 1260f650..479e24b7 100644 --- a/oada/libs/pino-debug/package.json +++ b/oada/libs/pino-debug/package.json @@ -34,7 +34,7 @@ }, "devDependencies": { "@types/debug": "^4.1.12", - "@types/node": "^22.9.0" + "@types/node": "^22.9.1" }, "peerDependencies": { "debug": "*" diff --git a/oada/package.json b/oada/package.json index b11c1353..e8aa561e 100644 --- a/oada/package.json +++ b/oada/package.json @@ -13,22 +13,23 @@ "g:pino-pretty": "pino-pretty" }, "devDependencies": { - "@commitlint/cli": "^19.5.0", - "@commitlint/config-conventional": "^19.5.0", + "@commitlint/cli": "^19.6.0", + "@commitlint/config-conventional": "^19.6.0", "@eslint/compat": "^1.2.3", "@eslint/config-inspector": "^0.5.6", "@eslint/eslintrc": "^3.2.0", "@eslint/js": "^9.15.0", "@tsconfig/node20": "^20.1.4", "@types/eslint": "^9.6.1", - "@types/mocha": "^10.0.9", - "@types/node": "^22.9.0", + "@types/mocha": "^10.0.10", + "@types/node": "^22.9.1", "@typescript-eslint/eslint-plugin": "^8.15.0", "@typescript-eslint/parser": "^8.15.0", "@yarnpkg/sdks": "^3.2.0", "browserslist": "^4.24.2", "c8": "^10.1.2", "eslint": "^9.15.0", + "eslint-config-prettier": "^9.1.0", "eslint-config-xo": "^0.46.0", "eslint-config-xo-typescript": "^7.0.0", "eslint-formatter-pretty": "^6.0.1", @@ -39,7 +40,7 @@ "eslint-plugin-escompat": "^3.11.4", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-filenames": "^1.3.2", - "eslint-plugin-github": "^5.0.2", + "eslint-plugin-github": "^5.1.0", "eslint-plugin-i18n-text": "^1.0.1", "eslint-plugin-import": "^2.31.0", "eslint-plugin-n": "^17.13.2", @@ -53,7 +54,7 @@ "eslint-plugin-regexp": "^2.7.0", "eslint-plugin-security": "^3.0.1", "eslint-plugin-sonarjs": "^2.0.4", - "eslint-plugin-unicorn": "^56.0.0", + "eslint-plugin-unicorn": "^56.0.1", "get-port": "^7.1.0", "prettier": "^3.3.3", "tslib": "2.8.1", @@ -66,6 +67,7 @@ "pino-pretty": "^13.0.0" }, "resolutions": { + "cross-spawn": "^7.0.5", "eslint-config-prettier": "git@github.com:abrahamguo/eslint-config-prettier.git", "fastify-plugin": "^5.0.1", "tslib": "2.7.0" diff --git a/oada/services/auth/package.json b/oada/services/auth/package.json index 7c2f9c55..570c4749 100644 --- a/oada/services/auth/package.json +++ b/oada/services/auth/package.json @@ -105,7 +105,7 @@ "tslib": "2.8.1", "urijs": "^1.19.11", "uuid": "^11.0.3", - "yaml": "^2.6.0" + "yaml": "^2.6.1" }, "devDependencies": { "@fastify/type-provider-json-schema-to-ts": "^4.0.1", diff --git a/oada/services/http-handler/package.json b/oada/services/http-handler/package.json index 412fe0d8..8f032dda 100644 --- a/oada/services/http-handler/package.json +++ b/oada/services/http-handler/package.json @@ -79,7 +79,7 @@ "@oada/write-handler": "workspace:^", "@types/cacache": "^17.0.2", "@types/debug": "^4.1.12", - "@types/node": "^22.9.0", + "@types/node": "^22.9.1", "@types/type-is": "^1.6.6", "@types/uuid": "^10.0.0", "@types/ws": "^8.5.13", diff --git a/oada/services/permissions-handler/package.json b/oada/services/permissions-handler/package.json index 1aa49661..b254173d 100644 --- a/oada/services/permissions-handler/package.json +++ b/oada/services/permissions-handler/package.json @@ -37,7 +37,7 @@ }, "devDependencies": { "@types/debug": "^4.1.12", - "@types/node": "^22.9.0", + "@types/node": "^22.9.1", "@types/type-is": "^1.6.6" }, "volta": { diff --git a/oada/services/rev-graph-update/package.json b/oada/services/rev-graph-update/package.json index ad32a484..15752a23 100644 --- a/oada/services/rev-graph-update/package.json +++ b/oada/services/rev-graph-update/package.json @@ -48,10 +48,10 @@ }, "devDependencies": { "@ava/typescript": "^5.0.0", - "@oada/client": "^5.2.3", + "@oada/client": "^5.2.6", "@oada/write-handler": "workspace:^", "@types/debug": "^4.1.12", - "@types/node": "^22.9.0", + "@types/node": "^22.9.1", "@types/randomstring": "^1.3.0", "ava": "6.2.0", "type-fest": "^4.27.0" diff --git a/oada/services/startup/package.json b/oada/services/startup/package.json index 16245baf..f2e8e729 100644 --- a/oada/services/startup/package.json +++ b/oada/services/startup/package.json @@ -41,7 +41,7 @@ }, "devDependencies": { "@types/debug": "^4.1.12", - "@types/node": "^22.9.0" + "@types/node": "^22.9.1" }, "volta": { "node": "22.5.1" diff --git a/oada/services/sync-handler/package.json b/oada/services/sync-handler/package.json index 882780f3..38a6144f 100644 --- a/oada/services/sync-handler/package.json +++ b/oada/services/sync-handler/package.json @@ -40,7 +40,7 @@ "devDependencies": { "@oada/write-handler": "workspace:^", "@types/debug": "^4.1.12", - "@types/node": "^22.9.0" + "@types/node": "^22.9.1" }, "volta": { "node": "22.5.1" diff --git a/oada/services/write-handler/package.json b/oada/services/write-handler/package.json index ff0a9fe5..85d4c85f 100644 --- a/oada/services/write-handler/package.json +++ b/oada/services/write-handler/package.json @@ -56,11 +56,11 @@ }, "devDependencies": { "@ava/typescript": "^5.0.0", - "@oada/client": "^5.2.3", + "@oada/client": "^5.2.6", "@oada/types": "^4.0.0", "@types/debug": "^4.1.12", "@types/json-pointer": "^1.0.34", - "@types/node": "^22.9.0", + "@types/node": "^22.9.1", "@types/object-assign-deep": "^0.4.3", "ava": "6.2.0" }, diff --git a/oada/yarn.lock b/oada/yarn.lock index b26bfbdb..eca6ff54 100644 --- a/oada/yarn.lock +++ b/oada/yarn.lock @@ -1495,12 +1495,12 @@ __metadata: languageName: node linkType: hard -"@commitlint/cli@npm:^19.5.0": - version: 19.5.0 - resolution: "@commitlint/cli@npm:19.5.0" +"@commitlint/cli@npm:^19.6.0": + version: 19.6.0 + resolution: "@commitlint/cli@npm:19.6.0" dependencies: "@commitlint/format": "npm:^19.5.0" - "@commitlint/lint": "npm:^19.5.0" + "@commitlint/lint": "npm:^19.6.0" "@commitlint/load": "npm:^19.5.0" "@commitlint/read": "npm:^19.5.0" "@commitlint/types": "npm:^19.5.0" @@ -1508,17 +1508,17 @@ __metadata: yargs: "npm:^17.0.0" bin: commitlint: cli.js - checksum: 10/1d3384cc9823462da3a35308a145dc4fcf92025f7af976e1ceb9cbe9cbd7b7b83703fe0e9ca12fc7f4903ea2fe68c8c1492c18409ba301894c01cb2264a00795 + checksum: 10/12ed3ad48de1b838c6603f39970b6fde6fd0594f86402e40cccb72940b4c9b1b1321e11606caffdf46b54ce8730c38970bc08e56b8878b9709c44ceb2a520bfa languageName: node linkType: hard -"@commitlint/config-conventional@npm:^19.5.0": - version: 19.5.0 - resolution: "@commitlint/config-conventional@npm:19.5.0" +"@commitlint/config-conventional@npm:^19.6.0": + version: 19.6.0 + resolution: "@commitlint/config-conventional@npm:19.6.0" dependencies: "@commitlint/types": "npm:^19.5.0" conventional-changelog-conventionalcommits: "npm:^7.0.2" - checksum: 10/5844fb51347677dd28f970a50528fbc44b9b415a8a5fd6fea6c7f6a2a11357956748eda9d1d6ae499430659b0aa78bfa7dcf8abf599951e7f34a581e60bf57da + checksum: 10/f96f6706502edad60d275f62a4aac06993a5fd47c343ad6286d48f173941e4e0848dab6642559099cc6714b513197338ac24da4b07debead5371326eef87bcb8 languageName: node linkType: hard @@ -1563,25 +1563,25 @@ __metadata: languageName: node linkType: hard -"@commitlint/is-ignored@npm:^19.5.0": - version: 19.5.0 - resolution: "@commitlint/is-ignored@npm:19.5.0" +"@commitlint/is-ignored@npm:^19.6.0": + version: 19.6.0 + resolution: "@commitlint/is-ignored@npm:19.6.0" dependencies: "@commitlint/types": "npm:^19.5.0" semver: "npm:^7.6.0" - checksum: 10/1c7ee34686fd098587f9717763473477d49e847f470a317903f922d13091271d013a046f61b43b31b34eba4e4b0f76369b7427588269bbdc4c5f622d3ace2c95 + checksum: 10/07b41573c9247522eb96af118be97ae015f5d0a141ecf5e3c0f67372b0fb7ba57c98adc462c722b7a7f0dd18ddcbacd92b42228e0e62370d3db110b0a35f6120 languageName: node linkType: hard -"@commitlint/lint@npm:^19.5.0": - version: 19.5.0 - resolution: "@commitlint/lint@npm:19.5.0" +"@commitlint/lint@npm:^19.6.0": + version: 19.6.0 + resolution: "@commitlint/lint@npm:19.6.0" dependencies: - "@commitlint/is-ignored": "npm:^19.5.0" + "@commitlint/is-ignored": "npm:^19.6.0" "@commitlint/parse": "npm:^19.5.0" - "@commitlint/rules": "npm:^19.5.0" + "@commitlint/rules": "npm:^19.6.0" "@commitlint/types": "npm:^19.5.0" - checksum: 10/bba8cd17a90876b6b2cd2f869ee4d08cd3e5ad8a10f2c273d379d3b6602da30c46c2d9d0925710d7b9ebf180b3d1f02409adfc0f1a888cc566d88c9ee5862bdd + checksum: 10/f50721d8b02cea8cda9e67a57fb2c03377ae94ab708d47395a4e86f6f327d11db9dc84a1ecbcc3fae086f1e100400356826497a69a9d0caee6859238b32260dc languageName: node linkType: hard @@ -1648,15 +1648,15 @@ __metadata: languageName: node linkType: hard -"@commitlint/rules@npm:^19.5.0": - version: 19.5.0 - resolution: "@commitlint/rules@npm:19.5.0" +"@commitlint/rules@npm:^19.6.0": + version: 19.6.0 + resolution: "@commitlint/rules@npm:19.6.0" dependencies: "@commitlint/ensure": "npm:^19.5.0" "@commitlint/message": "npm:^19.5.0" "@commitlint/to-lines": "npm:^19.5.0" "@commitlint/types": "npm:^19.5.0" - checksum: 10/2c879d2cd50a3b4572cea41f044cc3091f0a11ef5ead0bb54bfa564ea637e0d93e08ae322ec4c99bb5b379b82835ace595d1c8dab6e35c1b68b63292160a61b3 + checksum: 10/d9493b5ed450306358197c504ff7bb8ca3ef41ef1067c15497fa30ac4dc3ace9dc8c970cd5d130a7ff0e686a9619a6122ab09b155bc9eacdf8e6a0096748b402 languageName: node linkType: hard @@ -1949,7 +1949,7 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^3.2.0": +"@eslint/eslintrc@npm:^3.1.0, @eslint/eslintrc@npm:^3.2.0": version: 3.2.0 resolution: "@eslint/eslintrc@npm:3.2.0" dependencies: @@ -1966,7 +1966,7 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:9.15.0, @eslint/js@npm:^9.15.0": +"@eslint/js@npm:9.15.0, @eslint/js@npm:^9.14.0, @eslint/js@npm:^9.15.0": version: 9.15.0 resolution: "@eslint/js@npm:9.15.0" checksum: 10/cdea71574a8be164147f426ffa5eca05a9c7fbfbae98387ed0cf772292fc9fb5ded69ce96eac110aaa633f6b7504ec551e1d33f2d6690ae95b11ec395553bae1 @@ -2390,21 +2390,21 @@ __metadata: languageName: node linkType: hard -"@jsep-plugin/assignment@npm:^1.2.1": - version: 1.2.1 - resolution: "@jsep-plugin/assignment@npm:1.2.1" +"@jsep-plugin/assignment@npm:^1.3.0": + version: 1.3.0 + resolution: "@jsep-plugin/assignment@npm:1.3.0" peerDependencies: jsep: ^0.4.0||^1.0.0 - checksum: 10/d8db45f052fd95b33207ded7f49af9ae48ff5ce10cb898e28a6fca722863f4a3330892c3a2c355a1a8c94fd230eef3db9be0c45324cb526e5edff7085c1f7a37 + checksum: 10/0c93b703d84af95b4be9fb6c23fbdbe7c7b6985b41c98fd10386cd54686ed1eb751cb39f5d54abcb621e4da2a0900a3b2a852e5bf7f2d322b756db3b22e42a45 languageName: node linkType: hard -"@jsep-plugin/regex@npm:^1.0.3": - version: 1.0.3 - resolution: "@jsep-plugin/regex@npm:1.0.3" +"@jsep-plugin/regex@npm:^1.0.4": + version: 1.0.4 + resolution: "@jsep-plugin/regex@npm:1.0.4" peerDependencies: jsep: ^0.4.0||^1.0.0 - checksum: 10/c08c7bd79a164995923ea799949b9f6b18dcf2bd314522ed0dcfc669fd249a06fea200606086c7d54b12d39ce3cfa61d910229e5184c667ead135f6da6997532 + checksum: 10/0ea6ba81f03955972b762fd9fbc8e3fd7e1c1c12e52ce3d4366e23c0a63c8bff8528687b8b3d8f641cf9f626f8bf5a7841efcd31a2489fe967e1900e5738ee3a languageName: node linkType: hard @@ -2614,7 +2614,7 @@ __metadata: type-fest: "npm:^4.27.0" urijs: "npm:^1.19.11" uuid: "npm:^11.0.3" - yaml: "npm:^2.6.0" + yaml: "npm:^2.6.1" bin: client: ./dist/cli/client.js token: ./dist/cli/token.js @@ -2649,9 +2649,9 @@ __metadata: languageName: node linkType: hard -"@oada/client@npm:^5.2.3": - version: 5.2.3 - resolution: "@oada/client@npm:5.2.3" +"@oada/client@npm:^5.2.6": + version: 5.2.6 + resolution: "@oada/client@npm:5.2.6" dependencies: "@oada/types": "npm:^3.5.3" debug: "npm:^4.3.7" @@ -2678,7 +2678,7 @@ __metadata: peerDependenciesMeta: "@oada/jobs": optional: true - checksum: 10/4445565d3072937fd994bf08061c87604544fffaffd081182521b978e2ab09e55a494252de1b85b563cd9635e6ac8ffd231f8dc3a7f8c9bda4442788b16131ce + checksum: 10/b83b9b41f17aea3a9f3b180e9f6685efb4a22b568bd37283b596ad79dfb7d05efb970f41ce782a08afe1a6f18112b151eb4a0517ae4936095d0c3c2b10dffa2f languageName: node linkType: hard @@ -2760,7 +2760,7 @@ __metadata: "@oada/write-handler": "workspace:^" "@types/cacache": "npm:^17.0.2" "@types/debug": "npm:^4.1.12" - "@types/node": "npm:^22.9.0" + "@types/node": "npm:^22.9.1" "@types/type-is": "npm:^1.6.6" "@types/uuid": "npm:^10.0.0" "@types/ws": "npm:^8.5.13" @@ -2801,7 +2801,7 @@ __metadata: "@types/deep-equal": "npm:^1.0.4" "@types/flat": "npm:^5.0.5" "@types/json-pointer": "npm:^1.0.34" - "@types/node": "npm:^22.9.0" + "@types/node": "npm:^22.9.1" arangojs: "npm:^9.1.0" ava: "npm:6.2.0" bcryptjs: "npm:^2.4.3" @@ -2831,7 +2831,7 @@ __metadata: dotenv: "npm:^16.4.5" json5: "npm:^2.2.3" tslib: "npm:2.8.1" - yaml: "npm:^2.6.0" + yaml: "npm:^2.6.1" peerDependenciesMeta: jose: optional: true @@ -2846,7 +2846,7 @@ __metadata: "@oada/lib-config": "workspace:^" "@types/convict": "npm:^6.1.6" "@types/debug": "npm:^4.1.12" - "@types/node": "npm:^22.9.0" + "@types/node": "npm:^22.9.1" "@types/uuid": "npm:^10.0.0" ava: "npm:6.2.0" cls-rtracer: "npm:^2.6.3" @@ -2866,11 +2866,11 @@ __metadata: "@ava/typescript": "npm:^5.0.0" "@oada/lib-config": "workspace:^" "@types/convict": "npm:^6.1.6" - "@types/node": "npm:^22.9.0" + "@types/node": "npm:^22.9.1" "@types/ws": "npm:^8.5.13" ava: "npm:6.2.0" fastify-plugin: "npm:^5.0.1" - nstats: "npm:^5.0.0" + nstats: "npm:^6.0.1" prom-client: "npm:^15.1.3" tslib: "npm:2.8.1" dependenciesMeta: @@ -2906,7 +2906,7 @@ __metadata: dependencies: "@oada/types": "npm:^4.0.0" "@qlever-llc/interface2class": "npm:^1.1.0" - "@types/node": "npm:^22.9.0" + "@types/node": "npm:^22.9.1" jose: "npm:^5.9.6" tslib: "npm:2.8.1" type-fest: "npm:^4.27.0" @@ -2935,7 +2935,7 @@ __metadata: "@oada/lib-prom": "workspace:^" "@oada/pino-debug": "workspace:^" "@types/debug": "npm:^4.1.12" - "@types/node": "npm:^22.9.0" + "@types/node": "npm:^22.9.1" "@types/type-is": "npm:^1.6.6" debug: "npm:^4.3.7" es-main: "npm:^1.3.0" @@ -2949,7 +2949,7 @@ __metadata: resolution: "@oada/pino-debug@workspace:libs/pino-debug" dependencies: "@types/debug": "npm:^4.1.12" - "@types/node": "npm:^22.9.0" + "@types/node": "npm:^22.9.1" cls-rtracer: "npm:^2.6.3" is-interactive: "npm:^2.0.0" pino: "npm:^9.5.0" @@ -2968,7 +2968,7 @@ __metadata: resolution: "@oada/rev-graph-update@workspace:services/rev-graph-update" dependencies: "@ava/typescript": "npm:^5.0.0" - "@oada/client": "npm:^5.2.3" + "@oada/client": "npm:^5.2.6" "@oada/lib-arangodb": "workspace:^" "@oada/lib-config": "workspace:^" "@oada/lib-kafka": "workspace:^" @@ -2976,7 +2976,7 @@ __metadata: "@oada/pino-debug": "workspace:^" "@oada/write-handler": "workspace:^" "@types/debug": "npm:^4.1.12" - "@types/node": "npm:^22.9.0" + "@types/node": "npm:^22.9.1" "@types/randomstring": "npm:^1.3.0" ajv: "npm:^8.17.1" ava: "npm:6.2.0" @@ -3006,22 +3006,23 @@ __metadata: version: 0.0.0-use.local resolution: "@oada/server@workspace:." dependencies: - "@commitlint/cli": "npm:^19.5.0" - "@commitlint/config-conventional": "npm:^19.5.0" + "@commitlint/cli": "npm:^19.6.0" + "@commitlint/config-conventional": "npm:^19.6.0" "@eslint/compat": "npm:^1.2.3" "@eslint/config-inspector": "npm:^0.5.6" "@eslint/eslintrc": "npm:^3.2.0" "@eslint/js": "npm:^9.15.0" "@tsconfig/node20": "npm:^20.1.4" "@types/eslint": "npm:^9.6.1" - "@types/mocha": "npm:^10.0.9" - "@types/node": "npm:^22.9.0" + "@types/mocha": "npm:^10.0.10" + "@types/node": "npm:^22.9.1" "@typescript-eslint/eslint-plugin": "npm:^8.15.0" "@typescript-eslint/parser": "npm:^8.15.0" "@yarnpkg/sdks": "npm:^3.2.0" browserslist: "npm:^4.24.2" c8: "npm:^10.1.2" eslint: "npm:^9.15.0" + eslint-config-prettier: "npm:^9.1.0" eslint-config-xo: "npm:^0.46.0" eslint-config-xo-typescript: "npm:^7.0.0" eslint-formatter-pretty: "npm:^6.0.1" @@ -3032,7 +3033,7 @@ __metadata: eslint-plugin-escompat: "npm:^3.11.4" eslint-plugin-eslint-comments: "npm:^3.2.0" eslint-plugin-filenames: "npm:^1.3.2" - eslint-plugin-github: "npm:^5.0.2" + eslint-plugin-github: "npm:^5.1.0" eslint-plugin-i18n-text: "npm:^1.0.1" eslint-plugin-import: "npm:^2.31.0" eslint-plugin-n: "npm:^17.13.2" @@ -3046,7 +3047,7 @@ __metadata: eslint-plugin-regexp: "npm:^2.7.0" eslint-plugin-security: "npm:^3.0.1" eslint-plugin-sonarjs: "npm:^2.0.4" - eslint-plugin-unicorn: "npm:^56.0.0" + eslint-plugin-unicorn: "npm:^56.0.1" get-port: "npm:^7.1.0" pino-pretty: "npm:^13.0.0" prettier: "npm:^3.3.3" @@ -3082,7 +3083,7 @@ __metadata: "@oada/lib-kafka": "workspace:^" "@oada/pino-debug": "workspace:^" "@types/debug": "npm:^4.1.12" - "@types/node": "npm:^22.9.0" + "@types/node": "npm:^22.9.1" debug: "npm:^4.3.7" tslib: "npm:2.8.1" languageName: unknown @@ -3099,7 +3100,7 @@ __metadata: "@oada/pino-debug": "workspace:^" "@oada/write-handler": "workspace:^" "@types/debug": "npm:^4.1.12" - "@types/node": "npm:^22.9.0" + "@types/node": "npm:^22.9.1" debug: "npm:^4.3.7" got: "npm:^14.4.4" tslib: "npm:2.8.1" @@ -3231,7 +3232,7 @@ __metadata: resolution: "@oada/write-handler@workspace:services/write-handler" dependencies: "@ava/typescript": "npm:^5.0.0" - "@oada/client": "npm:^5.2.3" + "@oada/client": "npm:^5.2.6" "@oada/lib-arangodb": "workspace:^" "@oada/lib-config": "workspace:^" "@oada/lib-kafka": "workspace:^" @@ -3240,7 +3241,7 @@ __metadata: "@oada/types": "npm:^4.0.0" "@types/debug": "npm:^4.1.12" "@types/json-pointer": "npm:^1.0.34" - "@types/node": "npm:^22.9.0" + "@types/node": "npm:^22.9.1" "@types/object-assign-deep": "npm:^0.4.3" ava: "npm:6.2.0" debug: "npm:^4.3.7" @@ -3774,10 +3775,10 @@ __metadata: languageName: node linkType: hard -"@types/mocha@npm:^10.0.9": - version: 10.0.9 - resolution: "@types/mocha@npm:10.0.9" - checksum: 10/aa34e61e6373c5a9e8f904302fc736c04d6757f079d8500689c589b610e8b8e28bdefc2da398569e6328c6b1e6dc5a59fb485211b2bacb465c2aad04d822c28c +"@types/mocha@npm:^10.0.10": + version: 10.0.10 + resolution: "@types/mocha@npm:10.0.10" + checksum: 10/4e3b61ed5112add86891a5dd3ebdd087714f5e1784a63d47a96424c0825058fd07074e85e43573462f751636c92808fc18a5f3862fe45e649ea98fdc5a3ee2ea languageName: node linkType: hard @@ -3788,12 +3789,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:>=20, @types/node@npm:^22.9.0": - version: 22.9.0 - resolution: "@types/node@npm:22.9.0" +"@types/node@npm:*, @types/node@npm:>=20, @types/node@npm:^22.9.1": + version: 22.9.1 + resolution: "@types/node@npm:22.9.1" dependencies: undici-types: "npm:~6.19.8" - checksum: 10/a7df3426891868b0f5fb03e46aeddd8446178233521c624a44531c92a040cf08a82d8235f7e1e02af731fd16984665d4d71f3418caf9c2788313b10f040d615d + checksum: 10/43fadcb3a914a1daff8e559839f235eec65fe80bfef5016b361dbc7952c9bc9d79456c78d89beab275a9e9e5accff37e838c019ab519f821f12c953cd6c24b50 languageName: node linkType: hard @@ -4025,7 +4026,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:8.15.0, @typescript-eslint/eslint-plugin@npm:^8.0.0, @typescript-eslint/eslint-plugin@npm:^8.15.0": +"@typescript-eslint/eslint-plugin@npm:8.15.0, @typescript-eslint/eslint-plugin@npm:^8.15.0": version: 8.15.0 resolution: "@typescript-eslint/eslint-plugin@npm:8.15.0" dependencies: @@ -4048,7 +4049,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:8.15.0, @typescript-eslint/parser@npm:^8.0.0, @typescript-eslint/parser@npm:^8.15.0": +"@typescript-eslint/parser@npm:8.15.0, @typescript-eslint/parser@npm:^8.15.0": version: 8.15.0 resolution: "@typescript-eslint/parser@npm:8.15.0" dependencies: @@ -5873,18 +5874,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:7.0.3": - version: 7.0.3 - resolution: "cross-spawn@npm:7.0.3" - dependencies: - path-key: "npm:^3.1.0" - shebang-command: "npm:^2.0.0" - which: "npm:^2.0.1" - checksum: 10/e1a13869d2f57d974de0d9ef7acbf69dc6937db20b918525a01dacb5032129bd552d290d886d981e99f1b624cb03657084cc87bd40f115c07ecf376821c729ce - languageName: node - linkType: hard - -"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.5": +"cross-spawn@npm:^7.0.5": version: 7.0.6 resolution: "cross-spawn@npm:7.0.6" dependencies: @@ -6835,7 +6825,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-escompat@npm:^3.11.4, eslint-plugin-escompat@npm:^3.3.3": +"eslint-plugin-escompat@npm:^3.11.3, eslint-plugin-escompat@npm:^3.11.4": version: 3.11.4 resolution: "eslint-plugin-escompat@npm:3.11.4" dependencies: @@ -6872,32 +6862,34 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-github@npm:^5.0.2": - version: 5.0.2 - resolution: "eslint-plugin-github@npm:5.0.2" +"eslint-plugin-github@npm:^5.1.0": + version: 5.1.0 + resolution: "eslint-plugin-github@npm:5.1.0" dependencies: + "@eslint/compat": "npm:^1.2.3" + "@eslint/eslintrc": "npm:^3.1.0" + "@eslint/js": "npm:^9.14.0" "@github/browserslist-config": "npm:^1.0.0" - "@typescript-eslint/eslint-plugin": "npm:^8.0.0" - "@typescript-eslint/parser": "npm:^8.0.0" aria-query: "npm:^5.3.0" - eslint-config-prettier: "npm:>=8.0.0" - eslint-plugin-escompat: "npm:^3.3.3" + eslint-plugin-escompat: "npm:^3.11.3" eslint-plugin-eslint-comments: "npm:^3.2.0" eslint-plugin-filenames: "npm:^1.3.2" eslint-plugin-i18n-text: "npm:^1.0.1" eslint-plugin-import: "npm:^2.25.2" eslint-plugin-jsx-a11y: "npm:^6.7.1" eslint-plugin-no-only-tests: "npm:^3.0.0" - eslint-plugin-prettier: "npm:^5.0.0" + eslint-plugin-prettier: "npm:^5.2.1" eslint-rule-documentation: "npm:>=1.0.0" + globals: "npm:^15.12.0" jsx-ast-utils: "npm:^3.3.2" prettier: "npm:^3.0.0" svg-element-attributes: "npm:^1.3.1" + typescript-eslint: "npm:^8.14.0" peerDependencies: - eslint: ^8.0.1 + eslint: ^8 || ^9 bin: eslint-ignore-errors: bin/eslint-ignore-errors.js - checksum: 10/37171ffc160b56c8708c1c026f5d04c1146624f425f687b18f758088b146bf740620a7bd78707cd36fd906b45c915f83d940dc301b5b57b40c358248a75e25c5 + checksum: 10/dccaf0417a84f6018239b4cead835ce52d7ef9d2229b4532e94f0c86aee038caa78b956f11bbe19e9429f91f5d8933a87242561175db998098b7c6fdb6cc3d79 languageName: node linkType: hard @@ -7058,7 +7050,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-prettier@npm:^5.0.0, eslint-plugin-prettier@npm:^5.2.1": +"eslint-plugin-prettier@npm:^5.2.1": version: 5.2.1 resolution: "eslint-plugin-prettier@npm:5.2.1" dependencies: @@ -7183,9 +7175,9 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-unicorn@npm:^56.0.0": - version: 56.0.0 - resolution: "eslint-plugin-unicorn@npm:56.0.0" +"eslint-plugin-unicorn@npm:^56.0.1": + version: 56.0.1 + resolution: "eslint-plugin-unicorn@npm:56.0.1" dependencies: "@babel/helper-validator-identifier": "npm:^7.24.7" "@eslint-community/eslint-utils": "npm:^4.4.0" @@ -7205,7 +7197,7 @@ __metadata: strip-indent: "npm:^3.0.0" peerDependencies: eslint: ">=8.56.0" - checksum: 10/142c66c65b2fd53136727a434b0fc77e9a9f9614aebe09330aeab83b021c842c3a5f9dafe3130c0f39fbd3562e91aadcc55a9de4312639e70fe7efb475cd358e + checksum: 10/59e13ded0e6bf4eff96018f3156829044d6edc37f66d25bc8ca99ed2b44e0cd3e9959587cf5a111498ff2d267a92bed49ade4f4dad98dcd8544e9edd9f6642b2 languageName: node linkType: hard @@ -8201,10 +8193,10 @@ __metadata: languageName: node linkType: hard -"globals@npm:^15.11.0, globals@npm:^15.3.0, globals@npm:^15.9.0": - version: 15.11.0 - resolution: "globals@npm:15.11.0" - checksum: 10/14009ef1906ac929d930ed1c896a47159e7d11b4d201901ca5f3827766519191a3f5fb45124de43c4511fee04018704e7ed5a097fb37d23abf39523d1d41c85f +"globals@npm:^15.11.0, globals@npm:^15.12.0, globals@npm:^15.3.0, globals@npm:^15.9.0": + version: 15.12.0 + resolution: "globals@npm:15.12.0" + checksum: 10/07cac4ee7cc9befa7894be9b4d1a57f46eeedf9065939f39ffb875009394908eb7bac84147712cfd4bbabab5abc7ab98fc3a6d0fd881f9548fffa10ba2e4bf67 languageName: node linkType: hard @@ -9247,10 +9239,10 @@ __metadata: languageName: node linkType: hard -"jsep@npm:^1.3.9": - version: 1.3.9 - resolution: "jsep@npm:1.3.9" - checksum: 10/c60d7064c3b5047f58345e65e7618bbaecf2f46338e56689244db057b0550bf8fb7c1457a7384dfd38aca9acde3ff851d062c3f182cc1fbc66c13cb2ca0b579d +"jsep@npm:^1.4.0": + version: 1.4.0 + resolution: "jsep@npm:1.4.0" + checksum: 10/935824fe6ac28fcff3cd13878f508f99f6c13e7f0f53ec9fca0d3db465e6dd15f8af030bcdc75a38b07c78359c656647435923a26aceb91607027021f00c17f2 languageName: node linkType: hard @@ -9361,16 +9353,16 @@ __metadata: linkType: hard "jsonpath-plus@npm:^10.0.0": - version: 10.0.0 - resolution: "jsonpath-plus@npm:10.0.0" + version: 10.2.0 + resolution: "jsonpath-plus@npm:10.2.0" dependencies: - "@jsep-plugin/assignment": "npm:^1.2.1" - "@jsep-plugin/regex": "npm:^1.0.3" - jsep: "npm:^1.3.9" + "@jsep-plugin/assignment": "npm:^1.3.0" + "@jsep-plugin/regex": "npm:^1.0.4" + jsep: "npm:^1.4.0" bin: jsonpath: bin/jsonpath-cli.js jsonpath-plus: bin/jsonpath-cli.js - checksum: 10/cd8d3f9ebfa2f0b26a362e9b9fb8cf293a6b5798f76e20b3d2ab93da3e885b99dfbba9ac8aa448d62da5a1f4dc327f636ffb242054ee827d27e75500372557c3 + checksum: 10/3a6bd775d4348f5e014249a11abb635af2f1265d83ba716b3d633ca3f118e79c318223dd685170c50652494a492f3354163bbe4cd5554bb4d7992fecf53c4874 languageName: node linkType: hard @@ -10386,12 +10378,12 @@ __metadata: languageName: node linkType: hard -"nstats@npm:^5.0.0": - version: 5.0.0 - resolution: "nstats@npm:5.0.0" +"nstats@npm:^6.0.1": + version: 6.0.1 + resolution: "nstats@npm:6.0.1" dependencies: - fastify-plugin: "npm:^4.0.0" - checksum: 10/00a26d0f4d793b1e5da80bbce4b306e598f1c6d3e088b61bf6ca21033ea4842362a0d139773405215c8e4eed6a2a7d698446f52f8af3475aa1acdba2e82a0e10 + fastify-plugin: "npm:^5.0.0" + checksum: 10/634646e45b49538bc5a40307d62845776f3659bd4d5180464a7fb793730da37e8cffd3a5e3f78acdecc878d19354f09d0412e14082d9622ca063a30c2d97cd92 languageName: node linkType: hard @@ -12852,7 +12844,7 @@ __metadata: languageName: node linkType: hard -"typescript-eslint@npm:^8.15.0, typescript-eslint@npm:^8.3.0": +"typescript-eslint@npm:^8.14.0, typescript-eslint@npm:^8.15.0, typescript-eslint@npm:^8.3.0": version: 8.15.0 resolution: "typescript-eslint@npm:8.15.0" dependencies: @@ -13402,12 +13394,12 @@ __metadata: languageName: node linkType: hard -"yaml@npm:^2.6.0": - version: 2.6.0 - resolution: "yaml@npm:2.6.0" +"yaml@npm:^2.6.1": + version: 2.6.1 + resolution: "yaml@npm:2.6.1" bin: yaml: bin.mjs - checksum: 10/f4369f667c7626c216ea81b5840fe9b530cdae4cff2d84d166ec1239e54bf332dbfac4a71bf60d121f8e85e175364a4e280a520292269b6cf9d074368309adf9 + checksum: 10/cf412f03a33886db0a3aac70bb4165588f4c5b3c6f8fc91520b71491e5537800b6c2c73ed52015617f6e191eb4644c73c92973960a1999779c62a200ee4c231d languageName: node linkType: hard