diff --git a/examples/kitchensink/package.json b/examples/kitchensink/package.json index 6c1bc963f7..8de18d8ef2 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.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "type": "module", "homepage": "https://unchained.shop", @@ -36,12 +36,12 @@ "dependencies": { "@apollo/server-plugin-response-cache": "^4.1.3", "@paypal/checkout-server-sdk": "^1.0.3", - "@unchainedshop/api": "^2.16.2", - "@unchainedshop/core-delivery": "^2.16.2", - "@unchainedshop/core-payment": "^2.16.2", - "@unchainedshop/platform": "^2.16.2", - "@unchainedshop/plugins": "^2.16.2", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/api": "^2.17.0", + "@unchainedshop/core-delivery": "^2.17.0", + "@unchainedshop/core-payment": "^2.17.0", + "@unchainedshop/platform": "^2.17.0", + "@unchainedshop/plugins": "^2.17.0", + "@unchainedshop/types": "^2.17.0", "apollo-graphiql-playground": "^0.1.5", "bip32": "^4.0.0", "bitcoinjs-lib": "^6.1.6", @@ -59,8 +59,7 @@ "serve-static": "^1.15.0", "stripe": "^15.12.0", "tiny-secp256k1": "^2.2.3", - "twilio": "^5.3.5", - "uuid": "^10.0.0", + "twilio": "^5.3.6", "web-push": "^3.6.7", "xml-js": "^1.6.11" }, diff --git a/examples/kitchensink/seed.ts b/examples/kitchensink/seed.ts index 079496afaa..1837e0b08a 100644 --- a/examples/kitchensink/seed.ts +++ b/examples/kitchensink/seed.ts @@ -1,7 +1,6 @@ import { hashPassword } from '@unchainedshop/api'; import { DeliveryProviderType } from '@unchainedshop/core-delivery'; import { PaymentProviderType } from '@unchainedshop/core-payment'; -import { v4 as uuidv4 } from 'uuid'; const logger = console; const { @@ -14,7 +13,7 @@ const { } = process.env; const seedPassword = - UNCHAINED_SEED_PASSWORD === 'generate' ? uuidv4().split('-').pop() : UNCHAINED_SEED_PASSWORD; + UNCHAINED_SEED_PASSWORD === 'generate' ? crypto.randomUUID() : UNCHAINED_SEED_PASSWORD; export default async (unchainedAPI) => { const { modules } = unchainedAPI; diff --git a/examples/minimal/package.json b/examples/minimal/package.json index cd2f37442f..66c92a3186 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.16.2", + "version": "2.17.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.16.2" + "@unchainedshop/platform": "^2.17.0" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "mongodb-memory-server": "^10.0.0", "nodemon": "^3.1.7", "prettier": "^3.3.3", diff --git a/examples/minimal/seed.ts b/examples/minimal/seed.ts index 079496afaa..1837e0b08a 100644 --- a/examples/minimal/seed.ts +++ b/examples/minimal/seed.ts @@ -1,7 +1,6 @@ import { hashPassword } from '@unchainedshop/api'; import { DeliveryProviderType } from '@unchainedshop/core-delivery'; import { PaymentProviderType } from '@unchainedshop/core-payment'; -import { v4 as uuidv4 } from 'uuid'; const logger = console; const { @@ -14,7 +13,7 @@ const { } = process.env; const seedPassword = - UNCHAINED_SEED_PASSWORD === 'generate' ? uuidv4().split('-').pop() : UNCHAINED_SEED_PASSWORD; + UNCHAINED_SEED_PASSWORD === 'generate' ? crypto.randomUUID() : UNCHAINED_SEED_PASSWORD; export default async (unchainedAPI) => { const { modules } = unchainedAPI; diff --git a/package-lock.json b/package-lock.json index 214fe44033..784e90c766 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@unchainedshop/engine", - "version": "2.16.2", + "version": "2.17.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@unchainedshop/engine", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "workspaces": [ "packages/*", @@ -14,13 +14,13 @@ "examples/minimal" ], "devDependencies": { - "@apollo/client": "^3.11.8", + "@apollo/client": "^3.11.10", "@shelf/jest-mongodb": "^4.3.2", "@types/jest": "^29.5.14", "@types/lodash.clone": "^4.5.9", "@types/node": "^22.9.0", - "@typescript-eslint/eslint-plugin": "^8.13.0", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/eslint-plugin": "^8.14.0", + "@typescript-eslint/parser": "^8.14.0", "apollo-upload-client": "^18.0.1", "cross-env": "^7.0.3", "dotenv-extended": "^2.9.0", @@ -46,17 +46,17 @@ }, "examples/kitchensink": { "name": "example-kitchensink", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { "@apollo/server-plugin-response-cache": "^4.1.3", "@paypal/checkout-server-sdk": "^1.0.3", - "@unchainedshop/api": "^2.16.2", - "@unchainedshop/core-delivery": "^2.16.2", - "@unchainedshop/core-payment": "^2.16.2", - "@unchainedshop/platform": "^2.16.2", - "@unchainedshop/plugins": "^2.16.2", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/api": "^2.17.0", + "@unchainedshop/core-delivery": "^2.17.0", + "@unchainedshop/core-payment": "^2.17.0", + "@unchainedshop/platform": "^2.17.0", + "@unchainedshop/plugins": "^2.17.0", + "@unchainedshop/types": "^2.17.0", "apollo-graphiql-playground": "^0.1.5", "bip32": "^4.0.0", "bitcoinjs-lib": "^6.1.6", @@ -74,8 +74,7 @@ "serve-static": "^1.15.0", "stripe": "^15.12.0", "tiny-secp256k1": "^2.2.3", - "twilio": "^5.3.5", - "uuid": "^10.0.0", + "twilio": "^5.3.6", "web-push": "^3.6.7", "xml-js": "^1.6.11" }, @@ -109,14 +108,14 @@ }, "examples/minimal": { "name": "@unchainedshop/minimal", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/platform": "^2.16.2" + "@unchainedshop/platform": "^2.17.0" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "mongodb-memory-server": "^10.0.0", "nodemon": "^3.1.7", "prettier": "^3.3.3", @@ -419,9 +418,9 @@ } }, "node_modules/@apollo/client": { - "version": "3.11.8", - "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.11.8.tgz", - "integrity": "sha512-CgG1wbtMjsV2pRGe/eYITmV5B8lXUCYljB2gB/6jWTFQcrvirUVvKg7qtFdjYkQSFbIffU1IDyxgeaN81eTjbA==", + "version": "3.11.10", + "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.11.10.tgz", + "integrity": "sha512-IfGc+X4il0rDqVQBBWdxIKM+ciDCiDzBq9+Bg9z4tJMi87uF6po4v+ddiac1wP0ARgVPsFwEIGxK7jhN4pW8jg==", "dev": true, "license": "MIT", "dependencies": { @@ -557,19 +556,6 @@ "graphql": "^16.6.0" } }, - "node_modules/@apollo/server/node_modules/uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@apollo/usage-reporting-protobuf": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/@apollo/usage-reporting-protobuf/-/usage-reporting-protobuf-4.1.1.tgz", @@ -2214,19 +2200,6 @@ "node": ">=16.0.0" } }, - "node_modules/@metamask/utils/node_modules/uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@mongodb-js/saslprep": { "version": "1.1.9", "resolved": "https://registry.npmjs.org/@mongodb-js/saslprep/-/saslprep-1.1.9.tgz", @@ -2466,7 +2439,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/@paypal/checkout-server-sdk/-/checkout-server-sdk-1.0.3.tgz", "integrity": "sha512-UEdq8akEdMz0Vs4qoQFU2gMp8PpyE/HKyMwiZuK4vIWUKl8jfd1fWKjQN5cDFm9NkFUIp5U7h++rdMOVj9WMNA==", - "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.", + "deprecated": "Package no longer supported. The author suggests using the @paypal/paypal-server-sdk package instead: https://www.npmjs.com/package/@paypal/paypal-server-sdk. Contact Support at https://www.npmjs.com/support for more info.", "license": "SEE LICENSE IN https://github.com/paypal/Checkout-NodeJS-SDK/blob/master/LICENSE", "dependencies": { "@paypal/paypalhttp": "^1.0.1" @@ -2720,47 +2693,47 @@ } }, "node_modules/@shikijs/core": { - "version": "1.22.2", - "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.22.2.tgz", - "integrity": "sha512-bvIQcd8BEeR1yFvOYv6HDiyta2FFVePbzeowf5pPS1avczrPK+cjmaxxh0nx5QzbON7+Sv0sQfQVciO7bN72sg==", + "version": "1.23.1", + "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.23.1.tgz", + "integrity": "sha512-NuOVgwcHgVC6jBVH5V7iblziw6iQbWWHrj5IlZI3Fqu2yx9awH7OIQkXIcsHsUmY19ckwSgUMgrqExEyP5A0TA==", "dev": true, "license": "MIT", "dependencies": { - "@shikijs/engine-javascript": "1.22.2", - "@shikijs/engine-oniguruma": "1.22.2", - "@shikijs/types": "1.22.2", + "@shikijs/engine-javascript": "1.23.1", + "@shikijs/engine-oniguruma": "1.23.1", + "@shikijs/types": "1.23.1", "@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.2", - "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-1.22.2.tgz", - "integrity": "sha512-iOvql09ql6m+3d1vtvP8fLCVCK7BQD1pJFmHIECsujB0V32BJ0Ab6hxk1ewVSMFA58FI0pR2Had9BKZdyQrxTw==", + "version": "1.23.1", + "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-1.23.1.tgz", + "integrity": "sha512-i/LdEwT5k3FVu07SiApRFwRcSJs5QM9+tod5vYCPig1Ywi8GR30zcujbxGQFJHwYD7A5BUqagi8o5KS+LEVgBg==", "dev": true, "license": "MIT", "dependencies": { - "@shikijs/types": "1.22.2", + "@shikijs/types": "1.23.1", "@shikijs/vscode-textmate": "^9.3.0", - "oniguruma-to-js": "0.4.3" + "oniguruma-to-es": "0.4.1" } }, "node_modules/@shikijs/engine-oniguruma": { - "version": "1.22.2", - "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-1.22.2.tgz", - "integrity": "sha512-GIZPAGzQOy56mGvWMoZRPggn0dTlBf1gutV5TdceLCZlFNqWmuc7u+CzD0Gd9vQUTgLbrt0KLzz6FNprqYAxlA==", + "version": "1.23.1", + "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-1.23.1.tgz", + "integrity": "sha512-KQ+lgeJJ5m2ISbUZudLR1qHeH3MnSs2mjFg7bnencgs5jDVPeJ2NVDJ3N5ZHbcTsOIh0qIueyAJnwg7lg7kwXQ==", "dev": true, "license": "MIT", "dependencies": { - "@shikijs/types": "1.22.2", + "@shikijs/types": "1.23.1", "@shikijs/vscode-textmate": "^9.3.0" } }, "node_modules/@shikijs/types": { - "version": "1.22.2", - "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-1.22.2.tgz", - "integrity": "sha512-NCWDa6LGZqTuzjsGfXOBWfjS/fDIbDdmVDug+7ykVe1IKT4c1gakrvlfFYp5NhAXH/lyqLM8wsAPo5wNy73Feg==", + "version": "1.23.1", + "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-1.23.1.tgz", + "integrity": "sha512-98A5hGyEhzzAgQh2dAeHKrWW4HfCMeoFER2z16p5eJ+vmPeF6lZ/elEne6/UCU551F/WqkopqRsr1l2Yu6+A0g==", "dev": true, "license": "MIT", "dependencies": { @@ -3225,9 +3198,9 @@ } }, "node_modules/@types/node-fetch": { - "version": "2.6.11", - "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.11.tgz", - "integrity": "sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==", + "version": "2.6.12", + "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.12.tgz", + "integrity": "sha512-8nneRWKCg3rMtF69nLQJnOYUcbafYeFSjqkw3jCRLsqkWFlHaoQrr5mXmofFGOx3DKn7UfmBMyov8ySvLRVldA==", "license": "MIT", "dependencies": { "@types/node": "*", @@ -3366,17 +3339,17 @@ "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.13.0.tgz", - "integrity": "sha512-nQtBLiZYMUPkclSeC3id+x4uVd1SGtHuElTxL++SfP47jR0zfkZBJHc+gL4qPsgTuypz0k8Y2GheaDYn6Gy3rg==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.14.0.tgz", + "integrity": "sha512-tqp8H7UWFaZj0yNO6bycd5YjMwxa6wIHOLZvWPkidwbgLCsBMetQoGj7DPuAlWa2yGO3H48xmPwjhsSPPCGU5w==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/type-utils": "8.13.0", - "@typescript-eslint/utils": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/type-utils": "8.14.0", + "@typescript-eslint/utils": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -3400,16 +3373,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz", - "integrity": "sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.14.0.tgz", + "integrity": "sha512-2p82Yn9juUJq0XynBXtFCyrBDb6/dJombnz6vbo6mgQEtWHfvHbQuEa9kAOVIt1c9YFwi7H6WxtPj1kg+80+RA==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/typescript-estree": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4" }, "engines": { @@ -3429,14 +3402,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz", - "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.14.0.tgz", + "integrity": "sha512-aBbBrnW9ARIDn92Zbo7rguLnqQ/pOrUguVpbUwzOhkFg2npFDwTgPGqFqE0H5feXcOoJOfX3SxlJaKEVtq54dw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0" + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3447,14 +3420,14 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.13.0.tgz", - "integrity": "sha512-Rqnn6xXTR316fP4D2pohZenJnp+NwQ1mo7/JM+J1LWZENSLkJI8ID8QNtlvFeb0HnFSK94D6q0cnMX6SbE5/vA==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.14.0.tgz", + "integrity": "sha512-Xcz9qOtZuGusVOH5Uk07NGs39wrKkf3AxlkK79RBK6aJC1l03CobXjJbwBPSidetAOV+5rEVuiT1VSBUOAsanQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/typescript-estree": "8.13.0", - "@typescript-eslint/utils": "8.13.0", + "@typescript-eslint/typescript-estree": "8.14.0", + "@typescript-eslint/utils": "8.14.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -3472,9 +3445,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz", - "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.14.0.tgz", + "integrity": "sha512-yjeB9fnO/opvLJFAsPNYlKPnEM8+z4og09Pk504dkqonT02AyL5Z9SSqlE0XqezS93v6CXn49VHvB2G7XSsl0g==", "dev": true, "license": "MIT", "engines": { @@ -3486,14 +3459,14 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz", - "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.14.0.tgz", + "integrity": "sha512-OPXPLYKGZi9XS/49rdaCbR5j/S14HazviBlUQFvSKz3npr3NikF+mrgK7CFVur6XEt95DZp/cmke9d5i3vtVnQ==", "dev": true, "license": "BSD-2-Clause", "dependencies": { - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/visitor-keys": "8.13.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/visitor-keys": "8.14.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -3515,16 +3488,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.13.0.tgz", - "integrity": "sha512-A1EeYOND6Uv250nybnLZapeXpYMl8tkzYUxqmoKAWnI4sei3ihf2XdZVd+vVOmHGcp3t+P7yRrNsyyiXTvShFQ==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.14.0.tgz", + "integrity": "sha512-OGqj6uB8THhrHj0Fk27DcHPojW7zKwKkPmHXHvQ58pLYp4hy8CSUdTKykKeh+5vFqTTVmjz0zCOOPKRovdsgHA==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.13.0", - "@typescript-eslint/types": "8.13.0", - "@typescript-eslint/typescript-estree": "8.13.0" + "@typescript-eslint/scope-manager": "8.14.0", + "@typescript-eslint/types": "8.14.0", + "@typescript-eslint/typescript-estree": "8.14.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -3538,13 +3511,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz", - "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.14.0.tgz", + "integrity": "sha512-vG0XZo8AdTH9OE6VFRwAZldNc7qtJ/6NLGWak+BtENuEUXGZgFpihILPiBvKXvJ2nFu27XNGC6rKiwuaoMbYzQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.13.0", + "@typescript-eslint/types": "8.14.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -4551,6 +4524,7 @@ "version": "1.5.1", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true, "funding": [ { "type": "github", @@ -4757,9 +4731,9 @@ "license": "MIT" }, "node_modules/bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.1.tgz", + "integrity": "sha512-k8TVBiPkPJT9uHLdOKfFpqcfprwBFOAAXXozRubr7R7PfIuKvQlzcI4M0pALeqXN09vdaMbUdUj+pass+uULAg==", "license": "MIT" }, "node_modules/body-parser": { @@ -4915,30 +4889,6 @@ "node": ">=16.20.1" } }, - "node_modules/buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, "node_modules/buffer-crc32": { "version": "0.2.13", "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", @@ -5091,9 +5041,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001677", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001677.tgz", - "integrity": "sha512-fmfjsOlJUpMWu+mAAtZZZHz7UEwsUxIIvu1TJfO1HqFQvB/B+ii0xr9B5HpbZY/mC4XZ8SvjHJqtAY6pDPQEog==", + "version": "1.0.30001680", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001680.tgz", + "integrity": "sha512-rPQy70G6AGUMnbwS1z6Xg+RkHYPAi18ihs47GH0jcxIG7wArmPgY3XbS2sRdBbxJljp3thdT8BIqv9ccCypiPA==", "dev": true, "funding": [ { @@ -5271,13 +5221,16 @@ } }, "node_modules/cipher-base": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", - "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.5.tgz", + "integrity": "sha512-xq7ICKB4TMHUx7Tz1L9O2SGKOhYMOTR32oir45Bq28/AQTpHogKgHcoYFSdRbMtddl+ozNXfXY9jWcgYKmde0w==", "license": "MIT", "dependencies": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" + "inherits": "^2.0.4", + "safe-buffer": "^5.2.1" + }, + "engines": { + "node": ">= 0.10" } }, "node_modules/cjs-module-lexer": { @@ -5700,9 +5653,9 @@ } }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "license": "MIT", "dependencies": { "path-key": "^3.1.0", @@ -6226,9 +6179,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.52", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.52.tgz", - "integrity": "sha512-xtoijJTZ+qeucLBDNztDOuQBE1ksqjvNjvqFoST3nGC7fSpqJ+X6BdTBaY5BHG+IhWWmpc6b/KfpeuEDupEPOQ==", + "version": "1.5.62", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.62.tgz", + "integrity": "sha512-t8c+zLmJHa9dJy96yBZRXGQYoiCEnHYgFwn1asvSPZSUdVxnB62A4RASd7k41ytG3ErFBA0TpHlKg9D9SQBmLg==", "dev": true, "license": "ISC" }, @@ -6252,6 +6205,13 @@ "dev": true, "license": "MIT" }, + "node_modules/emoji-regex-xs": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex-xs/-/emoji-regex-xs-1.0.0.tgz", + "integrity": "sha512-LRlerrMYoIDrT6jgpeZ2YYl/L8EulRTt5hQcYjy5AInh7HWXKimpqx68aknBFpGL2+/IcogTcaydJEgaTmOpDg==", + "dev": true, + "license": "MIT" + }, "node_modules/enabled": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz", @@ -6291,9 +6251,9 @@ } }, "node_modules/es-abstract": { - "version": "1.23.3", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz", - "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==", + "version": "1.23.5", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.5.tgz", + "integrity": "sha512-vlmniQ0WNPwXqA0BnmwV3Ng7HxiGlh6r5U6JcTMNx8OilcAGqVJBHJcPjqOMaczU9fRuRK5Px2BdVyPRnKMMVQ==", "dev": true, "license": "MIT", "dependencies": { @@ -6312,7 +6272,7 @@ "function.prototype.name": "^1.1.6", "get-intrinsic": "^1.2.4", "get-symbol-description": "^1.0.2", - "globalthis": "^1.0.3", + "globalthis": "^1.0.4", "gopd": "^1.0.1", "has-property-descriptors": "^1.0.2", "has-proto": "^1.0.3", @@ -6328,10 +6288,10 @@ "is-string": "^1.0.7", "is-typed-array": "^1.1.13", "is-weakref": "^1.0.2", - "object-inspect": "^1.13.1", + "object-inspect": "^1.13.3", "object-keys": "^1.1.1", "object.assign": "^4.1.5", - "regexp.prototype.flags": "^1.5.2", + "regexp.prototype.flags": "^1.5.3", "safe-array-concat": "^1.1.2", "safe-regex-test": "^1.0.3", "string.prototype.trim": "^1.2.9", @@ -7030,15 +6990,6 @@ "dev": true, "license": "MIT" }, - "node_modules/events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "license": "MIT", - "engines": { - "node": ">=0.8.x" - } - }, "node_modules/example-kitchensink": { "resolved": "examples/kitchensink", "link": true @@ -7665,9 +7616,9 @@ } }, "node_modules/flatted": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", - "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz", + "integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==", "dev": true, "license": "ISC" }, @@ -7879,7 +7830,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", @@ -7896,7 +7847,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" @@ -7909,7 +7860,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", @@ -7920,64 +7871,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": { @@ -8473,20 +8377,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", @@ -8589,20 +8479,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", @@ -8687,20 +8563,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", @@ -9282,26 +9144,6 @@ "node": ">=0.10.0" } }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "BSD-3-Clause" - }, "node_modules/ignore": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", @@ -11154,9 +10996,9 @@ "license": "MIT" }, "node_modules/logform": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/logform/-/logform-2.6.1.tgz", - "integrity": "sha512-CdaO738xRapbKIMVn2m4F6KTj4j7ooJ8POVnebSgKo3KBz5axNXRAL7ZdRjIV6NOr2Uf4vjtRkxrFETOioCqSA==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/logform/-/logform-2.7.0.tgz", + "integrity": "sha512-TFYA4jnP7PVbmlBIfhlSe+WKxs9dklXMTEGcBCIvLhE/Tn3H6Gk1norupVW7m5Cnd4bLcr08AytbyV/xj7f/kQ==", "license": "MIT", "dependencies": { "@colors/colors": "1.6.0", @@ -11492,9 +11334,9 @@ "license": "MIT" }, "node_modules/micromark-util-character": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.0.tgz", - "integrity": "sha512-KvOVV+X1yLBfs9dCBSopq/+G1PcgT3lAK07mC4BzXi5E7ahzMAF8oIupDDJ6mievI6F+lAATkbQQlQixJfT3aQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", + "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", "dev": true, "funding": [ { @@ -11513,9 +11355,9 @@ } }, "node_modules/micromark-util-encode": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.0.tgz", - "integrity": "sha512-pS+ROfCXAGLWCOc8egcBvT0kf27GoWMqtdarNfDcjb6YLuV5cM3ioG45Ys2qOVqeqSbjaKg72vU+Wby3eddPsA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", + "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==", "dev": true, "funding": [ { @@ -11530,9 +11372,9 @@ "license": "MIT" }, "node_modules/micromark-util-sanitize-uri": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.0.tgz", - "integrity": "sha512-WhYv5UEcZrbAtlsnPuChHUAsu/iBPOVaEVsntLBIdpibO0ddy8OzavZz3iL2xVvBZOpolujSliP65Kq0/7KIYw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", + "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", "dev": true, "funding": [ { @@ -11552,9 +11394,9 @@ } }, "node_modules/micromark-util-symbol": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.0.tgz", - "integrity": "sha512-8JZt9ElZ5kyTnO94muPxIGS8oyElRJaiJO8EzV6ZSyGQ1Is8xwl4Q45qU5UOg+bGH4AikWziz0iN4sFLWs8PGw==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", + "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", "dev": true, "funding": [ { @@ -11569,9 +11411,9 @@ "license": "MIT" }, "node_modules/micromark-util-types": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.0.tgz", - "integrity": "sha512-oNh6S2WMHWRZrmutsRmDDfkzKtxF+bc2VxLC9dvtrDIRFln627VsFP6fLMgTryGDljgLPjkrzQSDcPrjPyDJ5w==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.1.tgz", + "integrity": "sha512-534m2WhVTddrcKVepwmVEVnUAmtrx9bfIjNoQHRqfnvdaHQiFytEhJoTgpWJvDEXCO5gLTQh3wYC1PgOJA4NSQ==", "dev": true, "funding": [ { @@ -12489,9 +12331,9 @@ "license": "MIT" }, "node_modules/npm-run-all/node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "version": "6.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.6.tgz", + "integrity": "sha512-VqCUuhcd1iB+dsv8gxPttb5iZh/D0iubSP21g36KXdEuf6I5JiioesUVjpCdHV9MZRUfVFlvwtIUyPfxo5trtw==", "dev": true, "license": "MIT", "dependencies": { @@ -12695,9 +12537,9 @@ } }, "node_modules/object-inspect": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", - "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.3.tgz", + "integrity": "sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==", "license": "MIT", "engines": { "node": ">= 0.4" @@ -12869,17 +12711,16 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/oniguruma-to-js": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/oniguruma-to-js/-/oniguruma-to-js-0.4.3.tgz", - "integrity": "sha512-X0jWUcAlxORhOqqBREgPMgnshB7ZGYszBNspP+tS9hPD3l13CdaXcHbgImoHUHlrvGx/7AvFEkTRhAGYh+jzjQ==", + "node_modules/oniguruma-to-es": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/oniguruma-to-es/-/oniguruma-to-es-0.4.1.tgz", + "integrity": "sha512-rNcEohFz095QKGRovP/yqPIKc+nP+Sjs4YTHMv33nMePGKrq/r2eu9Yh4646M5XluGJsUnmwoXuiXE69KDs+fQ==", "dev": true, "license": "MIT", "dependencies": { - "regex": "^4.3.2" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" + "emoji-regex-xs": "^1.0.0", + "regex": "^5.0.0", + "regex-recursion": "^4.2.1" } }, "node_modules/open": { @@ -13388,15 +13229,6 @@ "dev": true, "license": "MIT" }, - "node_modules/process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", - "license": "MIT", - "engines": { - "node": ">= 0.6.0" - } - }, "node_modules/process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", @@ -13460,11 +13292,14 @@ "license": "MIT" }, "node_modules/psl": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", - "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.10.0.tgz", + "integrity": "sha512-KSKHEbjAnpUuAUserOq0FxGXCUrzC3WniuSJhvdbs102rL55266ZcHBqLWOsG30spQMlPdpy7icATiAQehg/iA==", "dev": true, - "license": "MIT" + "license": "MIT", + "dependencies": { + "punycode": "^2.3.1" + } }, "node_modules/pstree.remy": { "version": "1.1.8", @@ -13831,9 +13666,9 @@ "license": "MIT" }, "node_modules/regex": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/regex/-/regex-4.4.0.tgz", - "integrity": "sha512-uCUSuobNVeqUupowbdZub6ggI5/JZkYyJdDogddJr60L764oxC2pMZov1fQ3wM9bdyzUILDG+Sqx6NAKAz9rKQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/regex/-/regex-5.0.1.tgz", + "integrity": "sha512-gIS00E8eHNWONxofNKOhtlkwBQj/K39ZJamnvMEFH3pNKc06Zz2jtFXF/4ldAaJTzQNhMJU7b5+C7tTq2ukV7Q==", "dev": true, "license": "MIT" }, @@ -13851,6 +13686,23 @@ "node": ">=0.10.0" } }, + "node_modules/regex-recursion": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/regex-recursion/-/regex-recursion-4.2.1.tgz", + "integrity": "sha512-QHNZyZAeKdndD1G3bKAbBEKOSSK4KOHQrAJ01N1LJeb0SoH4DJIeFhp0uUpETgONifS4+P3sOgoA1dhzgrQvhA==", + "dev": true, + "license": "MIT", + "dependencies": { + "regex-utilities": "^2.3.0" + } + }, + "node_modules/regex-utilities": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/regex-utilities/-/regex-utilities-2.3.0.tgz", + "integrity": "sha512-8VhliFJAWRaUiVvREIiW2NXXTmHs4vMNnSzuJVhscgmGav3g9VDxLrQndI3dZZVVdp0ZO/5v0xmX516/7M9cng==", + "dev": true, + "license": "MIT" + }, "node_modules/regexp.prototype.flags": { "version": "1.5.3", "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.3.tgz", @@ -14480,16 +14332,16 @@ } }, "node_modules/shiki": { - "version": "1.22.2", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.22.2.tgz", - "integrity": "sha512-3IZau0NdGKXhH2bBlUk4w1IHNxPh6A5B2sUpyY+8utLu2j/h1QpFkAaUA1bAMxOWWGtTWcAh531vnS4NJKS/lA==", + "version": "1.23.1", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.23.1.tgz", + "integrity": "sha512-8kxV9TH4pXgdKGxNOkrSMydn1Xf6It8lsle0fiqxf7a1149K1WGtdOu3Zb91T5r1JpvRPxqxU3C2XdZZXQnrig==", "dev": true, "license": "MIT", "dependencies": { - "@shikijs/core": "1.22.2", - "@shikijs/engine-javascript": "1.22.2", - "@shikijs/engine-oniguruma": "1.22.2", - "@shikijs/types": "1.22.2", + "@shikijs/core": "1.23.1", + "@shikijs/engine-javascript": "1.23.1", + "@shikijs/engine-oniguruma": "1.23.1", + "@shikijs/types": "1.23.1", "@shikijs/vscode-textmate": "^9.3.0", "@types/hast": "^3.0.4" } @@ -15085,9 +14937,9 @@ "license": "BSD-3-Clause" }, "node_modules/stream-json": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/stream-json/-/stream-json-1.9.0.tgz", - "integrity": "sha512-TqnfW7hRTKje7UobBzXZJ2qOEDJvdcSVgVIK/fopC03xINFuFqQs8RVjyDT4ry7TmOo2ueAXwpXXXG4tNgtvoQ==", + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/stream-json/-/stream-json-1.9.1.tgz", + "integrity": "sha512-uWkjJ+2Nt/LO9Z/JyKZbMusL8Dkh97uUBTv3AJQ74y07lVahLY4eEFsPsE97pxYBwr8nnjMAIch5eqI0gPShyw==", "dev": true, "license": "BSD-3-Clause", "dependencies": { @@ -15103,9 +14955,9 @@ } }, "node_modules/streamx": { - "version": "2.20.1", - "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.20.1.tgz", - "integrity": "sha512-uTa0mU6WUC65iUvzKH4X9hEdvSW7rbPxPtwfWiLMSj3qTdQbAiUboZTxauKfpFuGIGa1C2BYijZ7wgdUXICJhA==", + "version": "2.20.2", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.20.2.tgz", + "integrity": "sha512-aDGDLU+j9tJcUdPGOaHmVF1u/hhI+CsGkT02V3OKlHDV7IukOI+nTWAGkiZEKCO35rWN1wIr4tS7YFr1f4qSvA==", "dev": true, "license": "MIT", "dependencies": { @@ -15525,21 +15377,21 @@ } }, "node_modules/tldts": { - "version": "6.1.58", - "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.58.tgz", - "integrity": "sha512-MQJrJhjHOYGYb8DobR6Y4AdDbd4TYkyQ+KBDVc5ODzs1cbrvPpfN1IemYi9jfipJ/vR1YWvrDli0hg1y19VRoA==", + "version": "6.1.61", + "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.61.tgz", + "integrity": "sha512-rv8LUyez4Ygkopqn+M6OLItAOT9FF3REpPQDkdMx5ix8w4qkuE7Vo2o/vw1nxKQYmJDV8JpAMJQr1b+lTKf0FA==", "license": "MIT", "dependencies": { - "tldts-core": "^6.1.58" + "tldts-core": "^6.1.61" }, "bin": { "tldts": "bin/cli.js" } }, "node_modules/tldts-core": { - "version": "6.1.58", - "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.58.tgz", - "integrity": "sha512-dR936xmhBm7AeqHIhCWwK765gZ7dFyL+IqLSFAjJbFlUXGMLCb8i2PzlzaOuWBuplBTaBYseSb565nk/ZEM0Bg==", + "version": "6.1.61", + "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.61.tgz", + "integrity": "sha512-In7VffkDWUPgwa+c9picLUxvb0RltVwTkSgMNFgvlGSWveCzGBemBqTsgJCL4EDFWZ6WH0fKTsot6yNhzy3ZzQ==", "license": "MIT" }, "node_modules/tmpl": { @@ -15860,9 +15712,9 @@ "license": "Unlicense" }, "node_modules/twilio": { - "version": "5.3.5", - "resolved": "https://registry.npmjs.org/twilio/-/twilio-5.3.5.tgz", - "integrity": "sha512-f/sA1Yd6TyIzfcq0u4QDGU+93afwswsJB+rf3T08tvBAMobBDVR3DfGREwJr5jp8xUic0qWa7GbJidk16NA4bg==", + "version": "5.3.6", + "resolved": "https://registry.npmjs.org/twilio/-/twilio-5.3.6.tgz", + "integrity": "sha512-izHce9sWpiIYyFeZ5pJb5KQeHQ6NDyGuCQ+BOTbBS64ZWq+0InWXvWjZsXbFwGFrhn5MQq0ulouLtYOXiEYY8g==", "license": "MIT", "dependencies": { "axios": "^1.7.4", @@ -16414,9 +16266,9 @@ } }, "node_modules/uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" @@ -16736,35 +16588,35 @@ } }, "node_modules/winston": { - "version": "3.16.0", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.16.0.tgz", - "integrity": "sha512-xz7+cyGN5M+4CmmD4Npq1/4T+UZaz7HaeTlAruFUTjk79CNMq+P6H30vlE4z0qfqJ01VHYQwd7OZo03nYm/+lg==", + "version": "3.17.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.17.0.tgz", + "integrity": "sha512-DLiFIXYC5fMPxaRg832S6F5mJYvePtmO5G9v9IgUFPhXm9/GkXarH/TUrBAVzhTCzAj9anE/+GjrgXp/54nOgw==", "license": "MIT", "dependencies": { "@colors/colors": "^1.6.0", "@dabh/diagnostics": "^2.0.2", "async": "^3.2.3", "is-stream": "^2.0.0", - "logform": "^2.6.0", + "logform": "^2.7.0", "one-time": "^1.0.0", "readable-stream": "^3.4.0", "safe-stable-stringify": "^2.3.1", "stack-trace": "0.0.x", "triple-beam": "^1.3.0", - "winston-transport": "^4.7.0" + "winston-transport": "^4.9.0" }, "engines": { "node": ">= 12.0.0" } }, "node_modules/winston-transport": { - "version": "4.8.0", - "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.8.0.tgz", - "integrity": "sha512-qxSTKswC6llEMZKgCQdaWgDuMJQnhuvF5f2Nk3SNXc4byfQ+voo2mX1Px9dkNOuR8p0KAjfPG29PuYUSIb+vSA==", + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.9.0.tgz", + "integrity": "sha512-8drMJ4rkgaPo1Me4zD/3WLfI/zPdA9o2IipKODunnGDcuqbHwjsbB79ylv04LCGGzU0xQ6vTznOMpQGaLhhm6A==", "license": "MIT", "dependencies": { - "logform": "^2.6.1", - "readable-stream": "^4.5.2", + "logform": "^2.7.0", + "readable-stream": "^3.6.2", "triple-beam": "^1.3.0" }, "engines": { @@ -16772,19 +16624,17 @@ } }, "node_modules/winston-transport/node_modules/readable-stream": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.5.2.tgz", - "integrity": "sha512-yjavECdqeZ3GLXNgRXgeQEdz9fvDDkNKyHnbHRFtOr7/LcfgBcmct7t/ET+HaCTqfh06OzoAxrkN/IfjJBVe+g==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", "license": "MIT", "dependencies": { - "abort-controller": "^3.0.0", - "buffer": "^6.0.3", - "events": "^3.3.0", - "process": "^0.11.10", - "string_decoder": "^1.3.0" + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": ">= 6" } }, "node_modules/winston-transport/node_modules/string_decoder": { @@ -17154,15 +17004,15 @@ }, "packages/api": { "name": "@unchainedshop/api", - "version": "2.16.3", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { "@metamask/eth-sig-util": "^7.0.3", - "@unchainedshop/core": "^2.16.2", - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/roles": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/core": "^2.17.0", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/roles": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "accounting": "0.4.1", "dataloader": "^2.2.2", "graphql-scalars": "^1.23.0", @@ -17175,7 +17025,7 @@ "@types/graphql-upload": "^16.0.7", "@types/locale": "^0.1.4", "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "express": "^4.21.1", "jest": "^29.7.0", "ts-jest": "^29.2.5", @@ -17191,33 +17041,33 @@ }, "packages/core": { "name": "@unchainedshop/core", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/core-accountsjs": "^2.16.2", - "@unchainedshop/core-assortments": "^2.16.2", - "@unchainedshop/core-bookmarks": "^2.16.2", - "@unchainedshop/core-countries": "^2.16.2", - "@unchainedshop/core-currencies": "^2.16.2", - "@unchainedshop/core-delivery": "^2.16.2", - "@unchainedshop/core-enrollments": "^2.16.2", - "@unchainedshop/core-events": "^2.16.2", - "@unchainedshop/core-files": "^2.16.2", - "@unchainedshop/core-filters": "^2.16.2", - "@unchainedshop/core-languages": "^2.16.2", - "@unchainedshop/core-messaging": "^2.16.2", - "@unchainedshop/core-orders": "^2.16.2", - "@unchainedshop/core-payment": "^2.16.2", - "@unchainedshop/core-products": "^2.16.2", - "@unchainedshop/core-quotations": "^2.16.2", - "@unchainedshop/core-users": "^2.16.2", - "@unchainedshop/core-warehousing": "^2.16.2", - "@unchainedshop/core-worker": "^2.16.2", - "@unchainedshop/logger": "^2.16.2" + "@unchainedshop/core-accountsjs": "^2.17.0", + "@unchainedshop/core-assortments": "^2.17.0", + "@unchainedshop/core-bookmarks": "^2.17.0", + "@unchainedshop/core-countries": "^2.17.0", + "@unchainedshop/core-currencies": "^2.17.0", + "@unchainedshop/core-delivery": "^2.17.0", + "@unchainedshop/core-enrollments": "^2.17.0", + "@unchainedshop/core-events": "^2.17.0", + "@unchainedshop/core-files": "^2.17.0", + "@unchainedshop/core-filters": "^2.17.0", + "@unchainedshop/core-languages": "^2.17.0", + "@unchainedshop/core-messaging": "^2.17.0", + "@unchainedshop/core-orders": "^2.17.0", + "@unchainedshop/core-payment": "^2.17.0", + "@unchainedshop/core-products": "^2.17.0", + "@unchainedshop/core-quotations": "^2.17.0", + "@unchainedshop/core-users": "^2.17.0", + "@unchainedshop/core-warehousing": "^2.17.0", + "@unchainedshop/core-worker": "^2.17.0", + "@unchainedshop/logger": "^2.17.0" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17225,7 +17075,7 @@ }, "packages/core-accountsjs": { "name": "@unchainedshop/core-accountsjs", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { "@accounts/database-manager": "0.33.1", @@ -17233,14 +17083,13 @@ "@accounts/mongo-password": "^0.33.0", "@accounts/password": "^0.32.2", "@accounts/server": "0.33.1", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", - "fido2-lib": "^3.5.3", - "uuid": "^10.0.0" + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", + "fido2-lib": "^3.5.3" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17317,13 +17166,13 @@ }, "packages/core-assortments": { "name": "@unchainedshop/core-assortments", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/file-upload": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/file-upload": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "locale": "^0.1.0", "ramda": "^0.30.1", "simpl-schema": "^3.4.6" @@ -17331,7 +17180,7 @@ "devDependencies": { "@types/locale": "^0.1.4", "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "cross-env": "^7.0.3", "jest": "^29.7.0", "ts-jest": "^29.2.5", @@ -17340,16 +17189,16 @@ }, "packages/core-bookmarks": { "name": "@unchainedshop/core-bookmarks", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17357,16 +17206,16 @@ }, "packages/core-countries": { "name": "@unchainedshop/core-countries", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "cross-env": "^7.0.3", "jest": "^29.7.0", "ts-jest": "^29.2.5", @@ -17375,16 +17224,16 @@ }, "packages/core-currencies": { "name": "@unchainedshop/core-currencies", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17392,17 +17241,17 @@ }, "packages/core-delivery": { "name": "@unchainedshop/core-delivery", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17410,13 +17259,13 @@ }, "packages/core-enrollments": { "name": "@unchainedshop/core-enrollments", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { "@breejs/later": "^4.2.0", - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "date-fns": "^4.1.0", "locale": "0.1.0", "simpl-schema": "^3.4.6" @@ -17424,7 +17273,7 @@ "devDependencies": { "@types/locale": "^0.1.4", "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17432,16 +17281,16 @@ }, "packages/core-events": { "name": "@unchainedshop/core-events", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17449,19 +17298,19 @@ }, "packages/core-files": { "name": "@unchainedshop/core-files", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/file-upload": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/file-upload": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "mime-types": "^2.1.35", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17469,20 +17318,20 @@ }, "packages/core-filters": { "name": "@unchainedshop/core-filters", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/mongodb": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/mongodb": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "locale": "^0.1.0", "memoizee": "^0.4.17", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17490,16 +17339,16 @@ }, "packages/core-languages": { "name": "@unchainedshop/core-languages", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17507,15 +17356,15 @@ }, "packages/core-messaging": { "name": "@unchainedshop/core-messaging", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/logger": "^2.16.2", + "@unchainedshop/logger": "^2.17.0", "mustache": "^4.2.0" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "locale": "^0.1.0", "ts-jest": "^29.2.5", @@ -17524,18 +17373,18 @@ }, "packages/core-orders": { "name": "@unchainedshop/core-orders", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { "@kontsedal/locco": "0.1.0", - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17543,17 +17392,17 @@ }, "packages/core-payment": { "name": "@unchainedshop/core-payment", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17561,19 +17410,19 @@ }, "packages/core-products": { "name": "@unchainedshop/core-products", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/file-upload": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/file-upload": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "locale": "^0.1.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17581,18 +17430,18 @@ }, "packages/core-quotations": { "name": "@unchainedshop/core-quotations", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17600,21 +17449,20 @@ }, "packages/core-users": { "name": "@unchainedshop/core-users", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/file-upload": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/roles": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/file-upload": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/roles": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "locale": "^0.1.0", - "simpl-schema": "^3.4.6", - "uuid": "^10.0.0" + "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17622,17 +17470,17 @@ }, "packages/core-warehousing": { "name": "@unchainedshop/core-warehousing", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17640,17 +17488,17 @@ }, "packages/core-worker": { "name": "@unchainedshop/core-worker", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { "@breejs/later": "^4.2.0", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17658,15 +17506,15 @@ }, "packages/events": { "name": "@unchainedshop/events", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/logger": "^2.16.2" + "@unchainedshop/logger": "^2.17.0" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17674,17 +17522,17 @@ }, "packages/file-upload": { "name": "@unchainedshop/file-upload", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "base-x": "^5.0.0", "mime-types": "^2.1.35" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17698,17 +17546,17 @@ }, "packages/logger": { "name": "@unchainedshop/logger", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { "safe-stable-stringify": "^2.5.0", - "winston": "^3.16.0", - "winston-transport": "^4.8.0" + "winston": "^3.17.0", + "winston-transport": "^4.9.0" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" @@ -17716,14 +17564,14 @@ }, "packages/mongodb": { "name": "@unchainedshop/mongodb", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/utils": "^2.16.2" + "@unchainedshop/utils": "^2.17.0" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "typescript": "^5.6.3" }, @@ -17734,25 +17582,25 @@ }, "packages/platform": { "name": "@unchainedshop/platform", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/api": "^2.16.2", - "@unchainedshop/core": "^2.16.2", - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/file-upload": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/mongodb": "^2.16.2", - "@unchainedshop/plugins": "^2.16.2", - "@unchainedshop/roles": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/api": "^2.17.0", + "@unchainedshop/core": "^2.17.0", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/file-upload": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/mongodb": "^2.17.0", + "@unchainedshop/plugins": "^2.17.0", + "@unchainedshop/roles": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "event-iterator": "^2.0.0", "JSONStream": "^1.3.5", "moniker": "0.1.2" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "cross-env": "^7.0.3", "jest": "^29.7.0", "ts-jest": "^29.2.5", @@ -17761,27 +17609,27 @@ }, "packages/plugins": { "name": "@unchainedshop/plugins", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "devDependencies": { "@redis/client": "^1.6.0", "@types/node": "^22.9.0", - "@unchainedshop/api": "^2.16.2", - "@unchainedshop/core-delivery": "^2.16.2", - "@unchainedshop/core-enrollments": "^2.16.2", - "@unchainedshop/core-filters": "^2.16.2", - "@unchainedshop/core-messaging": "^2.16.2", - "@unchainedshop/core-orders": "^2.16.2", - "@unchainedshop/core-payment": "^2.16.2", - "@unchainedshop/core-products": "^2.16.2", - "@unchainedshop/core-quotations": "^2.16.2", - "@unchainedshop/core-warehousing": "^2.16.2", - "@unchainedshop/core-worker": "^2.16.2", - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/file-upload": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/types": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/api": "^2.17.0", + "@unchainedshop/core-delivery": "^2.17.0", + "@unchainedshop/core-enrollments": "^2.17.0", + "@unchainedshop/core-filters": "^2.17.0", + "@unchainedshop/core-messaging": "^2.17.0", + "@unchainedshop/core-orders": "^2.17.0", + "@unchainedshop/core-payment": "^2.17.0", + "@unchainedshop/core-products": "^2.17.0", + "@unchainedshop/core-quotations": "^2.17.0", + "@unchainedshop/core-warehousing": "^2.17.0", + "@unchainedshop/core-worker": "^2.17.0", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/file-upload": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/types": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "event-iterator": "^2.0.0", "express": "^4.21.1", "jest": "^29.7.0", @@ -17808,27 +17656,27 @@ "postfinancecheckout": "^4.1.1", "stripe": "^15.12.0", "tiny-secp256k1": "^2.2.3", - "twilio": "^5.3.5", + "twilio": "^5.3.6", "web-push": "^3.6.3" } }, "packages/roles": { "name": "@unchainedshop/roles", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { "lodash.clone": "4.5.0" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "typescript": "^5.6.3" } }, "packages/shared": { "name": "@unchainedshop/shared", - "version": "2.16.2", + "version": "2.17.0", "dependencies": { "@types/node": "^22.9.0", "typescript": "^5.6.3" @@ -17836,20 +17684,20 @@ }, "packages/ticketing": { "name": "@unchainedshop/ticketing", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/api": "^2.16.2", - "@unchainedshop/core-files": "^2.16.2", - "@unchainedshop/core-warehousing": "^2.16.2", - "@unchainedshop/core-worker": "^2.16.2", - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/mongodb": "^2.16.2" + "@unchainedshop/api": "^2.17.0", + "@unchainedshop/core-files": "^2.17.0", + "@unchainedshop/core-warehousing": "^2.17.0", + "@unchainedshop/core-worker": "^2.17.0", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/mongodb": "^2.17.0" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2" + "@unchainedshop/types": "^2.17.0" }, "peerDependencies": { "@hyperlink/node-apn": "^5.1.4", @@ -17858,7 +17706,7 @@ }, "packages/types": { "name": "@unchainedshop/types", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "devDependencies": { "@accounts/types": "^0.33.2", @@ -17873,10 +17721,10 @@ }, "packages/utils": { "name": "@unchainedshop/utils", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "dependencies": { - "@unchainedshop/logger": "^2.16.2", + "@unchainedshop/logger": "^2.17.0", "abort-controller": "3.0.0", "hashids": "^2.3.0", "locale": "0.1.0", @@ -17884,7 +17732,7 @@ }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "typescript": "^5.6.3" } diff --git a/package.json b/package.json index 6b01b31a04..90ba61fe30 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@unchainedshop/engine", "description": "Unchained Engine", - "version": "2.16.2", + "version": "2.17.0", "license": "EUPL-1.2", "private": "true", "homepage": "https://unchained.shop", @@ -47,13 +47,13 @@ "test:unit-watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --detectOpenHandles --forceExit --watch --config ./packages/unit-jest.config.js" }, "devDependencies": { - "@apollo/client": "^3.11.8", + "@apollo/client": "^3.11.10", "@shelf/jest-mongodb": "^4.3.2", "@types/jest": "^29.5.14", "@types/lodash.clone": "^4.5.9", "@types/node": "^22.9.0", - "@typescript-eslint/eslint-plugin": "^8.13.0", - "@typescript-eslint/parser": "^8.13.0", + "@typescript-eslint/eslint-plugin": "^8.14.0", + "@typescript-eslint/parser": "^8.14.0", "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 d4b5502b5b..0084327ff4 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/api", - "version": "2.16.3", + "version": "2.17.0", "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.16.2", - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/roles": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/core": "^2.17.0", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/roles": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "accounting": "0.4.1", "dataloader": "^2.2.2", "graphql-scalars": "^1.23.0", @@ -65,7 +65,7 @@ "@types/graphql-upload": "^16.0.7", "@types/locale": "^0.1.4", "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "express": "^4.21.1", "jest": "^29.7.0", "ts-jest": "^29.2.5", diff --git a/packages/api/src/loaders/index.ts b/packages/api/src/loaders/index.ts index b244e38e8f..c2e512e0ae 100644 --- a/packages/api/src/loaders/index.ts +++ b/packages/api/src/loaders/index.ts @@ -3,7 +3,6 @@ import DataLoader from 'dataloader'; import { systemLocale } from '@unchainedshop/utils'; import localePkg from 'locale'; import { UnchainedCore } from '@unchainedshop/types/core.js'; -import { ProductStatus } from '@unchainedshop/core-products'; import { UnchainedLoaders } from '@unchainedshop/types/api.js'; const { Locale } = localePkg; diff --git a/packages/core-accountsjs/package.json b/packages/core-accountsjs/package.json index 31f59d4898..01dda3d627 100644 --- a/packages/core-accountsjs/package.json +++ b/packages/core-accountsjs/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-accountsjs", - "version": "2.16.2", + "version": "2.17.0", "main": "lib/accounts-index.js", "exports": { ".": "./lib/accounts-index.js", @@ -36,14 +36,13 @@ "@accounts/mongo-password": "^0.33.0", "@accounts/password": "^0.32.2", "@accounts/server": "0.33.1", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", - "fido2-lib": "^3.5.3", - "uuid": "^10.0.0" + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", + "fido2-lib": "^3.5.3" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-accountsjs/src/accounts/accountsServer.ts b/packages/core-accountsjs/src/accounts/accountsServer.ts index 97cce4fa5b..30dde15e8c 100644 --- a/packages/core-accountsjs/src/accounts/accountsServer.ts +++ b/packages/core-accountsjs/src/accounts/accountsServer.ts @@ -43,7 +43,6 @@ export class UnchainedAccountsServer extends AccountsServer< }, }, }, - { multi: true }, ); } diff --git a/packages/core-accountsjs/src/module/configureAccountsModule.ts b/packages/core-accountsjs/src/module/configureAccountsModule.ts index b6ff00f89a..5da9b7e405 100644 --- a/packages/core-accountsjs/src/module/configureAccountsModule.ts +++ b/packages/core-accountsjs/src/module/configureAccountsModule.ts @@ -1,6 +1,5 @@ import { AccountsModule, AccountsSettingsOptions } from '@unchainedshop/types/accounts.js'; -import { v4 as uuidv4 } from 'uuid'; import { ModuleInput } from '@unchainedshop/types/core.js'; import { Context } from '@unchainedshop/types/api.js'; import { accountsSettings } from '../accounts-settings.js'; @@ -198,7 +197,7 @@ export const configureAccountsModule = async ({ // User management setUsername: (_id, username) => dbManager.setUsername(_id, username), setPassword: async (userId, { newPlainPassword }) => { - const newPassword = newPlainPassword ? hashPassword(newPlainPassword) : uuidv4().split('-').pop(); + const newPassword = newPlainPassword ? hashPassword(newPlainPassword) : crypto.randomUUID(); await accountsPassword.setPassword(userId, newPassword); }, diff --git a/packages/core-assortments/package.json b/packages/core-assortments/package.json index 91bebb272e..0bc34ce140 100644 --- a/packages/core-assortments/package.json +++ b/packages/core-assortments/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-assortments", - "version": "2.16.2", + "version": "2.17.0", "main": "lib/assortments-index.js", "exports": { ".": "./lib/assortments-index.js", @@ -31,10 +31,10 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/file-upload": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/file-upload": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "locale": "^0.1.0", "ramda": "^0.30.1", "simpl-schema": "^3.4.6" @@ -42,7 +42,7 @@ "devDependencies": { "@types/locale": "^0.1.4", "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 906f8fb450..08ad206a68 100644 --- a/packages/core-bookmarks/package.json +++ b/packages/core-bookmarks/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-bookmarks", - "version": "2.16.2", + "version": "2.17.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.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 db2d28e287..2d30d69cf8 100644 --- a/packages/core-countries/package.json +++ b/packages/core-countries/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-countries", - "version": "2.16.2", + "version": "2.17.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.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 63259f4596..60bb102434 100644 --- a/packages/core-currencies/package.json +++ b/packages/core-currencies/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-currencies", - "version": "2.16.2", + "version": "2.17.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.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 390e8c5b95..23585d6d5d 100644 --- a/packages/core-delivery/package.json +++ b/packages/core-delivery/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-delivery", - "version": "2.16.2", + "version": "2.17.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.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 9c10577833..335bf55047 100644 --- a/packages/core-enrollments/package.json +++ b/packages/core-enrollments/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-enrollments", - "version": "2.16.2", + "version": "2.17.0", "main": "lib/enrollments-index.js", "exports": { ".": "./lib/enrollments-index.js", @@ -32,9 +32,9 @@ "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { "@breejs/later": "^4.2.0", - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "date-fns": "^4.1.0", "locale": "0.1.0", "simpl-schema": "^3.4.6" @@ -42,7 +42,7 @@ "devDependencies": { "@types/locale": "^0.1.4", "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 98dd489c93..08f48b52b7 100644 --- a/packages/core-events/package.json +++ b/packages/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-events", - "version": "2.16.2", + "version": "2.17.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.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 f7f007e778..57ea739c30 100644 --- a/packages/core-files/package.json +++ b/packages/core-files/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-files", - "version": "2.16.2", + "version": "2.17.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.16.2", - "@unchainedshop/file-upload": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/file-upload": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "mime-types": "^2.1.35", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 14c177d3e2..21d0281454 100644 --- a/packages/core-filters/package.json +++ b/packages/core-filters/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-filters", - "version": "2.16.2", + "version": "2.17.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.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/mongodb": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/mongodb": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "locale": "^0.1.0", "memoizee": "^0.4.17", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 69059b0ba4..d4d2bf07b1 100644 --- a/packages/core-languages/package.json +++ b/packages/core-languages/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-languages", - "version": "2.16.2", + "version": "2.17.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.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 76729ce9fc..2e3c96833a 100644 --- a/packages/core-messaging/package.json +++ b/packages/core-messaging/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-messaging", - "version": "2.16.2", + "version": "2.17.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.16.2", + "@unchainedshop/logger": "^2.17.0", "mustache": "^4.2.0" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 78e5b8474a..a3aba054bd 100644 --- a/packages/core-orders/package.json +++ b/packages/core-orders/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-orders", - "version": "2.16.2", + "version": "2.17.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.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 af0e2f0129..a66ad88787 100644 --- a/packages/core-payment/package.json +++ b/packages/core-payment/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-payment", - "version": "2.16.2", + "version": "2.17.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.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 7090fcf661..8212376468 100644 --- a/packages/core-products/package.json +++ b/packages/core-products/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-products", - "version": "2.16.2", + "version": "2.17.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.16.2", - "@unchainedshop/file-upload": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/file-upload": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "locale": "^0.1.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 d35a5bb301..78b8c24662 100644 --- a/packages/core-quotations/package.json +++ b/packages/core-quotations/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-quotations", - "version": "2.16.2", + "version": "2.17.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.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/locale": "^0.1.4", "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 50a2e607ca..ea141f419c 100644 --- a/packages/core-users/package.json +++ b/packages/core-users/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-users", - "version": "2.16.2", + "version": "2.17.0", "main": "lib/users-index.js", "exports": { ".": "./lib/users-index.js", @@ -31,18 +31,17 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/file-upload": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/roles": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/file-upload": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/roles": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "locale": "^0.1.0", - "simpl-schema": "^3.4.6", - "uuid": "^10.0.0" + "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "ts-jest": "^29.2.5", "typescript": "^5.6.3" diff --git a/packages/core-users/src/module/configureUsersModule.ts b/packages/core-users/src/module/configureUsersModule.ts index 4a65803093..0457b08763 100644 --- a/packages/core-users/src/module/configureUsersModule.ts +++ b/packages/core-users/src/module/configureUsersModule.ts @@ -7,7 +7,6 @@ import { generateDbFilterById, buildSortOptions, mongodb } from '@unchainedshop/ import { systemLocale } from '@unchainedshop/utils'; import { FileDirector } from '@unchainedshop/file-upload'; import { SortDirection, SortOption } from '@unchainedshop/types/api.js'; -import { v4 as uuidv4 } from 'uuid'; import { UsersCollection } from '../db/UsersCollection.js'; import addMigrations from './addMigrations.js'; @@ -153,9 +152,11 @@ export const configureUsersModule = async ({ returnDocument: 'after', }); - await emit('USER_UPDATE_AVATAR', { - user: removeConfidentialServiceHashes(user), - }); + if (user) { + await emit('USER_UPDATE_AVATAR', { + user: removeConfidentialServiceHashes(user), + }); + } return user; }, @@ -180,9 +181,11 @@ export const configureUsersModule = async ({ returnDocument: 'after', }); - await emit('USER_UPDATE_HEARTBEAT', { - user: removeConfidentialServiceHashes(user), - }); + if (user) { + await emit('USER_UPDATE_HEARTBEAT', { + user: removeConfidentialServiceHashes(user), + }); + } return user; }, @@ -208,13 +211,15 @@ export const configureUsersModule = async ({ if (!verified) return []; return [ { - address: `${address}@${uuidv4()}.unchained.local`, + address: `${address}@${crypto.randomUUID()}.unchained.local`, verified: true, }, ]; }); - const obfuscatedUsername = existingUser.username ? `${existingUser.username}-${uuidv4()}` : null; + const obfuscatedUsername = existingUser.username + ? `${existingUser.username}-${crypto.randomUUID()}` + : null; Users.updateOne(userFilter, { $set: { @@ -225,9 +230,11 @@ export const configureUsersModule = async ({ }); const user = await Users.findOneAndDelete(userFilter); - await emit('USER_REMOVE', { - user: removeConfidentialServiceHashes(user), - }); + if (user) { + await emit('USER_REMOVE', { + user: removeConfidentialServiceHashes(user), + }); + } return user; }, updateProfile: async (userId, updatedData) => { @@ -259,9 +266,11 @@ export const configureUsersModule = async ({ returnDocument: 'after', }); - await emit('USER_UPDATE_PROFILE', { - user: removeConfidentialServiceHashes(user), - }); + if (user) { + await emit('USER_UPDATE_PROFILE', { + user: removeConfidentialServiceHashes(user), + }); + } return user; }, @@ -291,9 +300,11 @@ export const configureUsersModule = async ({ returnDocument: 'after', }); - await emit('USER_UPDATE_BILLING_ADDRESS', { - user: removeConfidentialServiceHashes(user), - }); + if (updatedUser) { + await emit('USER_UPDATE_BILLING_ADDRESS', { + user: removeConfidentialServiceHashes(updatedUser), + }); + } return updatedUser; }, @@ -319,9 +330,11 @@ export const configureUsersModule = async ({ returnDocument: 'after', }); - await emit('USER_UPDATE_LAST_CONTACT', { - user: removeConfidentialServiceHashes(user), - }); + if (updatedUser) { + await emit('USER_UPDATE_LAST_CONTACT', { + user: removeConfidentialServiceHashes(updatedUser), + }); + } return updatedUser; }, @@ -337,9 +350,11 @@ export const configureUsersModule = async ({ returnDocument: 'after', }); - await emit('USER_UPDATE_ROLE', { - user: removeConfidentialServiceHashes(user), - }); + if (user) { + await emit('USER_UPDATE_ROLE', { + user: removeConfidentialServiceHashes(user), + }); + } return user; }, @@ -353,9 +368,13 @@ export const configureUsersModule = async ({ const user = await Users.findOneAndUpdate(generateDbFilterById(_id), modifier, { returnDocument: 'after', }); - await emit('USER_UPDATE_TAGS', { - user: removeConfidentialServiceHashes(user), - }); + + if (user) { + await emit('USER_UPDATE_TAGS', { + user: removeConfidentialServiceHashes(user), + }); + } + return user; }, @@ -364,9 +383,11 @@ export const configureUsersModule = async ({ ...options, returnDocument: 'after', }); - await emit('USER_UPDATE', { - user: removeConfidentialServiceHashes(user), - }); + if (user) { + await emit('USER_UPDATE', { + user: removeConfidentialServiceHashes(user), + }); + } return user; }, diff --git a/packages/core-warehousing/package.json b/packages/core-warehousing/package.json index 4369cb02da..9d1f4f63e8 100644 --- a/packages/core-warehousing/package.json +++ b/packages/core-warehousing/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-warehousing", - "version": "2.16.2", + "version": "2.17.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.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 4b1449f641..7f69964d2c 100644 --- a/packages/core-worker/package.json +++ b/packages/core-worker/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core-worker", - "version": "2.16.2", + "version": "2.17.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.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "simpl-schema": "^3.4.6" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 9120b42ae3..30b967d598 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/core", - "version": "2.16.2", + "version": "2.17.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.16.2", - "@unchainedshop/core-assortments": "^2.16.2", - "@unchainedshop/core-bookmarks": "^2.16.2", - "@unchainedshop/core-countries": "^2.16.2", - "@unchainedshop/core-currencies": "^2.16.2", - "@unchainedshop/core-delivery": "^2.16.2", - "@unchainedshop/core-enrollments": "^2.16.2", - "@unchainedshop/core-events": "^2.16.2", - "@unchainedshop/core-files": "^2.16.2", - "@unchainedshop/core-filters": "^2.16.2", - "@unchainedshop/core-languages": "^2.16.2", - "@unchainedshop/core-messaging": "^2.16.2", - "@unchainedshop/core-orders": "^2.16.2", - "@unchainedshop/core-payment": "^2.16.2", - "@unchainedshop/core-products": "^2.16.2", - "@unchainedshop/core-quotations": "^2.16.2", - "@unchainedshop/core-users": "^2.16.2", - "@unchainedshop/core-warehousing": "^2.16.2", - "@unchainedshop/core-worker": "^2.16.2", - "@unchainedshop/logger": "^2.16.2" + "@unchainedshop/core-accountsjs": "^2.17.0", + "@unchainedshop/core-assortments": "^2.17.0", + "@unchainedshop/core-bookmarks": "^2.17.0", + "@unchainedshop/core-countries": "^2.17.0", + "@unchainedshop/core-currencies": "^2.17.0", + "@unchainedshop/core-delivery": "^2.17.0", + "@unchainedshop/core-enrollments": "^2.17.0", + "@unchainedshop/core-events": "^2.17.0", + "@unchainedshop/core-files": "^2.17.0", + "@unchainedshop/core-filters": "^2.17.0", + "@unchainedshop/core-languages": "^2.17.0", + "@unchainedshop/core-messaging": "^2.17.0", + "@unchainedshop/core-orders": "^2.17.0", + "@unchainedshop/core-payment": "^2.17.0", + "@unchainedshop/core-products": "^2.17.0", + "@unchainedshop/core-quotations": "^2.17.0", + "@unchainedshop/core-users": "^2.17.0", + "@unchainedshop/core-warehousing": "^2.17.0", + "@unchainedshop/core-worker": "^2.17.0", + "@unchainedshop/logger": "^2.17.0" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 78d6a69f8b..24b6360ada 100644 --- a/packages/events/package.json +++ b/packages/events/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/events", - "version": "2.16.2", + "version": "2.17.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.16.2" + "@unchainedshop/logger": "^2.17.0" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 3d5738e875..f284939ee6 100644 --- a/packages/file-upload/package.json +++ b/packages/file-upload/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/file-upload", - "version": "2.16.2", + "version": "2.17.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.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "base-x": "^5.0.0", "mime-types": "^2.1.35" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 4284c6bd5a..9bb4b56a71 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/logger", - "version": "2.16.2", + "version": "2.17.0", "main": "lib/logger-index.js", "exports": { ".": "./lib/logger-index.js", @@ -32,13 +32,13 @@ "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { "safe-stable-stringify": "^2.5.0", - "winston": "^3.16.0", - "winston-transport": "^4.8.0" + "winston": "^3.17.0", + "winston-transport": "^4.9.0" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 677da70215..195039bdc9 100644 --- a/packages/mongodb/package.json +++ b/packages/mongodb/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/mongodb", - "version": "2.16.2", + "version": "2.17.0", "description": "MongoDB provider for unchained platform", "main": "lib/mongodb-index.js", "exports": { @@ -31,7 +31,7 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/utils": "^2.16.2" + "@unchainedshop/utils": "^2.17.0" }, "peerDependencies": { "@mongodb-js/zstd": "^1.2.2", @@ -39,7 +39,7 @@ }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "typescript": "^5.6.3" } diff --git a/packages/platform/package.json b/packages/platform/package.json index f4fc4492df..86950d59eb 100644 --- a/packages/platform/package.json +++ b/packages/platform/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/platform", - "version": "2.16.2", + "version": "2.17.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.16.2", - "@unchainedshop/core": "^2.16.2", - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/file-upload": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/mongodb": "^2.16.2", - "@unchainedshop/plugins": "^2.16.2", - "@unchainedshop/roles": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/api": "^2.17.0", + "@unchainedshop/core": "^2.17.0", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/file-upload": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/mongodb": "^2.17.0", + "@unchainedshop/plugins": "^2.17.0", + "@unchainedshop/roles": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "event-iterator": "^2.0.0", "JSONStream": "^1.3.5", "moniker": "0.1.2" }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.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 4bbc16613d..d6685a8a3e 100644 --- a/packages/plugins/package.json +++ b/packages/plugins/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/plugins", - "version": "2.16.2", + "version": "2.17.0", "main": "lib/plugins-index.js", "types": "lib/plugins-index.d.ts", "exports": { @@ -82,28 +82,28 @@ "postfinancecheckout": "^4.1.1", "stripe": "^15.12.0", "tiny-secp256k1": "^2.2.3", - "twilio": "^5.3.5", + "twilio": "^5.3.6", "web-push": "^3.6.3" }, "devDependencies": { "@redis/client": "^1.6.0", "@types/node": "^22.9.0", - "@unchainedshop/api": "^2.16.2", - "@unchainedshop/core-delivery": "^2.16.2", - "@unchainedshop/core-enrollments": "^2.16.2", - "@unchainedshop/core-filters": "^2.16.2", - "@unchainedshop/core-messaging": "^2.16.2", - "@unchainedshop/core-orders": "^2.16.2", - "@unchainedshop/core-payment": "^2.16.2", - "@unchainedshop/core-products": "^2.16.2", - "@unchainedshop/core-quotations": "^2.16.2", - "@unchainedshop/core-warehousing": "^2.16.2", - "@unchainedshop/core-worker": "^2.16.2", - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/file-upload": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/types": "^2.16.2", - "@unchainedshop/utils": "^2.16.2", + "@unchainedshop/api": "^2.17.0", + "@unchainedshop/core-delivery": "^2.17.0", + "@unchainedshop/core-enrollments": "^2.17.0", + "@unchainedshop/core-filters": "^2.17.0", + "@unchainedshop/core-messaging": "^2.17.0", + "@unchainedshop/core-orders": "^2.17.0", + "@unchainedshop/core-payment": "^2.17.0", + "@unchainedshop/core-products": "^2.17.0", + "@unchainedshop/core-quotations": "^2.17.0", + "@unchainedshop/core-warehousing": "^2.17.0", + "@unchainedshop/core-worker": "^2.17.0", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/file-upload": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/types": "^2.17.0", + "@unchainedshop/utils": "^2.17.0", "event-iterator": "^2.0.0", "express": "^4.21.1", "jest": "^29.7.0", diff --git a/packages/plugins/src/worker/http-request.ts b/packages/plugins/src/worker/http-request.ts index c79e11642d..41b6044e22 100644 --- a/packages/plugins/src/worker/http-request.ts +++ b/packages/plugins/src/worker/http-request.ts @@ -1,7 +1,6 @@ /// import { IWorkerAdapter } from '@unchainedshop/types/worker.js'; import { WorkerDirector, WorkerAdapter } from '@unchainedshop/core-worker'; -import { log, LogLevel } from '@unchainedshop/logger'; const postFetch = async (url, { data, headers }) => { return fetch(url, { diff --git a/packages/plugins/src/worker/push-notification.ts b/packages/plugins/src/worker/push-notification.ts index 1a01b597e7..bf4097c600 100644 --- a/packages/plugins/src/worker/push-notification.ts +++ b/packages/plugins/src/worker/push-notification.ts @@ -1,12 +1,9 @@ import { WorkerDirector, WorkerAdapter } from '@unchainedshop/core-worker'; -import { createLogger } from '@unchainedshop/logger'; import { IWorkerAdapter } from '@unchainedshop/types/worker.js'; import webPush from 'web-push'; const { PUSH_NOTIFICATION_PUBLIC_KEY, PUSH_NOTIFICATION_PRIVATE_KEY } = process.env; -const logger = createLogger('unchained:worker:push-notification'); - type NotificationOptions = { vapidDetails: { subject: string; diff --git a/packages/plugins/src/worker/sms.ts b/packages/plugins/src/worker/sms.ts index 5a1ad8f4a4..56f7cd404a 100644 --- a/packages/plugins/src/worker/sms.ts +++ b/packages/plugins/src/worker/sms.ts @@ -1,12 +1,9 @@ import { WorkerDirector, WorkerAdapter } from '@unchainedshop/core-worker'; -import { createLogger } from '@unchainedshop/logger'; import { IWorkerAdapter } from '@unchainedshop/types/worker.js'; import Twilio from 'twilio'; const { TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN, TWILIO_SMS_FROM } = process.env; -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" \ --data-urlencode "From=+15017122661" \ diff --git a/packages/roles/package.json b/packages/roles/package.json index 3c7f6159bb..f26c31cf9e 100644 --- a/packages/roles/package.json +++ b/packages/roles/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/roles", - "version": "2.16.2", + "version": "2.17.0", "description": "Roles package for unchained engine", "main": "lib/roles-index.js", "exports": { @@ -35,7 +35,7 @@ }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "typescript": "^5.6.3" } diff --git a/packages/shared/package.json b/packages/shared/package.json index 66619b3032..cf0ee837e2 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,7 +1,7 @@ { "name": "@unchainedshop/shared", "private": true, - "version": "2.16.2", + "version": "2.17.0", "dependencies": { "@types/node": "^22.9.0", "typescript": "^5.6.3" diff --git a/packages/ticketing/package.json b/packages/ticketing/package.json index c8f9cd4659..bd7f80e4af 100644 --- a/packages/ticketing/package.json +++ b/packages/ticketing/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/ticketing", - "version": "2.16.2", + "version": "2.17.0", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { @@ -41,13 +41,13 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/api": "^2.16.2", - "@unchainedshop/core-files": "^2.16.2", - "@unchainedshop/core-warehousing": "^2.16.2", - "@unchainedshop/core-worker": "^2.16.2", - "@unchainedshop/events": "^2.16.2", - "@unchainedshop/logger": "^2.16.2", - "@unchainedshop/mongodb": "^2.16.2" + "@unchainedshop/api": "^2.17.0", + "@unchainedshop/core-files": "^2.17.0", + "@unchainedshop/core-warehousing": "^2.17.0", + "@unchainedshop/core-worker": "^2.17.0", + "@unchainedshop/events": "^2.17.0", + "@unchainedshop/logger": "^2.17.0", + "@unchainedshop/mongodb": "^2.17.0" }, "peerDependencies": { "@hyperlink/node-apn": "^5.1.4", @@ -55,6 +55,6 @@ }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2" + "@unchainedshop/types": "^2.17.0" } } diff --git a/packages/types/package.json b/packages/types/package.json index 1c4301e5fb..43a985a065 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/types", - "version": "2.16.2", + "version": "2.17.0", "description": "Types for unchained core packages", "repository": { "type": "git", diff --git a/packages/utils/package.json b/packages/utils/package.json index 834b556398..9c5811230c 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@unchainedshop/utils", - "version": "2.16.2", + "version": "2.17.0", "main": "lib/utils-index.js", "exports": { ".": "./lib/utils-index.js", @@ -30,7 +30,7 @@ }, "homepage": "https://github.com/unchainedshop/unchained#readme", "dependencies": { - "@unchainedshop/logger": "^2.16.2", + "@unchainedshop/logger": "^2.17.0", "abort-controller": "3.0.0", "hashids": "^2.3.0", "locale": "0.1.0", @@ -38,7 +38,7 @@ }, "devDependencies": { "@types/node": "^22.9.0", - "@unchainedshop/types": "^2.16.2", + "@unchainedshop/types": "^2.17.0", "jest": "^29.7.0", "typescript": "^5.6.3" }