From 10de70240c92f2dad2e271c8a6068f1d2e910236 Mon Sep 17 00:00:00 2001 From: Pascal Kaufmann Date: Tue, 29 Oct 2024 14:42:49 +0100 Subject: [PATCH 1/9] Add loader to find products by sku --- packages/api/src/loaders/index.ts | 23 ++++++++++++++++++++++- packages/types/api.ts | 1 + 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/packages/api/src/loaders/index.ts b/packages/api/src/loaders/index.ts index 5866ae9f5d..95f3d142f2 100644 --- a/packages/api/src/loaders/index.ts +++ b/packages/api/src/loaders/index.ts @@ -229,7 +229,7 @@ const loaders = async ( const products = await unchainedAPI.modules.products.findProducts({ productIds, productSelector: { - status: { $in: [null, ProductStatus.ACTIVE, ProductStatus.DELETED] }, + status: { $exists: true }, }, }); @@ -243,6 +243,27 @@ const loaders = async ( { batchScheduleFn: (cb) => setImmediate(cb) }, ), + productLoaderBySKU: new DataLoader( + async (queries) => { + const skus = [...new Set(queries.map((q) => q.sku).filter(Boolean))]; // you don't need lodash, _.unique my ass + + const products = await unchainedAPI.modules.products.findProducts({ + productSelector: { + 'warehousing.sku': { $in: skus }, + status: { $exists: true }, + }, + }); + + return queries.map(({ sku }) => { + return products.find((product) => { + if (product.warehousing?.sku !== sku) return false; + return true; + }); + }); + }, + { batchScheduleFn: (cb) => setImmediate(cb) }, + ), + productTextLoader: new DataLoader( async (queries) => { const productIds = [...new Set(queries.map((q) => q.productId).filter(Boolean))]; diff --git a/packages/types/api.ts b/packages/types/api.ts index 818dc04953..4f4ab000de 100644 --- a/packages/types/api.ts +++ b/packages/types/api.ts @@ -42,6 +42,7 @@ export interface UnchainedLocaleContext { export interface UnchainedLoaders { loaders: { productLoader: InstanceType>; + productLoaderBySKU: InstanceType>; productTextLoader: InstanceType< typeof DataLoader<{ productId: string; locale: string }, ProductText> >; From 5c306452ec4ec6b231482a922fac95c3fb02a97d Mon Sep 17 00:00:00 2001 From: Pascal Kaufmann Date: Tue, 29 Oct 2024 14:46:08 +0100 Subject: [PATCH 2/9] v2.15.2 --- examples/kitchensink/package.json | 22 +- examples/minimal/package.json | 8 +- package-lock.json | 1231 ++++++++++-------------- package.json | 12 +- packages/api/package.json | 16 +- packages/core-accountsjs/package.json | 10 +- packages/core-assortments/package.json | 14 +- packages/core-bookmarks/package.json | 10 +- packages/core-countries/package.json | 10 +- packages/core-currencies/package.json | 10 +- packages/core-delivery/package.json | 12 +- packages/core-enrollments/package.json | 12 +- packages/core-events/package.json | 10 +- packages/core-files/package.json | 14 +- packages/core-filters/package.json | 14 +- packages/core-languages/package.json | 10 +- packages/core-messaging/package.json | 8 +- packages/core-orders/package.json | 12 +- packages/core-payment/package.json | 12 +- packages/core-products/package.json | 12 +- packages/core-quotations/package.json | 12 +- packages/core-users/package.json | 16 +- packages/core-warehousing/package.json | 12 +- packages/core-worker/package.json | 10 +- packages/core/package.json | 46 +- packages/events/package.json | 10 +- packages/file-upload/package.json | 10 +- packages/logger/package.json | 8 +- packages/mongodb/package.json | 10 +- packages/platform/package.json | 24 +- packages/plugins/package.json | 44 +- packages/roles/package.json | 6 +- packages/shared/package.json | 4 +- packages/ticketing/package.json | 20 +- packages/types/package.json | 8 +- packages/utils/package.json | 8 +- 36 files changed, 756 insertions(+), 951 deletions(-) diff --git a/examples/kitchensink/package.json b/examples/kitchensink/package.json index 629239e87e..523494bf86 100644 --- a/examples/kitchensink/package.json +++ b/examples/kitchensink/package.json @@ -2,7 +2,7 @@ "name": "example-kitchensink", "description": "Kitchensink for Unchained Engine", "private": true, - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "type": "module", "homepage": "https://unchained.shop", @@ -36,36 +36,36 @@ "dependencies": { "@apollo/server-plugin-response-cache": "^4.1.3", "@paypal/checkout-server-sdk": "^1.0.3", - "@unchainedshop/api": "^2.15.1", - "@unchainedshop/core-delivery": "^2.15.1", - "@unchainedshop/core-payment": "^2.15.1", - "@unchainedshop/platform": "^2.15.1", - "@unchainedshop/plugins": "^2.15.1", - "@unchainedshop/types": "^2.15.1", + "@unchainedshop/api": "^2.15.2", + "@unchainedshop/core-delivery": "^2.15.2", + "@unchainedshop/core-payment": "^2.15.2", + "@unchainedshop/platform": "^2.15.2", + "@unchainedshop/plugins": "^2.15.2", + "@unchainedshop/types": "^2.15.2", "apollo-graphiql-playground": "^0.1.5", "bip32": "^4.0.0", "bitcoinjs-lib": "^6.1.6", "cookie": "^0.6.0", "cookie-parser": "^1.4.7", "dotenv-extended": "^2.9.0", - "ethers": "^6.13.3", + "ethers": "^6.13.4", "event-iterator": "^2.0.0", "express": "^4.21.1", "graphql": "^16.9.0", "JSONStream": "^1.3.5", - "nodemailer": "^6.9.15", + "nodemailer": "^6.9.16", "open": "^10.1.0", "postfinancecheckout": "^4.5.0", "serve-static": "^1.15.0", "stripe": "^15.12.0", "tiny-secp256k1": "^2.2.3", - "twilio": "^5.3.3", + "twilio": "^5.3.5", "uuid": "^10.0.0", "web-push": "^3.6.7", "xml-js": "^1.6.11" }, "devDependencies": { - "@types/node": "^22.7.5", + "@types/node": "^22.8.2", "mongodb-memory-server": "^10.0.0", "nodemon": "^3.1.7", "prettier": "^3.3.3", diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 35aced5312..3fd7b0de44 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -2,7 +2,7 @@ "name": "@unchainedshop/minimal", "description": "Kitchensink for Unchained Engine", "private": true, - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "type": "module", "homepage": "https://unchained.shop", @@ -34,11 +34,11 @@ "dev": "nodemon --delay 2500ms --watch '../../packages' --watch '.' -i lib -e js,mjs,json,ts --exec \"npm run dev:run\"" }, "dependencies": { - "@unchainedshop/platform": "^2.15.1" + "@unchainedshop/platform": "^2.15.2" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "mongodb-memory-server": "^10.0.0", "nodemon": "^3.1.7", "prettier": "^3.3.3", diff --git a/package-lock.json b/package-lock.json index 52acaebeb3..15f0cc298f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@unchainedshop/engine", - "version": "2.15.1", + "version": "2.15.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@unchainedshop/engine", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "workspaces": [ "packages/*", @@ -16,11 +16,11 @@ "devDependencies": { "@apollo/client": "^3.11.8", "@shelf/jest-mongodb": "^4.3.2", - "@types/jest": "^29.5.13", + "@types/jest": "^29.5.14", "@types/lodash.clone": "^4.5.9", - "@types/node": "^22.7.5", - "@typescript-eslint/eslint-plugin": "^8.8.1", - "@typescript-eslint/parser": "^8.8.1", + "@types/node": "^22.8.2", + "@typescript-eslint/eslint-plugin": "^8.12.1", + "@typescript-eslint/parser": "^8.12.1", "apollo-upload-client": "^18.0.1", "cross-env": "^7.0.3", "dotenv-extended": "^2.9.0", @@ -31,7 +31,7 @@ "formdata-node": "^6.0.3", "graphql": "^16.9.0", "jest": "^29.7.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "npm-run-all": "^4.1.5", "prettier": "^3.3.3", "stripe": "^15.12.0", @@ -46,41 +46,41 @@ }, "examples/kitchensink": { "name": "example-kitchensink", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { "@apollo/server-plugin-response-cache": "^4.1.3", "@paypal/checkout-server-sdk": "^1.0.3", - "@unchainedshop/api": "^2.15.1", - "@unchainedshop/core-delivery": "^2.15.1", - "@unchainedshop/core-payment": "^2.15.1", - "@unchainedshop/platform": "^2.15.1", - "@unchainedshop/plugins": "^2.15.1", - "@unchainedshop/types": "^2.15.1", + "@unchainedshop/api": "^2.15.2", + "@unchainedshop/core-delivery": "^2.15.2", + "@unchainedshop/core-payment": "^2.15.2", + "@unchainedshop/platform": "^2.15.2", + "@unchainedshop/plugins": "^2.15.2", + "@unchainedshop/types": "^2.15.2", "apollo-graphiql-playground": "^0.1.5", "bip32": "^4.0.0", "bitcoinjs-lib": "^6.1.6", "cookie": "^0.6.0", "cookie-parser": "^1.4.7", "dotenv-extended": "^2.9.0", - "ethers": "^6.13.3", + "ethers": "^6.13.4", "event-iterator": "^2.0.0", "express": "^4.21.1", "graphql": "^16.9.0", "JSONStream": "^1.3.5", - "nodemailer": "^6.9.15", + "nodemailer": "^6.9.16", "open": "^10.1.0", "postfinancecheckout": "^4.5.0", "serve-static": "^1.15.0", "stripe": "^15.12.0", "tiny-secp256k1": "^2.2.3", - "twilio": "^5.3.3", + "twilio": "^5.3.5", "uuid": "^10.0.0", "web-push": "^3.6.7", "xml-js": "^1.6.11" }, "devDependencies": { - "@types/node": "^22.7.5", + "@types/node": "^22.8.2", "mongodb-memory-server": "^10.0.0", "nodemon": "^3.1.7", "prettier": "^3.3.3", @@ -109,14 +109,14 @@ }, "examples/minimal": { "name": "@unchainedshop/minimal", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/platform": "^2.15.1" + "@unchainedshop/platform": "^2.15.2" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "mongodb-memory-server": "^10.0.0", "nodemon": "^3.1.7", "prettier": "^3.3.3", @@ -725,13 +725,14 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.25.7.tgz", - "integrity": "sha512-0xZJFNE5XMpENsgfHYTw8FbX4kv53mFLn2i3XPoq69LyhYSCBJtitaHx9QnsVTrsogI4Z3+HtEfZ2/GFPOtf5g==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.0.tgz", + "integrity": "sha512-INCKxTtbXtcNbUZ3YXutwMpEleqttcswhAdee7dhuoVrD2cnuc3PqtERBtxkX5nziX9vnBL8WXmSGwv8CuPV6g==", "dev": true, "license": "MIT", "dependencies": { - "@babel/highlight": "^7.25.7", + "@babel/helper-validator-identifier": "^7.25.9", + "js-tokens": "^4.0.0", "picocolors": "^1.0.0" }, "engines": { @@ -739,9 +740,9 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.25.8", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.8.tgz", - "integrity": "sha512-ZsysZyXY4Tlx+Q53XdnOFmqwfB9QDTHYxaZYajWRoBLuLEAwI2UIbtxOjWh/cFaa9IKUlcB+DDuoskLuKu56JA==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.0.tgz", + "integrity": "sha512-qETICbZSLe7uXv9VE8T/RWOdIE5qqyTucOt4zLYMafj2MRO271VGgLd4RACJMeBO37UPWhXiKMBk7YlJ0fOzQA==", "dev": true, "license": "MIT", "engines": { @@ -749,22 +750,22 @@ } }, "node_modules/@babel/core": { - "version": "7.25.8", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.8.tgz", - "integrity": "sha512-Oixnb+DzmRT30qu9d3tJSQkxuygWm32DFykT4bRoORPa9hZ/L4KhVB/XiRm6KG+roIEM7DBQlmg27kw2HZkdZg==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.0.tgz", + "integrity": "sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==", "dev": true, "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.25.7", - "@babel/generator": "^7.25.7", - "@babel/helper-compilation-targets": "^7.25.7", - "@babel/helper-module-transforms": "^7.25.7", - "@babel/helpers": "^7.25.7", - "@babel/parser": "^7.25.8", - "@babel/template": "^7.25.7", - "@babel/traverse": "^7.25.7", - "@babel/types": "^7.25.8", + "@babel/code-frame": "^7.26.0", + "@babel/generator": "^7.26.0", + "@babel/helper-compilation-targets": "^7.25.9", + "@babel/helper-module-transforms": "^7.26.0", + "@babel/helpers": "^7.26.0", + "@babel/parser": "^7.26.0", + "@babel/template": "^7.25.9", + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.26.0", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -790,13 +791,14 @@ } }, "node_modules/@babel/generator": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.7.tgz", - "integrity": "sha512-5Dqpl5fyV9pIAD62yK9P7fcA768uVPUyrQmqpqstHWgMma4feF1x/oFysBCVZLY5wJ2GkMUCdsNDnGZrPoR6rA==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.0.tgz", + "integrity": "sha512-/AIkAmInnWwgEAJGQr9vY0c66Mj6kjkE2ZPB1PurTRaRAh3U+J45sAQMjQDJdh4WbR3l0x5xkimXBKyBXXAu2w==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.25.7", + "@babel/parser": "^7.26.0", + "@babel/types": "^7.26.0", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^3.0.2" @@ -806,14 +808,14 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.7.tgz", - "integrity": "sha512-DniTEax0sv6isaw6qSQSfV4gVRNtw2rte8HHM45t9ZR0xILaufBRNkpMifCRiAPyvL4ACD6v0gfCwCmtOQaV4A==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.9.tgz", + "integrity": "sha512-j9Db8Suy6yV/VHa4qzrj9yZfZxhLWQdVnRlXxmKLYlhWUVB1sB2G5sxuWYXk/whHD9iW76PmNzxZ4UCnTQTVEQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.25.7", - "@babel/helper-validator-option": "^7.25.7", + "@babel/compat-data": "^7.25.9", + "@babel/helper-validator-option": "^7.25.9", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" @@ -843,30 +845,29 @@ } }, "node_modules/@babel/helper-module-imports": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.7.tgz", - "integrity": "sha512-o0xCgpNmRohmnoWKQ0Ij8IdddjyBFE4T2kagL/x6M3+4zUgc+4qTOUBoNe4XxDskt1HPKO007ZPiMgLDq2s7Kw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz", + "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/traverse": "^7.25.7", - "@babel/types": "^7.25.7" + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.7.tgz", - "integrity": "sha512-k/6f8dKG3yDz/qCwSM+RKovjMix563SLxQFo0UhRNo239SP6n9u5/eLtKD6EAjwta2JHJ49CsD8pms2HdNiMMQ==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz", + "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.25.7", - "@babel/helper-simple-access": "^7.25.7", - "@babel/helper-validator-identifier": "^7.25.7", - "@babel/traverse": "^7.25.7" + "@babel/helper-module-imports": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -876,33 +877,19 @@ } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.7.tgz", - "integrity": "sha512-eaPZai0PiqCi09pPs3pAFfl/zYgGaE6IdXtYvmf0qlcDTd3WCtO7JWCcRd64e0EQrcYgiHibEZnOGsSY4QSgaw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-simple-access": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.25.7.tgz", - "integrity": "sha512-FPGAkJmyoChQeM+ruBGIDyrT2tKfZJO8NcxdC+CWNJi7N8/rZpSxK7yvBJ5O/nF1gfu5KzN7VKG3YVSLFfRSxQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.9.tgz", + "integrity": "sha512-kSMlyUVdWe25rEsRGviIgOWnoT/nfABVWlqt9N19/dIPWViAOW2s9wznP5tURbs/IDuNk4gPy3YdYRgH3uxhBw==", "dev": true, "license": "MIT", - "dependencies": { - "@babel/traverse": "^7.25.7", - "@babel/types": "^7.25.7" - }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-string-parser": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.7.tgz", - "integrity": "sha512-CbkjYdsJNHFk8uqpEkpCvRs3YRp9tY6FmFY7wLMSYuGYkrdUi7r2lc4/wqsvlHoMznX3WJ9IP8giGPq68T/Y6g==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", + "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", "dev": true, "license": "MIT", "engines": { @@ -910,9 +897,9 @@ } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.7.tgz", - "integrity": "sha512-AM6TzwYqGChO45oiuPqwL2t20/HdMC1rTPAesnBCgPCSF1x3oN9MVUwQV2iyz4xqWrctwK5RNC8LV22kaQCNYg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", + "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", "dev": true, "license": "MIT", "engines": { @@ -920,9 +907,9 @@ } }, "node_modules/@babel/helper-validator-option": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.7.tgz", - "integrity": "sha512-ytbPLsm+GjArDYXJ8Ydr1c/KJuutjF2besPNbIZnZ6MKUxi/uTA22t2ymmA4WFjZFpjiAMO0xuuJPqK2nvDVfQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz", + "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==", "dev": true, "license": "MIT", "engines": { @@ -930,121 +917,27 @@ } }, "node_modules/@babel/helpers": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.7.tgz", - "integrity": "sha512-Sv6pASx7Esm38KQpF/U/OXLwPPrdGHNKoeblRxgZRLXnAtnkEe4ptJPDtAZM7fBLadbc1Q07kQpSiGQ0Jg6tRA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/template": "^7.25.7", - "@babel/types": "^7.25.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.25.7.tgz", - "integrity": "sha512-iYyACpW3iW8Fw+ZybQK+drQre+ns/tKpXbNESfrhNnPLIklLbXr7MYJ6gPEd0iETGLOK+SxMjVvKb/ffmk+FEw==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.0.tgz", + "integrity": "sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.25.7", - "chalk": "^2.4.2", - "js-tokens": "^4.0.0", - "picocolors": "^1.0.0" + "@babel/template": "^7.25.9", + "@babel/types": "^7.26.0" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/highlight/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "license": "MIT", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/@babel/highlight/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true, - "license": "MIT" - }, - "node_modules/@babel/highlight/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@babel/highlight/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/@babel/parser": { - "version": "7.25.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.8.tgz", - "integrity": "sha512-HcttkxzdPucv3nNFmfOOMfFf64KgdJVqm1KaCm25dPGMLElo9nsLvXeJECQg8UzPuBGLyTSA0ZzqCtDSzKTEoQ==", + "version": "7.26.1", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.1.tgz", + "integrity": "sha512-reoQYNiAJreZNsJzyrDNzFQ+IQ5JFiIzAHJg9bn94S3l+4++J7RsIhNMoB+lgP/9tpmiAQqspv+xfdxTSzREOw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.25.8" + "@babel/types": "^7.26.0" }, "bin": { "parser": "bin/babel-parser.js" @@ -1109,13 +1002,13 @@ } }, "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.25.7.tgz", - "integrity": "sha512-AqVo+dguCgmpi/3mYBdu9lkngOBlQ2w2vnNpa6gfiCxQZLzV4ZbhsXitJ2Yblkoe1VQwtHSaNmIaGll/26YWRw==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.26.0.tgz", + "integrity": "sha512-e2dttdsJ1ZTpi3B9UYGLw41hifAubg19AtCu/2I/F1QNVclOBr1dYpTdmdyZ84Xiz43BS/tCUkMAZNLv12Pi+A==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1151,13 +1044,13 @@ } }, "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.25.7.tgz", - "integrity": "sha512-ruZOnKO+ajVL/MVx+PwNBPOkrnXTXoWMtte1MBpegfCArhqOe3Bj52avVj1huLLxNKYKXYaSxZ2F+woK1ekXfw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.25.9.tgz", + "integrity": "sha512-ld6oezHQMZsZfp6pWtbjaNDF2tiiCYYDqQszHt5VV437lewP9aSi2Of99CK0D0XB21k7FLgnLcmQKyKzynfeAA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1277,13 +1170,13 @@ } }, "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.7.tgz", - "integrity": "sha512-rR+5FDjpCHqqZN2bzZm18bVYGaejGq5ZkpVCJLXor/+zlSrSoc4KWcHI0URVWjl/68Dyr1uwZUz/1njycEAv9g==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.9.tgz", + "integrity": "sha512-hjMgRy5hb8uJJjUcdWunWVcoi9bGpJp8p5Ol1229PoN6aytsLwNMgmdftO23wnCLMfVmTwZDWMPNq/D1SY60JQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1293,32 +1186,32 @@ } }, "node_modules/@babel/template": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.7.tgz", - "integrity": "sha512-wRwtAgI3bAS+JGU2upWNL9lSlDcRCqD05BZ1n3X2ONLH1WilFP6O1otQjeMK/1g0pvYcXC7b/qVUB1keofjtZA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.9.tgz", + "integrity": "sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.25.7", - "@babel/parser": "^7.25.7", - "@babel/types": "^7.25.7" + "@babel/code-frame": "^7.25.9", + "@babel/parser": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.25.7", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.7.tgz", - "integrity": "sha512-jatJPT1Zjqvh/1FyJs6qAHL+Dzb7sTb+xr7Q+gM1b+1oBsMsQQ4FkVKb6dFlJvLlVssqkRzV05Jzervt9yhnzg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.9.tgz", + "integrity": "sha512-ZCuvfwOwlz/bawvAuvcj8rrithP2/N55Tzz342AkTvq4qaWbGfmCk/tKhNaV2cthijKrPAA8SRJV5WWe7IBMJw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.25.7", - "@babel/generator": "^7.25.7", - "@babel/parser": "^7.25.7", - "@babel/template": "^7.25.7", - "@babel/types": "^7.25.7", + "@babel/code-frame": "^7.25.9", + "@babel/generator": "^7.25.9", + "@babel/parser": "^7.25.9", + "@babel/template": "^7.25.9", + "@babel/types": "^7.25.9", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -1337,15 +1230,14 @@ } }, "node_modules/@babel/types": { - "version": "7.25.8", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.8.tgz", - "integrity": "sha512-JWtuCu8VQsMladxVz/P4HzHUGCAwpuqacmowgXFs5XjxIgKuNjnLokQzuVjlTvIzODaDmpjT3oxcC48vyk9EWg==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.0.tgz", + "integrity": "sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.25.7", - "@babel/helper-validator-identifier": "^7.25.7", - "to-fast-properties": "^2.0.0" + "@babel/helper-string-parser": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1497,25 +1389,28 @@ } }, "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", - "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz", + "integrity": "sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==", "dev": true, "license": "MIT", "dependencies": { - "eslint-visitor-keys": "^3.3.0" + "eslint-visitor-keys": "^3.4.3" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, + "funding": { + "url": "https://opencollective.com/eslint" + }, "peerDependencies": { "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, "node_modules/@eslint-community/regexpp": { - "version": "4.11.1", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.1.tgz", - "integrity": "sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==", + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", "dev": true, "license": "MIT", "engines": { @@ -2825,47 +2720,47 @@ } }, "node_modules/@shikijs/core": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.22.0.tgz", - "integrity": "sha512-S8sMe4q71TJAW+qG93s5VaiihujRK6rqDFqBnxqvga/3LvqHEnxqBIOPkt//IdXVtHkQWKu4nOQNk0uBGicU7Q==", + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.22.2.tgz", + "integrity": "sha512-bvIQcd8BEeR1yFvOYv6HDiyta2FFVePbzeowf5pPS1avczrPK+cjmaxxh0nx5QzbON7+Sv0sQfQVciO7bN72sg==", "dev": true, "license": "MIT", "dependencies": { - "@shikijs/engine-javascript": "1.22.0", - "@shikijs/engine-oniguruma": "1.22.0", - "@shikijs/types": "1.22.0", + "@shikijs/engine-javascript": "1.22.2", + "@shikijs/engine-oniguruma": "1.22.2", + "@shikijs/types": "1.22.2", "@shikijs/vscode-textmate": "^9.3.0", "@types/hast": "^3.0.4", "hast-util-to-html": "^9.0.3" } }, "node_modules/@shikijs/engine-javascript": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-1.22.0.tgz", - "integrity": "sha512-AeEtF4Gcck2dwBqCFUKYfsCq0s+eEbCEbkUuFou53NZ0sTGnJnJ/05KHQFZxpii5HMXbocV9URYVowOP2wH5kw==", + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-1.22.2.tgz", + "integrity": "sha512-iOvql09ql6m+3d1vtvP8fLCVCK7BQD1pJFmHIECsujB0V32BJ0Ab6hxk1ewVSMFA58FI0pR2Had9BKZdyQrxTw==", "dev": true, "license": "MIT", "dependencies": { - "@shikijs/types": "1.22.0", + "@shikijs/types": "1.22.2", "@shikijs/vscode-textmate": "^9.3.0", "oniguruma-to-js": "0.4.3" } }, "node_modules/@shikijs/engine-oniguruma": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-1.22.0.tgz", - "integrity": "sha512-5iBVjhu/DYs1HB0BKsRRFipRrD7rqjxlWTj4F2Pf+nQSPqc3kcyqFFeZXnBMzDf0HdqaFVvhDRAGiYNvyLP+Mw==", + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-1.22.2.tgz", + "integrity": "sha512-GIZPAGzQOy56mGvWMoZRPggn0dTlBf1gutV5TdceLCZlFNqWmuc7u+CzD0Gd9vQUTgLbrt0KLzz6FNprqYAxlA==", "dev": true, "license": "MIT", "dependencies": { - "@shikijs/types": "1.22.0", + "@shikijs/types": "1.22.2", "@shikijs/vscode-textmate": "^9.3.0" } }, "node_modules/@shikijs/types": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-1.22.0.tgz", - "integrity": "sha512-Fw/Nr7FGFhlQqHfxzZY8Cwtwk5E9nKDUgeLjZgt3UuhcM3yJR9xj3ZGNravZZok8XmEZMiYkSMTPlPkULB8nww==", + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-1.22.2.tgz", + "integrity": "sha512-NCWDa6LGZqTuzjsGfXOBWfjS/fDIbDdmVDug+7ykVe1IKT4c1gakrvlfFYp5NhAXH/lyqLM8wsAPo5wNy73Feg==", "dev": true, "license": "MIT", "dependencies": { @@ -3144,9 +3039,9 @@ } }, "node_modules/@types/http-assert": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/@types/http-assert/-/http-assert-1.5.5.tgz", - "integrity": "sha512-4+tE/lwdAahgZT1g30Jkdm9PzFRde0xwxBNUyRsCitRvCQB90iuA2uJYdUnhnANRcqGXaWOGY4FEoxeElNAK2g==", + "version": "1.5.6", + "resolved": "https://registry.npmjs.org/@types/http-assert/-/http-assert-1.5.6.tgz", + "integrity": "sha512-TTEwmtjgVbYAzZYWyeHPrrtWnfVkm8tQkP8P21uQifPgMRgjrow3XDEYqucuC8SKZJT7pUnhU/JymvjggxO9vw==", "devOptional": true, "license": "MIT" }, @@ -3184,9 +3079,9 @@ } }, "node_modules/@types/jest": { - "version": "29.5.13", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.13.tgz", - "integrity": "sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg==", + "version": "29.5.14", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.14.tgz", + "integrity": "sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3252,9 +3147,9 @@ "license": "MIT" }, "node_modules/@types/lodash": { - "version": "4.17.10", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.10.tgz", - "integrity": "sha512-YpS0zzoduEhuOWjAotS6A5AVCva7X4lVlYLF0FYHAY9sdraBfnatttHItlWeZdGhuEkf+OzMNg2ZYAx8t+52uQ==", + "version": "4.17.12", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.12.tgz", + "integrity": "sha512-sviUmCE8AYdaF/KIHLDJBQgeYzPBI0vf/17NaYehBJfYD1j6/L95Slh07NlyK2iNyBNaEkb3En2jRt+a8y3xZQ==", "dev": true, "license": "MIT" }, @@ -3321,12 +3216,12 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "22.7.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", - "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", + "version": "22.8.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.2.tgz", + "integrity": "sha512-NzaRNFV+FZkvK/KLCsNdTvID0SThyrs5SHB6tsD/lajr22FGC73N2QeDPM2wHtVde8mgcXuSsHQkH5cX1pbPLw==", "license": "MIT", "dependencies": { - "undici-types": "~6.19.2" + "undici-types": "~6.19.8" } }, "node_modules/@types/node-fetch": { @@ -3471,17 +3366,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.8.1.tgz", - "integrity": "sha512-xfvdgA8AP/vxHgtgU310+WBnLB4uJQ9XdyP17RebG26rLtDrQJV3ZYrcopX91GrHmMoH8bdSwMRh2a//TiJ1jQ==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.12.1.tgz", + "integrity": "sha512-gNg/inLRcPoBsKKIe4Vv38SVSOhk4BKWNO0T56sVff33gRqtTpOsrhHtiOKD1lmIOmCtZMPaW2x/h2FlM+sCEg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.8.1", - "@typescript-eslint/type-utils": "8.8.1", - "@typescript-eslint/utils": "8.8.1", - "@typescript-eslint/visitor-keys": "8.8.1", + "@typescript-eslint/scope-manager": "8.12.1", + "@typescript-eslint/type-utils": "8.12.1", + "@typescript-eslint/utils": "8.12.1", + "@typescript-eslint/visitor-keys": "8.12.1", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -3505,16 +3400,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.8.1.tgz", - "integrity": "sha512-hQUVn2Lij2NAxVFEdvIGxT9gP1tq2yM83m+by3whWFsWC+1y8pxxxHUFE1UqDu2VsGi2i6RLcv4QvouM84U+ow==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.12.1.tgz", + "integrity": "sha512-I/I9Bg7qFa8rOgBnUUHIWTgzbB5wVkSLX+04xGUzTcJUtdq/I2uHWR9mbW6qUYJG/UmkuDcTax5JHvoEWOAHOQ==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "8.8.1", - "@typescript-eslint/types": "8.8.1", - "@typescript-eslint/typescript-estree": "8.8.1", - "@typescript-eslint/visitor-keys": "8.8.1", + "@typescript-eslint/scope-manager": "8.12.1", + "@typescript-eslint/types": "8.12.1", + "@typescript-eslint/typescript-estree": "8.12.1", + "@typescript-eslint/visitor-keys": "8.12.1", "debug": "^4.3.4" }, "engines": { @@ -3534,14 +3429,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.8.1.tgz", - "integrity": "sha512-X4JdU+66Mazev/J0gfXlcC/dV6JI37h+93W9BRYXrSn0hrE64IoWgVkO9MSJgEzoWkxONgaQpICWg8vAN74wlA==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.12.1.tgz", + "integrity": "sha512-bma6sD1iViTt+y9MAwDlBdPTMCqoH/BNdcQk4rKhIZWv3eM0xHmzeSrPJA663PAqFqfpOmtdugycpr0E1mZDVA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.8.1", - "@typescript-eslint/visitor-keys": "8.8.1" + "@typescript-eslint/types": "8.12.1", + "@typescript-eslint/visitor-keys": "8.12.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3552,14 +3447,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.8.1.tgz", - "integrity": "sha512-qSVnpcbLP8CALORf0za+vjLYj1Wp8HSoiI8zYU5tHxRVj30702Z1Yw4cLwfNKhTPWp5+P+k1pjmD5Zd1nhxiZA==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.12.1.tgz", + "integrity": "sha512-zJzrvbDVjIzVKV2TGHcjembEhws8RWXJhmqfO9hS2gRXBN0gDwGhRPEdJ6AZglzfJ+YA1q09EWpSLSXjBJpIMQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.8.1", - "@typescript-eslint/utils": "8.8.1", + "@typescript-eslint/typescript-estree": "8.12.1", + "@typescript-eslint/utils": "8.12.1", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -3577,9 +3472,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.8.1.tgz", - "integrity": "sha512-WCcTP4SDXzMd23N27u66zTKMuEevH4uzU8C9jf0RO4E04yVHgQgW+r+TeVTNnO1KIfrL8ebgVVYYMMO3+jC55Q==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.12.1.tgz", + "integrity": "sha512-anMS4es5lxBe4UVcDXOkcDb3csnm5BvaNIbOFfvy/pJEohorsggdVB8MFbl5EZiEuBnZZ0ei1z7W5b6FdFiV1Q==", "dev": true, "license": "MIT", "engines": { @@ -3591,14 +3486,14 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.8.1.tgz", - "integrity": "sha512-A5d1R9p+X+1js4JogdNilDuuq+EHZdsH9MjTVxXOdVFfTJXunKJR/v+fNNyO4TnoOn5HqobzfRlc70NC6HTcdg==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.12.1.tgz", + "integrity": "sha512-k/o9khHOckPeDXilFTIPsP9iAYhhdMh3OsOL3i2072PNpFqhqzRHx472/0DeC8H/WZee3bZG0z2ddGRSPgeOKw==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "8.8.1", - "@typescript-eslint/visitor-keys": "8.8.1", + "@typescript-eslint/types": "8.12.1", + "@typescript-eslint/visitor-keys": "8.12.1", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -3620,16 +3515,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.8.1.tgz", - "integrity": "sha512-/QkNJDbV0bdL7H7d0/y0qBbV2HTtf0TIyjSDTvvmQEzeVx8jEImEbLuOA4EsvE8gIgqMitns0ifb5uQhMj8d9w==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.12.1.tgz", + "integrity": "sha512-sDv9yFHrhKe1WN8EYuzfhKCh/sFRupe9P+m/lZ5YgVvPoCUGHNN50IO4llSu7JAbftUM/QcCh+GeCortXPrBYQ==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.8.1", - "@typescript-eslint/types": "8.8.1", - "@typescript-eslint/typescript-estree": "8.8.1" + "@typescript-eslint/scope-manager": "8.12.1", + "@typescript-eslint/types": "8.12.1", + "@typescript-eslint/typescript-estree": "8.12.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3643,13 +3538,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.8.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.8.1.tgz", - "integrity": "sha512-0/TdC3aeRAsW7MDvYRwEc1Uwm0TIBfzjPFgg60UU2Haj5qsCs9cc3zNgY71edqE3LbWfF/WoZQd3lJoDXFQpag==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.12.1.tgz", + "integrity": "sha512-2RwdwnNGuOQKdGjuhujQHUqBZhEuodg2sLVPvOfWktvA9sOXOVqARjOyHSyhN2LiJGKxV6c8oOcmOtRcAnEeFw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/types": "8.12.1", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -3884,15 +3779,24 @@ "node": ">= 0.6" } }, + "node_modules/accepts/node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, "node_modules/accounting": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/accounting/-/accounting-0.4.1.tgz", "integrity": "sha512-RU6KY9Y5wllyaCNBo1W11ZOTnTHMMgOZkIwdOOs6W5ibMTp72i4xIbEA48djxVGqMNTUNbvrP/1nWg5Af5m2gQ==" }, "node_modules/acorn": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", - "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", "dev": true, "license": "MIT", "bin": { @@ -4928,9 +4832,9 @@ "license": "MIT" }, "node_modules/browserslist": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.0.tgz", - "integrity": "sha512-Rmb62sR1Zpjql25eSanFGEhAxcFwfA1K0GuQcLoaJBAcENegrQut3hYdhXFF1obQfiDyqIW/cLM5HSJ/9k884A==", + "version": "4.24.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz", + "integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==", "dev": true, "funding": [ { @@ -4948,10 +4852,10 @@ ], "license": "MIT", "dependencies": { - "caniuse-lite": "^1.0.30001663", - "electron-to-chromium": "^1.5.28", + "caniuse-lite": "^1.0.30001669", + "electron-to-chromium": "^1.5.41", "node-releases": "^2.0.18", - "update-browserslist-db": "^1.1.0" + "update-browserslist-db": "^1.1.1" }, "bin": { "browserslist": "cli.js" @@ -5003,9 +4907,9 @@ } }, "node_modules/bson": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/bson/-/bson-6.8.0.tgz", - "integrity": "sha512-iOJg8pr7wq2tg/zSlCCHMi3hMm5JTOxLTagf3zxhcenHsFp+c6uOs6K7W5UE7A4QIJGtqh/ZovFNMP4mOPJynQ==", + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/bson/-/bson-6.9.0.tgz", + "integrity": "sha512-X9hJeyeM0//Fus+0pc5dSUMhhrrmWwQUtdavaQeF3Ta6m69matZkGWV/MrBcnwUeLC8W9kwwc2hfkZgUuCX3Ig==", "license": "Apache-2.0", "engines": { "node": ">=16.20.1" @@ -5187,9 +5091,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001668", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001668.tgz", - "integrity": "sha512-nWLrdxqCdblixUO+27JtGJJE/txpJlyUy5YN1u53wLZkP0emYCo5zgS6QYft7VUYR42LGgi/S5hdLZTrnyIddw==", + "version": "1.0.30001674", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001674.tgz", + "integrity": "sha512-jOsKlZVRnzfhLojb+Ykb+gyUSp9Xb57So+fAiFlLzzTKpqg8xxSav0e40c8/4F/v9N8QSvrRRaLeVzQbLqomYw==", "dev": true, "funding": [ { @@ -6322,9 +6226,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.36", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.36.tgz", - "integrity": "sha512-HYTX8tKge/VNp6FGO+f/uVDmUkq+cEfcxYhKf15Akc4M5yxt5YmorwlAitKWjWhWQnKcDRBAQKXkhqqXMqcrjw==", + "version": "1.5.49", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.49.tgz", + "integrity": "sha512-ZXfs1Of8fDb6z7WEYZjXpgIRF6MEu8JdeGA0A40aZq6OQbS+eJpnnV49epZRna2DU/YsEjSQuGtQPPtvt6J65A==", "dev": true, "license": "ISC" }, @@ -7040,9 +6944,9 @@ } }, "node_modules/ethers": { - "version": "6.13.3", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.3.tgz", - "integrity": "sha512-/DzbZOLVtoO4fKvvQwpEucHAQgIwBGWuRvBdwE/lMXgXvvHHTSkn7XqAQ2b+gjJzZDJjWA9OD05bVceVOsBHbg==", + "version": "6.13.4", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.4.tgz", + "integrity": "sha512-21YtnZVg4/zKkCQPjrDj38B1r4nQvTZLopUGMLQ1ePU2zV/joCfDC3t3iKQjWRzjjjbzR+mdAIoikeBRNkdllA==", "funding": [ { "type": "individual", @@ -7058,9 +6962,9 @@ "@adraffy/ens-normalize": "1.10.1", "@noble/curves": "1.2.0", "@noble/hashes": "1.3.2", - "@types/node": "18.15.13", + "@types/node": "22.7.5", "aes-js": "4.0.0-beta.5", - "tslib": "2.4.0", + "tslib": "2.7.0", "ws": "8.17.1" }, "engines": { @@ -7080,15 +6984,18 @@ } }, "node_modules/ethers/node_modules/@types/node": { - "version": "18.15.13", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.13.tgz", - "integrity": "sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==", - "license": "MIT" + "version": "22.7.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", + "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", + "license": "MIT", + "dependencies": { + "undici-types": "~6.19.2" + } }, "node_modules/ethers/node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", "license": "0BSD" }, "node_modules/event-emitter": { @@ -7972,7 +7879,7 @@ "version": "4.3.3", "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-4.3.3.tgz", "integrity": "sha512-gSaYYIO1Y3wUtdfHmjDUZ8LWaxJQpiavzbF5Kq53akSzvmVg0RfyOcFDbO1KJ/KCGRFz2qG+lS81F0nkr7cRJA==", - "dev": true, + "devOptional": true, "license": "Apache-2.0", "dependencies": { "abort-controller": "^3.0.0", @@ -7989,7 +7896,7 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "debug": "4" @@ -8002,7 +7909,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "dev": true, + "devOptional": true, "license": "MIT", "dependencies": { "agent-base": "6", @@ -8013,64 +7920,17 @@ } }, "node_modules/gcp-metadata": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-5.3.0.tgz", - "integrity": "sha512-FNTkdNEnBdlqF2oatizolQqNANMrcqJt6AAYt99B3y1aLLC8Hc5IOBb+ZnnzllodEEf6xMBp6wRcBbc16fa65w==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.1.tgz", + "integrity": "sha512-x850LS5N7V1F3UcV7PoupzGsyD6iVwTVvsh3tbXfkctZnBnjW5yu5z1/3k3SehF7TyoTIe78rJs02GMMy+LF+A==", + "devOptional": true, "license": "Apache-2.0", - "optional": true, - "peer": true, "dependencies": { - "gaxios": "^5.0.0", + "gaxios": "^4.0.0", "json-bigint": "^1.0.0" }, "engines": { - "node": ">=12" - } - }, - "node_modules/gcp-metadata/node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/gcp-metadata/node_modules/gaxios": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-5.1.3.tgz", - "integrity": "sha512-95hVgBRgEIRQQQHIbnxBXeHbW4TqFk4ZDJW7wmVtvYar72FdhRIo1UGOLS2eRAKCPEdPBWu+M7+A33D9CdX9rA==", - "license": "Apache-2.0", - "optional": true, - "peer": true, - "dependencies": { - "extend": "^3.0.2", - "https-proxy-agent": "^5.0.0", - "is-stream": "^2.0.0", - "node-fetch": "^2.6.9" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/gcp-metadata/node_modules/https-proxy-agent": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", - "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "license": "MIT", - "optional": true, - "peer": true, - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" + "node": ">=10" } }, "node_modules/generic-pool": { @@ -8566,20 +8426,6 @@ "node": ">=8" } }, - "node_modules/google-auth-library/node_modules/gcp-metadata": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.1.tgz", - "integrity": "sha512-x850LS5N7V1F3UcV7PoupzGsyD6iVwTVvsh3tbXfkctZnBnjW5yu5z1/3k3SehF7TyoTIe78rJs02GMMy+LF+A==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "gaxios": "^4.0.0", - "json-bigint": "^1.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/google-auth-library/node_modules/jwa": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", @@ -8682,20 +8528,6 @@ "node": ">=8" } }, - "node_modules/googleapis-common/node_modules/gcp-metadata": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.1.tgz", - "integrity": "sha512-x850LS5N7V1F3UcV7PoupzGsyD6iVwTVvsh3tbXfkctZnBnjW5yu5z1/3k3SehF7TyoTIe78rJs02GMMy+LF+A==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "gaxios": "^4.0.0", - "json-bigint": "^1.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/googleapis-common/node_modules/google-auth-library": { "version": "7.14.1", "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.14.1.tgz", @@ -8780,20 +8612,6 @@ "node": ">=8" } }, - "node_modules/googleapis/node_modules/gcp-metadata": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.1.tgz", - "integrity": "sha512-x850LS5N7V1F3UcV7PoupzGsyD6iVwTVvsh3tbXfkctZnBnjW5yu5z1/3k3SehF7TyoTIe78rJs02GMMy+LF+A==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "gaxios": "^4.0.0", - "json-bigint": "^1.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/googleapis/node_modules/google-auth-library": { "version": "7.14.1", "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.14.1.tgz", @@ -11802,9 +11620,9 @@ } }, "node_modules/minio": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/minio/-/minio-8.0.1.tgz", - "integrity": "sha512-FzDO6yGnqLtm8sp3mXafWtiRUOslJSSg/aI0v9YbN5vjw5KLoODKAROCyi766NIvTSxcfHBrbhCSGk1A+MOzDg==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/minio/-/minio-8.0.2.tgz", + "integrity": "sha512-7ipWbtgzzboctf+McK+2cXwCrNOhuboTA/O1g9iWa0gH8R4GkeyFWwk12aVDEHdzjPiG8wxnjwfHS7pgraKuHw==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -11813,7 +11631,7 @@ "browser-or-node": "^2.1.1", "buffer-crc32": "^1.0.0", "eventemitter3": "^5.0.1", - "fast-xml-parser": "^4.2.2", + "fast-xml-parser": "^4.4.1", "ipaddr.js": "^2.0.1", "lodash": "^4.17.21", "mime-types": "^2.1.35", @@ -11821,7 +11639,7 @@ "stream-json": "^1.8.0", "through2": "^4.0.2", "web-encoding": "^1.1.5", - "xml2js": "^0.5.0" + "xml2js": "^0.5.0 || ^0.6.2" }, "engines": { "node": "^16 || ^18 || >=20" @@ -11907,9 +11725,9 @@ } }, "node_modules/mongodb": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.9.0.tgz", - "integrity": "sha512-UMopBVx1LmEUbW/QE0Hw18u583PEDVQmUmVzzBRH0o/xtE9DBRA5ZYLOjpLIa03i8FXjzvQECJcqoMvCXftTUA==", + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-6.10.0.tgz", + "integrity": "sha512-gP9vduuYWb9ZkDM546M+MP2qKVk5ZG2wPF63OvSRuUbqCR+11ZCAE1mOfllhlAG0wcoJY5yDL/rV3OmYEwXIzg==", "license": "Apache-2.0", "dependencies": { "@mongodb-js/saslprep": "^1.1.5", @@ -12241,9 +12059,9 @@ "license": "MIT" }, "node_modules/negotiator": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz", + "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==", "license": "MIT", "engines": { "node": ">= 0.6" @@ -12376,9 +12194,9 @@ } }, "node_modules/nodemailer": { - "version": "6.9.15", - "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.9.15.tgz", - "integrity": "sha512-AHf04ySLC6CIfuRtRiEYtGEXgRfa6INgWGluDhnxTZhHSKvrBu7lc1VVchQ0d8nPc4cFaZoPq8vkyNoZr0TpGQ==", + "version": "6.9.16", + "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.9.16.tgz", + "integrity": "sha512-psAuZdTIRN08HKVd/E8ObdV6NO7NTBY3KsC30F7M4H1OnmLCUNaS56FpYxyb26zWLSyYF9Ozch9KYHhHegsiOQ==", "license": "MIT-0", "engines": { "node": ">=6.0.0" @@ -13226,9 +13044,9 @@ "license": "ISC" }, "node_modules/picocolors": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", - "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true, "license": "ISC" }, @@ -14573,16 +14391,16 @@ } }, "node_modules/shiki": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.22.0.tgz", - "integrity": "sha512-/t5LlhNs+UOKQCYBtl5ZsH/Vclz73GIqT2yQsCBygr8L/ppTdmpL4w3kPLoZJbMKVWtoG77Ue1feOjZfDxvMkw==", + "version": "1.22.2", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.22.2.tgz", + "integrity": "sha512-3IZau0NdGKXhH2bBlUk4w1IHNxPh6A5B2sUpyY+8utLu2j/h1QpFkAaUA1bAMxOWWGtTWcAh531vnS4NJKS/lA==", "dev": true, "license": "MIT", "dependencies": { - "@shikijs/core": "1.22.0", - "@shikijs/engine-javascript": "1.22.0", - "@shikijs/engine-oniguruma": "1.22.0", - "@shikijs/types": "1.22.0", + "@shikijs/core": "1.22.2", + "@shikijs/engine-javascript": "1.22.2", + "@shikijs/engine-oniguruma": "1.22.2", + "@shikijs/types": "1.22.2", "@shikijs/vscode-textmate": "^9.3.0", "@types/hast": "^3.0.4" } @@ -15178,9 +14996,9 @@ "license": "BSD-3-Clause" }, "node_modules/stream-json": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/stream-json/-/stream-json-1.8.0.tgz", - "integrity": "sha512-HZfXngYHUAr1exT4fxlbc1IOce1RYxp2ldeaf97LYCOPSoOqY/1Psp7iGvpb+6JIOgkra9zDYnPX01hGAHzEPw==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/stream-json/-/stream-json-1.9.0.tgz", + "integrity": "sha512-TqnfW7hRTKje7UobBzXZJ2qOEDJvdcSVgVIK/fopC03xINFuFqQs8RVjyDT4ry7TmOo2ueAXwpXXXG4tNgtvoQ==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -15536,14 +15354,11 @@ } }, "node_modules/text-decoder": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.0.tgz", - "integrity": "sha512-n1yg1mOj9DNpk3NeZOx7T6jchTbyJS3i3cucbNN6FcdPriMZx7NsgrGpWWdWZZGxD7ES1XB+3uoqHMgOKaN+fg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.1.tgz", + "integrity": "sha512-x9v3H/lTKIJKQQe7RPQkLfKAnc9lUTkWDypIQgTzPJAq+5/GCDHonmshfvlsNSj58yyshbIJJDLmU15qNERrXQ==", "dev": true, - "license": "Apache-2.0", - "dependencies": { - "b4a": "^1.6.4" - } + "license": "Apache-2.0" }, "node_modules/text-hex": { "version": "1.0.0", @@ -15621,21 +15436,21 @@ } }, "node_modules/tldts": { - "version": "6.1.50", - "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.50.tgz", - "integrity": "sha512-q9GOap6q3KCsLMdOjXhWU5jVZ8/1dIib898JBRLsN+tBhENpBDcAVQbE0epADOjw11FhQQy9AcbqKGBQPUfTQA==", + "version": "6.1.57", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.57.tgz", + "integrity": "sha512-Oy7yDXK8meJl8vPMOldzA+MtueAJ5BrH4l4HXwZuj2AtfoQbLjmTJmjNWPUcAo+E/ibHn7QlqMS0BOcXJFJyHQ==", "license": "MIT", "dependencies": { - "tldts-core": "^6.1.50" + "tldts-core": "^6.1.57" }, "bin": { "tldts": "bin/cli.js" } }, "node_modules/tldts-core": { - "version": "6.1.50", - "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.50.tgz", - "integrity": "sha512-na2EcZqmdA2iV9zHV7OHQDxxdciEpxrjbkp+aHmZgnZKHzoElLajP59np5/4+sare9fQBfixgvXKx8ev1d7ytw==", + "version": "6.1.57", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.57.tgz", + "integrity": "sha512-lXnRhuQpx3zU9EONF9F7HfcRLvN1uRYUBIiKL+C/gehC/77XTU+Jye6ui86GA3rU6FjlJ0triD1Tkjt2F/2lEg==", "license": "MIT" }, "node_modules/tmpl": { @@ -15645,16 +15460,6 @@ "dev": true, "license": "BSD-3-Clause" }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, "node_modules/to-object-path": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", @@ -15941,9 +15746,9 @@ } }, "node_modules/tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz", + "integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==", "license": "0BSD" }, "node_modules/tunnel-agent": { @@ -15966,9 +15771,9 @@ "license": "Unlicense" }, "node_modules/twilio": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/twilio/-/twilio-5.3.3.tgz", - "integrity": "sha512-sI2A304/nMLnv6Vu1U6CREOvuLslUvo6ULhNNEa+mVZz29zMlzv20XQAExIVWxyXTBU4iIjOQY6giY58p1eb8Q==", + "version": "5.3.5", + "resolved": "https://registry.npmjs.org/twilio/-/twilio-5.3.5.tgz", + "integrity": "sha512-f/sA1Yd6TyIzfcq0u4QDGU+93afwswsJB+rf3T08tvBAMobBDVR3DfGREwJr5jp8xUic0qWa7GbJidk16NA4bg==", "license": "MIT", "dependencies": { "axios": "^1.7.4", @@ -16152,9 +15957,9 @@ } }, "node_modules/typedoc": { - "version": "0.26.8", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.8.tgz", - "integrity": "sha512-QBF0BMbnNeUc6U7pRHY7Jb8pjhmiNWZNQT8LU6uk9qP9t3goP9bJptdlNqMC0wBB2w9sQrxjZt835bpRSSq1LA==", + "version": "0.26.10", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.26.10.tgz", + "integrity": "sha512-xLmVKJ8S21t+JeuQLNueebEuTVphx6IrP06CdV7+0WVflUSW3SPmR+h1fnWVdAR/FQePEgsSWCUHXqKKjzuUAw==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -17077,9 +16882,9 @@ } }, "node_modules/xml2js": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", - "integrity": "sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==", + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", + "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", "dev": true, "license": "MIT", "dependencies": { @@ -17152,9 +16957,9 @@ "license": "ISC" }, "node_modules/yaml": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.1.tgz", - "integrity": "sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.6.0.tgz", + "integrity": "sha512-a6ae//JvKDEra2kdi1qzCyrJW/WZCgFi8ydDV+eXExl95t+5R+ijnqHJbz9tmMh8FUjx3iv2fCQ4dclAQlO2UQ==", "dev": true, "license": "ISC", "bin": { @@ -17260,15 +17065,15 @@ }, "packages/api": { "name": "@unchainedshop/api", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { "@metamask/eth-sig-util": "^7.0.3", - "@unchainedshop/core": "^2.15.1", - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/roles": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/core": "^2.15.2", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/roles": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "accounting": "0.4.1", "dataloader": "^2.2.2", "graphql-scalars": "^1.23.0", @@ -17280,8 +17085,8 @@ "devDependencies": { "@types/graphql-upload": "^16.0.7", "@types/locale": "^0.1.4", - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "express": "^4.21.1", "jest": "^29.7.0", "ts-jest": "^29.2.5", @@ -17297,33 +17102,33 @@ }, "packages/core": { "name": "@unchainedshop/core", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/core-accountsjs": "^2.15.1", - "@unchainedshop/core-assortments": "^2.15.1", - "@unchainedshop/core-bookmarks": "^2.15.1", - "@unchainedshop/core-countries": "^2.15.1", - "@unchainedshop/core-currencies": "^2.15.1", - "@unchainedshop/core-delivery": "^2.15.1", - "@unchainedshop/core-enrollments": "^2.15.1", - "@unchainedshop/core-events": "^2.15.1", - "@unchainedshop/core-files": "^2.15.1", - "@unchainedshop/core-filters": "^2.15.1", - "@unchainedshop/core-languages": "^2.15.1", - "@unchainedshop/core-messaging": "^2.15.1", - "@unchainedshop/core-orders": "^2.15.1", - "@unchainedshop/core-payment": "^2.15.1", - "@unchainedshop/core-products": "^2.15.1", - "@unchainedshop/core-quotations": "^2.15.1", - "@unchainedshop/core-users": "^2.15.1", - "@unchainedshop/core-warehousing": "^2.15.1", - "@unchainedshop/core-worker": "^2.15.1", - "@unchainedshop/logger": "^2.15.1" + "@unchainedshop/core-accountsjs": "^2.15.2", + "@unchainedshop/core-assortments": "^2.15.2", + "@unchainedshop/core-bookmarks": "^2.15.2", + "@unchainedshop/core-countries": "^2.15.2", + "@unchainedshop/core-currencies": "^2.15.2", + "@unchainedshop/core-delivery": "^2.15.2", + "@unchainedshop/core-enrollments": "^2.15.2", + "@unchainedshop/core-events": "^2.15.2", + "@unchainedshop/core-files": "^2.15.2", + "@unchainedshop/core-filters": "^2.15.2", + "@unchainedshop/core-languages": "^2.15.2", + "@unchainedshop/core-messaging": "^2.15.2", + "@unchainedshop/core-orders": "^2.15.2", + "@unchainedshop/core-payment": "^2.15.2", + "@unchainedshop/core-products": "^2.15.2", + "@unchainedshop/core-quotations": "^2.15.2", + "@unchainedshop/core-users": "^2.15.2", + "@unchainedshop/core-warehousing": "^2.15.2", + "@unchainedshop/core-worker": "^2.15.2", + "@unchainedshop/logger": "^2.15.2" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17331,7 +17136,7 @@ }, "packages/core-accountsjs": { "name": "@unchainedshop/core-accountsjs", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { "@accounts/database-manager": "0.33.1", @@ -17339,14 +17144,14 @@ "@accounts/mongo-password": "^0.33.0", "@accounts/password": "^0.32.2", "@accounts/server": "0.33.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "fido2-lib": "^3.5.3", "uuid": "^10.0.0" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17423,21 +17228,21 @@ }, "packages/core-assortments": { "name": "@unchainedshop/core-assortments", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/file-upload": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/file-upload": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "locale": "^0.1.0", "ramda": "^0.30.1", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "cross-env": "^7.0.3", "jest": "^29.7.0", "ts-jest": "^29.2.5", @@ -17446,16 +17251,16 @@ }, "packages/core-bookmarks": { "name": "@unchainedshop/core-bookmarks", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17463,16 +17268,16 @@ }, "packages/core-countries": { "name": "@unchainedshop/core-countries", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "cross-env": "^7.0.3", "jest": "^29.7.0", "ts-jest": "^29.2.5", @@ -17481,16 +17286,16 @@ }, "packages/core-currencies": { "name": "@unchainedshop/core-currencies", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17498,17 +17303,17 @@ }, "packages/core-delivery": { "name": "@unchainedshop/core-delivery", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17516,21 +17321,21 @@ }, "packages/core-enrollments": { "name": "@unchainedshop/core-enrollments", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { "@breejs/later": "^4.2.0", - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "date-fns": "^4.1.0", "locale": "0.1.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17538,16 +17343,16 @@ }, "packages/core-events": { "name": "@unchainedshop/core-events", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17555,19 +17360,19 @@ }, "packages/core-files": { "name": "@unchainedshop/core-files", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/file-upload": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/file-upload": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "mime-types": "^2.1.35", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17575,20 +17380,20 @@ }, "packages/core-filters": { "name": "@unchainedshop/core-filters", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/mongodb": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/mongodb": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "locale": "^0.1.0", "memoizee": "^0.4.17", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17596,16 +17401,16 @@ }, "packages/core-languages": { "name": "@unchainedshop/core-languages", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17613,15 +17418,15 @@ }, "packages/core-messaging": { "name": "@unchainedshop/core-messaging", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/logger": "^2.15.1", + "@unchainedshop/logger": "^2.15.2", "mustache": "^4.2.0" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "locale": "^0.1.0", "ts-jest": "^29.2.5", @@ -17630,18 +17435,18 @@ }, "packages/core-orders": { "name": "@unchainedshop/core-orders", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { "@kontsedal/locco": "0.1.0", - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17649,17 +17454,17 @@ }, "packages/core-payment": { "name": "@unchainedshop/core-payment", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17667,19 +17472,19 @@ }, "packages/core-products": { "name": "@unchainedshop/core-products", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/file-upload": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/file-upload": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "locale": "^0.1.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17687,18 +17492,18 @@ }, "packages/core-quotations": { "name": "@unchainedshop/core-quotations", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17706,21 +17511,21 @@ }, "packages/core-users": { "name": "@unchainedshop/core-users", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/file-upload": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/roles": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/file-upload": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/roles": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "locale": "^0.1.0", "simpl-schema": "^3.4.6", "uuid": "^10.0.0" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17728,17 +17533,17 @@ }, "packages/core-warehousing": { "name": "@unchainedshop/core-warehousing", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17746,17 +17551,17 @@ }, "packages/core-worker": { "name": "@unchainedshop/core-worker", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { "@breejs/later": "^4.2.0", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17764,15 +17569,15 @@ }, "packages/events": { "name": "@unchainedshop/events", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/logger": "^2.15.1" + "@unchainedshop/logger": "^2.15.2" }, "devDependencies": { - "@types/jest": "^29.5.13", - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/jest": "^29.5.14", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17780,17 +17585,17 @@ }, "packages/file-upload": { "name": "@unchainedshop/file-upload", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "base-x": "^5.0.0", "mime-types": "^2.1.35" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17804,7 +17609,7 @@ }, "packages/logger": { "name": "@unchainedshop/logger", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { "safe-stable-stringify": "^2.5.0", @@ -17812,9 +17617,9 @@ "winston-transport": "^4.8.0" }, "devDependencies": { - "@types/jest": "^29.5.13", - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/jest": "^29.5.14", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17822,43 +17627,43 @@ }, "packages/mongodb": { "name": "@unchainedshop/mongodb", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/utils": "^2.15.1" + "@unchainedshop/utils": "^2.15.2" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "typescript": "^5.6.3" }, "peerDependencies": { "@mongodb-js/zstd": "^1.2.2", - "mongodb": "^6.9.0" + "mongodb": "^6.10.0" } }, "packages/platform": { "name": "@unchainedshop/platform", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/api": "^2.15.1", - "@unchainedshop/core": "^2.15.1", - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/file-upload": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/mongodb": "^2.15.1", - "@unchainedshop/plugins": "^2.15.1", - "@unchainedshop/roles": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/api": "^2.15.2", + "@unchainedshop/core": "^2.15.2", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/file-upload": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/mongodb": "^2.15.2", + "@unchainedshop/plugins": "^2.15.2", + "@unchainedshop/roles": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "event-iterator": "^2.0.0", "JSONStream": "^1.3.5", "moniker": "0.1.2" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "cross-env": "^7.0.3", "jest": "^29.7.0", "ts-jest": "^29.2.5", @@ -17867,34 +17672,34 @@ }, "packages/plugins": { "name": "@unchainedshop/plugins", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "devDependencies": { "@redis/client": "^1.6.0", - "@types/node": "^22.7.5", - "@unchainedshop/api": "^2.15.1", - "@unchainedshop/core-delivery": "^2.15.1", - "@unchainedshop/core-enrollments": "^2.15.1", - "@unchainedshop/core-filters": "^2.15.1", - "@unchainedshop/core-messaging": "^2.15.1", - "@unchainedshop/core-orders": "^2.15.1", - "@unchainedshop/core-payment": "^2.15.1", - "@unchainedshop/core-products": "^2.15.1", - "@unchainedshop/core-quotations": "^2.15.1", - "@unchainedshop/core-warehousing": "^2.15.1", - "@unchainedshop/core-worker": "^2.15.1", - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/file-upload": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/types": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/api": "^2.15.2", + "@unchainedshop/core-delivery": "^2.15.2", + "@unchainedshop/core-enrollments": "^2.15.2", + "@unchainedshop/core-filters": "^2.15.2", + "@unchainedshop/core-messaging": "^2.15.2", + "@unchainedshop/core-orders": "^2.15.2", + "@unchainedshop/core-payment": "^2.15.2", + "@unchainedshop/core-products": "^2.15.2", + "@unchainedshop/core-quotations": "^2.15.2", + "@unchainedshop/core-warehousing": "^2.15.2", + "@unchainedshop/core-worker": "^2.15.2", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/file-upload": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/types": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "event-iterator": "^2.0.0", "express": "^4.21.1", "jest": "^29.7.0", "JSONStream": "^1.3.5", - "minio": "^8.0.1", + "minio": "^8.0.2", "node-sheets": "^1.2.0", - "nodemailer": "^6.9.15", + "nodemailer": "^6.9.16", "open": "^10.1.0", "postfinancecheckout": "^4.5.0", "request": "^2.88.2", @@ -17908,54 +17713,54 @@ "@redis/client": "^1.5.8", "bip32": "^4.0.0", "bitcoinjs-lib": "^6.1.6", - "ethers": "^6.13.3", + "ethers": "^6.13.4", "express": "^4.x", "open": "^10.0.0", "postfinancecheckout": "^4.1.1", "stripe": "^15.12.0", "tiny-secp256k1": "^2.2.3", - "twilio": "^5.3.3", + "twilio": "^5.3.5", "web-push": "^3.6.3" } }, "packages/roles": { "name": "@unchainedshop/roles", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { "lodash.clone": "4.5.0" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "typescript": "^5.6.3" } }, "packages/shared": { "name": "@unchainedshop/shared", - "version": "2.15.1", + "version": "2.15.2", "dependencies": { - "@types/node": "^22.7.5", + "@types/node": "^22.8.2", "typescript": "^5.6.3" } }, "packages/ticketing": { "name": "@unchainedshop/ticketing", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/api": "^2.15.1", - "@unchainedshop/core-files": "^2.15.1", - "@unchainedshop/core-warehousing": "^2.15.1", - "@unchainedshop/core-worker": "^2.15.1", - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/mongodb": "^2.15.1" + "@unchainedshop/api": "^2.15.2", + "@unchainedshop/core-files": "^2.15.2", + "@unchainedshop/core-warehousing": "^2.15.2", + "@unchainedshop/core-worker": "^2.15.2", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/mongodb": "^2.15.2" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1" + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2" }, "peerDependencies": { "@hyperlink/node-apn": "^5.1.4", @@ -17964,33 +17769,33 @@ }, "packages/types": { "name": "@unchainedshop/types", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "devDependencies": { "@accounts/types": "^0.33.2", "@apollo/server": "^4.11.0", "@types/locale": "^0.1.4", - "@types/node": "^22.7.5", - "mongodb": "^6.9.0", + "@types/node": "^22.8.2", + "mongodb": "^6.10.0", "simpl-schema": "^3.4.6", - "typedoc": "^0.26.8", + "typedoc": "^0.26.10", "typescript": "^5.6.3" } }, "packages/utils": { "name": "@unchainedshop/utils", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/logger": "^2.15.1", + "@unchainedshop/logger": "^2.15.2", "abort-controller": "3.0.0", "hashids": "^2.3.0", "locale": "0.1.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "typescript": "^5.6.3" } diff --git a/package.json b/package.json index bf7619b5d0..a22254ba19 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@unchainedshop/engine", "description": "Unchained Engine", - "version": "2.15.1", + "version": "2.15.2", "license": "EUPL-1.2", "private": "true", "homepage": "https://unchained.shop", @@ -49,11 +49,11 @@ "devDependencies": { "@apollo/client": "^3.11.8", "@shelf/jest-mongodb": "^4.3.2", - "@types/jest": "^29.5.13", + "@types/jest": "^29.5.14", "@types/lodash.clone": "^4.5.9", - "@types/node": "^22.7.5", - "@typescript-eslint/eslint-plugin": "^8.8.1", - "@typescript-eslint/parser": "^8.8.1", + "@types/node": "^22.8.2", + "@typescript-eslint/eslint-plugin": "^8.12.1", + "@typescript-eslint/parser": "^8.12.1", "apollo-upload-client": "^18.0.1", "cross-env": "^7.0.3", "dotenv-extended": "^2.9.0", @@ -64,7 +64,7 @@ "formdata-node": "^6.0.3", "graphql": "^16.9.0", "jest": "^29.7.0", - "mongodb": "^6.9.0", + "mongodb": "^6.10.0", "npm-run-all": "^4.1.5", "prettier": "^3.3.3", "stripe": "^15.12.0", diff --git a/packages/api/package.json b/packages/api/package.json index a029ab6aa7..09234c3313 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/api", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/api-index.js", "exports": { ".": "./lib/api-index.js", @@ -48,11 +48,11 @@ }, "dependencies": { "@metamask/eth-sig-util": "^7.0.3", - "@unchainedshop/core": "^2.15.1", - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/roles": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/core": "^2.15.2", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/roles": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "accounting": "0.4.1", "dataloader": "^2.2.2", "graphql-scalars": "^1.23.0", @@ -64,8 +64,8 @@ "devDependencies": { "@types/graphql-upload": "^16.0.7", "@types/locale": "^0.1.4", - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "express": "^4.21.1", "jest": "^29.7.0", "ts-jest": "^29.2.5", diff --git a/packages/core-accountsjs/package.json b/packages/core-accountsjs/package.json index ff2f54b539..9e81b51e2c 100644 --- a/packages/core-accountsjs/package.json +++ b/packages/core-accountsjs/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-accountsjs", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/accounts-index.js", "exports": { ".": "./lib/accounts-index.js", @@ -36,14 +36,14 @@ "@accounts/mongo-password": "^0.33.0", "@accounts/password": "^0.32.2", "@accounts/server": "0.33.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "fido2-lib": "^3.5.3", "uuid": "^10.0.0" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-assortments/package.json b/packages/core-assortments/package.json index 034ee81b57..fcbd021882 100644 --- a/packages/core-assortments/package.json +++ b/packages/core-assortments/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-assortments", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/assortments-index.js", "exports": { ".": "./lib/assortments-index.js", @@ -31,18 +31,18 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/file-upload": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/file-upload": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "locale": "^0.1.0", "ramda": "^0.30.1", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "cross-env": "^7.0.3", "jest": "^29.7.0", "ts-jest": "^29.2.5", diff --git a/packages/core-bookmarks/package.json b/packages/core-bookmarks/package.json index adfde85a8d..69d2fb7e14 100644 --- a/packages/core-bookmarks/package.json +++ b/packages/core-bookmarks/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-bookmarks", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/bookmarks-index.js", "exports": { ".": "./lib/bookmarks-index.js", @@ -31,13 +31,13 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-countries/package.json b/packages/core-countries/package.json index ce7eb165c9..7365bf66a2 100644 --- a/packages/core-countries/package.json +++ b/packages/core-countries/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-countries", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/countries-index.js", "exports": { ".": "./lib/countries-index.js", @@ -31,13 +31,13 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "cross-env": "^7.0.3", "jest": "^29.7.0", "ts-jest": "^29.2.5", diff --git a/packages/core-currencies/package.json b/packages/core-currencies/package.json index 9dbeb97d7e..51b7cde1dd 100644 --- a/packages/core-currencies/package.json +++ b/packages/core-currencies/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-currencies", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/currencies-index.js", "exports": { ".": "./lib/currencies-index.js", @@ -31,13 +31,13 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-delivery/package.json b/packages/core-delivery/package.json index b4bcf9e1c1..fbb256d5af 100644 --- a/packages/core-delivery/package.json +++ b/packages/core-delivery/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-delivery", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/delivery-index.js", "exports": { ".": "./lib/delivery-index.js", @@ -31,14 +31,14 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-enrollments/package.json b/packages/core-enrollments/package.json index 74a21096a3..1d6735e3e6 100644 --- a/packages/core-enrollments/package.json +++ b/packages/core-enrollments/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-enrollments", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/enrollments-index.js", "exports": { ".": "./lib/enrollments-index.js", @@ -32,17 +32,17 @@ "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { "@breejs/later": "^4.2.0", - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "date-fns": "^4.1.0", "locale": "0.1.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-events/package.json b/packages/core-events/package.json index c558fb0961..748d69a30c 100644 --- a/packages/core-events/package.json +++ b/packages/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-events", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/events-index.js", "exports": { ".": "./lib/events-index.js", @@ -31,13 +31,13 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-files/package.json b/packages/core-files/package.json index 7f020117a2..7ae9725443 100644 --- a/packages/core-files/package.json +++ b/packages/core-files/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-files", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/files-index.js", "exports": { ".": "./lib/files-index.js", @@ -31,16 +31,16 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/file-upload": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/file-upload": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "mime-types": "^2.1.35", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-filters/package.json b/packages/core-filters/package.json index 38bfa830d1..bd6d9e84ae 100644 --- a/packages/core-filters/package.json +++ b/packages/core-filters/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-filters", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/filters-index.js", "exports": { ".": "./lib/filters-index.js", @@ -31,17 +31,17 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/mongodb": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/mongodb": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "locale": "^0.1.0", "memoizee": "^0.4.17", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-languages/package.json b/packages/core-languages/package.json index 74e20906c5..6bbb72cc9d 100644 --- a/packages/core-languages/package.json +++ b/packages/core-languages/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-languages", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/languages-index.js", "exports": { ".": "./lib/languages-index.js", @@ -31,13 +31,13 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-messaging/package.json b/packages/core-messaging/package.json index 98f80fcf60..5bdd40ac8b 100644 --- a/packages/core-messaging/package.json +++ b/packages/core-messaging/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-messaging", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/messaging-index.js", "exports": { ".": "./lib/messaging-index.js", @@ -31,12 +31,12 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/logger": "^2.15.1", + "@unchainedshop/logger": "^2.15.2", "mustache": "^4.2.0" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "locale": "^0.1.0", "ts-jest": "^29.2.5", diff --git a/packages/core-orders/package.json b/packages/core-orders/package.json index bc2ca09726..50b38560a2 100644 --- a/packages/core-orders/package.json +++ b/packages/core-orders/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-orders", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/orders-index.js", "exports": { ".": "./lib/orders-index.js", @@ -32,14 +32,14 @@ "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { "@kontsedal/locco": "0.1.0", - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-payment/package.json b/packages/core-payment/package.json index ff2fc6f5b4..dd37fa1bae 100644 --- a/packages/core-payment/package.json +++ b/packages/core-payment/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-payment", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/payment-index.js", "exports": { ".": "./lib/payment-index.js", @@ -31,14 +31,14 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-products/package.json b/packages/core-products/package.json index ac0dd7138e..9344e946fa 100644 --- a/packages/core-products/package.json +++ b/packages/core-products/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-products", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/products-index.js", "exports": { ".": "./lib/products-index.js", @@ -31,16 +31,16 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/file-upload": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/file-upload": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "locale": "^0.1.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-quotations/package.json b/packages/core-quotations/package.json index e145a1005b..6c5d6635ce 100644 --- a/packages/core-quotations/package.json +++ b/packages/core-quotations/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-quotations", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/quotations-index.js", "exports": { ".": "./lib/quotations-index.js", @@ -31,15 +31,15 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-users/package.json b/packages/core-users/package.json index 94730bbfd5..8ac60301d9 100644 --- a/packages/core-users/package.json +++ b/packages/core-users/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-users", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/users-index.js", "exports": { ".": "./lib/users-index.js", @@ -31,18 +31,18 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/file-upload": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/roles": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/file-upload": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/roles": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "locale": "^0.1.0", "simpl-schema": "^3.4.6", "uuid": "^10.0.0" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-warehousing/package.json b/packages/core-warehousing/package.json index af2d70c35c..85703b574c 100644 --- a/packages/core-warehousing/package.json +++ b/packages/core-warehousing/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-warehousing", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/warehousing-index.js", "exports": { ".": "./lib/warehousing-index.js", @@ -31,14 +31,14 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-worker/package.json b/packages/core-worker/package.json index 06dc39c603..9583f507ef 100644 --- a/packages/core-worker/package.json +++ b/packages/core-worker/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-worker", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/worker-index.js", "exports": { ".": "./lib/worker-index.js", @@ -32,13 +32,13 @@ "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { "@breejs/later": "^4.2.0", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core/package.json b/packages/core/package.json index 56bd4179c8..71cddef794 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/core-index.js", "exports": { ".": "./lib/core-index.js", @@ -31,30 +31,30 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/core-accountsjs": "^2.15.1", - "@unchainedshop/core-assortments": "^2.15.1", - "@unchainedshop/core-bookmarks": "^2.15.1", - "@unchainedshop/core-countries": "^2.15.1", - "@unchainedshop/core-currencies": "^2.15.1", - "@unchainedshop/core-delivery": "^2.15.1", - "@unchainedshop/core-enrollments": "^2.15.1", - "@unchainedshop/core-events": "^2.15.1", - "@unchainedshop/core-files": "^2.15.1", - "@unchainedshop/core-filters": "^2.15.1", - "@unchainedshop/core-languages": "^2.15.1", - "@unchainedshop/core-messaging": "^2.15.1", - "@unchainedshop/core-orders": "^2.15.1", - "@unchainedshop/core-payment": "^2.15.1", - "@unchainedshop/core-products": "^2.15.1", - "@unchainedshop/core-quotations": "^2.15.1", - "@unchainedshop/core-users": "^2.15.1", - "@unchainedshop/core-warehousing": "^2.15.1", - "@unchainedshop/core-worker": "^2.15.1", - "@unchainedshop/logger": "^2.15.1" + "@unchainedshop/core-accountsjs": "^2.15.2", + "@unchainedshop/core-assortments": "^2.15.2", + "@unchainedshop/core-bookmarks": "^2.15.2", + "@unchainedshop/core-countries": "^2.15.2", + "@unchainedshop/core-currencies": "^2.15.2", + "@unchainedshop/core-delivery": "^2.15.2", + "@unchainedshop/core-enrollments": "^2.15.2", + "@unchainedshop/core-events": "^2.15.2", + "@unchainedshop/core-files": "^2.15.2", + "@unchainedshop/core-filters": "^2.15.2", + "@unchainedshop/core-languages": "^2.15.2", + "@unchainedshop/core-messaging": "^2.15.2", + "@unchainedshop/core-orders": "^2.15.2", + "@unchainedshop/core-payment": "^2.15.2", + "@unchainedshop/core-products": "^2.15.2", + "@unchainedshop/core-quotations": "^2.15.2", + "@unchainedshop/core-users": "^2.15.2", + "@unchainedshop/core-warehousing": "^2.15.2", + "@unchainedshop/core-worker": "^2.15.2", + "@unchainedshop/logger": "^2.15.2" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/events/package.json b/packages/events/package.json index bd2652df95..f0460e07c1 100644 --- a/packages/events/package.json +++ b/packages/events/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/events", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/events-index.js", "exports": { ".": "./lib/events-index.js", @@ -31,12 +31,12 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/logger": "^2.15.1" + "@unchainedshop/logger": "^2.15.2" }, "devDependencies": { - "@types/jest": "^29.5.13", - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/jest": "^29.5.14", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/file-upload/package.json b/packages/file-upload/package.json index 67d2f2bc35..b2cc68f52c 100644 --- a/packages/file-upload/package.json +++ b/packages/file-upload/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/file-upload", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/file-upload-index.js", "exports": { ".": "./lib/file-upload-index.js", @@ -31,14 +31,14 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "base-x": "^5.0.0", "mime-types": "^2.1.35" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/logger/package.json b/packages/logger/package.json index 8965e132e4..7f92d5d0b6 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/logger", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/logger-index.js", "exports": { ".": "./lib/logger-index.js", @@ -36,9 +36,9 @@ "winston-transport": "^4.8.0" }, "devDependencies": { - "@types/jest": "^29.5.13", - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/jest": "^29.5.14", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/mongodb/package.json b/packages/mongodb/package.json index 9f7fffccf4..cb7d336e60 100644 --- a/packages/mongodb/package.json +++ b/packages/mongodb/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/mongodb", - "version": "2.15.1", + "version": "2.15.2", "description": "MongoDB provider for unchained platform", "main": "lib/mongodb-index.js", "exports": { @@ -31,15 +31,15 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/utils": "^2.15.1" + "@unchainedshop/utils": "^2.15.2" }, "peerDependencies": { "@mongodb-js/zstd": "^1.2.2", - "mongodb": "^6.9.0" + "mongodb": "^6.10.0" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "typescript": "^5.6.3" } diff --git a/packages/platform/package.json b/packages/platform/package.json index a8c9279808..1fe886fc70 100644 --- a/packages/platform/package.json +++ b/packages/platform/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/platform", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/platform-index.js", "exports": { ".": "./lib/platform-index.js", @@ -31,22 +31,22 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/api": "^2.15.1", - "@unchainedshop/core": "^2.15.1", - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/file-upload": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/mongodb": "^2.15.1", - "@unchainedshop/plugins": "^2.15.1", - "@unchainedshop/roles": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@unchainedshop/api": "^2.15.2", + "@unchainedshop/core": "^2.15.2", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/file-upload": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/mongodb": "^2.15.2", + "@unchainedshop/plugins": "^2.15.2", + "@unchainedshop/roles": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "event-iterator": "^2.0.0", "JSONStream": "^1.3.5", "moniker": "0.1.2" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "cross-env": "^7.0.3", "jest": "^29.7.0", "ts-jest": "^29.2.5", diff --git a/packages/plugins/package.json b/packages/plugins/package.json index ea3a67654d..37d412e7d6 100644 --- a/packages/plugins/package.json +++ b/packages/plugins/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/plugins", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/plugins-index.js", "types": "lib/plugins-index.d.ts", "exports": { @@ -76,41 +76,41 @@ "@redis/client": "^1.5.8", "bip32": "^4.0.0", "bitcoinjs-lib": "^6.1.6", - "ethers": "^6.13.3", + "ethers": "^6.13.4", "express": "^4.x", "open": "^10.0.0", "postfinancecheckout": "^4.1.1", "stripe": "^15.12.0", "tiny-secp256k1": "^2.2.3", - "twilio": "^5.3.3", + "twilio": "^5.3.5", "web-push": "^3.6.3" }, "devDependencies": { "@redis/client": "^1.6.0", - "@types/node": "^22.7.5", - "@unchainedshop/api": "^2.15.1", - "@unchainedshop/core-delivery": "^2.15.1", - "@unchainedshop/core-enrollments": "^2.15.1", - "@unchainedshop/core-filters": "^2.15.1", - "@unchainedshop/core-messaging": "^2.15.1", - "@unchainedshop/core-orders": "^2.15.1", - "@unchainedshop/core-payment": "^2.15.1", - "@unchainedshop/core-products": "^2.15.1", - "@unchainedshop/core-quotations": "^2.15.1", - "@unchainedshop/core-warehousing": "^2.15.1", - "@unchainedshop/core-worker": "^2.15.1", - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/file-upload": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/types": "^2.15.1", - "@unchainedshop/utils": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/api": "^2.15.2", + "@unchainedshop/core-delivery": "^2.15.2", + "@unchainedshop/core-enrollments": "^2.15.2", + "@unchainedshop/core-filters": "^2.15.2", + "@unchainedshop/core-messaging": "^2.15.2", + "@unchainedshop/core-orders": "^2.15.2", + "@unchainedshop/core-payment": "^2.15.2", + "@unchainedshop/core-products": "^2.15.2", + "@unchainedshop/core-quotations": "^2.15.2", + "@unchainedshop/core-warehousing": "^2.15.2", + "@unchainedshop/core-worker": "^2.15.2", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/file-upload": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/types": "^2.15.2", + "@unchainedshop/utils": "^2.15.2", "event-iterator": "^2.0.0", "express": "^4.21.1", "jest": "^29.7.0", "JSONStream": "^1.3.5", - "minio": "^8.0.1", + "minio": "^8.0.2", "node-sheets": "^1.2.0", - "nodemailer": "^6.9.15", + "nodemailer": "^6.9.16", "open": "^10.1.0", "postfinancecheckout": "^4.5.0", "request": "^2.88.2", diff --git a/packages/roles/package.json b/packages/roles/package.json index 9a4054a11b..aca8049aa6 100644 --- a/packages/roles/package.json +++ b/packages/roles/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/roles", - "version": "2.15.1", + "version": "2.15.2", "description": "Roles package for unchained engine", "main": "lib/roles-index.js", "exports": { @@ -34,8 +34,8 @@ "lodash.clone": "4.5.0" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "typescript": "^5.6.3" } diff --git a/packages/shared/package.json b/packages/shared/package.json index 6facc46cb3..dc0121d8c3 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,9 +1,9 @@ { "name": "@unchainedshop/shared", "private": true, - "version": "2.15.1", + "version": "2.15.2", "dependencies": { - "@types/node": "^22.7.5", + "@types/node": "^22.8.2", "typescript": "^5.6.3" } } diff --git a/packages/ticketing/package.json b/packages/ticketing/package.json index b1e58b22b3..1bbc1a17be 100644 --- a/packages/ticketing/package.json +++ b/packages/ticketing/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/ticketing", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { @@ -41,20 +41,20 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/api": "^2.15.1", - "@unchainedshop/core-files": "^2.15.1", - "@unchainedshop/core-warehousing": "^2.15.1", - "@unchainedshop/core-worker": "^2.15.1", - "@unchainedshop/events": "^2.15.1", - "@unchainedshop/logger": "^2.15.1", - "@unchainedshop/mongodb": "^2.15.1" + "@unchainedshop/api": "^2.15.2", + "@unchainedshop/core-files": "^2.15.2", + "@unchainedshop/core-warehousing": "^2.15.2", + "@unchainedshop/core-worker": "^2.15.2", + "@unchainedshop/events": "^2.15.2", + "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/mongodb": "^2.15.2" }, "peerDependencies": { "@hyperlink/node-apn": "^5.1.4", "express": "^4.21.1" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1" + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2" } } diff --git a/packages/types/package.json b/packages/types/package.json index 08fd199ab8..74a173c8b0 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/types", - "version": "2.15.1", + "version": "2.15.2", "description": "Types for unchained core packages", "repository": { "type": "git", @@ -38,10 +38,10 @@ "@accounts/types": "^0.33.2", "@apollo/server": "^4.11.0", "@types/locale": "^0.1.4", - "@types/node": "^22.7.5", - "mongodb": "^6.9.0", + "@types/node": "^22.8.2", + "mongodb": "^6.10.0", "simpl-schema": "^3.4.6", - "typedoc": "^0.26.8", + "typedoc": "^0.26.10", "typescript": "^5.6.3" } } diff --git a/packages/utils/package.json b/packages/utils/package.json index 3cb04e78ed..3a87db760f 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/utils", - "version": "2.15.1", + "version": "2.15.2", "main": "lib/utils-index.js", "exports": { ".": "./lib/utils-index.js", @@ -30,15 +30,15 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/logger": "^2.15.1", + "@unchainedshop/logger": "^2.15.2", "abort-controller": "3.0.0", "hashids": "^2.3.0", "locale": "0.1.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.7.5", - "@unchainedshop/types": "^2.15.1", + "@types/node": "^22.8.2", + "@unchainedshop/types": "^2.15.2", "jest": "^29.7.0", "typescript": "^5.6.3" } From 1e36d4d0529b8d98e6932149f54ea2a0cb9b4f65 Mon Sep 17 00:00:00 2001 From: Pascal Kaufmann Date: Tue, 29 Oct 2024 18:07:22 +0100 Subject: [PATCH 3/9] Update to Mongo 8 --- examples/kitchensink/.env.defaults | 3 ++- examples/minimal/.env.defaults | 12 ++++++++++++ jest-mongodb-config.cjs | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 examples/minimal/.env.defaults diff --git a/examples/kitchensink/.env.defaults b/examples/kitchensink/.env.defaults index 8b0432f6ee..a0ddbb5870 100644 --- a/examples/kitchensink/.env.defaults +++ b/examples/kitchensink/.env.defaults @@ -8,4 +8,5 @@ UNCHAINED_SEED_PASSWORD=password UNCHAINED_SECRET=secret UNCHAINED_CLOUD_ENDPOINT=https://engine.unchained.shop/graphql UNCHAINED_TOKEN_SECRET=random-token -REDIS_DB=0 \ No newline at end of file +REDIS_DB=0 +MONGOMS_VERSION=8.0.1 \ No newline at end of file diff --git a/examples/minimal/.env.defaults b/examples/minimal/.env.defaults new file mode 100644 index 0000000000..a0ddbb5870 --- /dev/null +++ b/examples/minimal/.env.defaults @@ -0,0 +1,12 @@ +ROOT_URL=http://localhost:4010 +PORT=4010 +UNCHAINED_COOKIE_DOMAIN=localhost +EMAIL_WEBSITE_NAME=Unchained +EMAIL_FROM=noreply@unchained.local +EMAIL_WEBSITE_URL=http://localhost:4010 +UNCHAINED_SEED_PASSWORD=password +UNCHAINED_SECRET=secret +UNCHAINED_CLOUD_ENDPOINT=https://engine.unchained.shop/graphql +UNCHAINED_TOKEN_SECRET=random-token +REDIS_DB=0 +MONGOMS_VERSION=8.0.1 \ No newline at end of file diff --git a/jest-mongodb-config.cjs b/jest-mongodb-config.cjs index edacb94d7b..3241b66b54 100644 --- a/jest-mongodb-config.cjs +++ b/jest-mongodb-config.cjs @@ -5,7 +5,7 @@ module.exports = { port: 4011, }, binary: { - version: '5.0.9', + version: '8.0.1', skipMD5: true, }, autoStart: false, From 5a1193a8919424724fc05d6f8b8aa06f53ae439b Mon Sep 17 00:00:00 2001 From: Pascal Kaufmann Date: Wed, 30 Oct 2024 09:07:43 +0100 Subject: [PATCH 4/9] platform-v2.15.3 --- package-lock.json | 109 ++++++++++++++++++++++--- packages/platform/package.json | 2 +- packages/platform/src/startPlatform.ts | 3 + 3 files changed, 103 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 15f0cc298f..14b46ec128 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7879,7 +7879,7 @@ "version": "4.3.3", "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-4.3.3.tgz", "integrity": "sha512-gSaYYIO1Y3wUtdfHmjDUZ8LWaxJQpiavzbF5Kq53akSzvmVg0RfyOcFDbO1KJ/KCGRFz2qG+lS81F0nkr7cRJA==", - "devOptional": true, + "dev": true, "license": "Apache-2.0", "dependencies": { "abort-controller": "^3.0.0", @@ -7896,7 +7896,7 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "debug": "4" @@ -7909,7 +7909,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "agent-base": "6", @@ -7920,17 +7920,64 @@ } }, "node_modules/gcp-metadata": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.1.tgz", - "integrity": "sha512-x850LS5N7V1F3UcV7PoupzGsyD6iVwTVvsh3tbXfkctZnBnjW5yu5z1/3k3SehF7TyoTIe78rJs02GMMy+LF+A==", - "devOptional": true, + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-5.3.0.tgz", + "integrity": "sha512-FNTkdNEnBdlqF2oatizolQqNANMrcqJt6AAYt99B3y1aLLC8Hc5IOBb+ZnnzllodEEf6xMBp6wRcBbc16fa65w==", "license": "Apache-2.0", + "optional": true, + "peer": true, "dependencies": { - "gaxios": "^4.0.0", + "gaxios": "^5.0.0", "json-bigint": "^1.0.0" }, "engines": { - "node": ">=10" + "node": ">=12" + } + }, + "node_modules/gcp-metadata/node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/gcp-metadata/node_modules/gaxios": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-5.1.3.tgz", + "integrity": "sha512-95hVgBRgEIRQQQHIbnxBXeHbW4TqFk4ZDJW7wmVtvYar72FdhRIo1UGOLS2eRAKCPEdPBWu+M7+A33D9CdX9rA==", + "license": "Apache-2.0", + "optional": true, + "peer": true, + "dependencies": { + "extend": "^3.0.2", + "https-proxy-agent": "^5.0.0", + "is-stream": "^2.0.0", + "node-fetch": "^2.6.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/gcp-metadata/node_modules/https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" } }, "node_modules/generic-pool": { @@ -8426,6 +8473,20 @@ "node": ">=8" } }, + "node_modules/google-auth-library/node_modules/gcp-metadata": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.1.tgz", + "integrity": "sha512-x850LS5N7V1F3UcV7PoupzGsyD6iVwTVvsh3tbXfkctZnBnjW5yu5z1/3k3SehF7TyoTIe78rJs02GMMy+LF+A==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "gaxios": "^4.0.0", + "json-bigint": "^1.0.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/google-auth-library/node_modules/jwa": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", @@ -8528,6 +8589,20 @@ "node": ">=8" } }, + "node_modules/googleapis-common/node_modules/gcp-metadata": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.1.tgz", + "integrity": "sha512-x850LS5N7V1F3UcV7PoupzGsyD6iVwTVvsh3tbXfkctZnBnjW5yu5z1/3k3SehF7TyoTIe78rJs02GMMy+LF+A==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "gaxios": "^4.0.0", + "json-bigint": "^1.0.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/googleapis-common/node_modules/google-auth-library": { "version": "7.14.1", "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.14.1.tgz", @@ -8612,6 +8687,20 @@ "node": ">=8" } }, + "node_modules/googleapis/node_modules/gcp-metadata": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-4.3.1.tgz", + "integrity": "sha512-x850LS5N7V1F3UcV7PoupzGsyD6iVwTVvsh3tbXfkctZnBnjW5yu5z1/3k3SehF7TyoTIe78rJs02GMMy+LF+A==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "gaxios": "^4.0.0", + "json-bigint": "^1.0.0" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/googleapis/node_modules/google-auth-library": { "version": "7.14.1", "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-7.14.1.tgz", @@ -17645,7 +17734,7 @@ }, "packages/platform": { "name": "@unchainedshop/platform", - "version": "2.15.2", + "version": "2.15.3", "license": "EUPL-1.2", "dependencies": { "@unchainedshop/api": "^2.15.2", diff --git a/packages/platform/package.json b/packages/platform/package.json index 1fe886fc70..902fd72152 100644 --- a/packages/platform/package.json +++ b/packages/platform/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/platform", - "version": "2.15.2", + "version": "2.15.3", "main": "lib/platform-index.js", "exports": { ".": "./lib/platform-index.js", diff --git a/packages/platform/src/startPlatform.ts b/packages/platform/src/startPlatform.ts index bb1a954484..0ddc9af638 100644 --- a/packages/platform/src/startPlatform.ts +++ b/packages/platform/src/startPlatform.ts @@ -28,6 +28,7 @@ export type PlatformOptions = { context?: any; workQueueOptions?: SetupWorkqueueOptions & SetupCartsOptions; introspection?: boolean; + persistedQueries?: any; adminUiConfig?: AdminUiConfig; } & Partial>; @@ -67,6 +68,7 @@ export const startPlatform = async ({ workQueueOptions, context, introspection, + persistedQueries, }: PlatformOptions): Promise<{ unchainedAPI: UnchainedCore; apolloGraphQLServer: any; @@ -120,6 +122,7 @@ export const startPlatform = async ({ context, introspection, adminUiConfig, + persistedQueries, }); // Setup work queues for scheduled work From 17e26359470fd8fc1c24ca9a71c71b1cf2dc8a34 Mon Sep 17 00:00:00 2001 From: Pascal Kaufmann Date: Thu, 31 Oct 2024 11:37:05 +0100 Subject: [PATCH 5/9] Remove zomby bulk imports --- packages/plugins/src/worker/bulk-import.ts | 2 +- packages/plugins/src/worker/email.ts | 6 ++--- packages/plugins/src/worker/http-request.ts | 4 ---- .../plugins/src/worker/push-notification.ts | 3 +-- packages/plugins/src/worker/sms.ts | 4 +--- packages/plugins/src/worker/zombie-killer.ts | 24 +++++++++++++++---- 6 files changed, 24 insertions(+), 19 deletions(-) diff --git a/packages/plugins/src/worker/bulk-import.ts b/packages/plugins/src/worker/bulk-import.ts index 218c224526..b82ad0f54e 100644 --- a/packages/plugins/src/worker/bulk-import.ts +++ b/packages/plugins/src/worker/bulk-import.ts @@ -5,7 +5,7 @@ import JSONStream from 'JSONStream'; import { EventIterator } from 'event-iterator'; import { UnchainedCore } from '@unchainedshop/types/core.js'; -const logger = createLogger('unchained:platform:bulk-import'); +const logger = createLogger('unchained:worker:bulk-import'); const streamPayloadToBulkImporter = async (bulkImporter, payloadId, unchainedAPI: UnchainedCore) => { logger.profile(`parseAsync`, { level: LogLevel.Verbose, message: 'parseAsync' }); diff --git a/packages/plugins/src/worker/email.ts b/packages/plugins/src/worker/email.ts index 6a0c3619ec..8b7ef67c4a 100644 --- a/packages/plugins/src/worker/email.ts +++ b/packages/plugins/src/worker/email.ts @@ -7,7 +7,7 @@ import { IWorkerAdapter } from '@unchainedshop/types/worker.js'; import open from 'open'; import nodemailer from 'nodemailer'; -const logger = createLogger('unchained:plugins:worker:email'); +const logger = createLogger('unchained:worker:email'); export const checkEmailInterceptionEnabled = () => { return process.env.NODE_ENV !== 'production' && !process.env.UNCHAINED_DISABLE_EMAIL_INTERCEPTION; @@ -73,8 +73,6 @@ const EmailWorkerPlugin: IWorkerAdapter< type: 'EMAIL', doWork: async ({ from, to, subject, ...rest }) => { - logger.debug(`${EmailWorkerPlugin.key} -> doWork: ${from} -> ${to} (${subject})`); - if (!to) { return { success: false, @@ -93,7 +91,7 @@ const EmailWorkerPlugin: IWorkerAdapter< ...rest, }; if (checkEmailInterceptionEnabled()) { - logger.verbose('unchained:platform -> Mailman detected an outgoing email'); + logger.verbose('Mailman detected an outgoing email'); await openInBrowser(sendMailOptions); return { success: true, result: { intercepted: true } }; } diff --git a/packages/plugins/src/worker/http-request.ts b/packages/plugins/src/worker/http-request.ts index 7bdd246a35..c79e11642d 100644 --- a/packages/plugins/src/worker/http-request.ts +++ b/packages/plugins/src/worker/http-request.ts @@ -33,10 +33,6 @@ const HttpRequestWorkerPlugin: IWorkerAdapter< type: 'HTTP_REQUEST', async doWork({ url, data = {}, headers, method = 'POST' } = { method: 'POST' }) { - log(`${this.key} -> doWork: ${method} ${url} ${data}`, { - level: LogLevel.Debug, - }); - if (!url) { return { success: false, diff --git a/packages/plugins/src/worker/push-notification.ts b/packages/plugins/src/worker/push-notification.ts index a6536298ac..1a01b597e7 100644 --- a/packages/plugins/src/worker/push-notification.ts +++ b/packages/plugins/src/worker/push-notification.ts @@ -5,7 +5,7 @@ import webPush from 'web-push'; const { PUSH_NOTIFICATION_PUBLIC_KEY, PUSH_NOTIFICATION_PRIVATE_KEY } = process.env; -const logger = createLogger('unchained:plugins:worker:push-notification'); +const logger = createLogger('unchained:worker:push-notification'); type NotificationOptions = { vapidDetails: { @@ -38,7 +38,6 @@ const PushNotificationWorkerPlugin: IWorkerAdapter< type: 'PUSH', doWork: async ({ subscription, subject, payload, urgency = null, topic = null }) => { - logger.debug(`${PushNotificationWorkerPlugin.key} -> doWork: Push -> ${subject}`); if (!PUSH_NOTIFICATION_PUBLIC_KEY) return { success: false, diff --git a/packages/plugins/src/worker/sms.ts b/packages/plugins/src/worker/sms.ts index 51fb197a9d..5a1ad8f4a4 100644 --- a/packages/plugins/src/worker/sms.ts +++ b/packages/plugins/src/worker/sms.ts @@ -5,7 +5,7 @@ import Twilio from 'twilio'; const { TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN, TWILIO_SMS_FROM } = process.env; -const logger = createLogger('unchained:plugins:worker:sms'); +const logger = createLogger('unchained:worker:sms'); /* Potential: no need for twilio npm curl -X POST "https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/Messages.json" \ @@ -32,8 +32,6 @@ const SmsWorkerPlugin: IWorkerAdapter< type: 'SMS', doWork: async ({ from, to, text }) => { - logger.debug(`${SmsWorkerPlugin.key} -> doWork: ${from} -> ${to}`); - if (!TWILIO_SMS_FROM && !from) { return { success: false, diff --git a/packages/plugins/src/worker/zombie-killer.ts b/packages/plugins/src/worker/zombie-killer.ts index e21e269df4..fd6510b1f3 100644 --- a/packages/plugins/src/worker/zombie-killer.ts +++ b/packages/plugins/src/worker/zombie-killer.ts @@ -2,14 +2,18 @@ import { IWorkerAdapter } from '@unchainedshop/types/worker.js'; import { WorkerDirector, WorkerAdapter } from '@unchainedshop/core-worker'; import { createLogger } from '@unchainedshop/logger'; -const logger = createLogger('unchained:platform:zombie-killer'); +const logger = createLogger('unchained:worker:zombie-killer'); export const ZombieKillerWorker: IWorkerAdapter< - never, + { bulkImportMaxAgeInDays: number }, { deletedProductMediaCount: number; deletedAssortmentMediaCount: number; deletedFilesCount: number; + deletedFilterTextsCount: number; + deletedProductTextsCount: number; + deletedProductVariationsCount: number; + deletedAssortmentTextsCount: number; } > = { ...WorkerAdapter, @@ -19,7 +23,7 @@ export const ZombieKillerWorker: IWorkerAdapter< version: '1.0.0', type: 'ZOMBIE_KILLER', - doWork: async (_, unchainedAPI) => { + doWork: async ({ bulkImportMaxAgeInDays } = { bulkImportMaxAgeInDays: 5 }, unchainedAPI) => { const { modules, services } = unchainedAPI; try { @@ -82,8 +86,18 @@ export const ZombieKillerWorker: IWorkerAdapter< ) ).map((a) => a._id); - const fileIdsToRemove = allFileIdsRelevant.filter((fileId) => { - return !allFileIdsLinked.includes(fileId); + const fileIdsToRemove = + allFileIdsRelevant.filter((fileId) => { + return !allFileIdsLinked.includes(fileId); + }) || []; + + // Remove bulk import streams older than X days + const bulkImportMedia = await await modules.files.findFiles({ + path: 'bulk-import-streams', + created: { $lt: new Date(Date.now() - 1000 * 60 * 60 * 24 * bulkImportMaxAgeInDays) }, + }); + bulkImportMedia.forEach(async (media) => { + fileIdsToRemove.push(media._id); }); logger.verbose(`File Id's to remove: ${fileIdsToRemove.join(', ')}`); From f581119e13cdfb4532d9bf7dd6dc960e0eda1c54 Mon Sep 17 00:00:00 2001 From: Pascal Kaufmann Date: Thu, 31 Oct 2024 11:45:32 +0100 Subject: [PATCH 6/9] v2.16.0 --- examples/kitchensink/package.json | 18 +- examples/minimal/package.json | 8 +- package-lock.json | 620 ++++++++++++------------- package.json | 8 +- packages/api/package.json | 22 +- packages/core-accountsjs/package.json | 10 +- packages/core-assortments/package.json | 14 +- packages/core-bookmarks/package.json | 10 +- packages/core-countries/package.json | 10 +- packages/core-currencies/package.json | 10 +- packages/core-delivery/package.json | 12 +- packages/core-enrollments/package.json | 12 +- packages/core-events/package.json | 10 +- packages/core-files/package.json | 14 +- packages/core-filters/package.json | 14 +- packages/core-languages/package.json | 10 +- packages/core-messaging/package.json | 8 +- packages/core-orders/package.json | 12 +- packages/core-payment/package.json | 12 +- packages/core-products/package.json | 12 +- packages/core-quotations/package.json | 12 +- packages/core-users/package.json | 16 +- packages/core-warehousing/package.json | 12 +- packages/core-worker/package.json | 10 +- packages/core/package.json | 46 +- packages/events/package.json | 8 +- packages/file-upload/package.json | 10 +- packages/logger/package.json | 6 +- packages/mongodb/package.json | 8 +- packages/platform/package.json | 24 +- packages/plugins/package.json | 36 +- packages/roles/package.json | 6 +- packages/shared/package.json | 4 +- packages/ticketing/package.json | 20 +- packages/types/package.json | 6 +- packages/utils/package.json | 8 +- 36 files changed, 539 insertions(+), 539 deletions(-) diff --git a/examples/kitchensink/package.json b/examples/kitchensink/package.json index 523494bf86..0a99d68c83 100644 --- a/examples/kitchensink/package.json +++ b/examples/kitchensink/package.json @@ -2,7 +2,7 @@ "name": "example-kitchensink", "description": "Kitchensink for Unchained Engine", "private": true, - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "type": "module", "homepage": "https://unchained.shop", @@ -36,16 +36,16 @@ "dependencies": { "@apollo/server-plugin-response-cache": "^4.1.3", "@paypal/checkout-server-sdk": "^1.0.3", - "@unchainedshop/api": "^2.15.2", - "@unchainedshop/core-delivery": "^2.15.2", - "@unchainedshop/core-payment": "^2.15.2", - "@unchainedshop/platform": "^2.15.2", - "@unchainedshop/plugins": "^2.15.2", - "@unchainedshop/types": "^2.15.2", + "@unchainedshop/api": "^2.16.0", + "@unchainedshop/core-delivery": "^2.16.0", + "@unchainedshop/core-payment": "^2.16.0", + "@unchainedshop/platform": "^2.16.0", + "@unchainedshop/plugins": "^2.16.0", + "@unchainedshop/types": "^2.16.0", "apollo-graphiql-playground": "^0.1.5", "bip32": "^4.0.0", "bitcoinjs-lib": "^6.1.6", - "cookie": "^0.6.0", + "cookie": "^1.0.1", "cookie-parser": "^1.4.7", "dotenv-extended": "^2.9.0", "ethers": "^6.13.4", @@ -65,7 +65,7 @@ "xml-js": "^1.6.11" }, "devDependencies": { - "@types/node": "^22.8.2", + "@types/node": "^22.8.5", "mongodb-memory-server": "^10.0.0", "nodemon": "^3.1.7", "prettier": "^3.3.3", diff --git a/examples/minimal/package.json b/examples/minimal/package.json index 3fd7b0de44..18d057c4ca 100644 --- a/examples/minimal/package.json +++ b/examples/minimal/package.json @@ -2,7 +2,7 @@ "name": "@unchainedshop/minimal", "description": "Kitchensink for Unchained Engine", "private": true, - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "type": "module", "homepage": "https://unchained.shop", @@ -34,11 +34,11 @@ "dev": "nodemon --delay 2500ms --watch '../../packages' --watch '.' -i lib -e js,mjs,json,ts --exec \"npm run dev:run\"" }, "dependencies": { - "@unchainedshop/platform": "^2.15.2" + "@unchainedshop/platform": "^2.16.0" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "mongodb-memory-server": "^10.0.0", "nodemon": "^3.1.7", "prettier": "^3.3.3", diff --git a/package-lock.json b/package-lock.json index 14b46ec128..bcca549e67 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@unchainedshop/engine", - "version": "2.15.2", + "version": "2.16.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@unchainedshop/engine", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "workspaces": [ "packages/*", @@ -18,9 +18,9 @@ "@shelf/jest-mongodb": "^4.3.2", "@types/jest": "^29.5.14", "@types/lodash.clone": "^4.5.9", - "@types/node": "^22.8.2", - "@typescript-eslint/eslint-plugin": "^8.12.1", - "@typescript-eslint/parser": "^8.12.1", + "@types/node": "^22.8.5", + "@typescript-eslint/eslint-plugin": "^8.12.2", + "@typescript-eslint/parser": "^8.12.2", "apollo-upload-client": "^18.0.1", "cross-env": "^7.0.3", "dotenv-extended": "^2.9.0", @@ -46,21 +46,21 @@ }, "examples/kitchensink": { "name": "example-kitchensink", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { "@apollo/server-plugin-response-cache": "^4.1.3", "@paypal/checkout-server-sdk": "^1.0.3", - "@unchainedshop/api": "^2.15.2", - "@unchainedshop/core-delivery": "^2.15.2", - "@unchainedshop/core-payment": "^2.15.2", - "@unchainedshop/platform": "^2.15.2", - "@unchainedshop/plugins": "^2.15.2", - "@unchainedshop/types": "^2.15.2", + "@unchainedshop/api": "^2.16.0", + "@unchainedshop/core-delivery": "^2.16.0", + "@unchainedshop/core-payment": "^2.16.0", + "@unchainedshop/platform": "^2.16.0", + "@unchainedshop/plugins": "^2.16.0", + "@unchainedshop/types": "^2.16.0", "apollo-graphiql-playground": "^0.1.5", "bip32": "^4.0.0", "bitcoinjs-lib": "^6.1.6", - "cookie": "^0.6.0", + "cookie": "^1.0.1", "cookie-parser": "^1.4.7", "dotenv-extended": "^2.9.0", "ethers": "^6.13.4", @@ -80,7 +80,7 @@ "xml-js": "^1.6.11" }, "devDependencies": { - "@types/node": "^22.8.2", + "@types/node": "^22.8.5", "mongodb-memory-server": "^10.0.0", "nodemon": "^3.1.7", "prettier": "^3.3.3", @@ -109,14 +109,14 @@ }, "examples/minimal": { "name": "@unchainedshop/minimal", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/platform": "^2.15.2" + "@unchainedshop/platform": "^2.16.0" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "mongodb-memory-server": "^10.0.0", "nodemon": "^3.1.7", "prettier": "^3.3.3", @@ -488,9 +488,9 @@ } }, "node_modules/@apollo/server": { - "version": "4.11.0", - "resolved": "https://registry.npmjs.org/@apollo/server/-/server-4.11.0.tgz", - "integrity": "sha512-SWDvbbs0wl2zYhKG6aGLxwTJ72xpqp0awb2lotNpfezd9VcAvzaUizzKQqocephin2uMoaA8MguoyBmgtPzNWw==", + "version": "4.11.2", + "resolved": "https://registry.npmjs.org/@apollo/server/-/server-4.11.2.tgz", + "integrity": "sha512-WUTHY7DDek8xAMn4Woa9Bl8duQUDzRYQkosX/d1DtCsBWESZyApR7ndnI5d6+W4KSTtqBHhJFkusEI7CWuIJXg==", "license": "MIT", "dependencies": { "@apollo/cache-control-types": "^1.0.3", @@ -509,7 +509,7 @@ "@types/node-fetch": "^2.6.1", "async-retry": "^1.2.1", "cors": "^2.8.5", - "express": "^4.17.1", + "express": "^4.21.1", "loglevel": "^1.6.8", "lru-cache": "^7.10.1", "negotiator": "^0.6.3", @@ -725,9 +725,9 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.0.tgz", - "integrity": "sha512-INCKxTtbXtcNbUZ3YXutwMpEleqttcswhAdee7dhuoVrD2cnuc3PqtERBtxkX5nziX9vnBL8WXmSGwv8CuPV6g==", + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", + "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", "dev": true, "license": "MIT", "dependencies": { @@ -740,9 +740,9 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.0.tgz", - "integrity": "sha512-qETICbZSLe7uXv9VE8T/RWOdIE5qqyTucOt4zLYMafj2MRO271VGgLd4RACJMeBO37UPWhXiKMBk7YlJ0fOzQA==", + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.2.tgz", + "integrity": "sha512-Z0WgzSEa+aUcdiJuCIqgujCshpMWgUpgOxXotrYPSA53hA3qopNaqcJpyr0hVb1FeWdnqFA35/fUtXgBK8srQg==", "dev": true, "license": "MIT", "engines": { @@ -791,13 +791,13 @@ } }, "node_modules/@babel/generator": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.0.tgz", - "integrity": "sha512-/AIkAmInnWwgEAJGQr9vY0c66Mj6kjkE2ZPB1PurTRaRAh3U+J45sAQMjQDJdh4WbR3l0x5xkimXBKyBXXAu2w==", + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.2.tgz", + "integrity": "sha512-zevQbhbau95nkoxSq3f/DC/SC+EEOUZd3DYqfSkMhY2/wfSeaHV1Ew4vk8e+x8lja31IbyuUa2uQ3JONqKbysw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/parser": "^7.26.0", + "@babel/parser": "^7.26.2", "@babel/types": "^7.26.0", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", @@ -931,9 +931,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.26.1", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.1.tgz", - "integrity": "sha512-reoQYNiAJreZNsJzyrDNzFQ+IQ5JFiIzAHJg9bn94S3l+4++J7RsIhNMoB+lgP/9tpmiAQqspv+xfdxTSzREOw==", + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.2.tgz", + "integrity": "sha512-DWMCZH9WA4Maitz2q21SRKHo9QXZxkDsbNZoVD62gusNtNBBqDg9i7uOhASfTfIGNzW+O+r7+jAlM8dwphcJKQ==", "dev": true, "license": "MIT", "dependencies": { @@ -3147,9 +3147,9 @@ "license": "MIT" }, "node_modules/@types/lodash": { - "version": "4.17.12", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.12.tgz", - "integrity": "sha512-sviUmCE8AYdaF/KIHLDJBQgeYzPBI0vf/17NaYehBJfYD1j6/L95Slh07NlyK2iNyBNaEkb3En2jRt+a8y3xZQ==", + "version": "4.17.13", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.13.tgz", + "integrity": "sha512-lfx+dftrEZcdBPczf9d0Qv0x+j/rfNCMuC6OcfXmO8gkfeNAY88PgKUbvG56whcN23gc27yenwF6oJZXGFpYxg==", "dev": true, "license": "MIT" }, @@ -3216,9 +3216,9 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "22.8.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.2.tgz", - "integrity": "sha512-NzaRNFV+FZkvK/KLCsNdTvID0SThyrs5SHB6tsD/lajr22FGC73N2QeDPM2wHtVde8mgcXuSsHQkH5cX1pbPLw==", + "version": "22.8.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.8.5.tgz", + "integrity": "sha512-5iYk6AMPtsMbkZqCO1UGF9W5L38twq11S2pYWkybGHH2ogPUvXWNlQqJBzuEZWKj/WRH+QTeiv6ySWqJtvIEgA==", "license": "MIT", "dependencies": { "undici-types": "~6.19.8" @@ -3366,17 +3366,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.12.1.tgz", - "integrity": "sha512-gNg/inLRcPoBsKKIe4Vv38SVSOhk4BKWNO0T56sVff33gRqtTpOsrhHtiOKD1lmIOmCtZMPaW2x/h2FlM+sCEg==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.12.2.tgz", + "integrity": "sha512-gQxbxM8mcxBwaEmWdtLCIGLfixBMHhQjBqR8sVWNTPpcj45WlYL2IObS/DNMLH1DBP0n8qz+aiiLTGfopPEebw==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.12.1", - "@typescript-eslint/type-utils": "8.12.1", - "@typescript-eslint/utils": "8.12.1", - "@typescript-eslint/visitor-keys": "8.12.1", + "@typescript-eslint/scope-manager": "8.12.2", + "@typescript-eslint/type-utils": "8.12.2", + "@typescript-eslint/utils": "8.12.2", + "@typescript-eslint/visitor-keys": "8.12.2", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -3400,16 +3400,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.12.1.tgz", - "integrity": "sha512-I/I9Bg7qFa8rOgBnUUHIWTgzbB5wVkSLX+04xGUzTcJUtdq/I2uHWR9mbW6qUYJG/UmkuDcTax5JHvoEWOAHOQ==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.12.2.tgz", + "integrity": "sha512-MrvlXNfGPLH3Z+r7Tk+Z5moZAc0dzdVjTgUgwsdGweH7lydysQsnSww3nAmsq8blFuRD5VRlAr9YdEFw3e6PBw==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "8.12.1", - "@typescript-eslint/types": "8.12.1", - "@typescript-eslint/typescript-estree": "8.12.1", - "@typescript-eslint/visitor-keys": "8.12.1", + "@typescript-eslint/scope-manager": "8.12.2", + "@typescript-eslint/types": "8.12.2", + "@typescript-eslint/typescript-estree": "8.12.2", + "@typescript-eslint/visitor-keys": "8.12.2", "debug": "^4.3.4" }, "engines": { @@ -3429,14 +3429,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.12.1.tgz", - "integrity": "sha512-bma6sD1iViTt+y9MAwDlBdPTMCqoH/BNdcQk4rKhIZWv3eM0xHmzeSrPJA663PAqFqfpOmtdugycpr0E1mZDVA==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.12.2.tgz", + "integrity": "sha512-gPLpLtrj9aMHOvxJkSbDBmbRuYdtiEbnvO25bCMza3DhMjTQw0u7Y1M+YR5JPbMsXXnSPuCf5hfq0nEkQDL/JQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.12.1", - "@typescript-eslint/visitor-keys": "8.12.1" + "@typescript-eslint/types": "8.12.2", + "@typescript-eslint/visitor-keys": "8.12.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3447,14 +3447,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.12.1.tgz", - "integrity": "sha512-zJzrvbDVjIzVKV2TGHcjembEhws8RWXJhmqfO9hS2gRXBN0gDwGhRPEdJ6AZglzfJ+YA1q09EWpSLSXjBJpIMQ==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.12.2.tgz", + "integrity": "sha512-bwuU4TAogPI+1q/IJSKuD4shBLc/d2vGcRT588q+jzayQyjVK2X6v/fbR4InY2U2sgf8MEvVCqEWUzYzgBNcGQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.12.1", - "@typescript-eslint/utils": "8.12.1", + "@typescript-eslint/typescript-estree": "8.12.2", + "@typescript-eslint/utils": "8.12.2", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -3472,9 +3472,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.12.1.tgz", - "integrity": "sha512-anMS4es5lxBe4UVcDXOkcDb3csnm5BvaNIbOFfvy/pJEohorsggdVB8MFbl5EZiEuBnZZ0ei1z7W5b6FdFiV1Q==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.12.2.tgz", + "integrity": "sha512-VwDwMF1SZ7wPBUZwmMdnDJ6sIFk4K4s+ALKLP6aIQsISkPv8jhiw65sAK6SuWODN/ix+m+HgbYDkH+zLjrzvOA==", "dev": true, "license": "MIT", "engines": { @@ -3486,14 +3486,14 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.12.1.tgz", - "integrity": "sha512-k/o9khHOckPeDXilFTIPsP9iAYhhdMh3OsOL3i2072PNpFqhqzRHx472/0DeC8H/WZee3bZG0z2ddGRSPgeOKw==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.12.2.tgz", + "integrity": "sha512-mME5MDwGe30Pq9zKPvyduyU86PH7aixwqYR2grTglAdB+AN8xXQ1vFGpYaUSJ5o5P/5znsSBeNcs5g5/2aQwow==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "8.12.1", - "@typescript-eslint/visitor-keys": "8.12.1", + "@typescript-eslint/types": "8.12.2", + "@typescript-eslint/visitor-keys": "8.12.2", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -3515,16 +3515,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.12.1.tgz", - "integrity": "sha512-sDv9yFHrhKe1WN8EYuzfhKCh/sFRupe9P+m/lZ5YgVvPoCUGHNN50IO4llSu7JAbftUM/QcCh+GeCortXPrBYQ==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.12.2.tgz", + "integrity": "sha512-UTTuDIX3fkfAz6iSVa5rTuSfWIYZ6ATtEocQ/umkRSyC9O919lbZ8dcH7mysshrCdrAM03skJOEYaBugxN+M6A==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.12.1", - "@typescript-eslint/types": "8.12.1", - "@typescript-eslint/typescript-estree": "8.12.1" + "@typescript-eslint/scope-manager": "8.12.2", + "@typescript-eslint/types": "8.12.2", + "@typescript-eslint/typescript-estree": "8.12.2" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3538,13 +3538,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.12.1.tgz", - "integrity": "sha512-2RwdwnNGuOQKdGjuhujQHUqBZhEuodg2sLVPvOfWktvA9sOXOVqARjOyHSyhN2LiJGKxV6c8oOcmOtRcAnEeFw==", + "version": "8.12.2", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.12.2.tgz", + "integrity": "sha512-PChz8UaKQAVNHghsHcPyx1OMHoFRUEA7rJSK/mDhdq85bk+PLsUHUBqTQTFt18VJZbmxBovM65fezlheQRsSDA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.12.1", + "@typescript-eslint/types": "8.12.2", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -5091,9 +5091,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001674", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001674.tgz", - "integrity": "sha512-jOsKlZVRnzfhLojb+Ykb+gyUSp9Xb57So+fAiFlLzzTKpqg8xxSav0e40c8/4F/v9N8QSvrRRaLeVzQbLqomYw==", + "version": "1.0.30001676", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001676.tgz", + "integrity": "sha512-Qz6zwGCiPghQXGJvgQAem79esjitvJ+CxSbSQkW9H/UX5hg8XM88d4lp2W+MEQ81j+Hip58Il+jGVdazk1z9cw==", "dev": true, "funding": [ { @@ -5552,12 +5552,12 @@ "license": "MIT" }, "node_modules/cookie": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-1.0.1.tgz", + "integrity": "sha512-Xd8lFX4LM9QEEwxQpF9J9NTUh8pmdJO0cyRJhFiDoLTk2eH8FXlRv2IFGYVadZpqI3j8fhNrSdKCeYPxiAhLXw==", "license": "MIT", "engines": { - "node": ">= 0.6" + "node": ">=18" } }, "node_modules/cookie-parser": { @@ -8832,9 +8832,9 @@ } }, "node_modules/graphql-upload": { - "version": "16.0.2", - "resolved": "https://registry.npmjs.org/graphql-upload/-/graphql-upload-16.0.2.tgz", - "integrity": "sha512-enwIkZqUELdNH9lrjHlTNfj7gLitSa0EAX4TNXZtg2frnmQzPhpjH0l+6K7ft274fhoRCIcz8SKiNRJDf/cG4Q==", + "version": "17.0.0", + "resolved": "https://registry.npmjs.org/graphql-upload/-/graphql-upload-17.0.0.tgz", + "integrity": "sha512-AI42S1UR1mdqg+LQ7KqGbrgcf4l9gpPu/R0drM4vSA5C94NfIjYyCeCdpktEledvZoAL8JURLLeB53++WACo1w==", "license": "MIT", "dependencies": { "@types/busboy": "^1.5.0", @@ -8846,13 +8846,13 @@ "object-path": "^0.11.8" }, "engines": { - "node": "^14.17.0 || ^16.0.0 || >= 18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=22.0.0" }, "funding": { "url": "https://github.com/sponsors/jaydenseric" }, "peerDependencies": { - "@types/express": "^4.0.29", + "@types/express": "4.0.29 - 5", "@types/koa": "^2.11.4", "graphql": "^16.3.0" }, @@ -15680,9 +15680,9 @@ } }, "node_modules/ts-api-utils": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", - "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.0.tgz", + "integrity": "sha512-032cPxaEKwM+GT3vA5JXNzIaizx388rhsSW79vGRNGXfRRAdEAn2mvk36PvK5HnOchyWZ7afLEXqYCvPCrzuzQ==", "dev": true, "license": "MIT", "engines": { @@ -17154,19 +17154,19 @@ }, "packages/api": { "name": "@unchainedshop/api", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { "@metamask/eth-sig-util": "^7.0.3", - "@unchainedshop/core": "^2.15.2", - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/roles": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/core": "^2.16.0", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/roles": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "accounting": "0.4.1", "dataloader": "^2.2.2", "graphql-scalars": "^1.23.0", - "graphql-upload": "^16.0.2", + "graphql-upload": "^17.0.0", "locale": "0.1.0", "lodash.isnumber": "3.0.3", "memoizee": "^0.4.17" @@ -17174,8 +17174,8 @@ "devDependencies": { "@types/graphql-upload": "^16.0.7", "@types/locale": "^0.1.4", - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "express": "^4.21.1", "jest": "^29.7.0", "ts-jest": "^29.2.5", @@ -17185,39 +17185,39 @@ "express": "~4" }, "peerDependencies": { - "@apollo/server": "^4.11.0", - "cookie": "^0.6.0" + "@apollo/server": "^4.11.2", + "cookie": "^1.0.1" } }, "packages/core": { "name": "@unchainedshop/core", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/core-accountsjs": "^2.15.2", - "@unchainedshop/core-assortments": "^2.15.2", - "@unchainedshop/core-bookmarks": "^2.15.2", - "@unchainedshop/core-countries": "^2.15.2", - "@unchainedshop/core-currencies": "^2.15.2", - "@unchainedshop/core-delivery": "^2.15.2", - "@unchainedshop/core-enrollments": "^2.15.2", - "@unchainedshop/core-events": "^2.15.2", - "@unchainedshop/core-files": "^2.15.2", - "@unchainedshop/core-filters": "^2.15.2", - "@unchainedshop/core-languages": "^2.15.2", - "@unchainedshop/core-messaging": "^2.15.2", - "@unchainedshop/core-orders": "^2.15.2", - "@unchainedshop/core-payment": "^2.15.2", - "@unchainedshop/core-products": "^2.15.2", - "@unchainedshop/core-quotations": "^2.15.2", - "@unchainedshop/core-users": "^2.15.2", - "@unchainedshop/core-warehousing": "^2.15.2", - "@unchainedshop/core-worker": "^2.15.2", - "@unchainedshop/logger": "^2.15.2" + "@unchainedshop/core-accountsjs": "^2.16.0", + "@unchainedshop/core-assortments": "^2.16.0", + "@unchainedshop/core-bookmarks": "^2.16.0", + "@unchainedshop/core-countries": "^2.16.0", + "@unchainedshop/core-currencies": "^2.16.0", + "@unchainedshop/core-delivery": "^2.16.0", + "@unchainedshop/core-enrollments": "^2.16.0", + "@unchainedshop/core-events": "^2.16.0", + "@unchainedshop/core-files": "^2.16.0", + "@unchainedshop/core-filters": "^2.16.0", + "@unchainedshop/core-languages": "^2.16.0", + "@unchainedshop/core-messaging": "^2.16.0", + "@unchainedshop/core-orders": "^2.16.0", + "@unchainedshop/core-payment": "^2.16.0", + "@unchainedshop/core-products": "^2.16.0", + "@unchainedshop/core-quotations": "^2.16.0", + "@unchainedshop/core-users": "^2.16.0", + "@unchainedshop/core-warehousing": "^2.16.0", + "@unchainedshop/core-worker": "^2.16.0", + "@unchainedshop/logger": "^2.16.0" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17225,7 +17225,7 @@ }, "packages/core-accountsjs": { "name": "@unchainedshop/core-accountsjs", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { "@accounts/database-manager": "0.33.1", @@ -17233,14 +17233,14 @@ "@accounts/mongo-password": "^0.33.0", "@accounts/password": "^0.32.2", "@accounts/server": "0.33.1", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "fido2-lib": "^3.5.3", "uuid": "^10.0.0" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17317,21 +17317,21 @@ }, "packages/core-assortments": { "name": "@unchainedshop/core-assortments", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/file-upload": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/file-upload": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "locale": "^0.1.0", "ramda": "^0.30.1", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "cross-env": "^7.0.3", "jest": "^29.7.0", "ts-jest": "^29.2.5", @@ -17340,16 +17340,16 @@ }, "packages/core-bookmarks": { "name": "@unchainedshop/core-bookmarks", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17357,16 +17357,16 @@ }, "packages/core-countries": { "name": "@unchainedshop/core-countries", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "cross-env": "^7.0.3", "jest": "^29.7.0", "ts-jest": "^29.2.5", @@ -17375,16 +17375,16 @@ }, "packages/core-currencies": { "name": "@unchainedshop/core-currencies", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17392,17 +17392,17 @@ }, "packages/core-delivery": { "name": "@unchainedshop/core-delivery", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17410,21 +17410,21 @@ }, "packages/core-enrollments": { "name": "@unchainedshop/core-enrollments", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { "@breejs/later": "^4.2.0", - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "date-fns": "^4.1.0", "locale": "0.1.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17432,16 +17432,16 @@ }, "packages/core-events": { "name": "@unchainedshop/core-events", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17449,19 +17449,19 @@ }, "packages/core-files": { "name": "@unchainedshop/core-files", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/file-upload": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/file-upload": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "mime-types": "^2.1.35", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17469,20 +17469,20 @@ }, "packages/core-filters": { "name": "@unchainedshop/core-filters", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/mongodb": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/mongodb": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "locale": "^0.1.0", "memoizee": "^0.4.17", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17490,16 +17490,16 @@ }, "packages/core-languages": { "name": "@unchainedshop/core-languages", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17507,15 +17507,15 @@ }, "packages/core-messaging": { "name": "@unchainedshop/core-messaging", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/logger": "^2.16.0", "mustache": "^4.2.0" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "locale": "^0.1.0", "ts-jest": "^29.2.5", @@ -17524,18 +17524,18 @@ }, "packages/core-orders": { "name": "@unchainedshop/core-orders", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { "@kontsedal/locco": "0.1.0", - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17543,17 +17543,17 @@ }, "packages/core-payment": { "name": "@unchainedshop/core-payment", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17561,19 +17561,19 @@ }, "packages/core-products": { "name": "@unchainedshop/core-products", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/file-upload": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/file-upload": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "locale": "^0.1.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17581,18 +17581,18 @@ }, "packages/core-quotations": { "name": "@unchainedshop/core-quotations", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17600,21 +17600,21 @@ }, "packages/core-users": { "name": "@unchainedshop/core-users", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/file-upload": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/roles": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/file-upload": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/roles": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "locale": "^0.1.0", "simpl-schema": "^3.4.6", "uuid": "^10.0.0" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17622,17 +17622,17 @@ }, "packages/core-warehousing": { "name": "@unchainedshop/core-warehousing", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17640,17 +17640,17 @@ }, "packages/core-worker": { "name": "@unchainedshop/core-worker", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { "@breejs/later": "^4.2.0", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17658,15 +17658,15 @@ }, "packages/events": { "name": "@unchainedshop/events", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/logger": "^2.15.2" + "@unchainedshop/logger": "^2.16.0" }, "devDependencies": { "@types/jest": "^29.5.14", - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17674,17 +17674,17 @@ }, "packages/file-upload": { "name": "@unchainedshop/file-upload", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "base-x": "^5.0.0", "mime-types": "^2.1.35" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17698,7 +17698,7 @@ }, "packages/logger": { "name": "@unchainedshop/logger", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { "safe-stable-stringify": "^2.5.0", @@ -17707,8 +17707,8 @@ }, "devDependencies": { "@types/jest": "^29.5.14", - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17716,14 +17716,14 @@ }, "packages/mongodb": { "name": "@unchainedshop/mongodb", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/utils": "^2.15.2" + "@unchainedshop/utils": "^2.16.0" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "typescript": "^5.6.3" }, @@ -17734,25 +17734,25 @@ }, "packages/platform": { "name": "@unchainedshop/platform", - "version": "2.15.3", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/api": "^2.15.2", - "@unchainedshop/core": "^2.15.2", - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/file-upload": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/mongodb": "^2.15.2", - "@unchainedshop/plugins": "^2.15.2", - "@unchainedshop/roles": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/api": "^2.16.0", + "@unchainedshop/core": "^2.16.0", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/file-upload": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/mongodb": "^2.16.0", + "@unchainedshop/plugins": "^2.16.0", + "@unchainedshop/roles": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "event-iterator": "^2.0.0", "JSONStream": "^1.3.5", "moniker": "0.1.2" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "cross-env": "^7.0.3", "jest": "^29.7.0", "ts-jest": "^29.2.5", @@ -17761,27 +17761,27 @@ }, "packages/plugins": { "name": "@unchainedshop/plugins", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "devDependencies": { "@redis/client": "^1.6.0", - "@types/node": "^22.8.2", - "@unchainedshop/api": "^2.15.2", - "@unchainedshop/core-delivery": "^2.15.2", - "@unchainedshop/core-enrollments": "^2.15.2", - "@unchainedshop/core-filters": "^2.15.2", - "@unchainedshop/core-messaging": "^2.15.2", - "@unchainedshop/core-orders": "^2.15.2", - "@unchainedshop/core-payment": "^2.15.2", - "@unchainedshop/core-products": "^2.15.2", - "@unchainedshop/core-quotations": "^2.15.2", - "@unchainedshop/core-warehousing": "^2.15.2", - "@unchainedshop/core-worker": "^2.15.2", - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/file-upload": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/types": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/api": "^2.16.0", + "@unchainedshop/core-delivery": "^2.16.0", + "@unchainedshop/core-enrollments": "^2.16.0", + "@unchainedshop/core-filters": "^2.16.0", + "@unchainedshop/core-messaging": "^2.16.0", + "@unchainedshop/core-orders": "^2.16.0", + "@unchainedshop/core-payment": "^2.16.0", + "@unchainedshop/core-products": "^2.16.0", + "@unchainedshop/core-quotations": "^2.16.0", + "@unchainedshop/core-warehousing": "^2.16.0", + "@unchainedshop/core-worker": "^2.16.0", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/file-upload": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/types": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "event-iterator": "^2.0.0", "express": "^4.21.1", "jest": "^29.7.0", @@ -17814,42 +17814,42 @@ }, "packages/roles": { "name": "@unchainedshop/roles", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { "lodash.clone": "4.5.0" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "typescript": "^5.6.3" } }, "packages/shared": { "name": "@unchainedshop/shared", - "version": "2.15.2", + "version": "2.16.0", "dependencies": { - "@types/node": "^22.8.2", + "@types/node": "^22.8.5", "typescript": "^5.6.3" } }, "packages/ticketing": { "name": "@unchainedshop/ticketing", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/api": "^2.15.2", - "@unchainedshop/core-files": "^2.15.2", - "@unchainedshop/core-warehousing": "^2.15.2", - "@unchainedshop/core-worker": "^2.15.2", - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/mongodb": "^2.15.2" + "@unchainedshop/api": "^2.16.0", + "@unchainedshop/core-files": "^2.16.0", + "@unchainedshop/core-warehousing": "^2.16.0", + "@unchainedshop/core-worker": "^2.16.0", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/mongodb": "^2.16.0" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2" + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0" }, "peerDependencies": { "@hyperlink/node-apn": "^5.1.4", @@ -17858,13 +17858,13 @@ }, "packages/types": { "name": "@unchainedshop/types", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "devDependencies": { "@accounts/types": "^0.33.2", - "@apollo/server": "^4.11.0", + "@apollo/server": "^4.11.2", "@types/locale": "^0.1.4", - "@types/node": "^22.8.2", + "@types/node": "^22.8.5", "mongodb": "^6.10.0", "simpl-schema": "^3.4.6", "typedoc": "^0.26.10", @@ -17873,18 +17873,18 @@ }, "packages/utils": { "name": "@unchainedshop/utils", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/logger": "^2.16.0", "abort-controller": "3.0.0", "hashids": "^2.3.0", "locale": "0.1.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "typescript": "^5.6.3" } diff --git a/package.json b/package.json index a22254ba19..07e93a484e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@unchainedshop/engine", "description": "Unchained Engine", - "version": "2.15.2", + "version": "2.16.0", "license": "EUPL-1.2", "private": "true", "homepage": "https://unchained.shop", @@ -51,9 +51,9 @@ "@shelf/jest-mongodb": "^4.3.2", "@types/jest": "^29.5.14", "@types/lodash.clone": "^4.5.9", - "@types/node": "^22.8.2", - "@typescript-eslint/eslint-plugin": "^8.12.1", - "@typescript-eslint/parser": "^8.12.1", + "@types/node": "^22.8.5", + "@typescript-eslint/eslint-plugin": "^8.12.2", + "@typescript-eslint/parser": "^8.12.2", "apollo-upload-client": "^18.0.1", "cross-env": "^7.0.3", "dotenv-extended": "^2.9.0", diff --git a/packages/api/package.json b/packages/api/package.json index 09234c3313..96f439ce70 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/api", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/api-index.js", "exports": { ".": "./lib/api-index.js", @@ -40,23 +40,23 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "peerDependencies": { - "@apollo/server": "^4.11.0", - "cookie": "^0.6.0" + "@apollo/server": "^4.11.2", + "cookie": "^1.0.1" }, "optionalDependencies": { "express": "~4" }, "dependencies": { "@metamask/eth-sig-util": "^7.0.3", - "@unchainedshop/core": "^2.15.2", - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/roles": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/core": "^2.16.0", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/roles": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "accounting": "0.4.1", "dataloader": "^2.2.2", "graphql-scalars": "^1.23.0", - "graphql-upload": "^16.0.2", + "graphql-upload": "^17.0.0", "locale": "0.1.0", "lodash.isnumber": "3.0.3", "memoizee": "^0.4.17" @@ -64,8 +64,8 @@ "devDependencies": { "@types/graphql-upload": "^16.0.7", "@types/locale": "^0.1.4", - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "express": "^4.21.1", "jest": "^29.7.0", "ts-jest": "^29.2.5", diff --git a/packages/core-accountsjs/package.json b/packages/core-accountsjs/package.json index 9e81b51e2c..97711ccf45 100644 --- a/packages/core-accountsjs/package.json +++ b/packages/core-accountsjs/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-accountsjs", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/accounts-index.js", "exports": { ".": "./lib/accounts-index.js", @@ -36,14 +36,14 @@ "@accounts/mongo-password": "^0.33.0", "@accounts/password": "^0.32.2", "@accounts/server": "0.33.1", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "fido2-lib": "^3.5.3", "uuid": "^10.0.0" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-assortments/package.json b/packages/core-assortments/package.json index fcbd021882..e98d184e04 100644 --- a/packages/core-assortments/package.json +++ b/packages/core-assortments/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-assortments", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/assortments-index.js", "exports": { ".": "./lib/assortments-index.js", @@ -31,18 +31,18 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/file-upload": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/file-upload": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "locale": "^0.1.0", "ramda": "^0.30.1", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "cross-env": "^7.0.3", "jest": "^29.7.0", "ts-jest": "^29.2.5", diff --git a/packages/core-bookmarks/package.json b/packages/core-bookmarks/package.json index 69d2fb7e14..553d8f62b0 100644 --- a/packages/core-bookmarks/package.json +++ b/packages/core-bookmarks/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-bookmarks", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/bookmarks-index.js", "exports": { ".": "./lib/bookmarks-index.js", @@ -31,13 +31,13 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-countries/package.json b/packages/core-countries/package.json index 7365bf66a2..1da56f4843 100644 --- a/packages/core-countries/package.json +++ b/packages/core-countries/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-countries", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/countries-index.js", "exports": { ".": "./lib/countries-index.js", @@ -31,13 +31,13 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "cross-env": "^7.0.3", "jest": "^29.7.0", "ts-jest": "^29.2.5", diff --git a/packages/core-currencies/package.json b/packages/core-currencies/package.json index 51b7cde1dd..583c142782 100644 --- a/packages/core-currencies/package.json +++ b/packages/core-currencies/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-currencies", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/currencies-index.js", "exports": { ".": "./lib/currencies-index.js", @@ -31,13 +31,13 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-delivery/package.json b/packages/core-delivery/package.json index fbb256d5af..aa55ef09f8 100644 --- a/packages/core-delivery/package.json +++ b/packages/core-delivery/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-delivery", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/delivery-index.js", "exports": { ".": "./lib/delivery-index.js", @@ -31,14 +31,14 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-enrollments/package.json b/packages/core-enrollments/package.json index 1d6735e3e6..11492a06f7 100644 --- a/packages/core-enrollments/package.json +++ b/packages/core-enrollments/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-enrollments", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/enrollments-index.js", "exports": { ".": "./lib/enrollments-index.js", @@ -32,17 +32,17 @@ "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { "@breejs/later": "^4.2.0", - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "date-fns": "^4.1.0", "locale": "0.1.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-events/package.json b/packages/core-events/package.json index 748d69a30c..e7f615ea7a 100644 --- a/packages/core-events/package.json +++ b/packages/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-events", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/events-index.js", "exports": { ".": "./lib/events-index.js", @@ -31,13 +31,13 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-files/package.json b/packages/core-files/package.json index 7ae9725443..9ad78fc85d 100644 --- a/packages/core-files/package.json +++ b/packages/core-files/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-files", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/files-index.js", "exports": { ".": "./lib/files-index.js", @@ -31,16 +31,16 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/file-upload": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/file-upload": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "mime-types": "^2.1.35", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-filters/package.json b/packages/core-filters/package.json index bd6d9e84ae..0889e75dc3 100644 --- a/packages/core-filters/package.json +++ b/packages/core-filters/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-filters", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/filters-index.js", "exports": { ".": "./lib/filters-index.js", @@ -31,17 +31,17 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/mongodb": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/mongodb": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "locale": "^0.1.0", "memoizee": "^0.4.17", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-languages/package.json b/packages/core-languages/package.json index 6bbb72cc9d..a4c1bbe1af 100644 --- a/packages/core-languages/package.json +++ b/packages/core-languages/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-languages", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/languages-index.js", "exports": { ".": "./lib/languages-index.js", @@ -31,13 +31,13 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-messaging/package.json b/packages/core-messaging/package.json index 5bdd40ac8b..767267228f 100644 --- a/packages/core-messaging/package.json +++ b/packages/core-messaging/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-messaging", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/messaging-index.js", "exports": { ".": "./lib/messaging-index.js", @@ -31,12 +31,12 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/logger": "^2.16.0", "mustache": "^4.2.0" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "locale": "^0.1.0", "ts-jest": "^29.2.5", diff --git a/packages/core-orders/package.json b/packages/core-orders/package.json index 50b38560a2..4935a2bdc7 100644 --- a/packages/core-orders/package.json +++ b/packages/core-orders/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-orders", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/orders-index.js", "exports": { ".": "./lib/orders-index.js", @@ -32,14 +32,14 @@ "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { "@kontsedal/locco": "0.1.0", - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-payment/package.json b/packages/core-payment/package.json index dd37fa1bae..bfb206e73c 100644 --- a/packages/core-payment/package.json +++ b/packages/core-payment/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-payment", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/payment-index.js", "exports": { ".": "./lib/payment-index.js", @@ -31,14 +31,14 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-products/package.json b/packages/core-products/package.json index 9344e946fa..0438a4acc9 100644 --- a/packages/core-products/package.json +++ b/packages/core-products/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-products", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/products-index.js", "exports": { ".": "./lib/products-index.js", @@ -31,16 +31,16 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/file-upload": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/file-upload": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "locale": "^0.1.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-quotations/package.json b/packages/core-quotations/package.json index 6c5d6635ce..3208162318 100644 --- a/packages/core-quotations/package.json +++ b/packages/core-quotations/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-quotations", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/quotations-index.js", "exports": { ".": "./lib/quotations-index.js", @@ -31,15 +31,15 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-users/package.json b/packages/core-users/package.json index 8ac60301d9..9e887afde8 100644 --- a/packages/core-users/package.json +++ b/packages/core-users/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-users", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/users-index.js", "exports": { ".": "./lib/users-index.js", @@ -31,18 +31,18 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/file-upload": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/roles": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/file-upload": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/roles": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "locale": "^0.1.0", "simpl-schema": "^3.4.6", "uuid": "^10.0.0" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-warehousing/package.json b/packages/core-warehousing/package.json index 85703b574c..96aec20235 100644 --- a/packages/core-warehousing/package.json +++ b/packages/core-warehousing/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-warehousing", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/warehousing-index.js", "exports": { ".": "./lib/warehousing-index.js", @@ -31,14 +31,14 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-worker/package.json b/packages/core-worker/package.json index 9583f507ef..5593fd85be 100644 --- a/packages/core-worker/package.json +++ b/packages/core-worker/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-worker", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/worker-index.js", "exports": { ".": "./lib/worker-index.js", @@ -32,13 +32,13 @@ "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { "@breejs/later": "^4.2.0", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core/package.json b/packages/core/package.json index 71cddef794..824c1f1c43 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/core-index.js", "exports": { ".": "./lib/core-index.js", @@ -31,30 +31,30 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/core-accountsjs": "^2.15.2", - "@unchainedshop/core-assortments": "^2.15.2", - "@unchainedshop/core-bookmarks": "^2.15.2", - "@unchainedshop/core-countries": "^2.15.2", - "@unchainedshop/core-currencies": "^2.15.2", - "@unchainedshop/core-delivery": "^2.15.2", - "@unchainedshop/core-enrollments": "^2.15.2", - "@unchainedshop/core-events": "^2.15.2", - "@unchainedshop/core-files": "^2.15.2", - "@unchainedshop/core-filters": "^2.15.2", - "@unchainedshop/core-languages": "^2.15.2", - "@unchainedshop/core-messaging": "^2.15.2", - "@unchainedshop/core-orders": "^2.15.2", - "@unchainedshop/core-payment": "^2.15.2", - "@unchainedshop/core-products": "^2.15.2", - "@unchainedshop/core-quotations": "^2.15.2", - "@unchainedshop/core-users": "^2.15.2", - "@unchainedshop/core-warehousing": "^2.15.2", - "@unchainedshop/core-worker": "^2.15.2", - "@unchainedshop/logger": "^2.15.2" + "@unchainedshop/core-accountsjs": "^2.16.0", + "@unchainedshop/core-assortments": "^2.16.0", + "@unchainedshop/core-bookmarks": "^2.16.0", + "@unchainedshop/core-countries": "^2.16.0", + "@unchainedshop/core-currencies": "^2.16.0", + "@unchainedshop/core-delivery": "^2.16.0", + "@unchainedshop/core-enrollments": "^2.16.0", + "@unchainedshop/core-events": "^2.16.0", + "@unchainedshop/core-files": "^2.16.0", + "@unchainedshop/core-filters": "^2.16.0", + "@unchainedshop/core-languages": "^2.16.0", + "@unchainedshop/core-messaging": "^2.16.0", + "@unchainedshop/core-orders": "^2.16.0", + "@unchainedshop/core-payment": "^2.16.0", + "@unchainedshop/core-products": "^2.16.0", + "@unchainedshop/core-quotations": "^2.16.0", + "@unchainedshop/core-users": "^2.16.0", + "@unchainedshop/core-warehousing": "^2.16.0", + "@unchainedshop/core-worker": "^2.16.0", + "@unchainedshop/logger": "^2.16.0" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/events/package.json b/packages/events/package.json index f0460e07c1..10bb8b30c5 100644 --- a/packages/events/package.json +++ b/packages/events/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/events", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/events-index.js", "exports": { ".": "./lib/events-index.js", @@ -31,12 +31,12 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/logger": "^2.15.2" + "@unchainedshop/logger": "^2.16.0" }, "devDependencies": { "@types/jest": "^29.5.14", - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/file-upload/package.json b/packages/file-upload/package.json index b2cc68f52c..997cd959e3 100644 --- a/packages/file-upload/package.json +++ b/packages/file-upload/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/file-upload", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/file-upload-index.js", "exports": { ".": "./lib/file-upload-index.js", @@ -31,14 +31,14 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "base-x": "^5.0.0", "mime-types": "^2.1.35" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/logger/package.json b/packages/logger/package.json index 7f92d5d0b6..374e9f6ce0 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/logger", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/logger-index.js", "exports": { ".": "./lib/logger-index.js", @@ -37,8 +37,8 @@ }, "devDependencies": { "@types/jest": "^29.5.14", - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/mongodb/package.json b/packages/mongodb/package.json index cb7d336e60..d8ffbf98c1 100644 --- a/packages/mongodb/package.json +++ b/packages/mongodb/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/mongodb", - "version": "2.15.2", + "version": "2.16.0", "description": "MongoDB provider for unchained platform", "main": "lib/mongodb-index.js", "exports": { @@ -31,15 +31,15 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/utils": "^2.15.2" + "@unchainedshop/utils": "^2.16.0" }, "peerDependencies": { "@mongodb-js/zstd": "^1.2.2", "mongodb": "^6.10.0" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "typescript": "^5.6.3" } diff --git a/packages/platform/package.json b/packages/platform/package.json index 902fd72152..ed5e4309ee 100644 --- a/packages/platform/package.json +++ b/packages/platform/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/platform", - "version": "2.15.3", + "version": "2.16.0", "main": "lib/platform-index.js", "exports": { ".": "./lib/platform-index.js", @@ -31,22 +31,22 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/api": "^2.15.2", - "@unchainedshop/core": "^2.15.2", - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/file-upload": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/mongodb": "^2.15.2", - "@unchainedshop/plugins": "^2.15.2", - "@unchainedshop/roles": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@unchainedshop/api": "^2.16.0", + "@unchainedshop/core": "^2.16.0", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/file-upload": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/mongodb": "^2.16.0", + "@unchainedshop/plugins": "^2.16.0", + "@unchainedshop/roles": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "event-iterator": "^2.0.0", "JSONStream": "^1.3.5", "moniker": "0.1.2" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "cross-env": "^7.0.3", "jest": "^29.7.0", "ts-jest": "^29.2.5", diff --git a/packages/plugins/package.json b/packages/plugins/package.json index 37d412e7d6..cd976b9a5d 100644 --- a/packages/plugins/package.json +++ b/packages/plugins/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/plugins", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/plugins-index.js", "types": "lib/plugins-index.d.ts", "exports": { @@ -87,23 +87,23 @@ }, "devDependencies": { "@redis/client": "^1.6.0", - "@types/node": "^22.8.2", - "@unchainedshop/api": "^2.15.2", - "@unchainedshop/core-delivery": "^2.15.2", - "@unchainedshop/core-enrollments": "^2.15.2", - "@unchainedshop/core-filters": "^2.15.2", - "@unchainedshop/core-messaging": "^2.15.2", - "@unchainedshop/core-orders": "^2.15.2", - "@unchainedshop/core-payment": "^2.15.2", - "@unchainedshop/core-products": "^2.15.2", - "@unchainedshop/core-quotations": "^2.15.2", - "@unchainedshop/core-warehousing": "^2.15.2", - "@unchainedshop/core-worker": "^2.15.2", - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/file-upload": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/types": "^2.15.2", - "@unchainedshop/utils": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/api": "^2.16.0", + "@unchainedshop/core-delivery": "^2.16.0", + "@unchainedshop/core-enrollments": "^2.16.0", + "@unchainedshop/core-filters": "^2.16.0", + "@unchainedshop/core-messaging": "^2.16.0", + "@unchainedshop/core-orders": "^2.16.0", + "@unchainedshop/core-payment": "^2.16.0", + "@unchainedshop/core-products": "^2.16.0", + "@unchainedshop/core-quotations": "^2.16.0", + "@unchainedshop/core-warehousing": "^2.16.0", + "@unchainedshop/core-worker": "^2.16.0", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/file-upload": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/types": "^2.16.0", + "@unchainedshop/utils": "^2.16.0", "event-iterator": "^2.0.0", "express": "^4.21.1", "jest": "^29.7.0", diff --git a/packages/roles/package.json b/packages/roles/package.json index aca8049aa6..7557ef1d18 100644 --- a/packages/roles/package.json +++ b/packages/roles/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/roles", - "version": "2.15.2", + "version": "2.16.0", "description": "Roles package for unchained engine", "main": "lib/roles-index.js", "exports": { @@ -34,8 +34,8 @@ "lodash.clone": "4.5.0" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "typescript": "^5.6.3" } diff --git a/packages/shared/package.json b/packages/shared/package.json index dc0121d8c3..8d3493bf93 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,9 +1,9 @@ { "name": "@unchainedshop/shared", "private": true, - "version": "2.15.2", + "version": "2.16.0", "dependencies": { - "@types/node": "^22.8.2", + "@types/node": "^22.8.5", "typescript": "^5.6.3" } } diff --git a/packages/ticketing/package.json b/packages/ticketing/package.json index 1bbc1a17be..86d05737ef 100644 --- a/packages/ticketing/package.json +++ b/packages/ticketing/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/ticketing", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { @@ -41,20 +41,20 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/api": "^2.15.2", - "@unchainedshop/core-files": "^2.15.2", - "@unchainedshop/core-warehousing": "^2.15.2", - "@unchainedshop/core-worker": "^2.15.2", - "@unchainedshop/events": "^2.15.2", - "@unchainedshop/logger": "^2.15.2", - "@unchainedshop/mongodb": "^2.15.2" + "@unchainedshop/api": "^2.16.0", + "@unchainedshop/core-files": "^2.16.0", + "@unchainedshop/core-warehousing": "^2.16.0", + "@unchainedshop/core-worker": "^2.16.0", + "@unchainedshop/events": "^2.16.0", + "@unchainedshop/logger": "^2.16.0", + "@unchainedshop/mongodb": "^2.16.0" }, "peerDependencies": { "@hyperlink/node-apn": "^5.1.4", "express": "^4.21.1" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2" + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0" } } diff --git a/packages/types/package.json b/packages/types/package.json index 74a173c8b0..641790f0a4 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/types", - "version": "2.15.2", + "version": "2.16.0", "description": "Types for unchained core packages", "repository": { "type": "git", @@ -36,9 +36,9 @@ "homepage": "https://github.com/unchainedshop/unchained#readme", "devDependencies": { "@accounts/types": "^0.33.2", - "@apollo/server": "^4.11.0", + "@apollo/server": "^4.11.2", "@types/locale": "^0.1.4", - "@types/node": "^22.8.2", + "@types/node": "^22.8.5", "mongodb": "^6.10.0", "simpl-schema": "^3.4.6", "typedoc": "^0.26.10", diff --git a/packages/utils/package.json b/packages/utils/package.json index 3a87db760f..8fa8376049 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/utils", - "version": "2.15.2", + "version": "2.16.0", "main": "lib/utils-index.js", "exports": { ".": "./lib/utils-index.js", @@ -30,15 +30,15 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/logger": "^2.15.2", + "@unchainedshop/logger": "^2.16.0", "abort-controller": "3.0.0", "hashids": "^2.3.0", "locale": "0.1.0", "simpl-schema": "^3.4.6" }, "devDependencies": { - "@types/node": "^22.8.2", - "@unchainedshop/types": "^2.15.2", + "@types/node": "^22.8.5", + "@unchainedshop/types": "^2.16.0", "jest": "^29.7.0", "typescript": "^5.6.3" } From c1da44b395fe1005ed90eede83251be69fbd2586 Mon Sep 17 00:00:00 2001 From: Pascal Kaufmann Date: Wed, 6 Nov 2024 13:07:24 +0100 Subject: [PATCH 7/9] Add multi-media loaders performance workaround --- packages/api/src/loaders/index.ts | 32 +++++++++++++++++++ .../type/assortment/assortment-types.ts | 16 +++++++--- .../resolvers/type/product/product-types.ts | 16 +++++++--- packages/types/api.ts | 8 +++-- packages/types/assortments.media.ts | 2 +- packages/types/products.media.ts | 2 +- 6 files changed, 62 insertions(+), 14 deletions(-) diff --git a/packages/api/src/loaders/index.ts b/packages/api/src/loaders/index.ts index 95f3d142f2..41ad4e228b 100644 --- a/packages/api/src/loaders/index.ts +++ b/packages/api/src/loaders/index.ts @@ -104,6 +104,22 @@ const loaders = async ( { batchScheduleFn: (cb) => setImmediate(cb) }, ), + assortmentMediasLoader: new DataLoader( + async (queries) => { + const assortmentId = [...new Set(queries.map((q) => q.assortmentId).filter(Boolean))]; + const assortmentMediaItems = await unchainedAPI.modules.assortments.media.findAssortmentMedias({ + assortmentId, + }); + + return queries.map((q) => { + return assortmentMediaItems.filter((i) => { + return i.assortmentId === q.assortmentId; + }); + }); + }, + { batchScheduleFn: (cb) => setImmediate(cb) }, + ), + assortmentLinkLoader: new DataLoader( async (queries) => { const parentAssortmentIds = [ @@ -327,6 +343,22 @@ const loaders = async ( }, { batchScheduleFn: (cb) => setImmediate(cb) }, ), + + productMediasLoader: new DataLoader( + async (queries) => { + const productId = [...new Set(queries.map((q) => q.productId).filter(Boolean))]; + const productMediaItems = await unchainedAPI.modules.products.media.findProductMedias({ + productId, + }); + + return queries.map((q) => { + return productMediaItems.filter((i) => { + return i.productId === q.productId; + }); + }); + }, + { batchScheduleFn: (cb) => setImmediate(cb) }, + ), }; }; diff --git a/packages/api/src/resolvers/type/assortment/assortment-types.ts b/packages/api/src/resolvers/type/assortment/assortment-types.ts index e15cd5ae6d..563a4852c7 100644 --- a/packages/api/src/resolvers/type/assortment/assortment-types.ts +++ b/packages/api/src/resolvers/type/assortment/assortment-types.ts @@ -92,11 +92,17 @@ export const Assortment: AssortmentHelperTypes = { }); }, - async media(obj, params, { modules }) { - return modules.assortments.media.findAssortmentMedias({ - assortmentId: obj._id, - ...params, - }); + async media(obj, params, { modules, loaders }) { + if (params.offset || params.tags) { + return modules.assortments.media.findAssortmentMedias({ + assortmentId: obj._id, + ...params, + }); + } + return (await loaders.assortmentMediasLoader.load({ assortmentId: obj._id })).slice( + params.offset, + params.offset + params.limit, + ); }, async productAssignments(obj, _, { modules }) { diff --git a/packages/api/src/resolvers/type/product/product-types.ts b/packages/api/src/resolvers/type/product/product-types.ts index 284270d5e7..963fe956e3 100644 --- a/packages/api/src/resolvers/type/product/product-types.ts +++ b/packages/api/src/resolvers/type/product/product-types.ts @@ -35,12 +35,18 @@ export const Product = { offset: number; tags?: Array; }, - { modules }: Context, + { loaders, modules }: Context, ): Promise> { - return modules.products.media.findProductMedias({ - productId: product._id, - ...params, - }); + if (params.offset || params.tags) { + return modules.products.media.findProductMedias({ + productId: product._id, + ...params, + }); + } + return (await loaders.productMediasLoader.load({ productId: product._id })).slice( + params.offset, + params.offset + params.limit, + ); }, async reviews( diff --git a/packages/types/api.ts b/packages/types/api.ts index 4f4ab000de..980572e0e5 100644 --- a/packages/types/api.ts +++ b/packages/types/api.ts @@ -5,11 +5,11 @@ import type DataLoader from 'dataloader'; import { User } from './user.js'; import { UnchainedCore } from './core.js'; import { Assortment, AssortmentLink, AssortmentProduct, AssortmentText } from './assortments.js'; -import { AssortmentMediaText } from './assortments.media.js'; +import { AssortmentMedia, AssortmentMediaText } from './assortments.media.js'; import { Filter, FilterText } from './filters.js'; import { File } from './files.js'; import { Product, ProductText } from './products.js'; -import { ProductMediaText } from './products.media.js'; +import { ProductMedia, ProductMediaText } from './products.media.js'; export declare type Root = Record; @@ -49,6 +49,7 @@ export interface UnchainedLoaders { productMediaTextLoader: InstanceType< typeof DataLoader<{ productMediaId: string; locale: string }, ProductMediaText> >; + productMediasLoader: InstanceType>; fileLoader: InstanceType>; @@ -73,6 +74,9 @@ export interface UnchainedLoaders { assortmentMediaTextLoader: InstanceType< typeof DataLoader<{ assortmentMediaId: string; locale: string }, AssortmentMediaText> >; + assortmentMediasLoader: InstanceType< + typeof DataLoader<{ assortmentId?: string }, AssortmentMedia[]> + >; }; } diff --git a/packages/types/assortments.media.ts b/packages/types/assortments.media.ts index 6d18e8257b..967d8ae237 100644 --- a/packages/types/assortments.media.ts +++ b/packages/types/assortments.media.ts @@ -24,7 +24,7 @@ export type AssortmentMediaModule = { findAssortmentMedias: ( params: { - assortmentId?: string; + assortmentId?: Filter['assortmentId']; limit?: number; offset?: number; tags?: Array; diff --git a/packages/types/products.media.ts b/packages/types/products.media.ts index d1352bdbc7..9995a699c4 100644 --- a/packages/types/products.media.ts +++ b/packages/types/products.media.ts @@ -26,7 +26,7 @@ export type ProductMediaModule = { findProductMedias: ( params: { - productId?: string; + productId?: Filter['productId']; limit?: number; offset?: number; tags?: Array; From 41296fe2e30bf738a58efb6831b3a94043a91a28 Mon Sep 17 00:00:00 2001 From: Pascal Kaufmann Date: Wed, 6 Nov 2024 13:10:28 +0100 Subject: [PATCH 8/9] Revert back to batch scheduling via nextTick --- packages/api/src/loaders/index.ts | 535 ++++++++++++++---------------- 1 file changed, 244 insertions(+), 291 deletions(-) diff --git a/packages/api/src/loaders/index.ts b/packages/api/src/loaders/index.ts index 41ad4e228b..102e57fcfb 100644 --- a/packages/api/src/loaders/index.ts +++ b/packages/api/src/loaders/index.ts @@ -38,327 +38,280 @@ const loaders = async ( unchainedAPI: UnchainedCore, ): Promise => { return { - assortmentLoader: new DataLoader( - async (queries) => { - const assortmentIds = [...new Set(queries.map((q) => q.assortmentId).filter(Boolean))]; - - const assortments = await unchainedAPI.modules.assortments.findAssortments({ - assortmentIds, - includeInactive: true, - includeLeaves: true, + assortmentLoader: new DataLoader(async (queries) => { + const assortmentIds = [...new Set(queries.map((q) => q.assortmentId).filter(Boolean))]; + + const assortments = await unchainedAPI.modules.assortments.findAssortments({ + assortmentIds, + includeInactive: true, + includeLeaves: true, + }); + + return queries.map(({ assortmentId }) => { + return assortments.find((assortment) => { + if (assortment._id !== assortmentId) return false; + return true; }); + }); + }), - return queries.map(({ assortmentId }) => { - return assortments.find((assortment) => { - if (assortment._id !== assortmentId) return false; - return true; - }); - }); - }, - { batchScheduleFn: (cb) => setImmediate(cb) }, - ), - - assortmentTextLoader: new DataLoader( - async (queries) => { - const assortmentIds = [...new Set(queries.map((q) => q.assortmentId).filter(Boolean))]; - - const texts = await unchainedAPI.modules.assortments.texts.findTexts( - { assortmentId: { $in: assortmentIds } }, - { - sort: { - assortmentId: 1, - }, - }, - ); - - const filterFn = - ({ assortmentId }) => - (text) => - text.assortmentId === assortmentId; - - return getFilteredQueries({ queries, texts, filterFn }); - }, - { batchScheduleFn: (cb) => setImmediate(cb) }, - ), - - assortmentMediaTextLoader: new DataLoader( - async (queries) => { - const assortmentMediaIds = [...new Set(queries.map((q) => q.assortmentMediaId).filter(Boolean))]; - - const texts = await unchainedAPI.modules.assortments.media.texts.findMediaTexts( - { assortmentMediaId: { $in: assortmentMediaIds } }, - { - sort: { - assortmentMediaId: 1, - }, + assortmentTextLoader: new DataLoader(async (queries) => { + const assortmentIds = [...new Set(queries.map((q) => q.assortmentId).filter(Boolean))]; + + const texts = await unchainedAPI.modules.assortments.texts.findTexts( + { assortmentId: { $in: assortmentIds } }, + { + sort: { + assortmentId: 1, }, - ); - - const filterFn = - ({ assortmentMediaId }) => - (text) => - text.assortmentMediaId === assortmentMediaId; - - return getFilteredQueries({ queries, texts, filterFn }); - }, - { batchScheduleFn: (cb) => setImmediate(cb) }, - ), - - assortmentMediasLoader: new DataLoader( - async (queries) => { - const assortmentId = [...new Set(queries.map((q) => q.assortmentId).filter(Boolean))]; - const assortmentMediaItems = await unchainedAPI.modules.assortments.media.findAssortmentMedias({ - assortmentId, - }); + }, + ); - return queries.map((q) => { - return assortmentMediaItems.filter((i) => { - return i.assortmentId === q.assortmentId; - }); - }); - }, - { batchScheduleFn: (cb) => setImmediate(cb) }, - ), + const filterFn = + ({ assortmentId }) => + (text) => + text.assortmentId === assortmentId; - assortmentLinkLoader: new DataLoader( - async (queries) => { - const parentAssortmentIds = [ - ...new Set(queries.map((q) => q.parentAssortmentId).filter(Boolean)), - ]; + return getFilteredQueries({ queries, texts, filterFn }); + }), - const links = await unchainedAPI.modules.assortments.links.findLinks({ - parentAssortmentIds, - }); + assortmentMediaTextLoader: new DataLoader(async (queries) => { + const assortmentMediaIds = [...new Set(queries.map((q) => q.assortmentMediaId).filter(Boolean))]; - return queries.map(({ parentAssortmentId, childAssortmentId }) => { - return links.find((link) => { - if (link.parentAssortmentId !== parentAssortmentId) return false; - if (childAssortmentId && link.childAssortmentId !== childAssortmentId) return false; - return true; - }); - }); - }, - { batchScheduleFn: (cb) => setImmediate(cb) }, - ), - - assortmentLinksLoader: new DataLoader( - async (queries) => { - const parentAssortmentIds = [ - ...new Set(queries.flatMap((q) => q.parentAssortmentId).filter(Boolean)), - ]; - const assortmentIds = [...new Set(queries.flatMap((q) => q.assortmentId).filter(Boolean))]; - - const linksByParentAssortmentId = - parentAssortmentIds?.length && - (await unchainedAPI.modules.assortments.links.findLinks({ - parentAssortmentIds, - })); - const linksByAssortmentId = - assortmentIds?.length && - (await unchainedAPI.modules.assortments.links.findLinks({ - assortmentIds, - })); - - return queries.map(({ parentAssortmentId, assortmentId }) => { - if (parentAssortmentId) { - return linksByParentAssortmentId.filter( - (link) => link.parentAssortmentId === parentAssortmentId, - ); - } - if (assortmentId) { - return linksByAssortmentId.filter( - (link) => - link.parentAssortmentId === assortmentId || link.childAssortmentId === assortmentId, - ); - } - return []; + const texts = await unchainedAPI.modules.assortments.media.texts.findMediaTexts( + { assortmentMediaId: { $in: assortmentMediaIds } }, + { + sort: { + assortmentMediaId: 1, + }, + }, + ); + + const filterFn = + ({ assortmentMediaId }) => + (text) => + text.assortmentMediaId === assortmentMediaId; + + return getFilteredQueries({ queries, texts, filterFn }); + }), + + assortmentMediasLoader: new DataLoader(async (queries) => { + const assortmentId = [...new Set(queries.map((q) => q.assortmentId).filter(Boolean))]; + const assortmentMediaItems = await unchainedAPI.modules.assortments.media.findAssortmentMedias({ + assortmentId, + }); + + return queries.map((q) => { + return assortmentMediaItems.filter((i) => { + return i.assortmentId === q.assortmentId; }); - }, - { batchScheduleFn: (cb) => setImmediate(cb) }, - ), + }); + }), + + assortmentLinkLoader: new DataLoader(async (queries) => { + const parentAssortmentIds = [...new Set(queries.map((q) => q.parentAssortmentId).filter(Boolean))]; - assortmentProductLoader: new DataLoader( - async (queries) => { - const assortmentIds = [...new Set(queries.map((q) => q.assortmentId).filter(Boolean))]; + const links = await unchainedAPI.modules.assortments.links.findLinks({ + parentAssortmentIds, + }); - const assortmentProducts = await unchainedAPI.modules.assortments.products.findProducts({ + return queries.map(({ parentAssortmentId, childAssortmentId }) => { + return links.find((link) => { + if (link.parentAssortmentId !== parentAssortmentId) return false; + if (childAssortmentId && link.childAssortmentId !== childAssortmentId) return false; + return true; + }); + }); + }), + + assortmentLinksLoader: new DataLoader(async (queries) => { + const parentAssortmentIds = [ + ...new Set(queries.flatMap((q) => q.parentAssortmentId).filter(Boolean)), + ]; + const assortmentIds = [...new Set(queries.flatMap((q) => q.assortmentId).filter(Boolean))]; + + const linksByParentAssortmentId = + parentAssortmentIds?.length && + (await unchainedAPI.modules.assortments.links.findLinks({ + parentAssortmentIds, + })); + const linksByAssortmentId = + assortmentIds?.length && + (await unchainedAPI.modules.assortments.links.findLinks({ assortmentIds, + })); + + return queries.map(({ parentAssortmentId, assortmentId }) => { + if (parentAssortmentId) { + return linksByParentAssortmentId.filter( + (link) => link.parentAssortmentId === parentAssortmentId, + ); + } + if (assortmentId) { + return linksByAssortmentId.filter( + (link) => + link.parentAssortmentId === assortmentId || link.childAssortmentId === assortmentId, + ); + } + return []; + }); + }), + + assortmentProductLoader: new DataLoader(async (queries) => { + const assortmentIds = [...new Set(queries.map((q) => q.assortmentId).filter(Boolean))]; + + const assortmentProducts = await unchainedAPI.modules.assortments.products.findProducts({ + assortmentIds, + }); + + return queries.map(({ assortmentId, productId }) => { + return assortmentProducts.find((assortmentProduct) => { + if (assortmentProduct.assortmentId !== assortmentId) return false; + if (assortmentProduct.productId !== productId) return false; + return true; }); + }); + }), - return queries.map(({ assortmentId, productId }) => { - return assortmentProducts.find((assortmentProduct) => { - if (assortmentProduct.assortmentId !== assortmentId) return false; - if (assortmentProduct.productId !== productId) return false; - return true; - }); - }); - }, - { batchScheduleFn: (cb) => setImmediate(cb) }, - ), + filterLoader: new DataLoader(async (queries) => { + const filterIds = [...new Set(queries.map((q) => q.filterId).filter(Boolean))]; - filterLoader: new DataLoader( - async (queries) => { - const filterIds = [...new Set(queries.map((q) => q.filterId).filter(Boolean))]; + const filters = await unchainedAPI.modules.filters.findFilters({ + filterIds, + includeInactive: true, + }); - const filters = await unchainedAPI.modules.filters.findFilters({ - filterIds, - includeInactive: true, + return queries.map(({ filterId }) => { + return filters.find((product) => { + if (product._id !== filterId) return false; + return true; }); + }); + }), - return queries.map(({ filterId }) => { - return filters.find((product) => { - if (product._id !== filterId) return false; - return true; - }); - }); - }, - { batchScheduleFn: (cb) => setImmediate(cb) }, - ), - - filterTextLoader: new DataLoader( - async (queries) => { - const filterIds = [...new Set(queries.map((q) => q.filterId).filter(Boolean))]; - - const texts = await unchainedAPI.modules.filters.texts.findTexts( - { filterId: { $in: filterIds } }, - { - sort: { - filterId: 1, - }, - }, - ); - - const filterFn = - ({ filterId, filterOptionValue }) => - (text) => - text.filterId === filterId && text.filterOptionValue === filterOptionValue; - - return getFilteredQueries({ queries, texts, filterFn }); - }, - { batchScheduleFn: (cb) => setImmediate(cb) }, - ), - - productLoader: new DataLoader( - async (queries) => { - const productIds = [...new Set(queries.map((q) => q.productId).filter(Boolean))]; // you don't need lodash, _.unique my ass - - const products = await unchainedAPI.modules.products.findProducts({ - productIds, - productSelector: { - status: { $exists: true }, - }, - }); + filterTextLoader: new DataLoader(async (queries) => { + const filterIds = [...new Set(queries.map((q) => q.filterId).filter(Boolean))]; - return queries.map(({ productId }) => { - return products.find((product) => { - if (product._id !== productId) return false; - return true; - }); - }); - }, - { batchScheduleFn: (cb) => setImmediate(cb) }, - ), - - productLoaderBySKU: new DataLoader( - async (queries) => { - const skus = [...new Set(queries.map((q) => q.sku).filter(Boolean))]; // you don't need lodash, _.unique my ass - - const products = await unchainedAPI.modules.products.findProducts({ - productSelector: { - 'warehousing.sku': { $in: skus }, - status: { $exists: true }, + const texts = await unchainedAPI.modules.filters.texts.findTexts( + { filterId: { $in: filterIds } }, + { + sort: { + filterId: 1, }, + }, + ); + + const filterFn = + ({ filterId, filterOptionValue }) => + (text) => + text.filterId === filterId && text.filterOptionValue === filterOptionValue; + + return getFilteredQueries({ queries, texts, filterFn }); + }), + + productLoader: new DataLoader(async (queries) => { + const productIds = [...new Set(queries.map((q) => q.productId).filter(Boolean))]; // you don't need lodash, _.unique my ass + + const products = await unchainedAPI.modules.products.findProducts({ + productIds, + productSelector: { + status: { $exists: true }, + }, + }); + + return queries.map(({ productId }) => { + return products.find((product) => { + if (product._id !== productId) return false; + return true; }); - - return queries.map(({ sku }) => { - return products.find((product) => { - if (product.warehousing?.sku !== sku) return false; - return true; - }); + }); + }), + + productLoaderBySKU: new DataLoader(async (queries) => { + const skus = [...new Set(queries.map((q) => q.sku).filter(Boolean))]; // you don't need lodash, _.unique my ass + + const products = await unchainedAPI.modules.products.findProducts({ + productSelector: { + 'warehousing.sku': { $in: skus }, + status: { $exists: true }, + }, + }); + + return queries.map(({ sku }) => { + return products.find((product) => { + if (product.warehousing?.sku !== sku) return false; + return true; }); - }, - { batchScheduleFn: (cb) => setImmediate(cb) }, - ), - - productTextLoader: new DataLoader( - async (queries) => { - const productIds = [...new Set(queries.map((q) => q.productId).filter(Boolean))]; - - const texts = await unchainedAPI.modules.products.texts.findTexts( - { productId: { $in: productIds } }, - { - sort: { - productId: 1, - }, + }); + }), + + productTextLoader: new DataLoader(async (queries) => { + const productIds = [...new Set(queries.map((q) => q.productId).filter(Boolean))]; + + const texts = await unchainedAPI.modules.products.texts.findTexts( + { productId: { $in: productIds } }, + { + sort: { + productId: 1, }, - ); - - const filterFn = - ({ productId }) => - (text) => - text.productId === productId; - - return getFilteredQueries({ queries, texts, filterFn }); - }, - { batchScheduleFn: (cb) => setImmediate(cb) }, - ), - - productMediaTextLoader: new DataLoader( - async (queries) => { - const productMediaIds = [...new Set(queries.map((q) => q.productMediaId).filter(Boolean))]; - - const texts = await unchainedAPI.modules.products.media.texts.findMediaTexts( - { productMediaId: { $in: productMediaIds } }, - { - sort: { - productMediaId: 1, - }, + }, + ); + + const filterFn = + ({ productId }) => + (text) => + text.productId === productId; + + return getFilteredQueries({ queries, texts, filterFn }); + }), + + productMediaTextLoader: new DataLoader(async (queries) => { + const productMediaIds = [...new Set(queries.map((q) => q.productMediaId).filter(Boolean))]; + + const texts = await unchainedAPI.modules.products.media.texts.findMediaTexts( + { productMediaId: { $in: productMediaIds } }, + { + sort: { + productMediaId: 1, }, - ); + }, + ); - const filterFn = - ({ productMediaId }) => - (text) => - text.productMediaId === productMediaId; + const filterFn = + ({ productMediaId }) => + (text) => + text.productMediaId === productMediaId; - return getFilteredQueries({ queries, texts, filterFn }); - }, - { batchScheduleFn: (cb) => setImmediate(cb) }, - ), + return getFilteredQueries({ queries, texts, filterFn }); + }), - fileLoader: new DataLoader( - async (queries) => { - const fileIds = [...new Set(queries.map((q) => q.fileId).filter(Boolean))]; // you don't need lodash, _.unique my ass + fileLoader: new DataLoader(async (queries) => { + const fileIds = [...new Set(queries.map((q) => q.fileId).filter(Boolean))]; // you don't need lodash, _.unique my ass - const files = await unchainedAPI.modules.files.findFiles({ - _id: { $in: fileIds }, - }); + const files = await unchainedAPI.modules.files.findFiles({ + _id: { $in: fileIds }, + }); - return queries.map(({ fileId }) => { - return files.find((file) => { - if (file._id !== fileId) return false; - return true; - }); - }); - }, - { batchScheduleFn: (cb) => setImmediate(cb) }, - ), - - productMediasLoader: new DataLoader( - async (queries) => { - const productId = [...new Set(queries.map((q) => q.productId).filter(Boolean))]; - const productMediaItems = await unchainedAPI.modules.products.media.findProductMedias({ - productId, + return queries.map(({ fileId }) => { + return files.find((file) => { + if (file._id !== fileId) return false; + return true; }); - - return queries.map((q) => { - return productMediaItems.filter((i) => { - return i.productId === q.productId; - }); + }); + }), + + productMediasLoader: new DataLoader(async (queries) => { + const productId = [...new Set(queries.map((q) => q.productId).filter(Boolean))]; + const productMediaItems = await unchainedAPI.modules.products.media.findProductMedias({ + productId, + }); + + return queries.map((q) => { + return productMediaItems.filter((i) => { + return i.productId === q.productId; }); - }, - { batchScheduleFn: (cb) => setImmediate(cb) }, - ), + }); + }), }; }; From c0f27611e6e2627509bed1a61e0d30a8d38a47d9 Mon Sep 17 00:00:00 2001 From: Pascal Kaufmann Date: Wed, 6 Nov 2024 13:19:46 +0100 Subject: [PATCH 9/9] Fix loader --- packages/api/src/loaders/index.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/api/src/loaders/index.ts b/packages/api/src/loaders/index.ts index 102e57fcfb..b244e38e8f 100644 --- a/packages/api/src/loaders/index.ts +++ b/packages/api/src/loaders/index.ts @@ -96,9 +96,9 @@ const loaders = async ( }), assortmentMediasLoader: new DataLoader(async (queries) => { - const assortmentId = [...new Set(queries.map((q) => q.assortmentId).filter(Boolean))]; + const assortmentIds = [...new Set(queries.map((q) => q.assortmentId).filter(Boolean))]; const assortmentMediaItems = await unchainedAPI.modules.assortments.media.findAssortmentMedias({ - assortmentId, + assortmentId: { $in: assortmentIds }, }); return queries.map((q) => { @@ -301,11 +301,10 @@ const loaders = async ( }), productMediasLoader: new DataLoader(async (queries) => { - const productId = [...new Set(queries.map((q) => q.productId).filter(Boolean))]; + const productIds = [...new Set(queries.map((q) => q.productId).filter(Boolean))]; const productMediaItems = await unchainedAPI.modules.products.media.findProductMedias({ - productId, + productId: { $in: productIds }, }); - return queries.map((q) => { return productMediaItems.filter((i) => { return i.productId === q.productId;