diff --git a/package-lock.json b/package-lock.json index e5169b4..d83d1e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "dependencies": { "@apollo/federation": "^0.38.1", "@apollo/gateway": "2.9.3", - "@restorecommerce/facade": "^2.2.8", + "@restorecommerce/facade": "^2.2.9", "@restorecommerce/logger": "^1.3.2", "@restorecommerce/service-config": "^1.0.16", "yamlparser": "^0.0.2" @@ -692,8 +692,7 @@ "node_modules/@bufbuild/protobuf": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.2.2.tgz", - "integrity": "sha512-UNtPCbrwrenpmrXuRwn9jYpPoweNXj8X5sMvYgsqYyaH8jQ6LfUJSk3dJLnBK+6sfYPrF4iAIo5sd5HQ+tg75A==", - "license": "(Apache-2.0 AND BSD-3-Clause)" + "integrity": "sha512-UNtPCbrwrenpmrXuRwn9jYpPoweNXj8X5sMvYgsqYyaH8jQ6LfUJSk3dJLnBK+6sfYPrF4iAIo5sd5HQ+tg75A==" }, "node_modules/@cloudnative/health": { "version": "2.1.2", @@ -1746,7 +1745,6 @@ "version": "1.12.2", "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.12.2.tgz", "integrity": "sha512-bgxdZmgTrJZX50OjyVwz3+mNEnCTNkh3cIqGPWVNeW9jX6bn1ZkU80uPd+67/ZpIJIjRQ9qaHCjhavyoWYxumg==", - "license": "Apache-2.0", "dependencies": { "@grpc/proto-loader": "^0.7.13", "@js-sdsl/ordered-map": "^4.4.2" @@ -1759,7 +1757,6 @@ "version": "0.7.13", "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.7.13.tgz", "integrity": "sha512-AiXO/bfe9bmxBjxxtYxFAXGZvMaN5s8kO+jBHAJCON8rJoB5YS/D6X7ZNc6XQkuHNmyl4CYaMI1fJ/Gn27RGGw==", - "license": "Apache-2.0", "dependencies": { "lodash.camelcase": "^4.3.0", "long": "^5.0.0", @@ -1776,8 +1773,7 @@ "node_modules/@grpc/proto-loader/node_modules/long": { "version": "5.2.3", "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", - "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==", - "license": "Apache-2.0" + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" }, "node_modules/@hapi/bourne": { "version": "3.0.0", @@ -2050,7 +2046,6 @@ "version": "4.4.2", "resolved": "https://registry.npmjs.org/@js-sdsl/ordered-map/-/ordered-map-4.4.2.tgz", "integrity": "sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==", - "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/js-sdsl" @@ -2559,11 +2554,10 @@ } }, "node_modules/@restorecommerce/facade": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@restorecommerce/facade/-/facade-2.2.8.tgz", - "integrity": "sha512-3ttkFoz3NU9KjXN+rIaMKvQD+BELtBd+KKvdnzhAo6vUzF8P3oCdlQQQlMp+I77U2R5y6KRfmv+Zq/0IQ0ZI6A==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@restorecommerce/facade/-/facade-2.2.9.tgz", + "integrity": "sha512-9PzTYlf4qeRVwAxc+ePI+AIQez1xgDlvFXdnG3/5E1x8RvyCMr1+9J4gC9kkkWLzbbEGZTaGIVtUbdA6v2LEYg==", "hasInstallScript": true, - "license": "MIT", "dependencies": { "@apollo/gateway": "^2.9.3", "@apollo/server": "^4.11.2", @@ -2575,9 +2569,9 @@ "@grpc/proto-loader": "^0.7.12", "@koa/cors": "^5.0.0", "@restorecommerce/grpc-client": "^2.2.5", - "@restorecommerce/kafka-client": "^1.2.21", + "@restorecommerce/kafka-client": "^1.2.22", "@restorecommerce/logger": "^1.3.2", - "@restorecommerce/rc-grpc-clients": "^5.1.43", + "@restorecommerce/rc-grpc-clients": "^5.1.44", "@restorecommerce/service-config": "^1.0.16", "array.prototype.flat": "^1.3.1", "co": "^4.6.0", @@ -2607,7 +2601,7 @@ "request-ip": "^3.3.0", "rxjs": "^7.8.1", "ts-proto-descriptors": "2.0.0", - "useragent": "^2.3.0", + "ua-parser-js": "^2.0.0", "uuid": "11.0.2", "winston": "^3.9.0", "ws": "^8.17.0" @@ -2694,7 +2688,6 @@ "version": "2.2.5", "resolved": "https://registry.npmjs.org/@restorecommerce/grpc-client/-/grpc-client-2.2.5.tgz", "integrity": "sha512-kUfRfGCoU5gE0cBBdDA+NElOZ67M5mS16f29rit5iUPLUsZBg4VPKRPps39UWEHTLEn5sUdTdn6UuNvoD6Hkqw==", - "license": "MIT", "dependencies": { "@grpc/grpc-js": "^1.10.10", "@grpc/proto-loader": "^0.7.13", @@ -2715,13 +2708,12 @@ } }, "node_modules/@restorecommerce/kafka-client": { - "version": "1.2.21", - "resolved": "https://registry.npmjs.org/@restorecommerce/kafka-client/-/kafka-client-1.2.21.tgz", - "integrity": "sha512-zBHmPJ6abPa5d0wQFZhIyTh+7XOmXFsvsFbP+8dn7ci4W0/B5M9vU7FY4PCP9HoJVvExolB1DOXyIXJu9YraKA==", - "license": "MIT", + "version": "1.2.22", + "resolved": "https://registry.npmjs.org/@restorecommerce/kafka-client/-/kafka-client-1.2.22.tgz", + "integrity": "sha512-SHAElCFiAvrcYuAalsqYTiDMeVHDCceQyKAhZD6GEphMr+JFgp/CqnCNiw7h7+NIqbBB4847VCi7ZGuMMeNkhg==", "dependencies": { "@restorecommerce/logger": "^1.3.2", - "@restorecommerce/rc-grpc-clients": "^5.1.43", + "@restorecommerce/rc-grpc-clients": "^5.1.44", "async": "^3.2.6", "cls-rtracer": "^2.6.3", "events": "^3.3.0", @@ -2753,10 +2745,9 @@ } }, "node_modules/@restorecommerce/rc-grpc-clients": { - "version": "5.1.43", - "resolved": "https://registry.npmjs.org/@restorecommerce/rc-grpc-clients/-/rc-grpc-clients-5.1.43.tgz", - "integrity": "sha512-+laN74luKWEt4yxefPELgvDxpbYDKlMyzQ9/o0oaFyf0tkRt0YkM8FY6gtogJZ5XxqBfrhZw8B6XT9+j5MJlIg==", - "license": "MIT", + "version": "5.1.44", + "resolved": "https://registry.npmjs.org/@restorecommerce/rc-grpc-clients/-/rc-grpc-clients-5.1.44.tgz", + "integrity": "sha512-3tfpQ4i2bpKCzoICwCWJrx/7iYECyKM9uV3TbZJBKbhsV8gox9/b9LpE9SKIQki5qE3mIf5+7mDpIFXUtCZeGQ==", "dependencies": { "@grpc/grpc-js": "^1.12.2", "@restorecommerce/grpc-client": "^2.2.5", @@ -4204,8 +4195,7 @@ "node_modules/@types/google-protobuf": { "version": "3.15.12", "resolved": "https://registry.npmjs.org/@types/google-protobuf/-/google-protobuf-3.15.12.tgz", - "integrity": "sha512-40um9QqwHjRS92qnOaDpL7RmDK15NuZYo9HihiJRbYkMQZlWnuH8AdvbMy8/o6lgLmKbDUKa+OALCltHdbOTpQ==", - "license": "MIT" + "integrity": "sha512-40um9QqwHjRS92qnOaDpL7RmDK15NuZYo9HihiJRbYkMQZlWnuH8AdvbMy8/o6lgLmKbDUKa+OALCltHdbOTpQ==" }, "node_modules/@types/http-assert": { "version": "1.5.5", @@ -4945,8 +4935,7 @@ "node_modules/abort-controller-x": { "version": "0.4.3", "resolved": "https://registry.npmjs.org/abort-controller-x/-/abort-controller-x-0.4.3.tgz", - "integrity": "sha512-VtUwTNU8fpMwvWGn4xE93ywbogTYsuT+AUxAXOeelbXuQVIwNmC5YLeho9sH4vZ4ITW8414TTAOG1nW6uIVHCA==", - "license": "MIT" + "integrity": "sha512-VtUwTNU8fpMwvWGn4xE93ywbogTYsuT+AUxAXOeelbXuQVIwNmC5YLeho9sH4vZ4ITW8414TTAOG1nW6uIVHCA==" }, "node_modules/accepts": { "version": "1.3.8", @@ -7433,6 +7422,25 @@ "npm": "1.2.8000 || >= 1.4.16" } }, + "node_modules/detect-europe-js": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/detect-europe-js/-/detect-europe-js-0.1.2.tgz", + "integrity": "sha512-lgdERlL3u0aUdHocoouzT10d9I89VVhk0qNRmll7mXdGfJT1/wqZ2ZLA4oJAjeACPY5fT1wsbq2AT+GkuInsow==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/faisalman" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/ua-parser-js" + }, + { + "type": "paypal", + "url": "https://paypal.me/faisalman" + } + ] + }, "node_modules/detect-file": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", @@ -8595,7 +8603,6 @@ "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" } @@ -9658,8 +9665,7 @@ "node_modules/google-protobuf": { "version": "3.21.4", "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.21.4.tgz", - "integrity": "sha512-MnG7N936zcKTco4Jd2PX2U96Kf9PxygAPKBug+74LHzmHXmceN16MmRcdgZv+DGef/S9YvQAfRsNCn4cjf9yyQ==", - "license": "(BSD-3-Clause AND Apache-2.0)" + "integrity": "sha512-MnG7N936zcKTco4Jd2PX2U96Kf9PxygAPKBug+74LHzmHXmceN16MmRcdgZv+DGef/S9YvQAfRsNCn4cjf9yyQ==" }, "node_modules/gopd": { "version": "1.0.1", @@ -10796,6 +10802,25 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-standalone-pwa": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-standalone-pwa/-/is-standalone-pwa-0.1.1.tgz", + "integrity": "sha512-9Cbovsa52vNQCjdXOzeQq5CnCbAcRk05aU62K20WO372NrTv0NxibLFCK6lQ4/iZEFdEA3p3t2VNOn8AJ53F5g==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/faisalman" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/ua-parser-js" + }, + { + "type": "paypal", + "url": "https://paypal.me/faisalman" + } + ] + }, "node_modules/is-stream": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", @@ -11237,7 +11262,6 @@ "version": "2.2.4", "resolved": "https://registry.npmjs.org/kafkajs/-/kafkajs-2.2.4.tgz", "integrity": "sha512-j/YeapB1vfPT2iOIUn/vxdyKEuhuY2PxMBvf5JWux6iSaukAccrMtXEY/Lb7OvavDhOWME589bpLrEdnVHjfjA==", - "license": "MIT", "engines": { "node": ">=14.0.0" } @@ -12459,7 +12483,6 @@ "version": "2.1.10", "resolved": "https://registry.npmjs.org/nice-grpc/-/nice-grpc-2.1.10.tgz", "integrity": "sha512-Nujs/4wWJvE5OSxWPp3M5H+zHJAgsWMo38bMNfKQP1VDeCChp7MiKTkhJBV5JZvrBIkPhYQCLIbfvVqEoSuTuA==", - "license": "MIT", "dependencies": { "@grpc/grpc-js": "^1.10.8", "abort-controller-x": "^0.4.0", @@ -12470,7 +12493,6 @@ "version": "2.0.13", "resolved": "https://registry.npmjs.org/nice-grpc-client-middleware-deadline/-/nice-grpc-client-middleware-deadline-2.0.13.tgz", "integrity": "sha512-TeovaxI2+xgd0HxB9LGdjvrqi8en0WdkFTyoLRolSa2QcvNSUYOWqkWG500BzUowBQtdaEOEV+l/Nd8K0in3kA==", - "license": "MIT", "dependencies": { "nice-grpc-common": "^2.0.2" } @@ -12479,7 +12501,6 @@ "version": "3.1.9", "resolved": "https://registry.npmjs.org/nice-grpc-client-middleware-retry/-/nice-grpc-client-middleware-retry-3.1.9.tgz", "integrity": "sha512-BgbsNjuppxD6hoeCfO5gkBA/G69Tq5d9QX35QLdA46NSjKllelC+FlcgSPMlO9VQKCAPDfp4zzzDJZTNtbvzVw==", - "license": "MIT", "dependencies": { "abort-controller-x": "^0.4.0", "nice-grpc-common": "^2.0.2" @@ -12489,7 +12510,6 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/nice-grpc-common/-/nice-grpc-common-2.0.2.tgz", "integrity": "sha512-7RNWbls5kAL1QVUOXvBsv1uO0wPQK3lHv+cY1gwkTzirnG1Nop4cBJZubpgziNbaVc/bl9QJcyvsf/NQxa3rjQ==", - "license": "MIT", "dependencies": { "ts-error": "^1.0.6" } @@ -15958,6 +15978,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", + "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -16656,7 +16677,6 @@ "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.4.0.tgz", "integrity": "sha512-mRUWCc3KUU4w1jU8sGxICXH/gNS94DvI1gxqDvBzhj1JpcsimQkYiOJfwsPUykUI5ZaspFbSgmBLER8IrQ3tqw==", "hasInstallScript": true, - "license": "BSD-3-Clause", "dependencies": { "@protobufjs/aspromise": "^1.1.2", "@protobufjs/base64": "^1.1.2", @@ -16678,8 +16698,7 @@ "node_modules/protobufjs/node_modules/long": { "version": "5.2.3", "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", - "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==", - "license": "Apache-2.0" + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" }, "node_modules/proxy-addr": { "version": "2.0.7", @@ -16698,7 +16717,8 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==", - "license": "ISC" + "license": "ISC", + "optional": true }, "node_modules/pstree.remy": { "version": "1.1.8", @@ -23286,6 +23306,7 @@ "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, "license": "MIT", "dependencies": { "os-tmpdir": "~1.0.2" @@ -23396,8 +23417,7 @@ "node_modules/ts-error": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/ts-error/-/ts-error-1.0.6.tgz", - "integrity": "sha512-tLJxacIQUM82IR7JO1UUkKlYuUTmoY9HBJAmNWFzheSlDS5SPMcNIepejHJa4BpPQLAcbRhRf3GDJzyj6rbKvA==", - "license": "MIT" + "integrity": "sha512-tLJxacIQUM82IR7JO1UUkKlYuUTmoY9HBJAmNWFzheSlDS5SPMcNIepejHJa4BpPQLAcbRhRf3GDJzyj6rbKvA==" }, "node_modules/ts-graphviz": { "version": "1.8.2", @@ -23460,7 +23480,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/ts-proto-descriptors/-/ts-proto-descriptors-2.0.0.tgz", "integrity": "sha512-wHcTH3xIv11jxgkX5OyCSFfw27agpInAd6yh89hKG6zqIXnjW9SYqSER2CVQxdPj4czeOhGagNvZBEbJPy7qkw==", - "license": "ISC", "dependencies": { "@bufbuild/protobuf": "^2.0.0" } @@ -23829,6 +23848,55 @@ "url": "https://opencollective.com/typescript-eslint" } }, + "node_modules/ua-is-frozen": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ua-is-frozen/-/ua-is-frozen-0.1.2.tgz", + "integrity": "sha512-RwKDW2p3iyWn4UbaxpP2+VxwqXh0jpvdxsYpZ5j/MLLiQOfbsV5shpgQiw93+KMYQPcteeMQ289MaAFzs3G9pw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/faisalman" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/ua-parser-js" + }, + { + "type": "paypal", + "url": "https://paypal.me/faisalman" + } + ] + }, + "node_modules/ua-parser-js": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-2.0.0.tgz", + "integrity": "sha512-SASgD4RlB7+SCMmlVNqrhPw0f/2pGawWBzJ2+LwGTD0GgNnrKGzPJDiraGHJDwW9Zm5DH2lTmUpqDpbZjJY4+Q==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/ua-parser-js" + }, + { + "type": "paypal", + "url": "https://paypal.me/faisalman" + }, + { + "type": "github", + "url": "https://github.com/sponsors/faisalman" + } + ], + "dependencies": { + "detect-europe-js": "^0.1.2", + "is-standalone-pwa": "^0.1.1", + "ua-is-frozen": "^0.1.2" + }, + "bin": { + "ua-parser-js": "script/cli.js" + }, + "engines": { + "node": "*" + } + }, "node_modules/uglify-js": { "version": "3.17.4", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", @@ -24032,32 +24100,6 @@ "license": "MIT", "peer": true }, - "node_modules/useragent": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/useragent/-/useragent-2.3.0.tgz", - "integrity": "sha512-4AoH4pxuSvHCjqLO04sU6U/uE65BYza8l/KKBS0b0hnUPWi+cQ2BpeTEwejCSx9SPV5/U03nniDTrWx5NrmKdw==", - "license": "MIT", - "dependencies": { - "lru-cache": "4.1.x", - "tmp": "0.0.x" - } - }, - "node_modules/useragent/node_modules/lru-cache": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", - "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", - "license": "ISC", - "dependencies": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" - } - }, - "node_modules/useragent/node_modules/yallist": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==", - "license": "ISC" - }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -24081,7 +24123,6 @@ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" ], - "license": "MIT", "bin": { "uuid": "dist/esm/bin/uuid" } diff --git a/package.json b/package.json index 96886b9..381d164 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "dependencies": { "@apollo/federation": "^0.38.1", "@apollo/gateway": "2.9.3", - "@restorecommerce/facade": "^2.2.8", + "@restorecommerce/facade": "^2.2.9", "@restorecommerce/logger": "^1.3.2", "@restorecommerce/service-config": "^1.0.16", "yamlparser": "^0.0.2"