From 5069ba21e2264975dfdf2b57ab79ccbcd51df9cd Mon Sep 17 00:00:00 2001 From: Scott Dormand <61588381+ScottDormand96@users.noreply.github.com> Date: Fri, 29 Nov 2024 13:01:37 +0000 Subject: [PATCH 01/26] RCP job fails locally (#2075) * RCP job fails locally https://eaflood.atlassian.net/browse/IWTF-4249 update node modules within package-lock so rcp is able run locally without running npm install within package each time * remove node modules but running install so get updated * update docker files * remove docker changes * update package-lock files * remove from dockerfile * changes to sales and sqs * run npx lerna exec -- npm install * run npx lerna exec -- npm install * change ci to i as wanting to update package-lock --- .github/workflows/build.yml | 2 +- packages/business-rules-lib/package-lock.json | 2 +- packages/connectors-lib/package-lock.json | 2 +- packages/dynamics-lib/package-lock.json | 2 +- packages/fulfilment-job/package-lock.json | 203 ++++++++--- .../gafl-webapp-service/package-lock.json | 335 ++++++++++++------ packages/payment-mop-up-job/package-lock.json | 189 +++++++--- packages/pocl-job/package-lock.json | 183 +++++++--- .../recurring-payments-job/package-lock.json | 215 ++++++++--- packages/sales-api-service/package-lock.json | 176 ++++++--- .../sqs-receiver-service/package-lock.json | 138 ++++++-- 11 files changed, 1078 insertions(+), 369 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 959881065..1d19cd8a2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: with: node-version: '18.x' - name: Install dependencies - run: npm ci + run: npm i - name: Run tests run: npm run test - name: Fix code coverage paths diff --git a/packages/business-rules-lib/package-lock.json b/packages/business-rules-lib/package-lock.json index 6ae77b27f..b1065359a 100644 --- a/packages/business-rules-lib/package-lock.json +++ b/packages/business-rules-lib/package-lock.json @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/connectors-lib/package-lock.json b/packages/connectors-lib/package-lock.json index f2fd5dae4..3b9c2ca83 100644 --- a/packages/connectors-lib/package-lock.json +++ b/packages/connectors-lib/package-lock.json @@ -470,4 +470,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/dynamics-lib/package-lock.json b/packages/dynamics-lib/package-lock.json index 2606a068a..b0dfc196f 100644 --- a/packages/dynamics-lib/package-lock.json +++ b/packages/dynamics-lib/package-lock.json @@ -324,4 +324,4 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } -} \ No newline at end of file +} diff --git a/packages/fulfilment-job/package-lock.json b/packages/fulfilment-job/package-lock.json index 86d51b9dc..90b7ef9ba 100644 --- a/packages/fulfilment-job/package-lock.json +++ b/packages/fulfilment-job/package-lock.json @@ -26,6 +26,7 @@ "version": "2.1.8", "resolved": "https://registry.npmjs.org/@airbrake/browser/-/browser-2.1.8.tgz", "integrity": "sha512-3xzpkQUq48R+hVbGlxUFLnv8dZg7M9OhBceX473ZrX4osxgfuKRqB+ecNawevKOftBrsjK2gNBayCXTbE+yFzQ==", + "license": "MIT", "dependencies": { "@types/promise-polyfill": "^6.0.3", "@types/request": "2.48.8", @@ -39,6 +40,7 @@ "version": "2.1.8", "resolved": "https://registry.npmjs.org/@airbrake/node/-/node-2.1.8.tgz", "integrity": "sha512-JuEFJk9hW+5YL4kSS+E6KuiBS9YleWnzo+Fu1j9E3VXOC8bGr+wxMGfhQGFuDBHmpco3g4wAY4t+IHZMtaN0rQ==", + "license": "MIT", "dependencies": { "@airbrake/browser": "^2.1.8", "cross-fetch": "^3.1.5", @@ -50,9 +52,10 @@ } }, "node_modules/@defra-fish/connectors-lib": { - "version": "1.50.0-rc.8", - "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.50.0-rc.8.tgz", - "integrity": "sha512-aXPMRNfXBF6xytV+TD7C3fbeEmMb0m2VPsaDiq4uN4ShqqTg2q3OuAo6YUZypKOkX2tH6/Hj4Qpb3UMerNJ6hg==", + "version": "1.56.0", + "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.56.0.tgz", + "integrity": "sha512-mRBcJGMPbqrv032q2snMXms+VUeT/6nXZYFCILyPqRW32cGuGBFpyZBdcL6peK/uPTlF9gZeJi2gLmxVeJIBrw==", + "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", "aws-sdk": "^2.1074.0", @@ -66,9 +69,10 @@ } }, "node_modules/@defra-fish/dynamics-lib": { - "version": "1.50.0-rc.8", - "resolved": "https://registry.npmjs.org/@defra-fish/dynamics-lib/-/dynamics-lib-1.50.0-rc.8.tgz", - "integrity": "sha512-K0d15rfayclGfqcoIrrv9XaHRTXqnvhPu+1cnRmoWHgaDBeKr/YrGB/H2Y0S5Mq4tk78E1QdYIupJY9oXAWuxA==", + "version": "1.56.0", + "resolved": "https://registry.npmjs.org/@defra-fish/dynamics-lib/-/dynamics-lib-1.56.0.tgz", + "integrity": "sha512-p67qkkPJpKJzewTBDHjk8frVNHOjrgVe+EJoH6K+qes77XpNTZpWJoTvcojR3L4eqPZBjIEgGJAJft27TUW+Ag==", + "license": "SEE LICENSE IN LICENSE", "dependencies": { "cache-manager": "^3.6.0", "cache-manager-ioredis": "^2.1.0", @@ -88,6 +92,7 @@ "version": "9.1.4", "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-9.1.4.tgz", "integrity": "sha512-Ls1oH8jaN1vNsqcaHVYJrKmgMcKsC1wcp8bujvXrHaAqD2iDYq3HoOwsxwo09Cuda5R5nC0o0IxlrlTuvPuzSw==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "9.x.x" } @@ -95,17 +100,20 @@ "node_modules/@hapi/bourne": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/@hapi/bourne/-/bourne-2.1.0.tgz", - "integrity": "sha512-i1BpaNDVLJdRBEKeJWkVO6tYX6DMFBuwMhSuWqLsY4ufeTKGVuV5rBsUhxPayXqnnWHgXUAmWK16H/ykO5Wj4Q==" + "integrity": "sha512-i1BpaNDVLJdRBEKeJWkVO6tYX6DMFBuwMhSuWqLsY4ufeTKGVuV5rBsUhxPayXqnnWHgXUAmWK16H/ykO5Wj4Q==", + "license": "BSD-3-Clause" }, "node_modules/@hapi/hoek": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", - "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==" + "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==", + "license": "BSD-3-Clause" }, "node_modules/@hapi/topo": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz", "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.0.0" } @@ -114,6 +122,7 @@ "version": "17.2.0", "resolved": "https://registry.npmjs.org/@hapi/wreck/-/wreck-17.2.0.tgz", "integrity": "sha512-pJ5kjYoRPYDv+eIuiLQqhGon341fr2bNIYZjuotuPJG/3Ilzr/XtI+JAp0A86E2bYfsS3zBPABuS2ICkaXFT8g==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/boom": "9.x.x", "@hapi/bourne": "2.x.x", @@ -124,6 +133,7 @@ "version": "4.1.5", "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.5.tgz", "integrity": "sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.0.0" } @@ -131,17 +141,20 @@ "node_modules/@sideway/formula": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.1.tgz", - "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==" + "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==", + "license": "BSD-3-Clause" }, "node_modules/@sideway/pinpoint": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", - "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==" + "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==", + "license": "BSD-3-Clause" }, "node_modules/@tootallnate/once": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", + "license": "MIT", "engines": { "node": ">= 6" } @@ -149,25 +162,29 @@ "node_modules/@types/caseless": { "version": "0.12.5", "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz", - "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==" + "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==", + "license": "MIT" }, "node_modules/@types/node": { - "version": "22.5.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.3.tgz", - "integrity": "sha512-njripolh85IA9SQGTAqbmnNZTdxv7X/4OYGPz8tgy5JDr8MP+uDBa921GpYEoDDnwm0Hmn5ZPeJgiiSTPoOzkQ==", + "version": "22.9.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.1.tgz", + "integrity": "sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==", + "license": "MIT", "dependencies": { - "undici-types": "~6.19.2" + "undici-types": "~6.19.8" } }, "node_modules/@types/promise-polyfill": { "version": "6.0.6", "resolved": "https://registry.npmjs.org/@types/promise-polyfill/-/promise-polyfill-6.0.6.tgz", - "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==" + "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==", + "license": "MIT" }, "node_modules/@types/request": { "version": "2.48.8", "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.8.tgz", "integrity": "sha512-whjk1EDJPcAR2kYHRbFl/lKeeKYTi05A15K9bnLInCVroNDCtXce57xKdI0/rQaA3K+6q0eFyUBPmqfSndUZdQ==", + "license": "MIT", "dependencies": { "@types/caseless": "*", "@types/node": "*", @@ -178,12 +195,14 @@ "node_modules/@types/tough-cookie": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", - "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==" + "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", + "license": "MIT" }, "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", "dependencies": { "debug": "4" }, @@ -210,12 +229,14 @@ "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" }, "node_modules/available-typed-arrays": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "license": "MIT", "dependencies": { "possible-typed-array-names": "^1.0.0" }, @@ -227,10 +248,11 @@ } }, "node_modules/aws-sdk": { - "version": "2.1688.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1688.0.tgz", - "integrity": "sha512-L7AWt2+09uDQQfNRUaxvKEM+qHJdwBOln7xiMZg1kE1iNSGSQlwDPGYSFXwdMJDKJkeitJvhFrDhxon3cQ3ppA==", + "version": "2.1692.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1692.0.tgz", + "integrity": "sha512-x511uiJ/57FIsbgUe5csJ13k3uzu25uWQE+XqfBis/sB0SFoiElJWXRkgEAUh0U6n40eT3ay5Ue4oPkRMu1LYw==", "hasInstallScript": true, + "license": "Apache-2.0", "dependencies": { "buffer": "4.9.2", "events": "1.1.1", @@ -251,6 +273,7 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } @@ -272,17 +295,20 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/bintrees": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", - "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==" + "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==", + "license": "MIT" }, "node_modules/bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "license": "MIT" }, "node_modules/bn.js": { "version": "4.12.0", @@ -293,6 +319,7 @@ "version": "4.9.2", "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "license": "MIT", "dependencies": { "base64-js": "^1.0.2", "ieee754": "^1.1.4", @@ -303,6 +330,7 @@ "version": "3.6.3", "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-3.6.3.tgz", "integrity": "sha512-dS4DnV6c6cQcVH5OxzIU1XZaACXwvVIiUPkFytnRmLOACuBGv3GQgRQ1RJGRRw4/9DF14ZK2RFlZu1TUgDniMg==", + "license": "MIT", "dependencies": { "async": "3.2.3", "lodash.clonedeep": "^4.5.0", @@ -313,6 +341,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/cache-manager-ioredis/-/cache-manager-ioredis-2.1.0.tgz", "integrity": "sha512-TCxbp9ceuFveTKWuNaCX8QjoC41rAlHen4s63u9Yd+iXlw3efYmimc/u935PKPxSdhkXpnMes4mxtK3/yb0L4g==", + "license": "MIT", "dependencies": { "ioredis": "^4.14.1" }, @@ -324,6 +353,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -342,6 +372,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz", "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==", + "license": "Apache-2.0", "engines": { "node": ">=0.10.0" } @@ -350,6 +381,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" }, @@ -369,6 +401,7 @@ "version": "3.1.8", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", + "license": "MIT", "dependencies": { "node-fetch": "^2.6.12" } @@ -393,6 +426,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -409,6 +443,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", "engines": { "node": ">=0.4.0" } @@ -417,6 +452,7 @@ "version": "1.5.1", "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==", + "license": "Apache-2.0", "engines": { "node": ">=0.10" } @@ -425,6 +461,7 @@ "version": "1.7.3", "resolved": "https://registry.npmjs.org/dynamics-web-api/-/dynamics-web-api-1.7.3.tgz", "integrity": "sha512-ExscNNVrlXr/KoK5Sg/8GJyWndenHC26YKhnZVHaKOtAxWqsQzvveWnDl289BbFwPmwM18ZZWk8G5fFqPp981w==", + "license": "MIT", "dependencies": { "http-proxy-agent": "^4.0.1", "https-proxy-agent": "^5.0.0" @@ -434,6 +471,7 @@ "version": "2.1.4", "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", + "license": "MIT", "dependencies": { "stackframe": "^1.3.4" } @@ -442,6 +480,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.2.4" }, @@ -453,6 +492,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -461,6 +501,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", "integrity": "sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==", + "license": "MIT", "engines": { "node": ">=0.4.x" } @@ -469,18 +510,21 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "license": "MIT", "dependencies": { "is-callable": "^1.1.3" } }, "node_modules/form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.2.tgz", + "integrity": "sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q==", + "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" + "mime-types": "^2.1.12", + "safe-buffer": "^5.2.1" }, "engines": { "node": ">= 0.12" @@ -490,6 +534,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -498,6 +543,7 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "license": "MIT", "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2", @@ -516,6 +562,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -527,6 +574,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0" }, @@ -538,6 +586,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -549,6 +598,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -560,6 +610,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "license": "MIT", "dependencies": { "has-symbols": "^1.0.3" }, @@ -574,6 +625,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.2" }, @@ -585,6 +637,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", + "license": "MIT", "dependencies": { "@tootallnate/once": "1", "agent-base": "6", @@ -598,6 +651,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==", + "license": "MIT", "dependencies": { "agent-base": "6", "debug": "4" @@ -609,7 +663,8 @@ "node_modules/ieee754": { "version": "1.1.13", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", - "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" + "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==", + "license": "BSD-3-Clause" }, "node_modules/inherits": { "version": "2.0.4", @@ -620,6 +675,7 @@ "version": "4.28.5", "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", + "license": "MIT", "dependencies": { "cluster-key-slot": "^1.1.0", "debug": "^4.3.1", @@ -645,6 +701,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -660,6 +717,7 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -671,6 +729,7 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -685,6 +744,7 @@ "version": "1.1.13", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", + "license": "MIT", "dependencies": { "which-typed-array": "^1.1.14" }, @@ -704,6 +764,7 @@ "version": "0.16.0", "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", + "license": "Apache-2.0", "engines": { "node": ">= 0.6.0" } @@ -712,6 +773,7 @@ "version": "17.13.3", "resolved": "https://registry.npmjs.org/joi/-/joi-17.13.3.tgz", "integrity": "sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.3.0", "@hapi/topo": "^5.1.0", @@ -723,27 +785,32 @@ "node_modules/lodash.clonedeep": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", - "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==" + "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==", + "license": "MIT" }, "node_modules/lodash.defaults": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==" + "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==", + "license": "MIT" }, "node_modules/lodash.flatten": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==" + "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==", + "license": "MIT" }, "node_modules/lodash.isarguments": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==" + "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==", + "license": "MIT" }, "node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "license": "ISC", "dependencies": { "yallist": "^4.0.0" }, @@ -763,6 +830,7 @@ "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -771,6 +839,7 @@ "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", "dependencies": { "mime-db": "1.52.0" }, @@ -800,6 +869,7 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "license": "MIT", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -830,6 +900,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", + "license": "MIT", "engines": { "node": ">=6" } @@ -846,6 +917,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -853,12 +925,14 @@ "node_modules/promise-polyfill": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", - "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==" + "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", + "license": "MIT" }, "node_modules/punycode": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==" + "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==", + "license": "MIT" }, "node_modules/querystring": { "version": "0.2.0", @@ -872,12 +946,14 @@ "node_modules/redis-commands": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", - "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==" + "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==", + "license": "MIT" }, "node_modules/redis-errors": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", "integrity": "sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==", + "license": "MIT", "engines": { "node": ">=4" } @@ -886,6 +962,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", "integrity": "sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==", + "license": "MIT", "dependencies": { "redis-errors": "^1.0.0" }, @@ -897,6 +974,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/redlock/-/redlock-4.2.0.tgz", "integrity": "sha512-j+oQlG+dOwcetUt2WJWttu4CZVeRzUrcVcISFmEmfyuwCVSJ93rDT7YSgg7H7rnxwoRyk/jU46kycVka5tW7jA==", + "license": "MIT", "dependencies": { "bluebird": "^3.7.2" }, @@ -904,6 +982,26 @@ "node": ">=8.0.0" } }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "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" + }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", @@ -912,12 +1010,14 @@ "node_modules/sax": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", - "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==" + "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==", + "license": "ISC" }, "node_modules/set-function-length": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", @@ -934,6 +1034,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/simple-oauth2/-/simple-oauth2-4.3.0.tgz", "integrity": "sha512-gjLIfy7M7WZSf3k5IZCQfEozbQwmW80zR9YMH4ph/WWG6S4U6sGhPujz8X6Hj6sZ8l7acSAxiyM4tF0vIN+E+A==", + "license": "Apache-2.0", "dependencies": { "@hapi/hoek": "^9.0.4", "@hapi/wreck": "^17.0.0", @@ -944,17 +1045,20 @@ "node_modules/stackframe": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", - "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==" + "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", + "license": "MIT" }, "node_modules/standard-as-callback": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", - "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" + "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==", + "license": "MIT" }, "node_modules/tdigest": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", + "license": "MIT", "dependencies": { "bintrees": "1.0.2" } @@ -962,17 +1066,20 @@ "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "license": "MIT" }, "node_modules/undici-types": { "version": "6.19.8", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "license": "MIT" }, "node_modules/url": { "version": "0.10.3", "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", "integrity": "sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==", + "license": "MIT", "dependencies": { "punycode": "1.3.2", "querystring": "0.2.0" @@ -982,6 +1089,7 @@ "version": "0.12.5", "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "is-arguments": "^1.0.4", @@ -994,6 +1102,7 @@ "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } @@ -1001,12 +1110,14 @@ "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "license": "BSD-2-Clause" }, "node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "license": "MIT", "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -1016,6 +1127,7 @@ "version": "1.1.15", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", + "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.7", @@ -1034,6 +1146,7 @@ "version": "0.6.2", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", + "license": "MIT", "dependencies": { "sax": ">=0.6.0", "xmlbuilder": "~11.0.0" @@ -1046,6 +1159,7 @@ "version": "11.0.1", "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "license": "MIT", "engines": { "node": ">=4.0" } @@ -1053,7 +1167,8 @@ "node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "license": "ISC" } } -} \ No newline at end of file +} diff --git a/packages/gafl-webapp-service/package-lock.json b/packages/gafl-webapp-service/package-lock.json index e1ddaf577..29896c05a 100644 --- a/packages/gafl-webapp-service/package-lock.json +++ b/packages/gafl-webapp-service/package-lock.json @@ -56,6 +56,7 @@ "version": "2.1.8", "resolved": "https://registry.npmjs.org/@airbrake/browser/-/browser-2.1.8.tgz", "integrity": "sha512-3xzpkQUq48R+hVbGlxUFLnv8dZg7M9OhBceX473ZrX4osxgfuKRqB+ecNawevKOftBrsjK2gNBayCXTbE+yFzQ==", + "license": "MIT", "dependencies": { "@types/promise-polyfill": "^6.0.3", "@types/request": "2.48.8", @@ -69,6 +70,7 @@ "version": "2.1.8", "resolved": "https://registry.npmjs.org/@airbrake/node/-/node-2.1.8.tgz", "integrity": "sha512-JuEFJk9hW+5YL4kSS+E6KuiBS9YleWnzo+Fu1j9E3VXOC8bGr+wxMGfhQGFuDBHmpco3g4wAY4t+IHZMtaN0rQ==", + "license": "MIT", "dependencies": { "@airbrake/browser": "^2.1.8", "cross-fetch": "^3.1.5", @@ -80,9 +82,10 @@ } }, "node_modules/@defra-fish/business-rules-lib": { - "version": "1.50.0-rc.10", - "resolved": "https://registry.npmjs.org/@defra-fish/business-rules-lib/-/business-rules-lib-1.50.0-rc.10.tgz", - "integrity": "sha512-HGPMV/w4Lh11Pvdoqy985FAJVpwtEdBRBzeP4uGHSGgq+DMsSN9Cl/nK1Ul7r7hkDyKq/cLkfDcd0ys4tOWzWA==", + "version": "1.56.0", + "resolved": "https://registry.npmjs.org/@defra-fish/business-rules-lib/-/business-rules-lib-1.56.0.tgz", + "integrity": "sha512-YiDkql3yx0q/4oP1iwZYN7Xr7r6wh78ZrzNpUqjDwnXbUl8H7uTewFk/npeepR+i9YBiKaQ40qnHEBa2ZdtFXg==", + "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", "moment": "^2.29.1", @@ -93,9 +96,10 @@ } }, "node_modules/@defra-fish/connectors-lib": { - "version": "1.50.0-rc.10", - "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.50.0-rc.10.tgz", - "integrity": "sha512-l5KCX2Hath6rhSWZWxhWsBkkZUU0IZhQ87wvWtOsuGE5F4FCUTLuobGPe3SaiTvLQ3TZruDaGnXECxMtPYxVEQ==", + "version": "1.56.0", + "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.56.0.tgz", + "integrity": "sha512-mRBcJGMPbqrv032q2snMXms+VUeT/6nXZYFCILyPqRW32cGuGBFpyZBdcL6peK/uPTlF9gZeJi2gLmxVeJIBrw==", + "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", "aws-sdk": "^2.1074.0", @@ -663,7 +667,8 @@ "node_modules/@types/caseless": { "version": "0.12.5", "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz", - "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==" + "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==", + "license": "MIT" }, "node_modules/@types/http-cache-semantics": { "version": "4.0.2", @@ -689,12 +694,14 @@ "node_modules/@types/promise-polyfill": { "version": "6.0.6", "resolved": "https://registry.npmjs.org/@types/promise-polyfill/-/promise-polyfill-6.0.6.tgz", - "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==" + "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==", + "license": "MIT" }, "node_modules/@types/request": { "version": "2.48.8", "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.8.tgz", "integrity": "sha512-whjk1EDJPcAR2kYHRbFl/lKeeKYTi05A15K9bnLInCVroNDCtXce57xKdI0/rQaA3K+6q0eFyUBPmqfSndUZdQ==", + "license": "MIT", "dependencies": { "@types/caseless": "*", "@types/node": "*", @@ -703,18 +710,40 @@ } }, "node_modules/@types/request/node_modules/form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.2.tgz", + "integrity": "sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q==", + "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" + "mime-types": "^2.1.12", + "safe-buffer": "^5.2.1" }, "engines": { "node": ">= 0.12" } }, + "node_modules/@types/request/node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "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" + }, "node_modules/@types/responselike": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@types/responselike/-/responselike-1.0.1.tgz", @@ -726,7 +755,8 @@ "node_modules/@types/tough-cookie": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", - "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==" + "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", + "license": "MIT" }, "node_modules/a-sync-waterfall": { "version": "1.0.1", @@ -1234,9 +1264,13 @@ } }, "node_modules/available-typed-arrays": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", + "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "license": "MIT", + "dependencies": { + "possible-typed-array-names": "^1.0.0" + }, "engines": { "node": ">= 0.4" }, @@ -1245,10 +1279,11 @@ } }, "node_modules/aws-sdk": { - "version": "2.1688.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1688.0.tgz", - "integrity": "sha512-L7AWt2+09uDQQfNRUaxvKEM+qHJdwBOln7xiMZg1kE1iNSGSQlwDPGYSFXwdMJDKJkeitJvhFrDhxon3cQ3ppA==", + "version": "2.1692.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1692.0.tgz", + "integrity": "sha512-x511uiJ/57FIsbgUe5csJ13k3uzu25uWQE+XqfBis/sB0SFoiElJWXRkgEAUh0U6n40eT3ay5Ue4oPkRMu1LYw==", "hasInstallScript": true, + "license": "Apache-2.0", "dependencies": { "buffer": "4.9.2", "events": "1.1.1", @@ -1265,15 +1300,11 @@ "node": ">= 10.0.0" } }, - "node_modules/aws-sdk/node_modules/sax": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", - "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==" - }, "node_modules/aws-sdk/node_modules/uuid": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } @@ -1391,6 +1422,26 @@ "node": ">=0.10.0" } }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "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" + }, "node_modules/binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", @@ -1413,7 +1464,8 @@ "node_modules/bintrees": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", - "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==" + "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==", + "license": "MIT" }, "node_modules/blankie": { "version": "5.0.0", @@ -1430,7 +1482,8 @@ "node_modules/bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "license": "MIT" }, "node_modules/brace-expansion": { "version": "1.1.11", @@ -1467,6 +1520,7 @@ "version": "4.9.2", "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "license": "MIT", "dependencies": { "base64-js": "^1.0.2", "ieee754": "^1.1.4", @@ -1491,30 +1545,6 @@ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true }, - "node_modules/buffer/node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, - "node_modules/buffer/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" - }, "node_modules/cache-base": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", @@ -1561,12 +1591,19 @@ } }, "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "license": "MIT", "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -1919,6 +1956,7 @@ "version": "3.1.8", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", + "license": "MIT", "dependencies": { "node-fetch": "^2.6.12" } @@ -2053,17 +2091,20 @@ } }, "node_modules/define-data-property": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", - "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", - "dev": true, + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "license": "MIT", "dependencies": { - "get-intrinsic": "^1.2.1", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" }, "engines": { "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/define-properties": { @@ -2246,10 +2287,32 @@ "version": "2.1.4", "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", + "license": "MIT", "dependencies": { "stackframe": "^1.3.4" } }, + "node_modules/es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "license": "MIT", + "dependencies": { + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/es5-ext": { "version": "0.10.62", "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz", @@ -2312,6 +2375,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", "integrity": "sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==", + "license": "MIT", "engines": { "node": ">=0.4.x" } @@ -2781,6 +2845,7 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "license": "MIT", "dependencies": { "is-callable": "^1.1.3" } @@ -2879,14 +2944,19 @@ "dev": true }, "node_modules/get-intrinsic": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", - "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "license": "MIT", "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", "has-proto": "^1.0.1", - "has-symbols": "^1.0.3" + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -3606,17 +3676,18 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/has/-/has-1.0.4.tgz", "integrity": "sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==", + "dev": true, "engines": { "node": ">= 0.4.0" } }, "node_modules/has-property-descriptors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", - "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", - "dev": true, + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "license": "MIT", "dependencies": { - "get-intrinsic": "^1.1.1" + "es-define-property": "^1.0.0" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -3645,11 +3716,12 @@ } }, "node_modules/has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "license": "MIT", "dependencies": { - "has-symbols": "^1.0.2" + "has-symbols": "^1.0.3" }, "engines": { "node": ">= 0.4" @@ -3697,6 +3769,18 @@ "node": ">=0.10.0" } }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/hoek": { "version": "5.0.4", "resolved": "https://registry.npmjs.org/hoek/-/hoek-5.0.4.tgz", @@ -3763,7 +3847,8 @@ "node_modules/ieee754": { "version": "1.1.13", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", - "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" + "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==", + "license": "BSD-3-Clause" }, "node_modules/ignore": { "version": "5.2.4", @@ -3901,6 +3986,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -3940,6 +4026,7 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -4031,6 +4118,7 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -4132,11 +4220,12 @@ } }, "node_modules/is-typed-array": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", - "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", + "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", + "license": "MIT", "dependencies": { - "which-typed-array": "^1.1.11" + "which-typed-array": "^1.1.14" }, "engines": { "node": ">= 0.4" @@ -4181,6 +4270,12 @@ "node": ">=0.10.0" } }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "license": "MIT" + }, "node_modules/isemail": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/isemail/-/isemail-3.2.0.tgz", @@ -4211,6 +4306,7 @@ "version": "0.16.0", "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", + "license": "Apache-2.0", "engines": { "node": ">= 0.6.0" } @@ -5577,6 +5673,15 @@ "node": ">=0.10.0" } }, + "node_modules/possible-typed-array-names": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", + "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, "node_modules/postcss": { "version": "7.0.39", "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", @@ -5618,7 +5723,8 @@ "node_modules/promise-polyfill": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", - "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==" + "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", + "license": "MIT" }, "node_modules/proxy-from-env": { "version": "1.1.0", @@ -5764,12 +5870,6 @@ "util-deprecate": "~1.0.1" } }, - "node_modules/readable-stream/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "dev": true - }, "node_modules/readdirp": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", @@ -5822,6 +5922,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/redlock/-/redlock-4.2.0.tgz", "integrity": "sha512-j+oQlG+dOwcetUt2WJWttu4CZVeRzUrcVcISFmEmfyuwCVSJ93rDT7YSgg7H7rnxwoRyk/jU46kycVka5tW7jA==", + "license": "MIT", "dependencies": { "bluebird": "^3.7.2" }, @@ -6128,9 +6229,10 @@ } }, "node_modules/sax": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.3.0.tgz", - "integrity": "sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==" + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", + "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==", + "license": "ISC" }, "node_modules/semver": { "version": "7.5.4", @@ -6164,6 +6266,23 @@ "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", "dev": true }, + "node_modules/set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "license": "MIT", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/set-value": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", @@ -6507,7 +6626,8 @@ "node_modules/stackframe": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", - "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==" + "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", + "license": "MIT" }, "node_modules/standard-as-callback": { "version": "2.1.0", @@ -6642,6 +6762,7 @@ "version": "0.1.2", "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", + "license": "MIT", "dependencies": { "bintrees": "1.0.2" } @@ -7056,12 +7177,6 @@ "node": ">=0.10.0" } }, - "node_modules/unset-value/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "dev": true - }, "node_modules/upath": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz", @@ -7083,6 +7198,7 @@ "version": "0.10.3", "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", "integrity": "sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==", + "license": "MIT", "dependencies": { "punycode": "1.3.2", "querystring": "0.2.0" @@ -7091,7 +7207,8 @@ "node_modules/url/node_modules/punycode": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==" + "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==", + "license": "MIT" }, "node_modules/use": { "version": "3.1.1", @@ -7129,6 +7246,7 @@ "version": "0.12.5", "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "is-arguments": "^1.0.4", @@ -7317,15 +7435,16 @@ "dev": true }, "node_modules/which-typed-array": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.11.tgz", - "integrity": "sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew==", + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", + "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", + "license": "MIT", "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" + "has-tostringtag": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -7377,6 +7496,7 @@ "version": "0.6.2", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", + "license": "MIT", "dependencies": { "sax": ">=0.6.0", "xmlbuilder": "~11.0.0" @@ -7389,6 +7509,7 @@ "version": "11.0.1", "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "license": "MIT", "engines": { "node": ">=4.0" } @@ -7445,4 +7566,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/payment-mop-up-job/package-lock.json b/packages/payment-mop-up-job/package-lock.json index d0839e049..9843163d4 100644 --- a/packages/payment-mop-up-job/package-lock.json +++ b/packages/payment-mop-up-job/package-lock.json @@ -23,6 +23,7 @@ "version": "2.1.8", "resolved": "https://registry.npmjs.org/@airbrake/browser/-/browser-2.1.8.tgz", "integrity": "sha512-3xzpkQUq48R+hVbGlxUFLnv8dZg7M9OhBceX473ZrX4osxgfuKRqB+ecNawevKOftBrsjK2gNBayCXTbE+yFzQ==", + "license": "MIT", "dependencies": { "@types/promise-polyfill": "^6.0.3", "@types/request": "2.48.8", @@ -36,6 +37,7 @@ "version": "2.1.8", "resolved": "https://registry.npmjs.org/@airbrake/node/-/node-2.1.8.tgz", "integrity": "sha512-JuEFJk9hW+5YL4kSS+E6KuiBS9YleWnzo+Fu1j9E3VXOC8bGr+wxMGfhQGFuDBHmpco3g4wAY4t+IHZMtaN0rQ==", + "license": "MIT", "dependencies": { "@airbrake/browser": "^2.1.8", "cross-fetch": "^3.1.5", @@ -47,9 +49,10 @@ } }, "node_modules/@defra-fish/business-rules-lib": { - "version": "1.50.0-rc.7", - "resolved": "https://registry.npmjs.org/@defra-fish/business-rules-lib/-/business-rules-lib-1.50.0-rc.7.tgz", - "integrity": "sha512-Zc0wkDOx5H4rADDl1TYtVK3HIFl8uB5udcL0VmlXrCGFG3SOZEgeGElR4I0Y4rEz3Y4F/eP/uYSzscf1HGIsCg==", + "version": "1.56.0", + "resolved": "https://registry.npmjs.org/@defra-fish/business-rules-lib/-/business-rules-lib-1.56.0.tgz", + "integrity": "sha512-YiDkql3yx0q/4oP1iwZYN7Xr7r6wh78ZrzNpUqjDwnXbUl8H7uTewFk/npeepR+i9YBiKaQ40qnHEBa2ZdtFXg==", + "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", "moment": "^2.29.1", @@ -60,9 +63,10 @@ } }, "node_modules/@defra-fish/connectors-lib": { - "version": "1.50.0-rc.7", - "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.50.0-rc.7.tgz", - "integrity": "sha512-DV8J4CnxRuYZTfbX8JCkGhm1gQ4hgScIxdRuoy/X5THMIPaLgDSxBkOH90UT/2D61U8A5QGVfgKjPuKSisfGrA==", + "version": "1.56.0", + "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.56.0.tgz", + "integrity": "sha512-mRBcJGMPbqrv032q2snMXms+VUeT/6nXZYFCILyPqRW32cGuGBFpyZBdcL6peK/uPTlF9gZeJi2gLmxVeJIBrw==", + "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", "aws-sdk": "^2.1074.0", @@ -78,12 +82,14 @@ "node_modules/@hapi/hoek": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", - "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==" + "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==", + "license": "BSD-3-Clause" }, "node_modules/@hapi/topo": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz", "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.0.0" } @@ -92,6 +98,7 @@ "version": "4.1.5", "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.5.tgz", "integrity": "sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.0.0" } @@ -99,35 +106,41 @@ "node_modules/@sideway/formula": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.1.tgz", - "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==" + "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==", + "license": "BSD-3-Clause" }, "node_modules/@sideway/pinpoint": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", - "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==" + "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==", + "license": "BSD-3-Clause" }, "node_modules/@types/caseless": { "version": "0.12.5", "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz", - "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==" + "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==", + "license": "MIT" }, "node_modules/@types/node": { - "version": "22.5.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.3.tgz", - "integrity": "sha512-njripolh85IA9SQGTAqbmnNZTdxv7X/4OYGPz8tgy5JDr8MP+uDBa921GpYEoDDnwm0Hmn5ZPeJgiiSTPoOzkQ==", + "version": "22.9.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.1.tgz", + "integrity": "sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==", + "license": "MIT", "dependencies": { - "undici-types": "~6.19.2" + "undici-types": "~6.19.8" } }, "node_modules/@types/promise-polyfill": { "version": "6.0.6", "resolved": "https://registry.npmjs.org/@types/promise-polyfill/-/promise-polyfill-6.0.6.tgz", - "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==" + "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==", + "license": "MIT" }, "node_modules/@types/request": { "version": "2.48.8", "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.8.tgz", "integrity": "sha512-whjk1EDJPcAR2kYHRbFl/lKeeKYTi05A15K9bnLInCVroNDCtXce57xKdI0/rQaA3K+6q0eFyUBPmqfSndUZdQ==", + "license": "MIT", "dependencies": { "@types/caseless": "*", "@types/node": "*", @@ -138,17 +151,20 @@ "node_modules/@types/tough-cookie": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", - "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==" + "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", + "license": "MIT" }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" }, "node_modules/available-typed-arrays": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "license": "MIT", "dependencies": { "possible-typed-array-names": "^1.0.0" }, @@ -160,10 +176,11 @@ } }, "node_modules/aws-sdk": { - "version": "2.1688.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1688.0.tgz", - "integrity": "sha512-L7AWt2+09uDQQfNRUaxvKEM+qHJdwBOln7xiMZg1kE1iNSGSQlwDPGYSFXwdMJDKJkeitJvhFrDhxon3cQ3ppA==", + "version": "2.1692.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1692.0.tgz", + "integrity": "sha512-x511uiJ/57FIsbgUe5csJ13k3uzu25uWQE+XqfBis/sB0SFoiElJWXRkgEAUh0U6n40eT3ay5Ue4oPkRMu1LYw==", "hasInstallScript": true, + "license": "Apache-2.0", "dependencies": { "buffer": "4.9.2", "events": "1.1.1", @@ -184,6 +201,7 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } @@ -205,17 +223,20 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/bintrees": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", - "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==" + "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==", + "license": "MIT" }, "node_modules/bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "license": "MIT" }, "node_modules/bottleneck": { "version": "2.19.5", @@ -226,6 +247,7 @@ "version": "4.9.2", "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "license": "MIT", "dependencies": { "base64-js": "^1.0.2", "ieee754": "^1.1.4", @@ -236,6 +258,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -254,6 +277,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz", "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==", + "license": "Apache-2.0", "engines": { "node": ">=0.10.0" } @@ -262,6 +286,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" }, @@ -273,6 +298,7 @@ "version": "3.1.8", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", + "license": "MIT", "dependencies": { "node-fetch": "^2.6.12" } @@ -297,6 +323,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -313,6 +340,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", "engines": { "node": ">=0.4.0" } @@ -321,6 +349,7 @@ "version": "1.5.1", "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==", + "license": "Apache-2.0", "engines": { "node": ">=0.10" } @@ -329,6 +358,7 @@ "version": "2.1.4", "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", + "license": "MIT", "dependencies": { "stackframe": "^1.3.4" } @@ -337,6 +367,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.2.4" }, @@ -348,6 +379,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -356,6 +388,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", "integrity": "sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==", + "license": "MIT", "engines": { "node": ">=0.4.x" } @@ -364,18 +397,21 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "license": "MIT", "dependencies": { "is-callable": "^1.1.3" } }, "node_modules/form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.2.tgz", + "integrity": "sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q==", + "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" + "mime-types": "^2.1.12", + "safe-buffer": "^5.2.1" }, "engines": { "node": ">= 0.12" @@ -385,6 +421,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -393,6 +430,7 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "license": "MIT", "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2", @@ -411,6 +449,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -422,6 +461,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0" }, @@ -433,6 +473,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -444,6 +485,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -455,6 +497,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "license": "MIT", "dependencies": { "has-symbols": "^1.0.3" }, @@ -469,6 +512,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.2" }, @@ -479,17 +523,20 @@ "node_modules/ieee754": { "version": "1.1.13", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", - "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" + "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==", + "license": "BSD-3-Clause" }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" }, "node_modules/ioredis": { "version": "4.28.5", "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", + "license": "MIT", "dependencies": { "cluster-key-slot": "^1.1.0", "debug": "^4.3.1", @@ -515,6 +562,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -530,6 +578,7 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -541,6 +590,7 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -555,6 +605,7 @@ "version": "1.1.13", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", + "license": "MIT", "dependencies": { "which-typed-array": "^1.1.14" }, @@ -568,12 +619,14 @@ "node_modules/isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "license": "MIT" }, "node_modules/jmespath": { "version": "0.16.0", "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", + "license": "Apache-2.0", "engines": { "node": ">= 0.6.0" } @@ -582,6 +635,7 @@ "version": "17.13.3", "resolved": "https://registry.npmjs.org/joi/-/joi-17.13.3.tgz", "integrity": "sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.3.0", "@hapi/topo": "^5.1.0", @@ -593,22 +647,26 @@ "node_modules/lodash.defaults": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==" + "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==", + "license": "MIT" }, "node_modules/lodash.flatten": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==" + "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==", + "license": "MIT" }, "node_modules/lodash.isarguments": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==" + "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==", + "license": "MIT" }, "node_modules/mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -617,6 +675,7 @@ "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", "dependencies": { "mime-db": "1.52.0" }, @@ -641,6 +700,7 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "license": "MIT", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -660,6 +720,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", + "license": "MIT", "engines": { "node": ">=6" } @@ -668,6 +729,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -675,12 +737,14 @@ "node_modules/promise-polyfill": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", - "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==" + "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", + "license": "MIT" }, "node_modules/punycode": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==" + "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==", + "license": "MIT" }, "node_modules/querystring": { "version": "0.2.0", @@ -694,12 +758,14 @@ "node_modules/redis-commands": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", - "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==" + "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==", + "license": "MIT" }, "node_modules/redis-errors": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", "integrity": "sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==", + "license": "MIT", "engines": { "node": ">=4" } @@ -708,6 +774,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", "integrity": "sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==", + "license": "MIT", "dependencies": { "redis-errors": "^1.0.0" }, @@ -719,6 +786,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/redlock/-/redlock-4.2.0.tgz", "integrity": "sha512-j+oQlG+dOwcetUt2WJWttu4CZVeRzUrcVcISFmEmfyuwCVSJ93rDT7YSgg7H7rnxwoRyk/jU46kycVka5tW7jA==", + "license": "MIT", "dependencies": { "bluebird": "^3.7.2" }, @@ -726,15 +794,37 @@ "node": ">=8.0.0" } }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "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" + }, "node_modules/sax": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", - "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==" + "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==", + "license": "ISC" }, "node_modules/set-function-length": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", @@ -750,17 +840,20 @@ "node_modules/stackframe": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", - "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==" + "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", + "license": "MIT" }, "node_modules/standard-as-callback": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", - "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" + "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==", + "license": "MIT" }, "node_modules/tdigest": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", + "license": "MIT", "dependencies": { "bintrees": "1.0.2" } @@ -768,17 +861,20 @@ "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "license": "MIT" }, "node_modules/undici-types": { "version": "6.19.8", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "license": "MIT" }, "node_modules/url": { "version": "0.10.3", "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", "integrity": "sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==", + "license": "MIT", "dependencies": { "punycode": "1.3.2", "querystring": "0.2.0" @@ -788,6 +884,7 @@ "version": "0.12.5", "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "is-arguments": "^1.0.4", @@ -800,6 +897,7 @@ "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } @@ -807,12 +905,14 @@ "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "license": "BSD-2-Clause" }, "node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "license": "MIT", "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -822,6 +922,7 @@ "version": "1.1.15", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", + "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.7", @@ -840,6 +941,7 @@ "version": "0.6.2", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", + "license": "MIT", "dependencies": { "sax": ">=0.6.0", "xmlbuilder": "~11.0.0" @@ -852,9 +954,10 @@ "version": "11.0.1", "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "license": "MIT", "engines": { "node": ">=4.0" } } } -} \ No newline at end of file +} diff --git a/packages/pocl-job/package-lock.json b/packages/pocl-job/package-lock.json index 8ed1eb925..d9a0e845f 100644 --- a/packages/pocl-job/package-lock.json +++ b/packages/pocl-job/package-lock.json @@ -27,6 +27,7 @@ "version": "2.1.8", "resolved": "https://registry.npmjs.org/@airbrake/browser/-/browser-2.1.8.tgz", "integrity": "sha512-3xzpkQUq48R+hVbGlxUFLnv8dZg7M9OhBceX473ZrX4osxgfuKRqB+ecNawevKOftBrsjK2gNBayCXTbE+yFzQ==", + "license": "MIT", "dependencies": { "@types/promise-polyfill": "^6.0.3", "@types/request": "2.48.8", @@ -40,6 +41,7 @@ "version": "2.1.8", "resolved": "https://registry.npmjs.org/@airbrake/node/-/node-2.1.8.tgz", "integrity": "sha512-JuEFJk9hW+5YL4kSS+E6KuiBS9YleWnzo+Fu1j9E3VXOC8bGr+wxMGfhQGFuDBHmpco3g4wAY4t+IHZMtaN0rQ==", + "license": "MIT", "dependencies": { "@airbrake/browser": "^2.1.8", "cross-fetch": "^3.1.5", @@ -51,9 +53,10 @@ } }, "node_modules/@defra-fish/business-rules-lib": { - "version": "1.50.0-rc.8", - "resolved": "https://registry.npmjs.org/@defra-fish/business-rules-lib/-/business-rules-lib-1.50.0-rc.8.tgz", - "integrity": "sha512-Xo+lI+8DON5vahQKQe8ZX1fLpmE2TQm7eThYaFeUxBAEwbhhP7u7l3Ck49YR9hzWsAUWMLWGKgUrWAhCdId/3g==", + "version": "1.56.0", + "resolved": "https://registry.npmjs.org/@defra-fish/business-rules-lib/-/business-rules-lib-1.56.0.tgz", + "integrity": "sha512-YiDkql3yx0q/4oP1iwZYN7Xr7r6wh78ZrzNpUqjDwnXbUl8H7uTewFk/npeepR+i9YBiKaQ40qnHEBa2ZdtFXg==", + "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", "moment": "^2.29.1", @@ -64,9 +67,10 @@ } }, "node_modules/@defra-fish/connectors-lib": { - "version": "1.50.0-rc.8", - "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.50.0-rc.8.tgz", - "integrity": "sha512-aXPMRNfXBF6xytV+TD7C3fbeEmMb0m2VPsaDiq4uN4ShqqTg2q3OuAo6YUZypKOkX2tH6/Hj4Qpb3UMerNJ6hg==", + "version": "1.56.0", + "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.56.0.tgz", + "integrity": "sha512-mRBcJGMPbqrv032q2snMXms+VUeT/6nXZYFCILyPqRW32cGuGBFpyZBdcL6peK/uPTlF9gZeJi2gLmxVeJIBrw==", + "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", "aws-sdk": "^2.1074.0", @@ -82,12 +86,14 @@ "node_modules/@hapi/hoek": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", - "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==" + "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==", + "license": "BSD-3-Clause" }, "node_modules/@hapi/topo": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz", "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.0.0" } @@ -96,6 +102,7 @@ "version": "4.1.5", "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.5.tgz", "integrity": "sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.0.0" } @@ -103,35 +110,41 @@ "node_modules/@sideway/formula": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.1.tgz", - "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==" + "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==", + "license": "BSD-3-Clause" }, "node_modules/@sideway/pinpoint": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", - "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==" + "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==", + "license": "BSD-3-Clause" }, "node_modules/@types/caseless": { "version": "0.12.5", "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz", - "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==" + "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==", + "license": "MIT" }, "node_modules/@types/node": { - "version": "22.5.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.3.tgz", - "integrity": "sha512-njripolh85IA9SQGTAqbmnNZTdxv7X/4OYGPz8tgy5JDr8MP+uDBa921GpYEoDDnwm0Hmn5ZPeJgiiSTPoOzkQ==", + "version": "22.9.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.1.tgz", + "integrity": "sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==", + "license": "MIT", "dependencies": { - "undici-types": "~6.19.2" + "undici-types": "~6.19.8" } }, "node_modules/@types/promise-polyfill": { "version": "6.0.6", "resolved": "https://registry.npmjs.org/@types/promise-polyfill/-/promise-polyfill-6.0.6.tgz", - "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==" + "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==", + "license": "MIT" }, "node_modules/@types/request": { "version": "2.48.8", "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.8.tgz", "integrity": "sha512-whjk1EDJPcAR2kYHRbFl/lKeeKYTi05A15K9bnLInCVroNDCtXce57xKdI0/rQaA3K+6q0eFyUBPmqfSndUZdQ==", + "license": "MIT", "dependencies": { "@types/caseless": "*", "@types/node": "*", @@ -142,17 +155,20 @@ "node_modules/@types/tough-cookie": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", - "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==" + "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", + "license": "MIT" }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" }, "node_modules/available-typed-arrays": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "license": "MIT", "dependencies": { "possible-typed-array-names": "^1.0.0" }, @@ -164,10 +180,11 @@ } }, "node_modules/aws-sdk": { - "version": "2.1688.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1688.0.tgz", - "integrity": "sha512-L7AWt2+09uDQQfNRUaxvKEM+qHJdwBOln7xiMZg1kE1iNSGSQlwDPGYSFXwdMJDKJkeitJvhFrDhxon3cQ3ppA==", + "version": "2.1692.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1692.0.tgz", + "integrity": "sha512-x511uiJ/57FIsbgUe5csJ13k3uzu25uWQE+XqfBis/sB0SFoiElJWXRkgEAUh0U6n40eT3ay5Ue4oPkRMu1LYw==", "hasInstallScript": true, + "license": "Apache-2.0", "dependencies": { "buffer": "4.9.2", "events": "1.1.1", @@ -187,12 +204,14 @@ "node_modules/aws-sdk/node_modules/sax": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", - "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==" + "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==", + "license": "ISC" }, "node_modules/aws-sdk/node_modules/uuid": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } @@ -214,22 +233,26 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/bintrees": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", - "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==" + "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==", + "license": "MIT" }, "node_modules/bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "license": "MIT" }, "node_modules/buffer": { "version": "4.9.2", "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "license": "MIT", "dependencies": { "base64-js": "^1.0.2", "ieee754": "^1.1.4", @@ -240,6 +263,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -258,6 +282,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz", "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==", + "license": "Apache-2.0", "engines": { "node": ">=0.10.0" } @@ -266,6 +291,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" }, @@ -285,6 +311,7 @@ "version": "3.1.8", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", + "license": "MIT", "dependencies": { "node-fetch": "^2.6.12" } @@ -309,6 +336,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -325,6 +353,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", "engines": { "node": ">=0.4.0" } @@ -333,6 +362,7 @@ "version": "1.5.1", "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==", + "license": "Apache-2.0", "engines": { "node": ">=0.10" } @@ -341,6 +371,7 @@ "version": "2.1.4", "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", + "license": "MIT", "dependencies": { "stackframe": "^1.3.4" } @@ -349,6 +380,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.2.4" }, @@ -360,6 +392,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -368,6 +401,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", "integrity": "sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==", + "license": "MIT", "engines": { "node": ">=0.4.x" } @@ -384,18 +418,21 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "license": "MIT", "dependencies": { "is-callable": "^1.1.3" } }, "node_modules/form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.2.tgz", + "integrity": "sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q==", + "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" + "mime-types": "^2.1.12", + "safe-buffer": "^5.2.1" }, "engines": { "node": ">= 0.12" @@ -405,6 +442,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -413,6 +451,7 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "license": "MIT", "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2", @@ -431,6 +470,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -442,6 +482,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0" }, @@ -453,6 +494,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -464,6 +506,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -475,6 +518,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "license": "MIT", "dependencies": { "has-symbols": "^1.0.3" }, @@ -489,6 +533,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.2" }, @@ -499,7 +544,8 @@ "node_modules/ieee754": { "version": "1.1.13", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", - "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" + "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==", + "license": "BSD-3-Clause" }, "node_modules/inherits": { "version": "2.0.4", @@ -510,6 +556,7 @@ "version": "4.28.5", "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", + "license": "MIT", "dependencies": { "cluster-key-slot": "^1.1.0", "debug": "^4.3.1", @@ -535,6 +582,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -550,6 +598,7 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -561,6 +610,7 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -575,6 +625,7 @@ "version": "1.1.13", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", + "license": "MIT", "dependencies": { "which-typed-array": "^1.1.14" }, @@ -594,6 +645,7 @@ "version": "0.16.0", "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", + "license": "Apache-2.0", "engines": { "node": ">= 0.6.0" } @@ -602,6 +654,7 @@ "version": "17.13.3", "resolved": "https://registry.npmjs.org/joi/-/joi-17.13.3.tgz", "integrity": "sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.3.0", "@hapi/topo": "^5.1.0", @@ -613,17 +666,20 @@ "node_modules/lodash.defaults": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==" + "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==", + "license": "MIT" }, "node_modules/lodash.flatten": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==" + "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==", + "license": "MIT" }, "node_modules/lodash.isarguments": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==" + "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==", + "license": "MIT" }, "node_modules/md5-file": { "version": "5.0.0", @@ -640,6 +696,7 @@ "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -648,6 +705,7 @@ "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", "dependencies": { "mime-db": "1.52.0" }, @@ -683,6 +741,7 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "license": "MIT", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -702,6 +761,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", + "license": "MIT", "engines": { "node": ">=6" } @@ -710,6 +770,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -717,12 +778,14 @@ "node_modules/promise-polyfill": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", - "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==" + "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", + "license": "MIT" }, "node_modules/punycode": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==" + "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==", + "license": "MIT" }, "node_modules/querystring": { "version": "0.2.0", @@ -736,12 +799,14 @@ "node_modules/redis-commands": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", - "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==" + "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==", + "license": "MIT" }, "node_modules/redis-errors": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", "integrity": "sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==", + "license": "MIT", "engines": { "node": ">=4" } @@ -750,6 +815,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", "integrity": "sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==", + "license": "MIT", "dependencies": { "redis-errors": "^1.0.0" }, @@ -761,6 +827,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/redlock/-/redlock-4.2.0.tgz", "integrity": "sha512-j+oQlG+dOwcetUt2WJWttu4CZVeRzUrcVcISFmEmfyuwCVSJ93rDT7YSgg7H7rnxwoRyk/jU46kycVka5tW7jA==", + "license": "MIT", "dependencies": { "bluebird": "^3.7.2" }, @@ -768,6 +835,26 @@ "node": ">=8.0.0" } }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "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" + }, "node_modules/sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", @@ -799,6 +886,7 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", @@ -814,17 +902,20 @@ "node_modules/stackframe": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", - "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==" + "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", + "license": "MIT" }, "node_modules/standard-as-callback": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", - "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" + "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==", + "license": "MIT" }, "node_modules/tdigest": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", + "license": "MIT", "dependencies": { "bintrees": "1.0.2" } @@ -832,17 +923,20 @@ "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "license": "MIT" }, "node_modules/undici-types": { "version": "6.19.8", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "license": "MIT" }, "node_modules/url": { "version": "0.10.3", "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", "integrity": "sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==", + "license": "MIT", "dependencies": { "punycode": "1.3.2", "querystring": "0.2.0" @@ -852,6 +946,7 @@ "version": "0.12.5", "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "is-arguments": "^1.0.4", @@ -864,6 +959,7 @@ "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } @@ -871,12 +967,14 @@ "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "license": "BSD-2-Clause" }, "node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "license": "MIT", "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -886,6 +984,7 @@ "version": "1.1.15", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", + "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.7", @@ -904,6 +1003,7 @@ "version": "0.6.2", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", + "license": "MIT", "dependencies": { "sax": ">=0.6.0", "xmlbuilder": "~11.0.0" @@ -916,9 +1016,10 @@ "version": "11.0.1", "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "license": "MIT", "engines": { "node": ">=4.0" } } } -} \ No newline at end of file +} diff --git a/packages/recurring-payments-job/package-lock.json b/packages/recurring-payments-job/package-lock.json index 22433b8cc..360ee8f41 100644 --- a/packages/recurring-payments-job/package-lock.json +++ b/packages/recurring-payments-job/package-lock.json @@ -22,6 +22,7 @@ "version": "2.1.8", "resolved": "https://registry.npmjs.org/@airbrake/browser/-/browser-2.1.8.tgz", "integrity": "sha512-3xzpkQUq48R+hVbGlxUFLnv8dZg7M9OhBceX473ZrX4osxgfuKRqB+ecNawevKOftBrsjK2gNBayCXTbE+yFzQ==", + "license": "MIT", "dependencies": { "@types/promise-polyfill": "^6.0.3", "@types/request": "2.48.8", @@ -35,6 +36,7 @@ "version": "2.1.8", "resolved": "https://registry.npmjs.org/@airbrake/node/-/node-2.1.8.tgz", "integrity": "sha512-JuEFJk9hW+5YL4kSS+E6KuiBS9YleWnzo+Fu1j9E3VXOC8bGr+wxMGfhQGFuDBHmpco3g4wAY4t+IHZMtaN0rQ==", + "license": "MIT", "dependencies": { "@airbrake/browser": "^2.1.8", "cross-fetch": "^3.1.5", @@ -46,9 +48,10 @@ } }, "node_modules/@defra-fish/business-rules-lib": { - "version": "1.50.0-rc.7", - "resolved": "https://registry.npmjs.org/@defra-fish/business-rules-lib/-/business-rules-lib-1.50.0-rc.7.tgz", - "integrity": "sha512-Zc0wkDOx5H4rADDl1TYtVK3HIFl8uB5udcL0VmlXrCGFG3SOZEgeGElR4I0Y4rEz3Y4F/eP/uYSzscf1HGIsCg==", + "version": "1.56.0", + "resolved": "https://registry.npmjs.org/@defra-fish/business-rules-lib/-/business-rules-lib-1.56.0.tgz", + "integrity": "sha512-YiDkql3yx0q/4oP1iwZYN7Xr7r6wh78ZrzNpUqjDwnXbUl8H7uTewFk/npeepR+i9YBiKaQ40qnHEBa2ZdtFXg==", + "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", "moment": "^2.29.1", @@ -59,9 +62,10 @@ } }, "node_modules/@defra-fish/connectors-lib": { - "version": "1.50.0-rc.7", - "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.50.0-rc.7.tgz", - "integrity": "sha512-DV8J4CnxRuYZTfbX8JCkGhm1gQ4hgScIxdRuoy/X5THMIPaLgDSxBkOH90UT/2D61U8A5QGVfgKjPuKSisfGrA==", + "version": "1.56.0", + "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.56.0.tgz", + "integrity": "sha512-mRBcJGMPbqrv032q2snMXms+VUeT/6nXZYFCILyPqRW32cGuGBFpyZBdcL6peK/uPTlF9gZeJi2gLmxVeJIBrw==", + "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", "aws-sdk": "^2.1074.0", @@ -77,12 +81,14 @@ "node_modules/@hapi/hoek": { "version": "9.3.0", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", - "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==" + "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==", + "license": "BSD-3-Clause" }, "node_modules/@hapi/topo": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz", "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.0.0" } @@ -91,6 +97,7 @@ "version": "4.1.5", "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.5.tgz", "integrity": "sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.0.0" } @@ -98,35 +105,41 @@ "node_modules/@sideway/formula": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.1.tgz", - "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==" + "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==", + "license": "BSD-3-Clause" }, "node_modules/@sideway/pinpoint": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", - "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==" + "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==", + "license": "BSD-3-Clause" }, "node_modules/@types/caseless": { "version": "0.12.5", "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz", - "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==" + "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==", + "license": "MIT" }, "node_modules/@types/node": { - "version": "20.14.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.2.tgz", - "integrity": "sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q==", + "version": "22.9.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.1.tgz", + "integrity": "sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==", + "license": "MIT", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.8" } }, "node_modules/@types/promise-polyfill": { "version": "6.0.6", "resolved": "https://registry.npmjs.org/@types/promise-polyfill/-/promise-polyfill-6.0.6.tgz", - "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==" + "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==", + "license": "MIT" }, "node_modules/@types/request": { "version": "2.48.8", "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.8.tgz", "integrity": "sha512-whjk1EDJPcAR2kYHRbFl/lKeeKYTi05A15K9bnLInCVroNDCtXce57xKdI0/rQaA3K+6q0eFyUBPmqfSndUZdQ==", + "license": "MIT", "dependencies": { "@types/caseless": "*", "@types/node": "*", @@ -137,17 +150,20 @@ "node_modules/@types/tough-cookie": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", - "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==" + "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", + "license": "MIT" }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" }, "node_modules/available-typed-arrays": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "license": "MIT", "dependencies": { "possible-typed-array-names": "^1.0.0" }, @@ -159,10 +175,11 @@ } }, "node_modules/aws-sdk": { - "version": "2.1641.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1641.0.tgz", - "integrity": "sha512-XkKbVu4VKFjY7wsTSWEYxBR2fVN8gUovAvRrHuJt9mMDdDh/wPkBZ04ayGT+Bd5bgmmIeE3sk3UMokKQEudJEQ==", + "version": "2.1692.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1692.0.tgz", + "integrity": "sha512-x511uiJ/57FIsbgUe5csJ13k3uzu25uWQE+XqfBis/sB0SFoiElJWXRkgEAUh0U6n40eT3ay5Ue4oPkRMu1LYw==", "hasInstallScript": true, + "license": "Apache-2.0", "dependencies": { "buffer": "4.9.2", "events": "1.1.1", @@ -183,6 +200,7 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } @@ -204,22 +222,26 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/bintrees": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", - "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==" + "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==", + "license": "MIT" }, "node_modules/bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "license": "MIT" }, "node_modules/buffer": { "version": "4.9.2", "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "license": "MIT", "dependencies": { "base64-js": "^1.0.2", "ieee754": "^1.1.4", @@ -230,6 +252,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -248,6 +271,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz", "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==", + "license": "Apache-2.0", "engines": { "node": ">=0.10.0" } @@ -256,6 +280,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" }, @@ -275,16 +300,18 @@ "version": "3.1.8", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", + "license": "MIT", "dependencies": { "node-fetch": "^2.6.12" } }, "node_modules/debug": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", - "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "license": "MIT", "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -299,6 +326,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -315,6 +343,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", "engines": { "node": ">=0.4.0" } @@ -323,6 +352,7 @@ "version": "1.5.1", "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==", + "license": "Apache-2.0", "engines": { "node": ">=0.10" } @@ -331,6 +361,7 @@ "version": "2.1.4", "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", + "license": "MIT", "dependencies": { "stackframe": "^1.3.4" } @@ -339,6 +370,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.2.4" }, @@ -350,6 +382,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -358,6 +391,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", "integrity": "sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==", + "license": "MIT", "engines": { "node": ">=0.4.x" } @@ -366,18 +400,21 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "license": "MIT", "dependencies": { "is-callable": "^1.1.3" } }, "node_modules/form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.2.tgz", + "integrity": "sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q==", + "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" + "mime-types": "^2.1.12", + "safe-buffer": "^5.2.1" }, "engines": { "node": ">= 0.12" @@ -387,6 +424,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -395,6 +433,7 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "license": "MIT", "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2", @@ -413,6 +452,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -424,6 +464,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0" }, @@ -435,6 +476,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -446,6 +488,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -457,6 +500,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "license": "MIT", "dependencies": { "has-symbols": "^1.0.3" }, @@ -471,6 +515,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.2" }, @@ -481,17 +526,20 @@ "node_modules/ieee754": { "version": "1.1.13", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", - "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" + "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==", + "license": "BSD-3-Clause" }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" }, "node_modules/ioredis": { "version": "4.28.5", "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", + "license": "MIT", "dependencies": { "cluster-key-slot": "^1.1.0", "debug": "^4.3.1", @@ -517,6 +565,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -532,6 +581,7 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -543,6 +593,7 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -557,6 +608,7 @@ "version": "1.1.13", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", + "license": "MIT", "dependencies": { "which-typed-array": "^1.1.14" }, @@ -570,20 +622,23 @@ "node_modules/isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "license": "MIT" }, "node_modules/jmespath": { "version": "0.16.0", "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", + "license": "Apache-2.0", "engines": { "node": ">= 0.6.0" } }, "node_modules/joi": { - "version": "17.13.1", - "resolved": "https://registry.npmjs.org/joi/-/joi-17.13.1.tgz", - "integrity": "sha512-vaBlIKCyo4FCUtCm7Eu4QZd/q02bWcxfUO6YSXAZOWF6gzcLBeba8kwotUdYJjDLW8Cz8RywsSOqiNJZW0mNvg==", + "version": "17.13.3", + "resolved": "https://registry.npmjs.org/joi/-/joi-17.13.3.tgz", + "integrity": "sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==", + "license": "BSD-3-Clause", "dependencies": { "@hapi/hoek": "^9.3.0", "@hapi/topo": "^5.1.0", @@ -595,22 +650,26 @@ "node_modules/lodash.defaults": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==" + "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==", + "license": "MIT" }, "node_modules/lodash.flatten": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==" + "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==", + "license": "MIT" }, "node_modules/lodash.isarguments": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==" + "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==", + "license": "MIT" }, "node_modules/mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -619,6 +678,7 @@ "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", "dependencies": { "mime-db": "1.52.0" }, @@ -646,14 +706,16 @@ } }, "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" }, "node_modules/node-fetch": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "license": "MIT", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -673,6 +735,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", + "license": "MIT", "engines": { "node": ">=6" } @@ -681,6 +744,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -688,12 +752,14 @@ "node_modules/promise-polyfill": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", - "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==" + "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", + "license": "MIT" }, "node_modules/punycode": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==" + "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==", + "license": "MIT" }, "node_modules/querystring": { "version": "0.2.0", @@ -707,12 +773,14 @@ "node_modules/redis-commands": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", - "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==" + "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==", + "license": "MIT" }, "node_modules/redis-errors": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", "integrity": "sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==", + "license": "MIT", "engines": { "node": ">=4" } @@ -721,6 +789,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", "integrity": "sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==", + "license": "MIT", "dependencies": { "redis-errors": "^1.0.0" }, @@ -732,6 +801,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/redlock/-/redlock-4.2.0.tgz", "integrity": "sha512-j+oQlG+dOwcetUt2WJWttu4CZVeRzUrcVcISFmEmfyuwCVSJ93rDT7YSgg7H7rnxwoRyk/jU46kycVka5tW7jA==", + "license": "MIT", "dependencies": { "bluebird": "^3.7.2" }, @@ -739,15 +809,37 @@ "node": ">=8.0.0" } }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "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" + }, "node_modules/sax": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", - "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==" + "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==", + "license": "ISC" }, "node_modules/set-function-length": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", @@ -763,17 +855,20 @@ "node_modules/stackframe": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", - "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==" + "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", + "license": "MIT" }, "node_modules/standard-as-callback": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", - "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" + "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==", + "license": "MIT" }, "node_modules/tdigest": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", + "license": "MIT", "dependencies": { "bintrees": "1.0.2" } @@ -781,17 +876,20 @@ "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "license": "MIT" }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "license": "MIT" }, "node_modules/url": { "version": "0.10.3", "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", "integrity": "sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==", + "license": "MIT", "dependencies": { "punycode": "1.3.2", "querystring": "0.2.0" @@ -801,6 +899,7 @@ "version": "0.12.5", "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "is-arguments": "^1.0.4", @@ -813,6 +912,7 @@ "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } @@ -820,12 +920,14 @@ "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "license": "BSD-2-Clause" }, "node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "license": "MIT", "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -835,6 +937,7 @@ "version": "1.1.15", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", + "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.7", @@ -853,6 +956,7 @@ "version": "0.6.2", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", + "license": "MIT", "dependencies": { "sax": ">=0.6.0", "xmlbuilder": "~11.0.0" @@ -865,9 +969,10 @@ "version": "11.0.1", "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "license": "MIT", "engines": { "node": ">=4.0" } } } -} \ No newline at end of file +} diff --git a/packages/sales-api-service/package-lock.json b/packages/sales-api-service/package-lock.json index a9ad5f926..92c488ee1 100644 --- a/packages/sales-api-service/package-lock.json +++ b/packages/sales-api-service/package-lock.json @@ -34,6 +34,7 @@ "version": "2.1.8", "resolved": "https://registry.npmjs.org/@airbrake/browser/-/browser-2.1.8.tgz", "integrity": "sha512-3xzpkQUq48R+hVbGlxUFLnv8dZg7M9OhBceX473ZrX4osxgfuKRqB+ecNawevKOftBrsjK2gNBayCXTbE+yFzQ==", + "license": "MIT", "dependencies": { "@types/promise-polyfill": "^6.0.3", "@types/request": "2.48.8", @@ -47,6 +48,7 @@ "version": "2.1.8", "resolved": "https://registry.npmjs.org/@airbrake/node/-/node-2.1.8.tgz", "integrity": "sha512-JuEFJk9hW+5YL4kSS+E6KuiBS9YleWnzo+Fu1j9E3VXOC8bGr+wxMGfhQGFuDBHmpco3g4wAY4t+IHZMtaN0rQ==", + "license": "MIT", "dependencies": { "@airbrake/browser": "^2.1.8", "cross-fetch": "^3.1.5", @@ -58,9 +60,10 @@ } }, "node_modules/@defra-fish/business-rules-lib": { - "version": "1.50.0-rc.10", - "resolved": "https://registry.npmjs.org/@defra-fish/business-rules-lib/-/business-rules-lib-1.50.0-rc.10.tgz", - "integrity": "sha512-HGPMV/w4Lh11Pvdoqy985FAJVpwtEdBRBzeP4uGHSGgq+DMsSN9Cl/nK1Ul7r7hkDyKq/cLkfDcd0ys4tOWzWA==", + "version": "1.56.0", + "resolved": "https://registry.npmjs.org/@defra-fish/business-rules-lib/-/business-rules-lib-1.56.0.tgz", + "integrity": "sha512-YiDkql3yx0q/4oP1iwZYN7Xr7r6wh78ZrzNpUqjDwnXbUl8H7uTewFk/npeepR+i9YBiKaQ40qnHEBa2ZdtFXg==", + "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", "moment": "^2.29.1", @@ -71,9 +74,10 @@ } }, "node_modules/@defra-fish/connectors-lib": { - "version": "1.50.0-rc.10", - "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.50.0-rc.10.tgz", - "integrity": "sha512-l5KCX2Hath6rhSWZWxhWsBkkZUU0IZhQ87wvWtOsuGE5F4FCUTLuobGPe3SaiTvLQ3TZruDaGnXECxMtPYxVEQ==", + "version": "1.56.0", + "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.56.0.tgz", + "integrity": "sha512-mRBcJGMPbqrv032q2snMXms+VUeT/6nXZYFCILyPqRW32cGuGBFpyZBdcL6peK/uPTlF9gZeJi2gLmxVeJIBrw==", + "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", "aws-sdk": "^2.1074.0", @@ -87,9 +91,10 @@ } }, "node_modules/@defra-fish/dynamics-lib": { - "version": "1.50.0-rc.10", - "resolved": "https://registry.npmjs.org/@defra-fish/dynamics-lib/-/dynamics-lib-1.50.0-rc.10.tgz", - "integrity": "sha512-7WM4VgFmlh07oxlesAPyktRzhOpKacyLw1WReytDrTYJ82+aj2YttoobxPHdFZZXU1bDhQzSnEMYRJdPMTvibw==", + "version": "1.56.0", + "resolved": "https://registry.npmjs.org/@defra-fish/dynamics-lib/-/dynamics-lib-1.56.0.tgz", + "integrity": "sha512-p67qkkPJpKJzewTBDHjk8frVNHOjrgVe+EJoH6K+qes77XpNTZpWJoTvcojR3L4eqPZBjIEgGJAJft27TUW+Ag==", + "license": "SEE LICENSE IN LICENSE", "dependencies": { "cache-manager": "^3.6.0", "cache-manager-ioredis": "^2.1.0", @@ -438,6 +443,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", + "license": "MIT", "engines": { "node": ">= 6" } @@ -445,25 +451,29 @@ "node_modules/@types/caseless": { "version": "0.12.5", "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz", - "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==" + "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==", + "license": "MIT" }, "node_modules/@types/node": { - "version": "22.5.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.3.tgz", - "integrity": "sha512-njripolh85IA9SQGTAqbmnNZTdxv7X/4OYGPz8tgy5JDr8MP+uDBa921GpYEoDDnwm0Hmn5ZPeJgiiSTPoOzkQ==", + "version": "22.9.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.1.tgz", + "integrity": "sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==", + "license": "MIT", "dependencies": { - "undici-types": "~6.19.2" + "undici-types": "~6.19.8" } }, "node_modules/@types/promise-polyfill": { "version": "6.0.6", "resolved": "https://registry.npmjs.org/@types/promise-polyfill/-/promise-polyfill-6.0.6.tgz", - "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==" + "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==", + "license": "MIT" }, "node_modules/@types/request": { "version": "2.48.8", "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.8.tgz", "integrity": "sha512-whjk1EDJPcAR2kYHRbFl/lKeeKYTi05A15K9bnLInCVroNDCtXce57xKdI0/rQaA3K+6q0eFyUBPmqfSndUZdQ==", + "license": "MIT", "dependencies": { "@types/caseless": "*", "@types/node": "*", @@ -474,12 +484,14 @@ "node_modules/@types/tough-cookie": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", - "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==" + "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", + "license": "MIT" }, "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", "dependencies": { "debug": "4" }, @@ -498,17 +510,20 @@ "node_modules/async": { "version": "3.2.3", "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", - "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" + "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==", + "license": "MIT" }, "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" }, "node_modules/available-typed-arrays": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "license": "MIT", "dependencies": { "possible-typed-array-names": "^1.0.0" }, @@ -520,10 +535,11 @@ } }, "node_modules/aws-sdk": { - "version": "2.1688.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1688.0.tgz", - "integrity": "sha512-L7AWt2+09uDQQfNRUaxvKEM+qHJdwBOln7xiMZg1kE1iNSGSQlwDPGYSFXwdMJDKJkeitJvhFrDhxon3cQ3ppA==", + "version": "2.1692.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1692.0.tgz", + "integrity": "sha512-x511uiJ/57FIsbgUe5csJ13k3uzu25uWQE+XqfBis/sB0SFoiElJWXRkgEAUh0U6n40eT3ay5Ue4oPkRMu1LYw==", "hasInstallScript": true, + "license": "Apache-2.0", "dependencies": { "buffer": "4.9.2", "events": "1.1.1", @@ -544,6 +560,7 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } @@ -565,22 +582,26 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/bintrees": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", - "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==" + "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==", + "license": "MIT" }, "node_modules/bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "license": "MIT" }, "node_modules/buffer": { "version": "4.9.2", "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "license": "MIT", "dependencies": { "base64-js": "^1.0.2", "ieee754": "^1.1.4", @@ -591,6 +612,7 @@ "version": "3.6.3", "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-3.6.3.tgz", "integrity": "sha512-dS4DnV6c6cQcVH5OxzIU1XZaACXwvVIiUPkFytnRmLOACuBGv3GQgRQ1RJGRRw4/9DF14ZK2RFlZu1TUgDniMg==", + "license": "MIT", "dependencies": { "async": "3.2.3", "lodash.clonedeep": "^4.5.0", @@ -601,6 +623,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/cache-manager-ioredis/-/cache-manager-ioredis-2.1.0.tgz", "integrity": "sha512-TCxbp9ceuFveTKWuNaCX8QjoC41rAlHen4s63u9Yd+iXlw3efYmimc/u935PKPxSdhkXpnMes4mxtK3/yb0L4g==", + "license": "MIT", "dependencies": { "ioredis": "^4.14.1" }, @@ -612,6 +635,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -643,6 +667,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" }, @@ -667,6 +692,7 @@ "version": "3.1.8", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", + "license": "MIT", "dependencies": { "node-fetch": "^2.6.12" } @@ -691,6 +717,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -707,6 +734,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", "engines": { "node": ">=0.4.0" } @@ -737,6 +765,7 @@ "version": "1.7.3", "resolved": "https://registry.npmjs.org/dynamics-web-api/-/dynamics-web-api-1.7.3.tgz", "integrity": "sha512-ExscNNVrlXr/KoK5Sg/8GJyWndenHC26YKhnZVHaKOtAxWqsQzvveWnDl289BbFwPmwM18ZZWk8G5fFqPp981w==", + "license": "MIT", "dependencies": { "http-proxy-agent": "^4.0.1", "https-proxy-agent": "^5.0.0" @@ -746,6 +775,7 @@ "version": "2.1.4", "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", + "license": "MIT", "dependencies": { "stackframe": "^1.3.4" } @@ -754,6 +784,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.2.4" }, @@ -765,6 +796,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -785,6 +817,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", "integrity": "sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==", + "license": "MIT", "engines": { "node": ">=0.4.x" } @@ -793,18 +826,21 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "license": "MIT", "dependencies": { "is-callable": "^1.1.3" } }, "node_modules/form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.2.tgz", + "integrity": "sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q==", + "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" + "mime-types": "^2.1.12", + "safe-buffer": "^5.2.1" }, "engines": { "node": ">= 0.12" @@ -819,6 +855,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -827,6 +864,7 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "license": "MIT", "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2", @@ -845,6 +883,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -907,6 +946,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0" }, @@ -918,6 +958,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -929,6 +970,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -940,6 +982,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "license": "MIT", "dependencies": { "has-symbols": "^1.0.3" }, @@ -954,6 +997,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.2" }, @@ -965,6 +1009,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", + "license": "MIT", "dependencies": { "@tootallnate/once": "1", "agent-base": "6", @@ -986,6 +1031,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==", + "license": "MIT", "dependencies": { "agent-base": "6", "debug": "4" @@ -1002,12 +1048,14 @@ "node_modules/ieee754": { "version": "1.1.13", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", - "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" + "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==", + "license": "BSD-3-Clause" }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" }, "node_modules/ioredis": { "version": "4.28.5", @@ -1038,6 +1086,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -1053,6 +1102,7 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -1064,6 +1114,7 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -1086,6 +1137,7 @@ "version": "1.1.13", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", + "license": "MIT", "dependencies": { "which-typed-array": "^1.1.14" }, @@ -1099,12 +1151,14 @@ "node_modules/isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "license": "MIT" }, "node_modules/jmespath": { "version": "0.16.0", "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", + "license": "Apache-2.0", "engines": { "node": ">= 0.6.0" } @@ -1152,7 +1206,8 @@ "node_modules/lodash.clonedeep": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", - "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==" + "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==", + "license": "MIT" }, "node_modules/lodash.defaults": { "version": "4.2.0", @@ -1202,6 +1257,7 @@ "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", "dependencies": { "mime-db": "1.52.0" }, @@ -1247,6 +1303,7 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "license": "MIT", "dependencies": { "whatwg-url": "^5.0.0" }, @@ -1282,6 +1339,7 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==", + "license": "MIT", "engines": { "node": ">=4" } @@ -1290,6 +1348,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -1305,12 +1364,14 @@ "node_modules/promise-polyfill": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", - "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==" + "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", + "license": "MIT" }, "node_modules/punycode": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==" + "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==", + "license": "MIT" }, "node_modules/querystring": { "version": "0.2.0", @@ -1349,6 +1410,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/redlock/-/redlock-4.2.0.tgz", "integrity": "sha512-j+oQlG+dOwcetUt2WJWttu4CZVeRzUrcVcISFmEmfyuwCVSJ93rDT7YSgg7H7rnxwoRyk/jU46kycVka5tW7jA==", + "license": "MIT", "dependencies": { "bluebird": "^3.7.2" }, @@ -1356,15 +1418,37 @@ "node": ">=8.0.0" } }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "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" + }, "node_modules/sax": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", - "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==" + "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==", + "license": "ISC" }, "node_modules/set-function-length": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", @@ -1381,6 +1465,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/simple-oauth2/-/simple-oauth2-4.3.0.tgz", "integrity": "sha512-gjLIfy7M7WZSf3k5IZCQfEozbQwmW80zR9YMH4ph/WWG6S4U6sGhPujz8X6Hj6sZ8l7acSAxiyM4tF0vIN+E+A==", + "license": "Apache-2.0", "dependencies": { "@hapi/hoek": "^9.0.4", "@hapi/wreck": "^17.0.0", @@ -1404,7 +1489,8 @@ "node_modules/stackframe": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", - "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==" + "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", + "license": "MIT" }, "node_modules/standard-as-callback": { "version": "2.1.0", @@ -1465,6 +1551,7 @@ "version": "0.1.2", "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", + "license": "MIT", "dependencies": { "bintrees": "1.0.2" } @@ -1472,7 +1559,8 @@ "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "license": "MIT" }, "node_modules/uglify-js": { "version": "3.15.1", @@ -1489,12 +1577,14 @@ "node_modules/undici-types": { "version": "6.19.8", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "license": "MIT" }, "node_modules/url": { "version": "0.10.3", "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", "integrity": "sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==", + "license": "MIT", "dependencies": { "punycode": "1.3.2", "querystring": "0.2.0" @@ -1504,6 +1594,7 @@ "version": "0.12.5", "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "is-arguments": "^1.0.4", @@ -1531,12 +1622,14 @@ "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "license": "BSD-2-Clause" }, "node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "license": "MIT", "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -1546,6 +1639,7 @@ "version": "1.1.15", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", + "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.7", @@ -1569,6 +1663,7 @@ "version": "0.6.2", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", + "license": "MIT", "dependencies": { "sax": ">=0.6.0", "xmlbuilder": "~11.0.0" @@ -1581,6 +1676,7 @@ "version": "11.0.1", "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "license": "MIT", "engines": { "node": ">=4.0" } @@ -1608,4 +1704,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/sqs-receiver-service/package-lock.json b/packages/sqs-receiver-service/package-lock.json index a2c0d78a5..ecf07f8e6 100644 --- a/packages/sqs-receiver-service/package-lock.json +++ b/packages/sqs-receiver-service/package-lock.json @@ -26,6 +26,7 @@ "version": "2.1.8", "resolved": "https://registry.npmjs.org/@airbrake/browser/-/browser-2.1.8.tgz", "integrity": "sha512-3xzpkQUq48R+hVbGlxUFLnv8dZg7M9OhBceX473ZrX4osxgfuKRqB+ecNawevKOftBrsjK2gNBayCXTbE+yFzQ==", + "license": "MIT", "dependencies": { "@types/promise-polyfill": "^6.0.3", "@types/request": "2.48.8", @@ -39,6 +40,7 @@ "version": "2.1.8", "resolved": "https://registry.npmjs.org/@airbrake/node/-/node-2.1.8.tgz", "integrity": "sha512-JuEFJk9hW+5YL4kSS+E6KuiBS9YleWnzo+Fu1j9E3VXOC8bGr+wxMGfhQGFuDBHmpco3g4wAY4t+IHZMtaN0rQ==", + "license": "MIT", "dependencies": { "@airbrake/browser": "^2.1.8", "cross-fetch": "^3.1.5", @@ -50,9 +52,10 @@ } }, "node_modules/@defra-fish/connectors-lib": { - "version": "1.50.0-rc.7", - "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.50.0-rc.7.tgz", - "integrity": "sha512-DV8J4CnxRuYZTfbX8JCkGhm1gQ4hgScIxdRuoy/X5THMIPaLgDSxBkOH90UT/2D61U8A5QGVfgKjPuKSisfGrA==", + "version": "1.56.0", + "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.56.0.tgz", + "integrity": "sha512-mRBcJGMPbqrv032q2snMXms+VUeT/6nXZYFCILyPqRW32cGuGBFpyZBdcL6peK/uPTlF9gZeJi2gLmxVeJIBrw==", + "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", "aws-sdk": "^2.1074.0", @@ -314,25 +317,29 @@ "node_modules/@types/caseless": { "version": "0.12.5", "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz", - "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==" + "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==", + "license": "MIT" }, "node_modules/@types/node": { - "version": "22.5.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.3.tgz", - "integrity": "sha512-njripolh85IA9SQGTAqbmnNZTdxv7X/4OYGPz8tgy5JDr8MP+uDBa921GpYEoDDnwm0Hmn5ZPeJgiiSTPoOzkQ==", + "version": "22.9.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.1.tgz", + "integrity": "sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==", + "license": "MIT", "dependencies": { - "undici-types": "~6.19.2" + "undici-types": "~6.19.8" } }, "node_modules/@types/promise-polyfill": { "version": "6.0.6", "resolved": "https://registry.npmjs.org/@types/promise-polyfill/-/promise-polyfill-6.0.6.tgz", - "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==" + "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==", + "license": "MIT" }, "node_modules/@types/request": { "version": "2.48.8", "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.8.tgz", "integrity": "sha512-whjk1EDJPcAR2kYHRbFl/lKeeKYTi05A15K9bnLInCVroNDCtXce57xKdI0/rQaA3K+6q0eFyUBPmqfSndUZdQ==", + "license": "MIT", "dependencies": { "@types/caseless": "*", "@types/node": "*", @@ -343,7 +350,8 @@ "node_modules/@types/tough-cookie": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", - "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==" + "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", + "license": "MIT" }, "node_modules/agent-base": { "version": "6.0.2", @@ -467,12 +475,14 @@ "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "license": "MIT" }, "node_modules/available-typed-arrays": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "license": "MIT", "dependencies": { "possible-typed-array-names": "^1.0.0" }, @@ -484,10 +494,11 @@ } }, "node_modules/aws-sdk": { - "version": "2.1688.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1688.0.tgz", - "integrity": "sha512-L7AWt2+09uDQQfNRUaxvKEM+qHJdwBOln7xiMZg1kE1iNSGSQlwDPGYSFXwdMJDKJkeitJvhFrDhxon3cQ3ppA==", + "version": "2.1692.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1692.0.tgz", + "integrity": "sha512-x511uiJ/57FIsbgUe5csJ13k3uzu25uWQE+XqfBis/sB0SFoiElJWXRkgEAUh0U6n40eT3ay5Ue4oPkRMu1LYw==", "hasInstallScript": true, + "license": "Apache-2.0", "dependencies": { "buffer": "4.9.2", "events": "1.1.1", @@ -508,6 +519,7 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", + "license": "MIT", "bin": { "uuid": "dist/bin/uuid" } @@ -544,7 +556,8 @@ "type": "consulting", "url": "https://feross.org/support" } - ] + ], + "license": "MIT" }, "node_modules/binary-extensions": { "version": "2.2.0", @@ -558,7 +571,8 @@ "node_modules/bintrees": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", - "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==" + "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==", + "license": "MIT" }, "node_modules/blessed": { "version": "0.1.81", @@ -575,7 +589,8 @@ "node_modules/bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "license": "MIT" }, "node_modules/bodec": { "version": "0.1.0", @@ -609,6 +624,7 @@ "version": "4.9.2", "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "license": "MIT", "dependencies": { "base64-js": "^1.0.2", "ieee754": "^1.1.4", @@ -634,6 +650,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -704,6 +721,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz", "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==", + "license": "Apache-2.0", "engines": { "node": ">=0.10.0" } @@ -730,6 +748,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "license": "MIT", "dependencies": { "delayed-stream": "~1.0.0" }, @@ -778,6 +797,7 @@ "version": "3.1.8", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", + "license": "MIT", "dependencies": { "node-fetch": "^2.6.12" } @@ -829,6 +849,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -859,6 +880,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "license": "MIT", "engines": { "node": ">=0.4.0" } @@ -867,6 +889,7 @@ "version": "1.5.1", "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==", + "license": "Apache-2.0", "engines": { "node": ">=0.10" } @@ -905,6 +928,7 @@ "version": "2.1.4", "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", + "license": "MIT", "dependencies": { "stackframe": "^1.3.4" } @@ -913,6 +937,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.2.4" }, @@ -924,6 +949,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -1003,6 +1029,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", "integrity": "sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==", + "license": "MIT", "engines": { "node": ">=0.4.x" } @@ -1064,18 +1091,21 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "license": "MIT", "dependencies": { "is-callable": "^1.1.3" } }, "node_modules/form-data": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", - "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.2.tgz", + "integrity": "sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q==", + "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" + "mime-types": "^2.1.12", + "safe-buffer": "^5.2.1" }, "engines": { "node": ">= 0.12" @@ -1140,6 +1170,7 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "license": "MIT", "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2", @@ -1219,6 +1250,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -1257,6 +1289,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0" }, @@ -1268,6 +1301,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -1279,6 +1313,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -1290,6 +1325,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "license": "MIT", "dependencies": { "has-symbols": "^1.0.3" }, @@ -1304,6 +1340,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.2" }, @@ -1369,7 +1406,8 @@ "node_modules/ieee754": { "version": "1.1.13", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", - "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" + "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==", + "license": "BSD-3-Clause" }, "node_modules/inflight": { "version": "1.0.6", @@ -1396,6 +1434,7 @@ "version": "4.28.5", "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", + "license": "MIT", "dependencies": { "cluster-key-slot": "^1.1.0", "debug": "^4.3.1", @@ -1427,6 +1466,7 @@ "version": "1.1.1", "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.2", "has-tostringtag": "^1.0.0" @@ -1454,6 +1494,7 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -1486,6 +1527,7 @@ "version": "1.0.10", "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "license": "MIT", "dependencies": { "has-tostringtag": "^1.0.0" }, @@ -1521,6 +1563,7 @@ "version": "1.1.13", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", + "license": "MIT", "dependencies": { "which-typed-array": "^1.1.14" }, @@ -1534,12 +1577,14 @@ "node_modules/isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "license": "MIT" }, "node_modules/jmespath": { "version": "0.16.0", "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", + "license": "Apache-2.0", "engines": { "node": ">= 0.6.0" } @@ -1608,17 +1653,20 @@ "node_modules/lodash.defaults": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==" + "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==", + "license": "MIT" }, "node_modules/lodash.flatten": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==" + "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==", + "license": "MIT" }, "node_modules/lodash.isarguments": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==" + "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==", + "license": "MIT" }, "node_modules/log-driver": { "version": "1.2.7", @@ -1642,6 +1690,7 @@ "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -1650,6 +1699,7 @@ "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "license": "MIT", "dependencies": { "mime-db": "1.52.0" }, @@ -1837,6 +1887,7 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", + "license": "MIT", "engines": { "node": ">=6" } @@ -2020,6 +2071,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -2036,7 +2088,8 @@ "node_modules/promise-polyfill": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", - "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==" + "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", + "license": "MIT" }, "node_modules/promptly": { "version": "2.2.0", @@ -2084,7 +2137,8 @@ "node_modules/punycode": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==" + "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==", + "license": "MIT" }, "node_modules/querystring": { "version": "0.2.0", @@ -2155,12 +2209,14 @@ "node_modules/redis-commands": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", - "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==" + "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==", + "license": "MIT" }, "node_modules/redis-errors": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", "integrity": "sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==", + "license": "MIT", "engines": { "node": ">=4" } @@ -2169,6 +2225,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", "integrity": "sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==", + "license": "MIT", "dependencies": { "redis-errors": "^1.0.0" }, @@ -2180,6 +2237,7 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/redlock/-/redlock-4.2.0.tgz", "integrity": "sha512-j+oQlG+dOwcetUt2WJWttu4CZVeRzUrcVcISFmEmfyuwCVSJ93rDT7YSgg7H7rnxwoRyk/jU46kycVka5tW7jA==", + "license": "MIT", "dependencies": { "bluebird": "^3.7.2" }, @@ -2235,7 +2293,6 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true, "funding": [ { "type": "github", @@ -2260,7 +2317,8 @@ "node_modules/sax": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", - "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==" + "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==", + "license": "ISC" }, "node_modules/semver": { "version": "7.3.5", @@ -2299,6 +2357,7 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", @@ -2395,12 +2454,14 @@ "node_modules/stackframe": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", - "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==" + "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", + "license": "MIT" }, "node_modules/standard-as-callback": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", - "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==" + "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==", + "license": "MIT" }, "node_modules/statuses": { "version": "1.5.0", @@ -2433,6 +2494,7 @@ "version": "0.1.2", "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", + "license": "MIT", "dependencies": { "bintrees": "1.0.2" } @@ -2493,7 +2555,8 @@ "node_modules/undici-types": { "version": "6.19.8", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "license": "MIT" }, "node_modules/universalify": { "version": "0.1.2", @@ -2517,6 +2580,7 @@ "version": "0.10.3", "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", "integrity": "sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==", + "license": "MIT", "dependencies": { "punycode": "1.3.2", "querystring": "0.2.0" @@ -2526,6 +2590,7 @@ "version": "0.12.5", "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", + "license": "MIT", "dependencies": { "inherits": "^2.0.3", "is-arguments": "^1.0.4", @@ -2584,6 +2649,7 @@ "version": "1.1.15", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", + "license": "MIT", "dependencies": { "available-typed-arrays": "^1.0.7", "call-bind": "^1.0.7", @@ -2638,6 +2704,7 @@ "version": "0.6.2", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", + "license": "MIT", "dependencies": { "sax": ">=0.6.0", "xmlbuilder": "~11.0.0" @@ -2650,6 +2717,7 @@ "version": "11.0.1", "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "license": "MIT", "engines": { "node": ">=4.0" } @@ -2684,4 +2752,4 @@ } } } -} \ No newline at end of file +} From 7f632526e47173f4d8846cab393db6b487abf398 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 29 Nov 2024 13:05:47 +0000 Subject: [PATCH 02/26] chore(release): publish v1.57.0-rc.0 --- CHANGELOG.md | 9 +++++++++ lerna.json | 2 +- packages/business-rules-lib/package-lock.json | 6 +++--- packages/business-rules-lib/package.json | 2 +- packages/connectors-lib/package-lock.json | 6 +++--- packages/connectors-lib/package.json | 2 +- packages/dynamics-lib/package-lock.json | 6 +++--- packages/dynamics-lib/package.json | 2 +- packages/fulfilment-job/package-lock.json | 10 +++++----- packages/fulfilment-job/package.json | 6 +++--- packages/gafl-webapp-service/package-lock.json | 10 +++++----- packages/gafl-webapp-service/package.json | 6 +++--- packages/payment-mop-up-job/package-lock.json | 10 +++++----- packages/payment-mop-up-job/package.json | 6 +++--- packages/pocl-job/package-lock.json | 10 +++++----- packages/pocl-job/package.json | 6 +++--- packages/recurring-payments-job/package-lock.json | 10 +++++----- packages/recurring-payments-job/package.json | 6 +++--- packages/sales-api-service/package-lock.json | 12 ++++++------ packages/sales-api-service/package.json | 8 ++++---- packages/sqs-receiver-service/package-lock.json | 8 ++++---- packages/sqs-receiver-service/package.json | 4 ++-- 22 files changed, 78 insertions(+), 69 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ff9bf82a..a588ab1dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,13 @@ +## v1.57.0-rc.0 (2024-11-29) + +#### :rocket: Enhancement +* `business-rules-lib`, `connectors-lib`, `dynamics-lib`, `fulfilment-job`, `gafl-webapp-service`, `payment-mop-up-job`, `pocl-job`, `recurring-payments-job`, `sales-api-service`, `sqs-receiver-service` + * [#2075](https://github.com/DEFRA/rod-licensing/pull/2075) RCP job fails locally ([@ScottDormand96](https://github.com/ScottDormand96)) + +#### Committers: 1 +- Scott Dormand ([@ScottDormand96](https://github.com/ScottDormand96)) + ## v1.55.0-rc.6 (2024-11-25) #### :rocket: Enhancement diff --git a/lerna.json b/lerna.json index f2ff5d2a1..fad24c7aa 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "1.56.0", + "version": "1.57.0-rc.0", "npmClient": "npm", "publishConfig": { "registry": "http://registry.npmjs.org/" diff --git a/packages/business-rules-lib/package-lock.json b/packages/business-rules-lib/package-lock.json index b1065359a..5aecf5bec 100644 --- a/packages/business-rules-lib/package-lock.json +++ b/packages/business-rules-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.56.0", + "version": "1.57.0-rc.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/business-rules-lib", - "version": "1.56.0", + "version": "1.57.0-rc.0", "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", @@ -77,4 +77,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/business-rules-lib/package.json b/packages/business-rules-lib/package.json index 9304ed7e7..276f2a6b1 100644 --- a/packages/business-rules-lib/package.json +++ b/packages/business-rules-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.56.0", + "version": "1.57.0-rc.0", "description": "Shared business rules for the rod licensing digital services", "type": "module", "engines": { diff --git a/packages/connectors-lib/package-lock.json b/packages/connectors-lib/package-lock.json index 3b9c2ca83..461d95e0b 100644 --- a/packages/connectors-lib/package-lock.json +++ b/packages/connectors-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.56.0", + "version": "1.57.0-rc.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/connectors-lib", - "version": "1.56.0", + "version": "1.57.0-rc.0", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", @@ -470,4 +470,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/connectors-lib/package.json b/packages/connectors-lib/package.json index e9bf58d46..fb4f3f3fd 100644 --- a/packages/connectors-lib/package.json +++ b/packages/connectors-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.56.0", + "version": "1.57.0-rc.0", "description": "Shared connectors", "type": "module", "engines": { diff --git a/packages/dynamics-lib/package-lock.json b/packages/dynamics-lib/package-lock.json index b0dfc196f..cebd0dbc7 100644 --- a/packages/dynamics-lib/package-lock.json +++ b/packages/dynamics-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.56.0", + "version": "1.57.0-rc.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/dynamics-lib", - "version": "1.56.0", + "version": "1.57.0-rc.0", "license": "SEE LICENSE IN LICENSE", "dependencies": { "cache-manager": "^3.6.0", @@ -324,4 +324,4 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } -} +} \ No newline at end of file diff --git a/packages/dynamics-lib/package.json b/packages/dynamics-lib/package.json index a7aa93f58..febbb986c 100644 --- a/packages/dynamics-lib/package.json +++ b/packages/dynamics-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.56.0", + "version": "1.57.0-rc.0", "description": "Framework to support integration with dynamics", "type": "module", "engines": { diff --git a/packages/fulfilment-job/package-lock.json b/packages/fulfilment-job/package-lock.json index 90b7ef9ba..ea0fde5fd 100644 --- a/packages/fulfilment-job/package-lock.json +++ b/packages/fulfilment-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.56.0", + "version": "1.57.0-rc.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/fulfilment-job", - "version": "1.56.0", + "version": "1.57.0-rc.0", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.56.0", - "@defra-fish/dynamics-lib": "1.56.0", + "@defra-fish/connectors-lib": "1.57.0-rc.0", + "@defra-fish/dynamics-lib": "1.57.0-rc.0", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", @@ -1171,4 +1171,4 @@ "license": "ISC" } } -} +} \ No newline at end of file diff --git a/packages/fulfilment-job/package.json b/packages/fulfilment-job/package.json index d73e21a95..68339ebae 100644 --- a/packages/fulfilment-job/package.json +++ b/packages/fulfilment-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.56.0", + "version": "1.57.0-rc.0", "description": "Rod Licensing Sales Fulfilment Job", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.56.0", - "@defra-fish/dynamics-lib": "1.56.0", + "@defra-fish/connectors-lib": "1.57.0-rc.0", + "@defra-fish/dynamics-lib": "1.57.0-rc.0", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/gafl-webapp-service/package-lock.json b/packages/gafl-webapp-service/package-lock.json index 29896c05a..9ce03c842 100644 --- a/packages/gafl-webapp-service/package-lock.json +++ b/packages/gafl-webapp-service/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.56.0", + "version": "1.57.0-rc.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/gafl-webapp-service", - "version": "1.56.0", + "version": "1.57.0-rc.0", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.56.0", - "@defra-fish/connectors-lib": "1.56.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.0", + "@defra-fish/connectors-lib": "1.57.0-rc.0", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", @@ -7566,4 +7566,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/gafl-webapp-service/package.json b/packages/gafl-webapp-service/package.json index 3d48cf728..09d5e87d7 100644 --- a/packages/gafl-webapp-service/package.json +++ b/packages/gafl-webapp-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.56.0", + "version": "1.57.0-rc.0", "description": "The websales frontend for the GAFL service", "type": "module", "engines": { @@ -36,8 +36,8 @@ "prepare": "gulp --gulpfile build/gulpfile.cjs" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.56.0", - "@defra-fish/connectors-lib": "1.56.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.0", + "@defra-fish/connectors-lib": "1.57.0-rc.0", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/payment-mop-up-job/package-lock.json b/packages/payment-mop-up-job/package-lock.json index 9843163d4..5599cb694 100644 --- a/packages/payment-mop-up-job/package-lock.json +++ b/packages/payment-mop-up-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.56.0", + "version": "1.57.0-rc.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/payment-mop-up-job", - "version": "1.56.0", + "version": "1.57.0-rc.0", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.56.0", - "@defra-fish/connectors-lib": "1.56.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.0", + "@defra-fish/connectors-lib": "1.57.0-rc.0", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" @@ -960,4 +960,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/payment-mop-up-job/package.json b/packages/payment-mop-up-job/package.json index 647aee335..4dd414daa 100644 --- a/packages/payment-mop-up-job/package.json +++ b/packages/payment-mop-up-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.56.0", + "version": "1.57.0-rc.0", "description": "Process incomplete web-sales", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.56.0", - "@defra-fish/connectors-lib": "1.56.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.0", + "@defra-fish/connectors-lib": "1.57.0-rc.0", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/pocl-job/package-lock.json b/packages/pocl-job/package-lock.json index d9a0e845f..ce7bdf210 100644 --- a/packages/pocl-job/package-lock.json +++ b/packages/pocl-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/pocl-job", - "version": "1.56.0", + "version": "1.57.0-rc.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/pocl-job", - "version": "1.56.0", + "version": "1.57.0-rc.0", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.56.0", - "@defra-fish/connectors-lib": "1.56.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.0", + "@defra-fish/connectors-lib": "1.57.0-rc.0", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", @@ -1022,4 +1022,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/pocl-job/package.json b/packages/pocl-job/package.json index a8c04b3d3..142b55e01 100644 --- a/packages/pocl-job/package.json +++ b/packages/pocl-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/pocl-job", - "version": "1.56.0", + "version": "1.57.0-rc.0", "description": "Post Office Counter Licence sales processor", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.56.0", - "@defra-fish/connectors-lib": "1.56.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.0", + "@defra-fish/connectors-lib": "1.57.0-rc.0", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/recurring-payments-job/package-lock.json b/packages/recurring-payments-job/package-lock.json index 360ee8f41..e6ddebfd4 100644 --- a/packages/recurring-payments-job/package-lock.json +++ b/packages/recurring-payments-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.56.0", + "version": "1.57.0-rc.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/recurring-payments-job", - "version": "1.56.0", + "version": "1.57.0-rc.0", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.56.0", - "@defra-fish/connectors-lib": "1.56.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.0", + "@defra-fish/connectors-lib": "1.57.0-rc.0", "commander": "^7.2.0", "moment-timezone": "^0.5.34" }, @@ -975,4 +975,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/recurring-payments-job/package.json b/packages/recurring-payments-job/package.json index 1bbb4b782..7008ba428 100644 --- a/packages/recurring-payments-job/package.json +++ b/packages/recurring-payments-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.56.0", + "version": "1.57.0-rc.0", "description": "Rod Licensing Recurring Payments Job", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.56.0", - "@defra-fish/connectors-lib": "1.56.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.0", + "@defra-fish/connectors-lib": "1.57.0-rc.0", "commander": "^7.2.0", "moment-timezone": "^0.5.34" } diff --git a/packages/sales-api-service/package-lock.json b/packages/sales-api-service/package-lock.json index 92c488ee1..eb1daba22 100644 --- a/packages/sales-api-service/package-lock.json +++ b/packages/sales-api-service/package-lock.json @@ -1,17 +1,17 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.56.0", + "version": "1.57.0-rc.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sales-api-service", - "version": "1.56.0", + "version": "1.57.0-rc.0", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.56.0", - "@defra-fish/connectors-lib": "1.56.0", - "@defra-fish/dynamics-lib": "1.56.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.0", + "@defra-fish/connectors-lib": "1.57.0-rc.0", + "@defra-fish/dynamics-lib": "1.57.0-rc.0", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", @@ -1704,4 +1704,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/sales-api-service/package.json b/packages/sales-api-service/package.json index 6fe248061..805b3a8e7 100644 --- a/packages/sales-api-service/package.json +++ b/packages/sales-api-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.56.0", + "version": "1.57.0-rc.0", "description": "Rod Licensing Sales API", "type": "module", "engines": { @@ -35,9 +35,9 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.56.0", - "@defra-fish/connectors-lib": "1.56.0", - "@defra-fish/dynamics-lib": "1.56.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.0", + "@defra-fish/connectors-lib": "1.57.0-rc.0", + "@defra-fish/dynamics-lib": "1.57.0-rc.0", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sqs-receiver-service/package-lock.json b/packages/sqs-receiver-service/package-lock.json index ecf07f8e6..552e228ee 100644 --- a/packages/sqs-receiver-service/package-lock.json +++ b/packages/sqs-receiver-service/package-lock.json @@ -1,15 +1,15 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.56.0", + "version": "1.57.0-rc.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sqs-receiver-service", - "version": "1.56.0", + "version": "1.57.0-rc.0", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.56.0", + "@defra-fish/connectors-lib": "1.57.0-rc.0", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", @@ -2752,4 +2752,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/sqs-receiver-service/package.json b/packages/sqs-receiver-service/package.json index b97ccf871..41823b863 100644 --- a/packages/sqs-receiver-service/package.json +++ b/packages/sqs-receiver-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.56.0", + "version": "1.57.0-rc.0", "description": "SQS Receiver service", "type": "module", "engines": { @@ -35,7 +35,7 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.56.0", + "@defra-fish/connectors-lib": "1.57.0-rc.0", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", From 8a267e04ae38d39089a652d8178c17e4155f0b74 Mon Sep 17 00:00:00 2001 From: Scott Dormand <61588381+ScottDormand96@users.noreply.github.com> Date: Fri, 29 Nov 2024 15:02:49 +0000 Subject: [PATCH 03/26] RCP fails (#2086) * RCP job fails locally https://eaflood.atlassian.net/browse/IWTF-4249 update node modules within package-lock so rcp is able run locally without running npm install within package each time * remove node modules but running install so get updated * update docker files * remove docker changes * update package-lock files * remove from dockerfile * changes to sales and sqs * run npx lerna exec -- npm install * run npx lerna exec -- npm install * change ci to i as wanting to update package-lock * revert change * change too ci --- .github/workflows/build.yml | 2 +- packages/business-rules-lib/package-lock.json | 2 +- packages/connectors-lib/package-lock.json | 2 +- packages/dynamics-lib/package-lock.json | 2 +- packages/fulfilment-job/package-lock.json | 2 +- packages/gafl-webapp-service/package-lock.json | 2 +- packages/payment-mop-up-job/package-lock.json | 2 +- packages/pocl-job/package-lock.json | 2 +- packages/recurring-payments-job/package-lock.json | 2 +- packages/sales-api-service/package-lock.json | 2 +- packages/sqs-receiver-service/package-lock.json | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1d19cd8a2..959881065 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: with: node-version: '18.x' - name: Install dependencies - run: npm i + run: npm ci - name: Run tests run: npm run test - name: Fix code coverage paths diff --git a/packages/business-rules-lib/package-lock.json b/packages/business-rules-lib/package-lock.json index 5aecf5bec..98cd0d190 100644 --- a/packages/business-rules-lib/package-lock.json +++ b/packages/business-rules-lib/package-lock.json @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/connectors-lib/package-lock.json b/packages/connectors-lib/package-lock.json index 461d95e0b..22d7d0769 100644 --- a/packages/connectors-lib/package-lock.json +++ b/packages/connectors-lib/package-lock.json @@ -470,4 +470,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/dynamics-lib/package-lock.json b/packages/dynamics-lib/package-lock.json index cebd0dbc7..6730c02cb 100644 --- a/packages/dynamics-lib/package-lock.json +++ b/packages/dynamics-lib/package-lock.json @@ -324,4 +324,4 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } -} \ No newline at end of file +} diff --git a/packages/fulfilment-job/package-lock.json b/packages/fulfilment-job/package-lock.json index ea0fde5fd..d24d26842 100644 --- a/packages/fulfilment-job/package-lock.json +++ b/packages/fulfilment-job/package-lock.json @@ -1171,4 +1171,4 @@ "license": "ISC" } } -} \ No newline at end of file +} diff --git a/packages/gafl-webapp-service/package-lock.json b/packages/gafl-webapp-service/package-lock.json index 9ce03c842..f3a5713b1 100644 --- a/packages/gafl-webapp-service/package-lock.json +++ b/packages/gafl-webapp-service/package-lock.json @@ -7566,4 +7566,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/payment-mop-up-job/package-lock.json b/packages/payment-mop-up-job/package-lock.json index 5599cb694..15f39841e 100644 --- a/packages/payment-mop-up-job/package-lock.json +++ b/packages/payment-mop-up-job/package-lock.json @@ -960,4 +960,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/pocl-job/package-lock.json b/packages/pocl-job/package-lock.json index ce7bdf210..f7a78016c 100644 --- a/packages/pocl-job/package-lock.json +++ b/packages/pocl-job/package-lock.json @@ -1022,4 +1022,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/recurring-payments-job/package-lock.json b/packages/recurring-payments-job/package-lock.json index e6ddebfd4..adf070ce4 100644 --- a/packages/recurring-payments-job/package-lock.json +++ b/packages/recurring-payments-job/package-lock.json @@ -975,4 +975,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/sales-api-service/package-lock.json b/packages/sales-api-service/package-lock.json index eb1daba22..27df24ce2 100644 --- a/packages/sales-api-service/package-lock.json +++ b/packages/sales-api-service/package-lock.json @@ -1704,4 +1704,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/sqs-receiver-service/package-lock.json b/packages/sqs-receiver-service/package-lock.json index 552e228ee..a59fc9eba 100644 --- a/packages/sqs-receiver-service/package-lock.json +++ b/packages/sqs-receiver-service/package-lock.json @@ -2752,4 +2752,4 @@ } } } -} \ No newline at end of file +} From 1b6d44f5046f91900083fb0fad5f95e2461c92b5 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 29 Nov 2024 15:06:48 +0000 Subject: [PATCH 04/26] chore(release): publish v1.57.0-rc.1 --- CHANGELOG.md | 9 +++++++++ lerna.json | 2 +- packages/business-rules-lib/package-lock.json | 6 +++--- packages/business-rules-lib/package.json | 2 +- packages/connectors-lib/package-lock.json | 6 +++--- packages/connectors-lib/package.json | 2 +- packages/dynamics-lib/package-lock.json | 6 +++--- packages/dynamics-lib/package.json | 2 +- packages/fulfilment-job/package-lock.json | 10 +++++----- packages/fulfilment-job/package.json | 6 +++--- packages/gafl-webapp-service/package-lock.json | 10 +++++----- packages/gafl-webapp-service/package.json | 6 +++--- packages/payment-mop-up-job/package-lock.json | 10 +++++----- packages/payment-mop-up-job/package.json | 6 +++--- packages/pocl-job/package-lock.json | 10 +++++----- packages/pocl-job/package.json | 6 +++--- packages/recurring-payments-job/package-lock.json | 10 +++++----- packages/recurring-payments-job/package.json | 6 +++--- packages/sales-api-service/package-lock.json | 12 ++++++------ packages/sales-api-service/package.json | 8 ++++---- packages/sqs-receiver-service/package-lock.json | 8 ++++---- packages/sqs-receiver-service/package.json | 4 ++-- 22 files changed, 78 insertions(+), 69 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a588ab1dc..e418c6d86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,13 @@ +## v1.57.0-rc.1 (2024-11-29) + +#### :rocket: Enhancement +* `business-rules-lib`, `connectors-lib`, `dynamics-lib`, `fulfilment-job`, `gafl-webapp-service`, `payment-mop-up-job`, `pocl-job`, `recurring-payments-job`, `sales-api-service`, `sqs-receiver-service` + * [#2086](https://github.com/DEFRA/rod-licensing/pull/2086) RCP fails ([@ScottDormand96](https://github.com/ScottDormand96)) + +#### Committers: 1 +- Scott Dormand ([@ScottDormand96](https://github.com/ScottDormand96)) + ## v1.57.0-rc.0 (2024-11-29) #### :rocket: Enhancement diff --git a/lerna.json b/lerna.json index fad24c7aa..da41ca06b 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "npmClient": "npm", "publishConfig": { "registry": "http://registry.npmjs.org/" diff --git a/packages/business-rules-lib/package-lock.json b/packages/business-rules-lib/package-lock.json index 98cd0d190..103f53601 100644 --- a/packages/business-rules-lib/package-lock.json +++ b/packages/business-rules-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", @@ -77,4 +77,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/business-rules-lib/package.json b/packages/business-rules-lib/package.json index 276f2a6b1..65da951de 100644 --- a/packages/business-rules-lib/package.json +++ b/packages/business-rules-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "description": "Shared business rules for the rod licensing digital services", "type": "module", "engines": { diff --git a/packages/connectors-lib/package-lock.json b/packages/connectors-lib/package-lock.json index 22d7d0769..835c77e3d 100644 --- a/packages/connectors-lib/package-lock.json +++ b/packages/connectors-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", @@ -470,4 +470,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/connectors-lib/package.json b/packages/connectors-lib/package.json index fb4f3f3fd..8ccb05622 100644 --- a/packages/connectors-lib/package.json +++ b/packages/connectors-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "description": "Shared connectors", "type": "module", "engines": { diff --git a/packages/dynamics-lib/package-lock.json b/packages/dynamics-lib/package-lock.json index 6730c02cb..3537126f6 100644 --- a/packages/dynamics-lib/package-lock.json +++ b/packages/dynamics-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "license": "SEE LICENSE IN LICENSE", "dependencies": { "cache-manager": "^3.6.0", @@ -324,4 +324,4 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } -} +} \ No newline at end of file diff --git a/packages/dynamics-lib/package.json b/packages/dynamics-lib/package.json index febbb986c..4b1caebcb 100644 --- a/packages/dynamics-lib/package.json +++ b/packages/dynamics-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "description": "Framework to support integration with dynamics", "type": "module", "engines": { diff --git a/packages/fulfilment-job/package-lock.json b/packages/fulfilment-job/package-lock.json index d24d26842..1bacfe984 100644 --- a/packages/fulfilment-job/package-lock.json +++ b/packages/fulfilment-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.0", - "@defra-fish/dynamics-lib": "1.57.0-rc.0", + "@defra-fish/connectors-lib": "1.57.0-rc.1", + "@defra-fish/dynamics-lib": "1.57.0-rc.1", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", @@ -1171,4 +1171,4 @@ "license": "ISC" } } -} +} \ No newline at end of file diff --git a/packages/fulfilment-job/package.json b/packages/fulfilment-job/package.json index 68339ebae..927fc634e 100644 --- a/packages/fulfilment-job/package.json +++ b/packages/fulfilment-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "description": "Rod Licensing Sales Fulfilment Job", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.0", - "@defra-fish/dynamics-lib": "1.57.0-rc.0", + "@defra-fish/connectors-lib": "1.57.0-rc.1", + "@defra-fish/dynamics-lib": "1.57.0-rc.1", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/gafl-webapp-service/package-lock.json b/packages/gafl-webapp-service/package-lock.json index f3a5713b1..10e528f0f 100644 --- a/packages/gafl-webapp-service/package-lock.json +++ b/packages/gafl-webapp-service/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.0", - "@defra-fish/connectors-lib": "1.57.0-rc.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.1", + "@defra-fish/connectors-lib": "1.57.0-rc.1", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", @@ -7566,4 +7566,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/gafl-webapp-service/package.json b/packages/gafl-webapp-service/package.json index 09d5e87d7..25cabe573 100644 --- a/packages/gafl-webapp-service/package.json +++ b/packages/gafl-webapp-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "description": "The websales frontend for the GAFL service", "type": "module", "engines": { @@ -36,8 +36,8 @@ "prepare": "gulp --gulpfile build/gulpfile.cjs" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.0", - "@defra-fish/connectors-lib": "1.57.0-rc.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.1", + "@defra-fish/connectors-lib": "1.57.0-rc.1", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/payment-mop-up-job/package-lock.json b/packages/payment-mop-up-job/package-lock.json index 15f39841e..312312f9e 100644 --- a/packages/payment-mop-up-job/package-lock.json +++ b/packages/payment-mop-up-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.0", - "@defra-fish/connectors-lib": "1.57.0-rc.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.1", + "@defra-fish/connectors-lib": "1.57.0-rc.1", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" @@ -960,4 +960,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/payment-mop-up-job/package.json b/packages/payment-mop-up-job/package.json index 4dd414daa..3b4f168d0 100644 --- a/packages/payment-mop-up-job/package.json +++ b/packages/payment-mop-up-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "description": "Process incomplete web-sales", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.0", - "@defra-fish/connectors-lib": "1.57.0-rc.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.1", + "@defra-fish/connectors-lib": "1.57.0-rc.1", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/pocl-job/package-lock.json b/packages/pocl-job/package-lock.json index f7a78016c..a47af1143 100644 --- a/packages/pocl-job/package-lock.json +++ b/packages/pocl-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.0", - "@defra-fish/connectors-lib": "1.57.0-rc.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.1", + "@defra-fish/connectors-lib": "1.57.0-rc.1", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", @@ -1022,4 +1022,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/pocl-job/package.json b/packages/pocl-job/package.json index 142b55e01..751df78f8 100644 --- a/packages/pocl-job/package.json +++ b/packages/pocl-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "description": "Post Office Counter Licence sales processor", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.0", - "@defra-fish/connectors-lib": "1.57.0-rc.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.1", + "@defra-fish/connectors-lib": "1.57.0-rc.1", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/recurring-payments-job/package-lock.json b/packages/recurring-payments-job/package-lock.json index adf070ce4..9c9ebc5dd 100644 --- a/packages/recurring-payments-job/package-lock.json +++ b/packages/recurring-payments-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.0", - "@defra-fish/connectors-lib": "1.57.0-rc.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.1", + "@defra-fish/connectors-lib": "1.57.0-rc.1", "commander": "^7.2.0", "moment-timezone": "^0.5.34" }, @@ -975,4 +975,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/recurring-payments-job/package.json b/packages/recurring-payments-job/package.json index 7008ba428..120154276 100644 --- a/packages/recurring-payments-job/package.json +++ b/packages/recurring-payments-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "description": "Rod Licensing Recurring Payments Job", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.0", - "@defra-fish/connectors-lib": "1.57.0-rc.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.1", + "@defra-fish/connectors-lib": "1.57.0-rc.1", "commander": "^7.2.0", "moment-timezone": "^0.5.34" } diff --git a/packages/sales-api-service/package-lock.json b/packages/sales-api-service/package-lock.json index 27df24ce2..54cef8625 100644 --- a/packages/sales-api-service/package-lock.json +++ b/packages/sales-api-service/package-lock.json @@ -1,17 +1,17 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.0", - "@defra-fish/connectors-lib": "1.57.0-rc.0", - "@defra-fish/dynamics-lib": "1.57.0-rc.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.1", + "@defra-fish/connectors-lib": "1.57.0-rc.1", + "@defra-fish/dynamics-lib": "1.57.0-rc.1", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", @@ -1704,4 +1704,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/sales-api-service/package.json b/packages/sales-api-service/package.json index 805b3a8e7..3e795d830 100644 --- a/packages/sales-api-service/package.json +++ b/packages/sales-api-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "description": "Rod Licensing Sales API", "type": "module", "engines": { @@ -35,9 +35,9 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.0", - "@defra-fish/connectors-lib": "1.57.0-rc.0", - "@defra-fish/dynamics-lib": "1.57.0-rc.0", + "@defra-fish/business-rules-lib": "1.57.0-rc.1", + "@defra-fish/connectors-lib": "1.57.0-rc.1", + "@defra-fish/dynamics-lib": "1.57.0-rc.1", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sqs-receiver-service/package-lock.json b/packages/sqs-receiver-service/package-lock.json index a59fc9eba..297cd9132 100644 --- a/packages/sqs-receiver-service/package-lock.json +++ b/packages/sqs-receiver-service/package-lock.json @@ -1,15 +1,15 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.0", + "@defra-fish/connectors-lib": "1.57.0-rc.1", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", @@ -2752,4 +2752,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/sqs-receiver-service/package.json b/packages/sqs-receiver-service/package.json index 41823b863..593463c36 100644 --- a/packages/sqs-receiver-service/package.json +++ b/packages/sqs-receiver-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.0", + "version": "1.57.0-rc.1", "description": "SQS Receiver service", "type": "module", "engines": { @@ -35,7 +35,7 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.0", + "@defra-fish/connectors-lib": "1.57.0-rc.1", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", From cf8ececa1008cd885671975124046cb67ac44029 Mon Sep 17 00:00:00 2001 From: Scott Dormand <61588381+ScottDormand96@users.noreply.github.com> Date: Wed, 4 Dec 2024 08:32:17 +0000 Subject: [PATCH 05/26] FTP POCL references (#2085) * FTP POCL references https://eaflood.atlassian.net/browse/IWTF-4279 remove references too ftp POCL env variables * remove pocl references --- docker/env/pocl_job.env.example | 7 ------- packages/pocl-job/README.md | 25 ++++++++++--------------- 2 files changed, 10 insertions(+), 22 deletions(-) diff --git a/docker/env/pocl_job.env.example b/docker/env/pocl_job.env.example index 5b98081fb..73604b312 100644 --- a/docker/env/pocl_job.env.example +++ b/docker/env/pocl_job.env.example @@ -23,12 +23,5 @@ SALES_API_TIMEOUT_MS=120000 POCL_FILE_STAGING_TABLE=PoclFileStaging POCL_RECORD_STAGING_TABLE=PoclRecordStaging -# FTP Settings -POCL_FTP_HOST=host.docker.internal -POCL_FTP_PORT=2222 -POCL_FTP_PATH=/share/pocl -POCL_FTP_USERNAME=test_sftp_user -POCL_FTP_KEY_SECRET_ID=/dev/fsh/local/sftp/ssh_ed25519_host_key - # Debug settings DEBUG=pocl:*,-pocl:ftp diff --git a/packages/pocl-job/README.md b/packages/pocl-job/README.md index aca7e211e..475e61e9e 100644 --- a/packages/pocl-job/README.md +++ b/packages/pocl-job/README.md @@ -9,21 +9,16 @@ to maintain state during the import process. # Environment variables -| name | description | required | default | valid | notes | -| ------------------------- | ----------------------------------------------------------------------------------- | :------: | --------- | ----------------------------------------------- | ----- | -| NODE_ENV | Node environment | no | | development, test, production | | -| POCL_FILE_STAGING_TABLE | The DynamoDB table used for staging POCL files | yes | | | | -| POCL_RECORD_STAGING_TABLE | The DynamoDB table used for staging POCL records | yes | | | | -| POCL_STAGING_TTL | The time to live for records in either staging table | no | 168 hours | | | -| POCL_FTP_HOST | The hostname of the target FTP server | yes | | | | -| POCL_FTP_PORT | The port of the FTP service on the target server | yes | | | | -| POCL_FTP_PATH | The base path under which files should be written to the FTP server | yes | | | | -| POCL_FTP_USERNAME | The username used to authenticate with the FTP server | yes | | | | -| POCL_FTP_PRIVATE_KEY_PATH | The path to the folder containing the keys used to authenticate with the FTP server | yes | | | | -| POCL_S3_BUCKET | The name of the AWS S3 bucket in which to stage pocl data | yes | | | | -| DEBUG | Use to enable output of debug information to the console | yes | | pocl:\*, pocl:staging, pocl:transport, pocl:ftp | | -| AIRBRAKE_HOST | URL of airbrake host | no | | | | -| AIRBRAKE_PROJECT_KEY | Project key for airbrake logging | no | | | | +| name | description | required | default | valid | notes | +| ------------------------- | --------------------------------------------------------- | :------: | --------- | ----------------------------------------------- | ----- | +| NODE_ENV | Node environment | no | | development, test, production | | +| POCL_FILE_STAGING_TABLE | The DynamoDB table used for staging POCL files | yes | | | | +| POCL_RECORD_STAGING_TABLE | The DynamoDB table used for staging POCL records | yes | | | | +| POCL_STAGING_TTL | The time to live for records in either staging table | no | 168 hours | | | +| POCL_S3_BUCKET | The name of the AWS S3 bucket in which to stage pocl data | yes | | | | +| DEBUG | Use to enable output of debug information to the console | yes | | pocl:\*, pocl:staging, pocl:transport, pocl:ftp | | +| AIRBRAKE_HOST | URL of airbrake host | no | | | | +| AIRBRAKE_PROJECT_KEY | Project key for airbrake logging | no | | | | ### See also: From c4f5feb4e8bc1d4b6e413fb2344c3bee4fddd9ab Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 4 Dec 2024 08:36:09 +0000 Subject: [PATCH 06/26] chore(release): publish v1.57.0-rc.2 --- CHANGELOG.md | 9 +++++++++ lerna.json | 2 +- packages/business-rules-lib/package-lock.json | 4 ++-- packages/business-rules-lib/package.json | 2 +- packages/connectors-lib/package-lock.json | 4 ++-- packages/connectors-lib/package.json | 2 +- packages/dynamics-lib/package-lock.json | 4 ++-- packages/dynamics-lib/package.json | 2 +- packages/fulfilment-job/package-lock.json | 8 ++++---- packages/fulfilment-job/package.json | 6 +++--- packages/gafl-webapp-service/package-lock.json | 8 ++++---- packages/gafl-webapp-service/package.json | 6 +++--- packages/payment-mop-up-job/package-lock.json | 8 ++++---- packages/payment-mop-up-job/package.json | 6 +++--- packages/pocl-job/package-lock.json | 8 ++++---- packages/pocl-job/package.json | 6 +++--- packages/recurring-payments-job/package-lock.json | 8 ++++---- packages/recurring-payments-job/package.json | 6 +++--- packages/sales-api-service/package-lock.json | 10 +++++----- packages/sales-api-service/package.json | 8 ++++---- packages/sqs-receiver-service/package-lock.json | 6 +++--- packages/sqs-receiver-service/package.json | 4 ++-- 22 files changed, 68 insertions(+), 59 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e418c6d86..26b1292ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,13 @@ +## v1.57.0-rc.2 (2024-12-04) + +#### :rocket: Enhancement +* `pocl-job` + * [#2085](https://github.com/DEFRA/rod-licensing/pull/2085) FTP POCL references ([@ScottDormand96](https://github.com/ScottDormand96)) + +#### Committers: 1 +- Scott Dormand ([@ScottDormand96](https://github.com/ScottDormand96)) + ## v1.57.0-rc.1 (2024-11-29) #### :rocket: Enhancement diff --git a/lerna.json b/lerna.json index da41ca06b..a72ffdcbe 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "npmClient": "npm", "publishConfig": { "registry": "http://registry.npmjs.org/" diff --git a/packages/business-rules-lib/package-lock.json b/packages/business-rules-lib/package-lock.json index 103f53601..4573519b7 100644 --- a/packages/business-rules-lib/package-lock.json +++ b/packages/business-rules-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", diff --git a/packages/business-rules-lib/package.json b/packages/business-rules-lib/package.json index 65da951de..25922a13f 100644 --- a/packages/business-rules-lib/package.json +++ b/packages/business-rules-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "description": "Shared business rules for the rod licensing digital services", "type": "module", "engines": { diff --git a/packages/connectors-lib/package-lock.json b/packages/connectors-lib/package-lock.json index 835c77e3d..24f932243 100644 --- a/packages/connectors-lib/package-lock.json +++ b/packages/connectors-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", diff --git a/packages/connectors-lib/package.json b/packages/connectors-lib/package.json index 8ccb05622..937c7ac50 100644 --- a/packages/connectors-lib/package.json +++ b/packages/connectors-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "description": "Shared connectors", "type": "module", "engines": { diff --git a/packages/dynamics-lib/package-lock.json b/packages/dynamics-lib/package-lock.json index 3537126f6..00caed894 100644 --- a/packages/dynamics-lib/package-lock.json +++ b/packages/dynamics-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "license": "SEE LICENSE IN LICENSE", "dependencies": { "cache-manager": "^3.6.0", diff --git a/packages/dynamics-lib/package.json b/packages/dynamics-lib/package.json index 4b1caebcb..3ec40aa25 100644 --- a/packages/dynamics-lib/package.json +++ b/packages/dynamics-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "description": "Framework to support integration with dynamics", "type": "module", "engines": { diff --git a/packages/fulfilment-job/package-lock.json b/packages/fulfilment-job/package-lock.json index 1bacfe984..2fee6a94c 100644 --- a/packages/fulfilment-job/package-lock.json +++ b/packages/fulfilment-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.1", - "@defra-fish/dynamics-lib": "1.57.0-rc.1", + "@defra-fish/connectors-lib": "1.57.0-rc.2", + "@defra-fish/dynamics-lib": "1.57.0-rc.2", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/fulfilment-job/package.json b/packages/fulfilment-job/package.json index 927fc634e..755df8c40 100644 --- a/packages/fulfilment-job/package.json +++ b/packages/fulfilment-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "description": "Rod Licensing Sales Fulfilment Job", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.1", - "@defra-fish/dynamics-lib": "1.57.0-rc.1", + "@defra-fish/connectors-lib": "1.57.0-rc.2", + "@defra-fish/dynamics-lib": "1.57.0-rc.2", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/gafl-webapp-service/package-lock.json b/packages/gafl-webapp-service/package-lock.json index 10e528f0f..b9fae1c64 100644 --- a/packages/gafl-webapp-service/package-lock.json +++ b/packages/gafl-webapp-service/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.1", - "@defra-fish/connectors-lib": "1.57.0-rc.1", + "@defra-fish/business-rules-lib": "1.57.0-rc.2", + "@defra-fish/connectors-lib": "1.57.0-rc.2", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/gafl-webapp-service/package.json b/packages/gafl-webapp-service/package.json index 25cabe573..4653a91dd 100644 --- a/packages/gafl-webapp-service/package.json +++ b/packages/gafl-webapp-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "description": "The websales frontend for the GAFL service", "type": "module", "engines": { @@ -36,8 +36,8 @@ "prepare": "gulp --gulpfile build/gulpfile.cjs" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.1", - "@defra-fish/connectors-lib": "1.57.0-rc.1", + "@defra-fish/business-rules-lib": "1.57.0-rc.2", + "@defra-fish/connectors-lib": "1.57.0-rc.2", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/payment-mop-up-job/package-lock.json b/packages/payment-mop-up-job/package-lock.json index 312312f9e..b15051d15 100644 --- a/packages/payment-mop-up-job/package-lock.json +++ b/packages/payment-mop-up-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.1", - "@defra-fish/connectors-lib": "1.57.0-rc.1", + "@defra-fish/business-rules-lib": "1.57.0-rc.2", + "@defra-fish/connectors-lib": "1.57.0-rc.2", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/payment-mop-up-job/package.json b/packages/payment-mop-up-job/package.json index 3b4f168d0..eca3a08f9 100644 --- a/packages/payment-mop-up-job/package.json +++ b/packages/payment-mop-up-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "description": "Process incomplete web-sales", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.1", - "@defra-fish/connectors-lib": "1.57.0-rc.1", + "@defra-fish/business-rules-lib": "1.57.0-rc.2", + "@defra-fish/connectors-lib": "1.57.0-rc.2", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/pocl-job/package-lock.json b/packages/pocl-job/package-lock.json index a47af1143..049b0dc20 100644 --- a/packages/pocl-job/package-lock.json +++ b/packages/pocl-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.1", - "@defra-fish/connectors-lib": "1.57.0-rc.1", + "@defra-fish/business-rules-lib": "1.57.0-rc.2", + "@defra-fish/connectors-lib": "1.57.0-rc.2", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/pocl-job/package.json b/packages/pocl-job/package.json index 751df78f8..86c400683 100644 --- a/packages/pocl-job/package.json +++ b/packages/pocl-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "description": "Post Office Counter Licence sales processor", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.1", - "@defra-fish/connectors-lib": "1.57.0-rc.1", + "@defra-fish/business-rules-lib": "1.57.0-rc.2", + "@defra-fish/connectors-lib": "1.57.0-rc.2", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/recurring-payments-job/package-lock.json b/packages/recurring-payments-job/package-lock.json index 9c9ebc5dd..8a03294f2 100644 --- a/packages/recurring-payments-job/package-lock.json +++ b/packages/recurring-payments-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.1", - "@defra-fish/connectors-lib": "1.57.0-rc.1", + "@defra-fish/business-rules-lib": "1.57.0-rc.2", + "@defra-fish/connectors-lib": "1.57.0-rc.2", "commander": "^7.2.0", "moment-timezone": "^0.5.34" }, diff --git a/packages/recurring-payments-job/package.json b/packages/recurring-payments-job/package.json index 120154276..cb080f747 100644 --- a/packages/recurring-payments-job/package.json +++ b/packages/recurring-payments-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "description": "Rod Licensing Recurring Payments Job", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.1", - "@defra-fish/connectors-lib": "1.57.0-rc.1", + "@defra-fish/business-rules-lib": "1.57.0-rc.2", + "@defra-fish/connectors-lib": "1.57.0-rc.2", "commander": "^7.2.0", "moment-timezone": "^0.5.34" } diff --git a/packages/sales-api-service/package-lock.json b/packages/sales-api-service/package-lock.json index 54cef8625..f1ad99021 100644 --- a/packages/sales-api-service/package-lock.json +++ b/packages/sales-api-service/package-lock.json @@ -1,17 +1,17 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.1", - "@defra-fish/connectors-lib": "1.57.0-rc.1", - "@defra-fish/dynamics-lib": "1.57.0-rc.1", + "@defra-fish/business-rules-lib": "1.57.0-rc.2", + "@defra-fish/connectors-lib": "1.57.0-rc.2", + "@defra-fish/dynamics-lib": "1.57.0-rc.2", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sales-api-service/package.json b/packages/sales-api-service/package.json index 3e795d830..c582cf679 100644 --- a/packages/sales-api-service/package.json +++ b/packages/sales-api-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "description": "Rod Licensing Sales API", "type": "module", "engines": { @@ -35,9 +35,9 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.1", - "@defra-fish/connectors-lib": "1.57.0-rc.1", - "@defra-fish/dynamics-lib": "1.57.0-rc.1", + "@defra-fish/business-rules-lib": "1.57.0-rc.2", + "@defra-fish/connectors-lib": "1.57.0-rc.2", + "@defra-fish/dynamics-lib": "1.57.0-rc.2", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sqs-receiver-service/package-lock.json b/packages/sqs-receiver-service/package-lock.json index 297cd9132..628a76ee6 100644 --- a/packages/sqs-receiver-service/package-lock.json +++ b/packages/sqs-receiver-service/package-lock.json @@ -1,15 +1,15 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.1", + "@defra-fish/connectors-lib": "1.57.0-rc.2", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", diff --git a/packages/sqs-receiver-service/package.json b/packages/sqs-receiver-service/package.json index 593463c36..36d7c9e5c 100644 --- a/packages/sqs-receiver-service/package.json +++ b/packages/sqs-receiver-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.1", + "version": "1.57.0-rc.2", "description": "SQS Receiver service", "type": "module", "engines": { @@ -35,7 +35,7 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.1", + "@defra-fish/connectors-lib": "1.57.0-rc.2", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", From a03b51307f906c19d1aecc9526c8e1fca904a503 Mon Sep 17 00:00:00 2001 From: Iris Faraway Date: Fri, 6 Dec 2024 15:11:11 +0000 Subject: [PATCH 07/26] Rename createRecurringPayment to clarify it creates agreements (#2082) https://eaflood.atlassian.net/browse/IWTF-4373 Since the actual payments are created using the usual createPayment function, just with recurring as true. --- .../src/__tests__/govuk-pay-api.spec.js | 6 +++--- packages/connectors-lib/src/govuk-pay-api.js | 2 +- .../payment/__test__/govuk-pay-service.spec.js | 16 ++++++++-------- .../src/services/payment/govuk-pay-service.js | 6 +++--- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/packages/connectors-lib/src/__tests__/govuk-pay-api.spec.js b/packages/connectors-lib/src/__tests__/govuk-pay-api.spec.js index 43f4b3e08..4c1832c70 100644 --- a/packages/connectors-lib/src/__tests__/govuk-pay-api.spec.js +++ b/packages/connectors-lib/src/__tests__/govuk-pay-api.spec.js @@ -120,10 +120,10 @@ describe('govuk-pay-api-connector', () => { }) }) - describe('createRecurringPayment', () => { + describe('createRecurringPaymentAgreement', () => { it('creates new payments', async () => { fetch.mockReturnValue({ ok: true, status: 200 }) - await expect(govUkPayApi.createRecurringPayment({ cost: 0 })).resolves.toEqual({ ok: true, status: 200 }) + await expect(govUkPayApi.createRecurringPaymentAgreement({ cost: 0 })).resolves.toEqual({ ok: true, status: 200 }) expect(fetch).toHaveBeenCalledWith('http://0.0.0.0/agreement', { body: JSON.stringify({ cost: 0 }), headers: recurringHeaders, @@ -137,7 +137,7 @@ describe('govuk-pay-api-connector', () => { fetch.mockImplementation(() => { throw new Error('') }) - expect(govUkPayApi.createRecurringPayment({ reference: '123' })).rejects.toEqual(Error('')) + expect(govUkPayApi.createRecurringPaymentAgreement({ reference: '123' })).rejects.toEqual(Error('')) expect(fetch).toHaveBeenCalledWith('http://0.0.0.0/agreement', { body: JSON.stringify({ reference: '123' }), headers: recurringHeaders, diff --git a/packages/connectors-lib/src/govuk-pay-api.js b/packages/connectors-lib/src/govuk-pay-api.js index 16657c213..b3295dec3 100644 --- a/packages/connectors-lib/src/govuk-pay-api.js +++ b/packages/connectors-lib/src/govuk-pay-api.js @@ -15,7 +15,7 @@ const headers = recurring => ({ * @param preparedPayment - see the GOV.UK pay API reference for details * @returns {Promise<*>} */ -export const createRecurringPayment = async preparedPayment => { +export const createRecurringPaymentAgreement = async preparedPayment => { try { return fetch(process.env.GOV_PAY_RCP_API_URL, { headers: headers(true), diff --git a/packages/gafl-webapp-service/src/services/payment/__test__/govuk-pay-service.spec.js b/packages/gafl-webapp-service/src/services/payment/__test__/govuk-pay-service.spec.js index ac995d1b2..c027790bc 100644 --- a/packages/gafl-webapp-service/src/services/payment/__test__/govuk-pay-service.spec.js +++ b/packages/gafl-webapp-service/src/services/payment/__test__/govuk-pay-service.spec.js @@ -309,7 +309,7 @@ describe('The govuk-pay-service', () => { ok: true, json: jest.fn().mockResolvedValue({ success: true, paymentId: 'abc123' }) } - govUkPayApi.createRecurringPayment.mockResolvedValue(mockResponse) + govUkPayApi.createRecurringPaymentAgreement.mockResolvedValue(mockResponse) const unique = Symbol('payload') const payload = { reference: 'd81f1a2b-6508-468f-8342-b6770f60f7cd', @@ -318,7 +318,7 @@ describe('The govuk-pay-service', () => { unique } await sendRecurringPayment(payload) - expect(govUkPayApi.createRecurringPayment).toHaveBeenCalledWith(payload) + expect(govUkPayApi.createRecurringPaymentAgreement).toHaveBeenCalledWith(payload) }) it('should return response body when payment creation is successful', async () => { @@ -326,7 +326,7 @@ describe('The govuk-pay-service', () => { ok: true, json: jest.fn().mockResolvedValue({ success: true, paymentId: 'abc123' }) } - govUkPayApi.createRecurringPayment.mockResolvedValue(mockResponse) + govUkPayApi.createRecurringPaymentAgreement.mockResolvedValue(mockResponse) const result = await sendRecurringPayment(preparedPayment) @@ -338,7 +338,7 @@ describe('The govuk-pay-service', () => { ok: true, json: jest.fn().mockResolvedValue({ success: true, paymentId: 'abc123' }) } - govUkPayApi.createRecurringPayment.mockResolvedValue(mockResponse) + govUkPayApi.createRecurringPaymentAgreement.mockResolvedValue(mockResponse) await sendRecurringPayment(preparedPayment) @@ -352,7 +352,7 @@ describe('The govuk-pay-service', () => { json: jest.fn().mockResolvedValue({ message: 'Server error' }) } const consoleErrorSpy = jest.spyOn(console, 'error').mockImplementation(() => {}) - govUkPayApi.createRecurringPayment.mockResolvedValue(mockResponse) + govUkPayApi.createRecurringPaymentAgreement.mockResolvedValue(mockResponse) try { await sendRecurringPayment(preparedPayment) @@ -370,7 +370,7 @@ describe('The govuk-pay-service', () => { it('should throw error when API call fails with network issue', async () => { const mockError = new Error('Network error') const consoleErrorSpy = jest.spyOn(console, 'error').mockImplementation(jest.fn()) - govUkPayApi.createRecurringPayment.mockRejectedValue(mockError) + govUkPayApi.createRecurringPaymentAgreement.mockRejectedValue(mockError) try { await sendRecurringPayment(preparedPayment) @@ -389,7 +389,7 @@ describe('The govuk-pay-service', () => { json: jest.fn().mockResolvedValue({ message: 'Rate limit exceeded' }) } const consoleErrorSpy = jest.spyOn(console, 'info').mockImplementation(jest.fn()) - govUkPayApi.createRecurringPayment.mockResolvedValue(mockResponse) + govUkPayApi.createRecurringPaymentAgreement.mockResolvedValue(mockResponse) try { await sendRecurringPayment(preparedPayment) @@ -404,7 +404,7 @@ describe('The govuk-pay-service', () => { status: 500, json: jest.fn().mockResolvedValue({ message: 'Server error' }) } - govUkPayApi.createRecurringPayment.mockResolvedValue(mockResponse) + govUkPayApi.createRecurringPaymentAgreement.mockResolvedValue(mockResponse) try { await sendRecurringPayment(preparedPayment) diff --git a/packages/gafl-webapp-service/src/services/payment/govuk-pay-service.js b/packages/gafl-webapp-service/src/services/payment/govuk-pay-service.js index 80bedb845..ee150457d 100644 --- a/packages/gafl-webapp-service/src/services/payment/govuk-pay-service.js +++ b/packages/gafl-webapp-service/src/services/payment/govuk-pay-service.js @@ -109,9 +109,9 @@ export const getPaymentStatus = async (paymentId, recurring = false) => { } } -const createRecurringPayment = async preparedPayment => { +const createRecurringPaymentAgreement = async preparedPayment => { try { - return await govUkPayApi.createRecurringPayment(preparedPayment) + return await govUkPayApi.createRecurringPaymentAgreement(preparedPayment) } catch (err) { /* * Potentially errors caught here (unreachable, timeouts) may be retried - set origin on the error to indicate @@ -122,7 +122,7 @@ const createRecurringPayment = async preparedPayment => { } export const sendRecurringPayment = async preparedPayment => { - const response = await createRecurringPayment(preparedPayment) + const response = await createRecurringPaymentAgreement(preparedPayment) if (response.ok) { const resBody = await response.json() From fffcc3f47679cac0fef84e3220a1111e4a209b2f Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 6 Dec 2024 15:15:13 +0000 Subject: [PATCH 08/26] chore(release): publish v1.57.0-rc.3 --- CHANGELOG.md | 9 +++++++++ lerna.json | 2 +- packages/business-rules-lib/package-lock.json | 4 ++-- packages/business-rules-lib/package.json | 2 +- packages/connectors-lib/package-lock.json | 4 ++-- packages/connectors-lib/package.json | 2 +- packages/dynamics-lib/package-lock.json | 4 ++-- packages/dynamics-lib/package.json | 2 +- packages/fulfilment-job/package-lock.json | 8 ++++---- packages/fulfilment-job/package.json | 6 +++--- packages/gafl-webapp-service/package-lock.json | 8 ++++---- packages/gafl-webapp-service/package.json | 6 +++--- packages/payment-mop-up-job/package-lock.json | 8 ++++---- packages/payment-mop-up-job/package.json | 6 +++--- packages/pocl-job/package-lock.json | 8 ++++---- packages/pocl-job/package.json | 6 +++--- packages/recurring-payments-job/package-lock.json | 8 ++++---- packages/recurring-payments-job/package.json | 6 +++--- packages/sales-api-service/package-lock.json | 10 +++++----- packages/sales-api-service/package.json | 8 ++++---- packages/sqs-receiver-service/package-lock.json | 6 +++--- packages/sqs-receiver-service/package.json | 4 ++-- 22 files changed, 68 insertions(+), 59 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 26b1292ca..2af57bba8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,13 @@ +## v1.57.0-rc.3 (2024-12-06) + +#### :rocket: Enhancement +* `connectors-lib`, `gafl-webapp-service` + * [#2082](https://github.com/DEFRA/rod-licensing/pull/2082) Rename createRecurringPayment to clarify it creates agreements ([@irisfaraway](https://github.com/irisfaraway)) + +#### Committers: 1 +- Iris Faraway ([@irisfaraway](https://github.com/irisfaraway)) + ## v1.57.0-rc.2 (2024-12-04) #### :rocket: Enhancement diff --git a/lerna.json b/lerna.json index a72ffdcbe..c6e06394d 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "npmClient": "npm", "publishConfig": { "registry": "http://registry.npmjs.org/" diff --git a/packages/business-rules-lib/package-lock.json b/packages/business-rules-lib/package-lock.json index 4573519b7..751201bf8 100644 --- a/packages/business-rules-lib/package-lock.json +++ b/packages/business-rules-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", diff --git a/packages/business-rules-lib/package.json b/packages/business-rules-lib/package.json index 25922a13f..4f01123a7 100644 --- a/packages/business-rules-lib/package.json +++ b/packages/business-rules-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "description": "Shared business rules for the rod licensing digital services", "type": "module", "engines": { diff --git a/packages/connectors-lib/package-lock.json b/packages/connectors-lib/package-lock.json index 24f932243..191c46d74 100644 --- a/packages/connectors-lib/package-lock.json +++ b/packages/connectors-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", diff --git a/packages/connectors-lib/package.json b/packages/connectors-lib/package.json index 937c7ac50..dd0773962 100644 --- a/packages/connectors-lib/package.json +++ b/packages/connectors-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "description": "Shared connectors", "type": "module", "engines": { diff --git a/packages/dynamics-lib/package-lock.json b/packages/dynamics-lib/package-lock.json index 00caed894..31d789599 100644 --- a/packages/dynamics-lib/package-lock.json +++ b/packages/dynamics-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "license": "SEE LICENSE IN LICENSE", "dependencies": { "cache-manager": "^3.6.0", diff --git a/packages/dynamics-lib/package.json b/packages/dynamics-lib/package.json index 3ec40aa25..bb636fff8 100644 --- a/packages/dynamics-lib/package.json +++ b/packages/dynamics-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "description": "Framework to support integration with dynamics", "type": "module", "engines": { diff --git a/packages/fulfilment-job/package-lock.json b/packages/fulfilment-job/package-lock.json index 2fee6a94c..bca20d429 100644 --- a/packages/fulfilment-job/package-lock.json +++ b/packages/fulfilment-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.2", - "@defra-fish/dynamics-lib": "1.57.0-rc.2", + "@defra-fish/connectors-lib": "1.57.0-rc.3", + "@defra-fish/dynamics-lib": "1.57.0-rc.3", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/fulfilment-job/package.json b/packages/fulfilment-job/package.json index 755df8c40..534cbe5fb 100644 --- a/packages/fulfilment-job/package.json +++ b/packages/fulfilment-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "description": "Rod Licensing Sales Fulfilment Job", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.2", - "@defra-fish/dynamics-lib": "1.57.0-rc.2", + "@defra-fish/connectors-lib": "1.57.0-rc.3", + "@defra-fish/dynamics-lib": "1.57.0-rc.3", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/gafl-webapp-service/package-lock.json b/packages/gafl-webapp-service/package-lock.json index b9fae1c64..434254621 100644 --- a/packages/gafl-webapp-service/package-lock.json +++ b/packages/gafl-webapp-service/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.2", - "@defra-fish/connectors-lib": "1.57.0-rc.2", + "@defra-fish/business-rules-lib": "1.57.0-rc.3", + "@defra-fish/connectors-lib": "1.57.0-rc.3", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/gafl-webapp-service/package.json b/packages/gafl-webapp-service/package.json index 4653a91dd..4facea90b 100644 --- a/packages/gafl-webapp-service/package.json +++ b/packages/gafl-webapp-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "description": "The websales frontend for the GAFL service", "type": "module", "engines": { @@ -36,8 +36,8 @@ "prepare": "gulp --gulpfile build/gulpfile.cjs" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.2", - "@defra-fish/connectors-lib": "1.57.0-rc.2", + "@defra-fish/business-rules-lib": "1.57.0-rc.3", + "@defra-fish/connectors-lib": "1.57.0-rc.3", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/payment-mop-up-job/package-lock.json b/packages/payment-mop-up-job/package-lock.json index b15051d15..8ef7a9fd0 100644 --- a/packages/payment-mop-up-job/package-lock.json +++ b/packages/payment-mop-up-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.2", - "@defra-fish/connectors-lib": "1.57.0-rc.2", + "@defra-fish/business-rules-lib": "1.57.0-rc.3", + "@defra-fish/connectors-lib": "1.57.0-rc.3", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/payment-mop-up-job/package.json b/packages/payment-mop-up-job/package.json index eca3a08f9..a0df7d902 100644 --- a/packages/payment-mop-up-job/package.json +++ b/packages/payment-mop-up-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "description": "Process incomplete web-sales", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.2", - "@defra-fish/connectors-lib": "1.57.0-rc.2", + "@defra-fish/business-rules-lib": "1.57.0-rc.3", + "@defra-fish/connectors-lib": "1.57.0-rc.3", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/pocl-job/package-lock.json b/packages/pocl-job/package-lock.json index 049b0dc20..eb687f9f5 100644 --- a/packages/pocl-job/package-lock.json +++ b/packages/pocl-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.2", - "@defra-fish/connectors-lib": "1.57.0-rc.2", + "@defra-fish/business-rules-lib": "1.57.0-rc.3", + "@defra-fish/connectors-lib": "1.57.0-rc.3", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/pocl-job/package.json b/packages/pocl-job/package.json index 86c400683..c9371ddaf 100644 --- a/packages/pocl-job/package.json +++ b/packages/pocl-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "description": "Post Office Counter Licence sales processor", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.2", - "@defra-fish/connectors-lib": "1.57.0-rc.2", + "@defra-fish/business-rules-lib": "1.57.0-rc.3", + "@defra-fish/connectors-lib": "1.57.0-rc.3", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/recurring-payments-job/package-lock.json b/packages/recurring-payments-job/package-lock.json index 8a03294f2..3606fd8d0 100644 --- a/packages/recurring-payments-job/package-lock.json +++ b/packages/recurring-payments-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.2", - "@defra-fish/connectors-lib": "1.57.0-rc.2", + "@defra-fish/business-rules-lib": "1.57.0-rc.3", + "@defra-fish/connectors-lib": "1.57.0-rc.3", "commander": "^7.2.0", "moment-timezone": "^0.5.34" }, diff --git a/packages/recurring-payments-job/package.json b/packages/recurring-payments-job/package.json index cb080f747..ed0321824 100644 --- a/packages/recurring-payments-job/package.json +++ b/packages/recurring-payments-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "description": "Rod Licensing Recurring Payments Job", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.2", - "@defra-fish/connectors-lib": "1.57.0-rc.2", + "@defra-fish/business-rules-lib": "1.57.0-rc.3", + "@defra-fish/connectors-lib": "1.57.0-rc.3", "commander": "^7.2.0", "moment-timezone": "^0.5.34" } diff --git a/packages/sales-api-service/package-lock.json b/packages/sales-api-service/package-lock.json index f1ad99021..56440d0c9 100644 --- a/packages/sales-api-service/package-lock.json +++ b/packages/sales-api-service/package-lock.json @@ -1,17 +1,17 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.2", - "@defra-fish/connectors-lib": "1.57.0-rc.2", - "@defra-fish/dynamics-lib": "1.57.0-rc.2", + "@defra-fish/business-rules-lib": "1.57.0-rc.3", + "@defra-fish/connectors-lib": "1.57.0-rc.3", + "@defra-fish/dynamics-lib": "1.57.0-rc.3", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sales-api-service/package.json b/packages/sales-api-service/package.json index c582cf679..4866b3f84 100644 --- a/packages/sales-api-service/package.json +++ b/packages/sales-api-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "description": "Rod Licensing Sales API", "type": "module", "engines": { @@ -35,9 +35,9 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.2", - "@defra-fish/connectors-lib": "1.57.0-rc.2", - "@defra-fish/dynamics-lib": "1.57.0-rc.2", + "@defra-fish/business-rules-lib": "1.57.0-rc.3", + "@defra-fish/connectors-lib": "1.57.0-rc.3", + "@defra-fish/dynamics-lib": "1.57.0-rc.3", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sqs-receiver-service/package-lock.json b/packages/sqs-receiver-service/package-lock.json index 628a76ee6..66a04020c 100644 --- a/packages/sqs-receiver-service/package-lock.json +++ b/packages/sqs-receiver-service/package-lock.json @@ -1,15 +1,15 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.2", + "@defra-fish/connectors-lib": "1.57.0-rc.3", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", diff --git a/packages/sqs-receiver-service/package.json b/packages/sqs-receiver-service/package.json index 36d7c9e5c..c7d141739 100644 --- a/packages/sqs-receiver-service/package.json +++ b/packages/sqs-receiver-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.2", + "version": "1.57.0-rc.3", "description": "SQS Receiver service", "type": "module", "engines": { @@ -35,7 +35,7 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.2", + "@defra-fish/connectors-lib": "1.57.0-rc.3", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", From 19abcb6a244980f8186dde2e0f719c875f2bda4b Mon Sep 17 00:00:00 2001 From: Iris Faraway Date: Mon, 9 Dec 2024 15:08:43 +0000 Subject: [PATCH 09/26] Apply more specific date error messages (#2022) * Apply more specific date error messages https://eaflood.atlassian.net/browse/IWTF-3913 This PR makes use of the new date validations to give more specific date error messages. * Generalise date validation and apply to date of birth page * Added validation for licence to start page * Refactor date of birth and start date validators to be reusable functions, apply them to the date of birth, start date and renewals id page (start date will be applied to renewal start date in a new ticket) * Add function to get error flags for a date, to pass through to the template so the relevant fields can be highlighted --------- Co-authored-by: Phil Benson --- .../gafl-webapp-service/src/locales/cy.json | 33 ++- .../gafl-webapp-service/src/locales/en.json | 37 +++- .../date-of-birth/__tests__/route.spec.js | 95 ++++++-- .../date-of-birth/date-of-birth.njk | 44 +++- .../pages/concessions/date-of-birth/route.js | 24 +- .../licence-to-start/__tests__/route.spec.js | 67 +++++- .../licence-to-start/licence-to-start.njk | 47 +++- .../licence-details/licence-to-start/route.js | 46 ++-- .../__tests__/identity.next-page.spec.js | 36 --- .../identify/__tests__/identity.spec.js | 3 + .../renewals/identify/__tests__/route-spec.js | 38 ---- .../renewals/identify/__tests__/route.spec.js | 126 +++++++++++ .../src/pages/renewals/identify/identify.njk | 42 +++- .../src/pages/renewals/identify/route.js | 20 +- .../__snapshots__/date.schema.test.js.snap | 32 +++ .../src/schema/__tests__/date.schema.test.js | 64 ++++++ .../src/schema/date.schema.js | 63 ++++++ .../validators/__tests__/validators.spec.js | 208 ++++++++++++++++++ .../src/schema/validators/validators.js | 65 ++++++ 19 files changed, 894 insertions(+), 196 deletions(-) delete mode 100644 packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/identity.next-page.spec.js delete mode 100644 packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/route-spec.js create mode 100644 packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/route.spec.js create mode 100644 packages/gafl-webapp-service/src/schema/__tests__/__snapshots__/date.schema.test.js.snap create mode 100644 packages/gafl-webapp-service/src/schema/__tests__/date.schema.test.js create mode 100644 packages/gafl-webapp-service/src/schema/date.schema.js create mode 100644 packages/gafl-webapp-service/src/schema/validators/__tests__/validators.spec.js create mode 100644 packages/gafl-webapp-service/src/schema/validators/validators.js diff --git a/packages/gafl-webapp-service/src/locales/cy.json b/packages/gafl-webapp-service/src/locales/cy.json index fa2942b23..b9fcd790b 100644 --- a/packages/gafl-webapp-service/src/locales/cy.json +++ b/packages/gafl-webapp-service/src/locales/cy.json @@ -272,9 +272,16 @@ "disability_concession_title_you": "Ydych chi’n derbyn unrhyw un o’r canlynol?", "dob_day": "Diwrnod", "dob_entry_hint": "Er enghraifft, 23 11 1979", - "dob_error_format_max": "Mae'n rhaid i’r dyddiad geni fod yn y gorffennol", - "dob_error_format_min": "Nodwch eich dyddiad geni a chynnwys y diwrnod, y mis a’r flwyddyn", - "dob_error_format": "Nodwch ddyddiad geni deiliad y drwydded a chynnwys diwrnod, mis a blwyddyn", + "dob_error_date_real": "Mae’n rhaid i’r dyddiad geni fod yn ddyddiad dilys", + "dob_error_missing_day_and_month": "Mae’n rhaid i’r dyddiad geni gynnwys diwrnod a mis", + "dob_error_missing_day_and_year": "Mae’n rhaid i’r dyddiad geni gynnwys diwrnod a blwyddyn", + "dob_error_missing_month_and_year": "Mae’n rhaid i’r dyddiad geni gynnwys mis a blwyddyn", + "dob_error_missing_day": "Mae’n rhaid i’r dyddiad geni gynnwys diwrnod", + "dob_error_missing_month": "Mae’n rhaid i’r dyddiad geni gynnwys mis", + "dob_error_missing_year": "Mae’n rhaid i’r dyddiad geni gynnwys blwyddyn", + "dob_error_non_numeric": "Rhowch rifau yn unig", + "dob_error_year_min": "Mae’r dyddiad geni yn rhy bell yn ôl", + "dob_error_year_max": "Mae'n rhaid i’r dyddiad geni fod yn y gorffennol", "dob_error": "Rhowch y dyddiad geni", "dob_month": "Mis", "dob_privacy_link_prefix": "Os nad ydych yn darparu dyddiad geni cywir, gallai hynny achosi oedi wrth adnewyddu trwydded, neu olygu nad yw’r drwydded yn ddilys. Darllenwch am ", @@ -318,15 +325,19 @@ "header_service_name_title": " - Cael trwydded bysgota â gwialen", "identification": "Rhif adnabod", "identify_body_protect_info": "Er mwyn dod o hyd i fanylion eich trwydded, bydd angen i ni wybod pwy ydych chi. Mae hyn yn ein helpu i ddiogelu eich gwybodaeth bersonol.", + "identify_error_date_real": "Mae’n rhaid i’r dyddiad geni fod yn ddyddiad dilys", "identify_error_empty_postcode": "Nid ydych wedi nodi cod post", "identify_error_empty": "Rhowch chwe nodyn olaf eich trwydded", - "identify_error_enter_bday_max": "Mae’n rhaid i’ch dyddiad geni fod yn y gorffennol", - "identify_error_enter_bday_min": "Mae eich dyddiad geni yn rhy bell yn ôl", - "identify_error_enter_bday": "Nodwch eich dyddiad geni a chynnwys y diwrnod, y mis a’r flwyddyn", "identify_error_invalid_1": "Nid oes gennym gofnod o rif trwydded sy'n gorffen gyda ", "identify_error_invalid_2": " sy’n cyd-fynd â'r manylion hyn.", + "identify_error_missing_day": "Mae’n rhaid i’r dyddiad geni gynnwys diwrnod", + "identify_error_missing_month": "Mae’n rhaid i’r dyddiad geni gynnwys mis", + "identify_error_missing_year": "Mae’n rhaid i’r dyddiad geni gynnwys blwyddyn", + "identify_error_non_numeric": "Rhowch rifau yn unig", "identify_error_pattern_postcode": "Your postcode doesn’t look right. Check and enter again", "identify_error_pattern": "Nid yw chwe nodyn olaf eich trwydded yn edrych yn gywir. Gwiriwch a rhowch gynnig arall arni", + "identify_error_year_min": "Mae’r dyddiad geni yn rhy bell yn ôl", + "identify_error_year_max": "Mae'n rhaid i’r dyddiad geni fod yn y gorffennol", "identify_label_last_six_hint": "Er enghraifft F4A315", "identify_label_last_six": "Chwe nodyn olaf eich trwydded.", "identify_label_licence_ending": "Rhif trwydded yn gorffen gyda’r canlynol", @@ -407,8 +418,16 @@ "licence_num": "Rhif trwydded", "licence_start_days": " diwrnod nesaf", "licence_start_enter_todays_date": "Rhowch ddyddiad heddiw os ydych chi am i’r drwydded 1 diwrnod neu 8 diwrnod ddechrau yn hwyrach heddiw.", + "licence_start_error_date_real": "Mae’n rhaid i ddyddiad dechrau’r drwydded fod yn ddyddiad dilys", + "licence_start_error_missing_day_and_month": "Mae’n rhaid i ddyddiad dechrau’r drwydded gynnwys diwrnod a mis", + "licence_start_error_missing_day_and_year": "Mae’n rhaid i ddyddiad dechrau’r drwydded gynnwys diwrnod a blwyddyn", + "licence_start_error_missing_month_and_year": "Mae’n rhaid i ddyddiad dechrau’r drwydded gynnwys mis a blwyddyn", + "licence_start_error": "Rhowch ddyddiad dechrau’r drwydded", + "licence_start_error_missing_day": "Mae’n rhaid i ddyddiad dechrau’r drwydded gynnwys diwrnod", + "licence_start_error_missing_month": "Mae’n rhaid i ddyddiad dechrau’r drwydded gynnwys mis", + "licence_start_error_missing_year": "Mae’n rhaid i ddyddiad dechrau’r drwydded gynnwys blwyddyn", + "licence_start_error_non_numeric": "Rhowch rifau yn unig", "licence_start_error_choose_when": "Dewiswch pryd y dylai'r drwydded ddechrau", - "licence_start_error_format": "Nodwch y dyddiad y mae angen i'r drwydded ddechrau a chynnwys diwrnod, mis a blwyddyn", "licence_start_error_within": "Nodwch ddyddiad o fewn y ", "licence_start_hint": "Rhowch ddyddiad hyd at a chan gynnwys ", "licence_start_later": "Yn hwyrach", diff --git a/packages/gafl-webapp-service/src/locales/en.json b/packages/gafl-webapp-service/src/locales/en.json index d5fc5b9f9..ca26e7c88 100644 --- a/packages/gafl-webapp-service/src/locales/en.json +++ b/packages/gafl-webapp-service/src/locales/en.json @@ -272,10 +272,19 @@ "disability_concession_title_you": "Do you receive any of the following?", "dob_day": "day", "dob_entry_hint": "For example, 23 11 1979", - "dob_error_format_max": "The date of birth must be in the past", - "dob_error_format_min": "Enter the date of birth and include a day, month and year", - "dob_error_format": "Enter the licence holder’s date of birth and include a day, month and year", - "dob_error": "Enter the date of birth", + + "dob_error_date_real": "Date of birth must be a real date", + "dob_error_missing_day_and_month": "Date of birth must include a day and month", + "dob_error_missing_day_and_year": "Date of birth must include a day and year", + "dob_error_missing_month_and_year": "Date of birth must include a month and year", + "dob_error_missing_day": "Date of birth must include a day", + "dob_error_missing_month": "Date of birth must include a month", + "dob_error_missing_year": "Date of birth must include a year", + "dob_error_non_numeric": "Enter only numbers", + "dob_error_year_min": "Date of birth is too long ago", + "dob_error_year_max": "The date of birth must be in the past", + "dob_error": "Enter a date of birth", + "dob_month": "month", "dob_privacy_link_prefix": "If you do not provide a correct date of birth, this may cause delays when a licence is renewed or mean that a licence is not valid. Read about ", "dob_privacy_link": "how we use personal information (opens in new tab)", @@ -318,15 +327,19 @@ "header_service_name_title": " - Get a rod fishing licence", "identification": "Identification", "identify_body_protect_info": "To find your licence details we first need to identify you. This helps us protect your personal information.", + "identify_error_date_real": "Date of birth must be a real date", "identify_error_empty_postcode": "You did not enter a postcode", "identify_error_empty": "Enter the last six characters of your licence number", - "identify_error_enter_bday_max": "Your date of birth must be in the past", - "identify_error_enter_bday_min": "Your date of birth is too long ago", - "identify_error_enter_bday": "Enter your date of birth and include a day, month and year", "identify_error_invalid_1": "We do not have any record of a licence number ending ", "identify_error_invalid_2": " matching these details.", + "identify_error_missing_day": "Date of birth must include a day", + "identify_error_missing_month": "Date of birth must include a month", + "identify_error_missing_year": "Date of birth must include a year", + "identify_error_non_numeric": "Enter only numbers", "identify_error_pattern_postcode": "Your postcode doesn’t look right. Check and enter again", "identify_error_pattern": "The last six characters of your licence number don’t look right. Check and enter again", + "identify_error_year_min": "Date of birth is too long ago", + "identify_error_year_max": "The date of birth must be in the past", "identify_label_last_six_hint": "For example F4A315", "identify_label_last_six": "The last six characters of your licence number", "identify_label_licence_ending": "The licence number ending", @@ -407,8 +420,16 @@ "licence_num": "Licence number", "licence_start_days": " days", "licence_start_enter_todays_date": "Enter today’s date if you want the 1-day or 8-day licence to start later today.", + "licence_start_error_date_real": "Licence start date must be a real date", + "licence_start_error_missing_day_and_month": "Licence start date must include a day and month", + "licence_start_error_missing_day_and_year": "Licence start date must include a day and year", + "licence_start_error_missing_month_and_year": "Licence start date must include a month and year", + "licence_start_error_missing_day": "Licence start date must include a day", + "licence_start_error_missing_month": "Licence start date must include a month", + "licence_start_error_missing_year": "Licence start date must include a year", + "licence_start_error_non_numeric": "Enter only numbers", + "licence_start_error": "Enter a licence start date", "licence_start_error_choose_when": "Choose when the licence should start", - "licence_start_error_format": "Enter the date the licence needs to start, include a day, month and year", "licence_start_error_within": "Enter a date within the next ", "licence_start_hint": "Enter a date up to and including ", "licence_start_later": "Later", diff --git a/packages/gafl-webapp-service/src/pages/concessions/date-of-birth/__tests__/route.spec.js b/packages/gafl-webapp-service/src/pages/concessions/date-of-birth/__tests__/route.spec.js index 43ffc49a6..7dc8cd1fc 100644 --- a/packages/gafl-webapp-service/src/pages/concessions/date-of-birth/__tests__/route.spec.js +++ b/packages/gafl-webapp-service/src/pages/concessions/date-of-birth/__tests__/route.spec.js @@ -1,15 +1,30 @@ -import { getData, validator } from '../route' +import { getData } from '../route' import pageRoute from '../../../../routes/page-route.js' import { nextPage } from '../../../../routes/next-page.js' -import { LICENCE_FOR } from '../../../../uri.js' +import { DATE_OF_BIRTH, LICENCE_FOR } from '../../../../uri.js' +import { dateOfBirthValidator, getDateErrorFlags } from '../../../../schema/validators/validators.js' -jest.mock('../../../../routes/next-page.js', () => ({ - nextPage: jest.fn() -})) +jest.mock('../../../../routes/next-page.js') jest.mock('../../../../routes/page-route.js') +jest.mock('../../../../schema/validators/validators.js') +jest.mock('../../../../uri.js', () => ({ + ...jest.requireActual('../../../../uri.js'), + DATE_OF_BIRTH: { + page: Symbol('date-of-birth-page'), + uri: Symbol('/date-of-birth') + }, + LICENCE_TO_START: { + page: Symbol('licence-to-start-page'), + uri: Symbol('/licence-to-start') + } +})) describe('name > route', () => { - const mockRequest = (statusGet = () => {}, transactionGet = () => {}) => ({ + const mockRequest = ({ + pageGet = async () => {}, + statusGet = async () => ({ [LICENCE_FOR.page]: true }), + transactionGet = async () => ({ isLicenceForYou: null }) + } = {}) => ({ cache: () => ({ helpers: { transaction: { @@ -17,6 +32,9 @@ describe('name > route', () => { }, status: { getCurrentPermission: statusGet + }, + page: { + getCurrentPermission: pageGet } } }) @@ -24,52 +42,89 @@ describe('name > route', () => { describe('getData', () => { it('should return isLicenceForYou as true, if isLicenceForYou is true on the transaction cache', async () => { - const transaction = () => ({ + const transactionGet = async () => ({ isLicenceForYou: true }) - const status = () => ({ + const statusGet = async () => ({ [LICENCE_FOR.page]: true }) - const result = await getData(mockRequest(status, transaction)) + + const result = await getData(mockRequest({ statusGet, transactionGet })) expect(result.isLicenceForYou).toBeTruthy() }) it('should return isLicenceForYou as false, if isLicenceForYou is false on the transaction cache', async () => { - const transaction = () => ({ + const transactionGet = async () => ({ isLicenceForYou: false }) - const status = () => ({ + const statusGet = async () => ({ [LICENCE_FOR.page]: true }) - const result = await getData(mockRequest(status, transaction)) + const result = await getData(mockRequest({ statusGet, transactionGet })) expect(result.isLicenceForYou).toBeFalsy() }) + + it.each([ + ['full-date', 'object.missing'], + ['day', 'any.required'] + ])('should add error details ({%s: %s}) to the page data', async (errorKey, errorValue) => { + const pageGet = async () => ({ + error: { [errorKey]: errorValue } + }) + + const result = await getData(mockRequest({ pageGet })) + expect(result.error).toEqual({ errorKey, errorValue }) + }) + + it('omits error if there is no error', async () => { + const result = await getData(mockRequest()) + expect(result.error).toBeUndefined() + }) + + it('adds return value of getErrorFlags to the page data', async () => { + const errorFlags = { unique: Symbol('error-flags') } + getDateErrorFlags.mockReturnValueOnce(errorFlags) + const result = await getData(mockRequest()) + expect(result).toEqual(expect.objectContaining(errorFlags)) + }) + + it('passes error to getErrorFlags', async () => { + const error = Symbol('error') + await getData(mockRequest({ pageGet: async () => ({ error }) })) + expect(getDateErrorFlags).toHaveBeenCalledWith(error) + }) + + it('passes correct page name when getting page cache', async () => { + const pageGet = jest.fn(() => ({})) + await getData(mockRequest({ pageGet })) + expect(pageGet).toHaveBeenCalledWith(DATE_OF_BIRTH.page) + }) }) describe('redirectToStartOfJourney', () => { it('should throw a redirect if not been to LICENCE_FOR page', async () => { - const transaction = () => ({ + const transactionGet = async () => ({ isLicenceForYou: true }) - const status = () => ({ + const statusGet = async () => ({ [LICENCE_FOR.page]: false }) - const func = () => getData(mockRequest(status, transaction)) + const func = () => getData(mockRequest({ statusGet, transactionGet })) await expect(func).rejects.toThrowRedirectTo(LICENCE_FOR.uri) }) it('should not throw a redirect if not been to LICENCE_FOR page', async () => { - const transaction = () => ({ + const transactionGet = async () => ({ isLicenceForYou: true }) - const status = () => ({ + const statusGet = async () => ({ [LICENCE_FOR.page]: true }) let error try { - await getData(mockRequest(status, transaction)) + await getData(mockRequest({ statusGet, transactionGet })) } catch (e) { error = e } @@ -79,8 +134,8 @@ describe('name > route', () => { }) describe('default', () => { - it('should call the pageRoute with date-of-birth, /buy/date-of-birth, validator and nextPage', async () => { - expect(pageRoute).toBeCalledWith('date-of-birth', '/buy/date-of-birth', validator, nextPage, getData) + it('should call the pageRoute with date-of-birth, /buy/date-of-birth, dateOfBirthValidator and nextPage', async () => { + expect(pageRoute).toBeCalledWith(DATE_OF_BIRTH.page, DATE_OF_BIRTH.uri, dateOfBirthValidator, nextPage, getData) }) }) }) diff --git a/packages/gafl-webapp-service/src/pages/concessions/date-of-birth/date-of-birth.njk b/packages/gafl-webapp-service/src/pages/concessions/date-of-birth/date-of-birth.njk index 0a29acedb..65512b9fd 100644 --- a/packages/gafl-webapp-service/src/pages/concessions/date-of-birth/date-of-birth.njk +++ b/packages/gafl-webapp-service/src/pages/concessions/date-of-birth/date-of-birth.njk @@ -9,11 +9,37 @@ {% set errorMap = { - 'date-of-birth': { - 'date.format': { ref: '#date-of-birth-day', text: mssgs.dob_error_format }, - 'date.max': { ref: '#date-of-birth-day', text: mssgs.dob_error_format_max }, - 'date.min': { ref: '#date-of-birth-day', text: mssgs.dob_error_format_min } - } + 'full-date': { + 'object.missing': { ref: '#date-of-birth-day', text: mssgs.dob_error } + }, + 'day-and-month': { + 'object.missing': { ref: '#date-of-birth-day', text: mssgs.dob_error_missing_day_and_month } + }, + 'day-and-year': { + 'object.missing': { ref: '#date-of-birth-day', text: mssgs.dob_error_missing_day_and_year } + }, + 'month-and-year': { + 'object.missing': { ref: '#date-of-birth-month', text: mssgs.dob_error_missing_month_and_year } + }, + 'day': { + 'any.required': { ref: '#date-of-birth-day', text: mssgs.dob_error_missing_day } + }, + 'month': { + 'any.required': { ref: '#date-of-birth-month', text: mssgs.dob_error_missing_month } + }, + 'year': { + 'any.required': { ref: '#date-of-birth-year', text: mssgs.dob_error_missing_year } + }, + 'non-numeric': { + 'number.base': { ref: '#date-of-birth-day', text: mssgs.dob_error_non_numeric } + }, + 'invalid-date': { + 'any.custom': { ref: '#date-of-birth-day', text: mssgs.dob_error_date_real } + }, + 'date-range': { + 'date.min': { ref: '#date-of-birth-day', text: mssgs.dob_error_year_min }, + 'date.max': { ref: '#date-of-birth-day', text: mssgs.dob_error_year_max } + } } %} @@ -21,21 +47,21 @@ { label: mssgs.dob_day, name: 'day', - classes: "govuk-input--width-2", + classes: "govuk-input--width-2 govuk-input--error" if data.isDayError else "govuk-input--width-2", value: payload['date-of-birth-day'], attributes: { maxlength : 2 } }, { label: mssgs.dob_month, name: 'month', - classes: "govuk-input--width-2", + classes: "govuk-input--width-2 govuk-input--error" if data.isMonthError else "govuk-input--width-2", value: payload['date-of-birth-month'], attributes: { maxlength : 2 } }, { label: mssgs.dob_year, name: 'year', - classes: "govuk-input--width-4", + classes: "govuk-input--width-4 govuk-input--error" if data.isYearError else "govuk-input--width-4", value: payload['date-of-birth-year'], attributes: { maxlength : 4 } } @@ -56,6 +82,6 @@ id: "date-of-birth", namePrefix: "date-of-birth", items: dateInputItems, - errorMessage: { text: mssgs.dob_error } if error + errorMessage: { text: errorMap[data.error.errorKey][data.error.errorValue].text } if data.error }) }} {% endblock %} diff --git a/packages/gafl-webapp-service/src/pages/concessions/date-of-birth/route.js b/packages/gafl-webapp-service/src/pages/concessions/date-of-birth/route.js index c20b48634..1e0b00bc1 100644 --- a/packages/gafl-webapp-service/src/pages/concessions/date-of-birth/route.js +++ b/packages/gafl-webapp-service/src/pages/concessions/date-of-birth/route.js @@ -1,19 +1,8 @@ import { DATE_OF_BIRTH, LICENCE_FOR } from '../../../uri.js' -import Joi from 'joi' import pageRoute from '../../../routes/page-route.js' -import { validation } from '@defra-fish/business-rules-lib' import { nextPage } from '../../../routes/next-page.js' import GetDataRedirect from '../../../handlers/get-data-redirect.js' - -export const validator = payload => { - const dateOfBirth = `${payload['date-of-birth-year']}-${payload['date-of-birth-month']}-${payload['date-of-birth-day']}` - Joi.assert( - { 'date-of-birth': dateOfBirth }, - Joi.object({ - 'date-of-birth': validation.contact.createBirthDateValidator(Joi) - }) - ) -} +import { dateOfBirthValidator, getDateErrorFlags } from '../../../schema/validators/validators.js' const redirectToStartOfJourney = status => { if (!status[LICENCE_FOR.page]) { @@ -24,10 +13,17 @@ const redirectToStartOfJourney = status => { export const getData = async request => { const { isLicenceForYou } = await request.cache().helpers.transaction.getCurrentPermission() const status = await request.cache().helpers.status.getCurrentPermission() + const page = await request.cache().helpers.page.getCurrentPermission(DATE_OF_BIRTH.page) + const pageData = { isLicenceForYou, ...getDateErrorFlags(page?.error) } redirectToStartOfJourney(status) - return { isLicenceForYou } + if (page?.error) { + const [errorKey] = Object.keys(page.error) + const errorValue = page.error[errorKey] + pageData.error = { errorKey, errorValue } + } + return pageData } -export default pageRoute(DATE_OF_BIRTH.page, DATE_OF_BIRTH.uri, validator, nextPage, getData) +export default pageRoute(DATE_OF_BIRTH.page, DATE_OF_BIRTH.uri, dateOfBirthValidator, nextPage, getData) diff --git a/packages/gafl-webapp-service/src/pages/licence-details/licence-to-start/__tests__/route.spec.js b/packages/gafl-webapp-service/src/pages/licence-details/licence-to-start/__tests__/route.spec.js index 3d76e2b00..11519e4f0 100644 --- a/packages/gafl-webapp-service/src/pages/licence-details/licence-to-start/__tests__/route.spec.js +++ b/packages/gafl-webapp-service/src/pages/licence-details/licence-to-start/__tests__/route.spec.js @@ -1,21 +1,42 @@ +import pageRoute from '../../../../routes/page-route.js' +import { nextPage } from '../../../../routes/next-page.js' import { getData } from '../route' +import { LICENCE_TO_START } from '../../../../uri.js' +import { startDateValidator, getDateErrorFlags } from '../../../../schema/validators/validators.js' -jest.mock('../../../../processors/uri-helper.js') +jest.mock('../../../../routes/next-page.js') +jest.mock('../../../../routes/page-route.js') +jest.mock('../../../../schema/validators/validators.js') +jest.mock('../../../../uri.js', () => ({ + ...jest.requireActual('../../../../uri.js'), + LICENCE_TO_START: { + page: Symbol('licence-to-start-page'), + uri: Symbol('/licence-to-start') + } +})) +jest.mock('../../../../schema/validators/validators.js') describe('licence-to-start > route', () => { - const getMockRequest = (isLicenceForYou = true) => ({ + const getMockRequest = (isLicenceForYou = true, pageGet = () => {}) => ({ cache: () => ({ helpers: { transaction: { getCurrentPermission: () => ({ isLicenceForYou }) + }, + page: { + getCurrentPermission: pageGet } } }) }) describe('getData', () => { + beforeEach(() => { + getDateErrorFlags.mockClear() + }) + it('should return isLicenceForYou as true, if isLicenceForYou is true on the transaction cache', async () => { const request = getMockRequest() const result = await getData(request) @@ -27,5 +48,47 @@ describe('licence-to-start > route', () => { const result = await getData(request) expect(result.isLicenceForYou).toBeFalsy() }) + + it.each([ + ['full-date', 'object.missing'], + ['day', 'any.required'] + ])('should add error details ({%s: %s}) to the page data', async (errorKey, errorValue) => { + const pageGet = async () => ({ + error: { [errorKey]: errorValue } + }) + + const result = await getData(getMockRequest(undefined, pageGet)) + expect(result.error).toEqual({ errorKey, errorValue }) + }) + + it('omits error if there is no error', async () => { + const result = await getData(getMockRequest()) + expect(result.error).toBeUndefined() + }) + + it('passes correct page name when getting page cache', async () => { + const pageGet = jest.fn(() => {}) + await getData(getMockRequest(undefined, pageGet)) + expect(pageGet).toHaveBeenCalledWith(LICENCE_TO_START.page) + }) + + it('adds return value of getErrorFlags to the page data', async () => { + const errorFlags = { unique: Symbol('error-flags') } + getDateErrorFlags.mockReturnValueOnce(errorFlags) + const result = await getData(getMockRequest()) + expect(result).toEqual(expect.objectContaining(errorFlags)) + }) + + it('passes error to getErrorFlags', async () => { + const error = Symbol('error') + await getData(getMockRequest(undefined, async () => ({ error }))) + expect(getDateErrorFlags).toHaveBeenCalledWith(error) + }) + }) + + describe('default', () => { + it('should call the pageRoute with date-of-birth, /buy/date-of-birth, dateOfBirthValidator and nextPage', async () => { + expect(pageRoute).toBeCalledWith(LICENCE_TO_START.page, LICENCE_TO_START.uri, startDateValidator, nextPage, getData) + }) }) }) diff --git a/packages/gafl-webapp-service/src/pages/licence-details/licence-to-start/licence-to-start.njk b/packages/gafl-webapp-service/src/pages/licence-details/licence-to-start/licence-to-start.njk index b64afbf24..aa176aced 100644 --- a/packages/gafl-webapp-service/src/pages/licence-details/licence-to-start/licence-to-start.njk +++ b/packages/gafl-webapp-service/src/pages/licence-details/licence-to-start/licence-to-start.njk @@ -8,14 +8,37 @@ {% set errorMap = { - 'licence-to-start': { - 'any.required': { ref: '#licence-to-start', text: mssgs.licence_start_error_choose_when } - }, - 'licence-start-date': { - 'date.format': { ref: '#licence-start-date-day', text: mssgs.licence_start_error_format }, - 'date.max': { ref: '#licence-start-date-day', text: mssgs.licence_start_error_within + data.advancedPurchaseMaxDays + mssgs.licence_start_days }, - 'date.min': { ref: '#licence-start-date-day', text: mssgs.licence_start_error_within + data.advancedPurchaseMaxDays + mssgs.licence_start_days } - } + 'full-date': { + 'object.missing': { ref: '#licence-start-date-day', text: mssgs.licence_start_error } + }, + 'day-and-month': { + 'object.missing': { ref: '#licence-start-date-day', text: mssgs.licence_start_error_missing_day_and_month } + }, + 'day-and-year': { + 'object.missing': { ref: '#licence-start-date-day', text: mssgs.licence_start_error_missing_day_and_year } + }, + 'month-and-year': { + 'object.missing': { ref: '#licence-start-date-month', text: mssgs.licence_start_error_missing_month_and_year } + }, + 'day': { + 'any.required': { ref: '#licence-start-date-day', text: mssgs.licence_start_error_missing_day } + }, + 'month': { + 'any.required': { ref: '#licence-start-date-month', text: mssgs.licence_start_error_missing_month } + }, + 'year': { + 'any.required': { ref: '#licence-start-date-year', text: mssgs.licence_start_error_missing_year } + }, + 'non-numeric': { + 'number.base': { ref: '#licence-start-date-day', text: mssgs.licence_start_error_non_numeric } + }, + 'invalid-date': { + 'any.custom': { ref: '#licence-start-date-day', text: mssgs.licence_start_error_date_real } + }, + 'date-range': { + 'date.min': { ref: '#licence-start-date-day', text: mssgs.licence_start_error_within + data.advancedPurchaseMaxDays + mssgs.licence_start_days }, + 'date.max': { ref: '#licence-start-date-day', text: mssgs.licence_start_error_within + data.advancedPurchaseMaxDays + mssgs.licence_start_days } + } } %} @@ -23,21 +46,21 @@ { name: "day", label: mssgs.dob_day, - classes: "govuk-input--width-2", + classes: "govuk-input--width-2 govuk-input--error" if data.isDayError else "govuk-input--width-2", value: payload['licence-start-date-day'], attributes: { maxlength : 2 } }, { name: "month", label: mssgs.dob_month, - classes: "govuk-input--width-2", + classes: "govuk-input--width-2 govuk-input--error" if data.isMonthError else "govuk-input--width-2", value: payload['licence-start-date-month'], attributes: { maxlength : 2 } }, { name: "year", label: mssgs.dob_year, - classes: "govuk-input--width-4", + classes: "govuk-input--width-4 govuk-input--error" if data.isYearError else "govuk-input--width-4", value: payload['licence-start-date-year'], attributes: { maxlength : 4 } } @@ -53,7 +76,7 @@ id: "licence-start-date", namePrefix: "licence-start-date", items: dateInputItems, - errorMessage: { text: mssgs.licence_start_error_within + data.advancedPurchaseMaxDays + mssgs.licence_start_days } if error['licence-start-date'], + errorMessage: { text: errorMap[data.error.errorKey][data.error.errorValue].text } if data.error, hint: { text: mssgs.licence_start_hint + data.maxStartDate } diff --git a/packages/gafl-webapp-service/src/pages/licence-details/licence-to-start/route.js b/packages/gafl-webapp-service/src/pages/licence-details/licence-to-start/route.js index 31ae6d2ff..6e063b488 100644 --- a/packages/gafl-webapp-service/src/pages/licence-details/licence-to-start/route.js +++ b/packages/gafl-webapp-service/src/pages/licence-details/licence-to-start/route.js @@ -1,49 +1,31 @@ -import Joi from 'joi' import moment from 'moment-timezone' - -import JoiDate from '@hapi/joi-date' import { START_AFTER_PAYMENT_MINUTES, ADVANCED_PURCHASE_MAX_DAYS, SERVICE_LOCAL_TIME } from '@defra-fish/business-rules-lib' import { LICENCE_TO_START } from '../../../uri.js' import pageRoute from '../../../routes/page-route.js' -import { dateFormats } from '../../../constants.js' import { nextPage } from '../../../routes/next-page.js' - -const JoiX = Joi.extend(JoiDate) - -const validator = payload => { - const licenceStartDate = `${payload['licence-start-date-year']}-${payload['licence-start-date-month']}-${payload['licence-start-date-day']}` - Joi.assert( - { - 'licence-start-date': licenceStartDate, - 'licence-to-start': payload['licence-to-start'] - }, - Joi.object({ - 'licence-to-start': Joi.string().valid('after-payment', 'another-date').required(), - 'licence-start-date': Joi.alternatives().conditional('licence-to-start', { - is: 'another-date', - then: JoiX.date() - .format(dateFormats) - .min(moment().tz(SERVICE_LOCAL_TIME).startOf('day')) - .max(moment().tz(SERVICE_LOCAL_TIME).add(ADVANCED_PURCHASE_MAX_DAYS, 'days')) - .required(), - otherwise: Joi.string().empty('') - }) - }).options({ abortEarly: false, allowUnknown: true }) - ) -} +import { getDateErrorFlags, startDateValidator } from '../../../schema/validators/validators.js' export const getData = async request => { const fmt = 'DD MM YYYY' const { isLicenceForYou } = await request.cache().helpers.transaction.getCurrentPermission() - - return { + const page = await request.cache().helpers.page.getCurrentPermission(LICENCE_TO_START.page) + const pageData = { isLicenceForYou, exampleStartDate: moment().tz(SERVICE_LOCAL_TIME).add(1, 'days').format(fmt), minStartDate: moment().tz(SERVICE_LOCAL_TIME).format(fmt), maxStartDate: moment().tz(SERVICE_LOCAL_TIME).add(ADVANCED_PURCHASE_MAX_DAYS, 'days').format(fmt), advancedPurchaseMaxDays: ADVANCED_PURCHASE_MAX_DAYS, - startAfterPaymentMinutes: START_AFTER_PAYMENT_MINUTES + startAfterPaymentMinutes: START_AFTER_PAYMENT_MINUTES, + ...getDateErrorFlags(page?.error) + } + + if (page?.error) { + const [errorKey] = Object.keys(page.error) + const errorValue = page.error[errorKey] + pageData.error = { errorKey, errorValue } } + + return pageData } -export default pageRoute(LICENCE_TO_START.page, LICENCE_TO_START.uri, validator, nextPage, getData) +export default pageRoute(LICENCE_TO_START.page, LICENCE_TO_START.uri, startDateValidator, nextPage, getData) diff --git a/packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/identity.next-page.spec.js b/packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/identity.next-page.spec.js deleted file mode 100644 index d6a639cbb..000000000 --- a/packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/identity.next-page.spec.js +++ /dev/null @@ -1,36 +0,0 @@ -import pageRoute from '../../../../routes/page-route.js' -import { addLanguageCodeToUri } from '../../../../processors/uri-helper.js' -require('../route.js') // require rather than import to avoid lint error with unused variable - -jest.mock('../../../../routes/page-route.js', () => jest.fn()) -jest.mock('../../../../uri.js', () => ({ - IDENTIFY: { page: 'identify page', uri: 'identify uri' }, - AUTHENTICATE: { uri: Symbol('authenticate uri') } -})) -jest.mock('../../../../processors/uri-helper.js') - -describe('page route next', () => { - const nextPage = pageRoute.mock.calls[0][3] - beforeEach(jest.clearAllMocks) - - it('passes a function as the nextPage argument', () => { - expect(typeof nextPage).toBe('function') - }) - - it('calls addLanguageCodeToUri', () => { - nextPage() - expect(addLanguageCodeToUri).toHaveBeenCalled() - }) - - it('passes request to addLanguageCodeToUri', () => { - const request = Symbol('request') - nextPage(request) - expect(addLanguageCodeToUri).toHaveBeenCalledWith(request, expect.anything()) - }) - - it('next page returns result of addLanguageCodeToUri', () => { - const expectedResult = Symbol('add language code to uri') - addLanguageCodeToUri.mockReturnValueOnce(expectedResult) - expect(nextPage()).toBe(expectedResult) - }) -}) diff --git a/packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/identity.spec.js b/packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/identity.spec.js index d4d1f1f18..ae72140f2 100644 --- a/packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/identity.spec.js +++ b/packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/identity.spec.js @@ -116,6 +116,9 @@ describe('The easy renewal identification page', () => { referenceNumber: 'ABC123' }), setCurrentPermission: () => {} + }, + page: { + getCurrentPermission: async () => ({}) } } }) diff --git a/packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/route-spec.js b/packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/route-spec.js deleted file mode 100644 index 8e66fe617..000000000 --- a/packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/route-spec.js +++ /dev/null @@ -1,38 +0,0 @@ -import { addLanguageCodeToUri } from '../../../../processors/uri-helper.js' -import { getData } from '../route.js' -import { NEW_TRANSACTION } from '../../../../uri.js' - -jest.mock('../../../../processors/uri-helper.js') - -const getMockRequest = referenceNumber => ({ - cache: () => ({ - helpers: { - status: { - getCurrentPermission: () => ({ - referenceNumber: referenceNumber - }) - } - } - }) -}) - -describe('getData', () => { - it('addLanguageCodeToUri is called with the expected arguments', async () => { - const request = getMockRequest('013AH6') - await getData(request) - expect(addLanguageCodeToUri).toHaveBeenCalledWith(request, NEW_TRANSACTION.uri) - }) - - it('getData returns correct URI', async () => { - const expectedUri = Symbol('decorated uri') - addLanguageCodeToUri.mockReturnValueOnce(expectedUri) - - const result = await getData(getMockRequest('013AH6')) - expect(result.uri.new).toEqual(expectedUri) - }) - - it.each([['09F6VF'], ['013AH6'], ['LK563F']])('getData returns referenceNumber', async referenceNumber => { - const result = await getData(getMockRequest(referenceNumber)) - expect(result.referenceNumber).toEqual(referenceNumber) - }) -}) diff --git a/packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/route.spec.js b/packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/route.spec.js new file mode 100644 index 000000000..afe14fdae --- /dev/null +++ b/packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/route.spec.js @@ -0,0 +1,126 @@ +import pageRoute from '../../../../routes/page-route.js' +import { addLanguageCodeToUri } from '../../../../processors/uri-helper.js' +import { getData, validator } from '../route.js' +import { IDENTIFY, NEW_TRANSACTION } from '../../../../uri.js' +import { dateOfBirthValidator, getDateErrorFlags } from '../../../../schema/validators/validators.js' + +jest.mock('../../../../routes/page-route.js', () => jest.fn()) +jest.mock('../../../../uri.js', () => ({ + IDENTIFY: { page: 'identify page', uri: 'identify uri' }, + AUTHENTICATE: { uri: Symbol('authenticate uri') }, + NEW_TRANSACTION: { uri: Symbol('new transaction uri') } +})) +jest.mock('../../../../processors/uri-helper.js') +jest.mock('../../../../schema/validators/validators.js') + +describe('getData', () => { + const getMockRequest = (referenceNumber, pageGet = async () => ({})) => ({ + cache: () => ({ + helpers: { + status: { + getCurrentPermission: () => ({ + referenceNumber: referenceNumber + }) + }, + page: { + getCurrentPermission: pageGet + } + } + }) + }) + + it('addLanguageCodeToUri is called with the expected arguments', async () => { + const request = getMockRequest('013AH6') + await getData(request) + expect(addLanguageCodeToUri).toHaveBeenCalledWith(request, NEW_TRANSACTION.uri) + }) + + it('getData returns correct URI', async () => { + const expectedUri = Symbol('decorated uri') + addLanguageCodeToUri.mockReturnValueOnce(expectedUri) + + const result = await getData(getMockRequest('013AH6')) + expect(result.uri.new).toEqual(expectedUri) + }) + + it.each([['09F6VF'], ['013AH6'], ['LK563F']])('getData returns referenceNumber', async referenceNumber => { + const result = await getData(getMockRequest(referenceNumber)) + expect(result.referenceNumber).toEqual(referenceNumber) + }) + + it('adds return value of getErrorFlags to the page data', async () => { + const errorFlags = { unique: Symbol('error-flags') } + getDateErrorFlags.mockReturnValueOnce(errorFlags) + const result = await getData(getMockRequest()) + expect(result).toEqual(expect.objectContaining(errorFlags)) + }) + + it('passes error to getErrorFlags', async () => { + const error = Symbol('error') + await getData(getMockRequest(undefined, async () => ({ error }))) + expect(getDateErrorFlags).toHaveBeenCalledWith(error) + }) + + it('passes correct page name when getting page cache', async () => { + const pageGet = jest.fn(() => ({})) + await getData(getMockRequest(undefined, pageGet)) + expect(pageGet).toHaveBeenCalledWith(IDENTIFY.page) + }) +}) + +describe('default', () => { + it('should call the pageRoute with date-of-birth, /buy/date-of-birth, dateOfBirthValidator and nextPage', async () => { + expect(pageRoute).toBeCalledWith(IDENTIFY.page, IDENTIFY.uri, validator, expect.any(Function), getData) + }) +}) + +describe('page route next', () => { + const nextPage = pageRoute.mock.calls[0][3] + beforeEach(jest.clearAllMocks) + + it('passes a function as the nextPage argument', () => { + expect(typeof nextPage).toBe('function') + }) + + it('calls addLanguageCodeToUri', () => { + nextPage() + expect(addLanguageCodeToUri).toHaveBeenCalled() + }) + + it('passes request to addLanguageCodeToUri', () => { + const request = Symbol('request') + nextPage(request) + expect(addLanguageCodeToUri).toHaveBeenCalledWith(request, expect.anything()) + }) + + it('next page returns result of addLanguageCodeToUri', () => { + const expectedResult = Symbol('add language code to uri') + addLanguageCodeToUri.mockReturnValueOnce(expectedResult) + expect(nextPage()).toBe(expectedResult) + }) +}) + +describe('validator', () => { + const getMockRequest = (postcode = 'AA1 1AA', referenceNumber = 'A1B2C3') => ({ + postcode, + referenceNumber + }) + + it('fails if dateOfBirth validator fails', () => { + const expectedError = new Error('expected error') + dateOfBirthValidator.mockImplementationOnce(() => { + throw expectedError + }) + expect(() => validator(getMockRequest)).toThrow(expectedError) + }) + + it('passes if dateOfBirth validator passes', () => { + expect(() => validator(getMockRequest())).not.toThrow() + }) + + it('passes payload to dateOfBirth validator', () => { + const payload = getMockRequest() + validator(payload) + expect(dateOfBirthValidator).toHaveBeenCalledWith(payload) + }) +}) diff --git a/packages/gafl-webapp-service/src/pages/renewals/identify/identify.njk b/packages/gafl-webapp-service/src/pages/renewals/identify/identify.njk index dd62183b5..d3f91d41c 100644 --- a/packages/gafl-webapp-service/src/pages/renewals/identify/identify.njk +++ b/packages/gafl-webapp-service/src/pages/renewals/identify/identify.njk @@ -21,14 +21,40 @@ ref: "#ref" } }, - 'date-of-birth': { - 'date.format': { ref: '#date-of-birth-day', text: mssgs.identify_error_enter_bday }, - 'date.max': { ref: '#date-of-birth-day', text: mssgs.identify_error_enter_bday_max }, - 'date.min': { ref: '#date-of-birth-day', text: mssgs.identify_error_enter_bday_min } - }, 'postcode': { 'string.empty': { ref: '#postcode', text: mssgs.identify_error_empty_postcode }, 'string.pattern.base': { ref: '#postcode', text: mssgs.identify_error_pattern_postcode } + }, + 'full-date': { + 'object.missing': { ref: '#date-of-birth-day', text: mssgs.dob_error } + }, + 'day-and-month': { + 'object.missing': { ref: '#date-of-birth-day', text: mssgs.dob_error_missing_day_and_month } + }, + 'day-and-year': { + 'object.missing': { ref: '#date-of-birth-day', text: mssgs.dob_error_missing_day_and_year } + }, + 'month-and-year': { + 'object.missing': { ref: '#date-of-birth-month', text: mssgs.dob_error_missing_month_and_year } + }, + 'day': { + 'any.required': { ref: '#date-of-birth-day', text: mssgs.dob_error_missing_day } + }, + 'month': { + 'any.required': { ref: '#date-of-birth-month', text: mssgs.dob_error_missing_month } + }, + 'year': { + 'any.required': { ref: '#date-of-birth-year', text: mssgs.dob_error_missing_year } + }, + 'non-numeric': { + 'number.base': { ref: '#date-of-birth-day', text: mssgs.dob_error_non_numeric } + }, + 'invalid-date': { + 'any.custom': { ref: '#date-of-birth-day', text: mssgs.dob_error_date_real } + }, + 'date-range': { + 'date.min': { ref: '#date-of-birth-day', text: mssgs.dob_error_year_min }, + 'date.max': { ref: '#date-of-birth-day', text: mssgs.dob_error_year_max } } } %} @@ -37,21 +63,21 @@ { label: mssgs.dob_day, name: "day", - classes: "govuk-input--width-2", + classes: "govuk-input--width-2 govuk-input--error" if data.isDayError else "govuk-input--width-2", value: payload['date-of-birth-day'], attributes: { maxlength : 2 } }, { label: mssgs.dob_month, name: "month", - classes: "govuk-input--width-2", + classes: "govuk-input--width-2 govuk-input--error" if data.isMonthError else "govuk-input--width-2", value: payload['date-of-birth-month'], attributes: { maxlength : 2 } }, { label: mssgs.dob_year, name: "year", - classes: "govuk-input--width-4", + classes: "govuk-input--width-4 govuk-input--error" if data.isYearError else "govuk-input--width-4", value: payload['date-of-birth-year'], attributes: { maxlength : 4 } } diff --git a/packages/gafl-webapp-service/src/pages/renewals/identify/route.js b/packages/gafl-webapp-service/src/pages/renewals/identify/route.js index a873c01e0..234176ae1 100644 --- a/packages/gafl-webapp-service/src/pages/renewals/identify/route.js +++ b/packages/gafl-webapp-service/src/pages/renewals/identify/route.js @@ -4,10 +4,12 @@ import Joi from 'joi' import { validation } from '@defra-fish/business-rules-lib' import { addLanguageCodeToUri } from '../../../processors/uri-helper.js' import GetDataRedirect from '../../../handlers/get-data-redirect.js' +import { dateOfBirthValidator, getDateErrorFlags } from '../../../schema/validators/validators.js' export const getData = async request => { // If we are supplied a permission number, validate it or throw 400 const permission = await request.cache().helpers.status.getCurrentPermission() + const page = await request.cache().helpers.page.getCurrentPermission(IDENTIFY.page) if (permission.referenceNumber) { const validatePermissionNumber = validation.permission @@ -23,25 +25,23 @@ export const getData = async request => { referenceNumber: permission.referenceNumber, uri: { new: addLanguageCodeToUri(request, NEW_TRANSACTION.uri) - } + }, + ...getDateErrorFlags(page?.error) } } -const schema = Joi.object({ - referenceNumber: validation.permission.permissionNumberUniqueComponentValidator(Joi), - 'date-of-birth': validation.contact.createBirthDateValidator(Joi), - postcode: validation.contact.createOverseasPostcodeValidator(Joi) -}).options({ abortEarly: false, allowUnknown: true }) +export const validator = payload => { + dateOfBirthValidator(payload) -const validator = async payload => { - const dateOfBirth = `${payload['date-of-birth-year']}-${payload['date-of-birth-month']}-${payload['date-of-birth-day']}` Joi.assert( { - 'date-of-birth': dateOfBirth, postcode: payload.postcode, referenceNumber: payload.referenceNumber }, - schema + Joi.object({ + referenceNumber: validation.permission.permissionNumberUniqueComponentValidator(Joi), + postcode: validation.contact.createOverseasPostcodeValidator(Joi) + }).options({ abortEarly: false }) ) } diff --git a/packages/gafl-webapp-service/src/schema/__tests__/__snapshots__/date.schema.test.js.snap b/packages/gafl-webapp-service/src/schema/__tests__/__snapshots__/date.schema.test.js.snap new file mode 100644 index 000000000..3619fadce --- /dev/null +++ b/packages/gafl-webapp-service/src/schema/__tests__/__snapshots__/date.schema.test.js.snap @@ -0,0 +1,32 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`dateSchemaInput matches expected format 1`] = ` +Object { + "day": "1", + "day-and-month": Object { + "day": "1", + "month": "2", + }, + "day-and-year": Object { + "day": "1", + "year": "2023", + }, + "full-date": Object { + "day": "1", + "month": "2", + "year": "2023", + }, + "invalid-date": "2023-02-01", + "month": "2", + "month-and-year": Object { + "month": "2", + "year": "2023", + }, + "non-numeric": Object { + "day": "1", + "month": "2", + "year": "2023", + }, + "year": "2023", +} +`; diff --git a/packages/gafl-webapp-service/src/schema/__tests__/date.schema.test.js b/packages/gafl-webapp-service/src/schema/__tests__/date.schema.test.js new file mode 100644 index 000000000..6312a65f0 --- /dev/null +++ b/packages/gafl-webapp-service/src/schema/__tests__/date.schema.test.js @@ -0,0 +1,64 @@ +import Joi from 'joi' +import { dateSchemaInput, dateSchema } from '../date.schema.js' + +describe('dateSchemaInput', () => { + it('matches expected format', () => { + expect(dateSchemaInput('1', '2', '2023')).toMatchSnapshot() + }) + + it.each` + desc | day | month | year | result + ${'all empty'} | ${''} | ${''} | ${''} | ${{ 'full-date': { day: undefined, month: undefined, year: undefined } }} + ${'day and month empty'} | ${''} | ${''} | ${'2020'} | ${{ 'day-and-month': { day: undefined, month: undefined } }} + ${'day and year empty'} | ${''} | ${'11'} | ${''} | ${{ 'day-and-year': { day: undefined, year: undefined } }} + ${'month and year empty'} | ${'12'} | ${''} | ${''} | ${{ 'month-and-year': { month: undefined, year: undefined } }} + ${'day empty'} | ${''} | ${'3'} | ${'2021'} | ${{ day: undefined }} + ${'month empty'} | ${'4'} | ${''} | ${'2003'} | ${{ month: undefined }} + ${'year empty'} | ${'15'} | ${'11'} | ${''} | ${{ year: undefined }} + `('maps empty strings to undefined values when $desc', ({ day, month, year, result }) => { + expect(dateSchemaInput(day, month, year)).toEqual(expect.objectContaining(result)) + }) +}) + +describe('dateSchema', () => { + it.each` + payload | expectedError | payloadDesc + ${{}} | ${'full-date'} | ${'empty day, month and year'} + ${{ year: '1' }} | ${'day-and-month'} | ${'empty day and month'} + ${{ month: '2' }} | ${'day-and-year'} | ${'empty day and year'} + ${{ day: '3' }} | ${'month-and-year'} | ${'empty month and year'} + ${{ month: '5', year: '2023' }} | ${'day'} | ${'empty day'} + ${{ day: '12', year: '2024' }} | ${'month'} | ${'empty month'} + ${{ day: '15', month: '3' }} | ${'year'} | ${'empty year'} + ${{ day: 'Ides', month: 'March', year: '44 B.C.' }} | ${'non-numeric.day'} | ${'non-numerics entered'} + ${{ day: 'Thirteenth', month: '11', year: '1978' }} | ${'non-numeric.day'} | ${'non-numeric day'} + ${{ day: '29', month: 'MAR', year: '2002' }} | ${'non-numeric.month'} | ${'non-numeric month '} + ${{ day: '13', month: '1', year: 'Two thousand and five' }} | ${'non-numeric.year'} | ${'non-numeric year'} + ${{ day: '30', month: '2', year: '1994' }} | ${'invalid-date'} | ${'an invalid date - 1994-02-40'} + ${{ day: '1', month: '13', year: '2022' }} | ${'invalid-date'} | ${'an invalid date - 2022-13-01'} + ${{ day: '29', month: '2', year: '2023' }} | ${'invalid-date'} | ${'an invalid date - 1994-02-40'} + ${{ day: '-1.15', month: '18', year: '22.2222' }} | ${'invalid-date'} | ${'an invalid date - 22.2222-18-1.15'} + `('Error has $expectedError in details when payload has $payloadDesc', ({ payload: { day, month, year }, expectedError }) => { + expect(() => { + Joi.assert(dateSchemaInput(day, month, year), dateSchema) + }).toThrow( + expect.objectContaining({ + details: expect.arrayContaining([ + expect.objectContaining({ + path: expectedError.split('.'), + context: expect.objectContaining({ + label: expectedError, + key: expectedError.split('.').pop() + }) + }) + ]) + }) + ) + }) + + it('valid date passes validation', () => { + expect(() => { + Joi.assert(dateSchemaInput('12', '10', '1987'), dateSchema) + }).not.toThrow() + }) +}) diff --git a/packages/gafl-webapp-service/src/schema/date.schema.js b/packages/gafl-webapp-service/src/schema/date.schema.js new file mode 100644 index 000000000..fa0cade8e --- /dev/null +++ b/packages/gafl-webapp-service/src/schema/date.schema.js @@ -0,0 +1,63 @@ +'use strict' +import Joi from 'joi' + +export const dateSchemaInput = (unparsedDay, unparsedMonth, unparsedYear) => { + const day = unparsedDay === '' ? undefined : unparsedDay + const month = unparsedMonth === '' ? undefined : unparsedMonth + const year = unparsedYear === '' ? undefined : unparsedYear + + return { + 'full-date': { day, month, year }, + 'day-and-month': { day, month }, + 'day-and-year': { day, year }, + 'month-and-year': { month, year }, + day, + month, + year, + 'non-numeric': { day, month, year }, + 'invalid-date': `${year}-${(month || '').padStart(2, '0')}-${(day || '').padStart(2, '0')}` + } +} + +export const dateSchema = Joi.object({ + 'full-date': Joi.object() + .keys({ + day: Joi.any(), + month: Joi.any(), + year: Joi.any() + }) + .or('day', 'month', 'year'), + 'day-and-month': Joi.object() + .keys({ + day: Joi.any(), + month: Joi.any() + }) + .or('day', 'month'), + 'day-and-year': Joi.object() + .keys({ + day: Joi.any(), + year: Joi.any() + }) + .or('day', 'year'), + 'month-and-year': Joi.object() + .keys({ + month: Joi.any(), + year: Joi.any() + }) + .or('month', 'year'), + day: Joi.any().required(), + month: Joi.any().required(), + year: Joi.any().required(), + 'non-numeric': Joi.object().keys({ + day: Joi.number(), + month: Joi.number(), + year: Joi.number() + }), + 'invalid-date': Joi.custom((dateToValidate, helpers) => { + if (new Date(dateToValidate).toISOString() !== `${dateToValidate}T00:00:00.000Z`) { + throw helpers.error('invalid-date') + } + + return dateToValidate + }) +}).options({ abortEarly: true }) diff --git a/packages/gafl-webapp-service/src/schema/validators/__tests__/validators.spec.js b/packages/gafl-webapp-service/src/schema/validators/__tests__/validators.spec.js new file mode 100644 index 000000000..95ef43e7c --- /dev/null +++ b/packages/gafl-webapp-service/src/schema/validators/__tests__/validators.spec.js @@ -0,0 +1,208 @@ +import Joi from 'joi' +import { dateOfBirthValidator, startDateValidator, getDateErrorFlags } from '../validators.js' +import moment from 'moment-timezone' +const dateSchema = require('../../date.schema.js') + +const setupMocks = () => { + Joi.originalAssert = Joi.assert + dateSchema.originalDateSchema = dateSchema.dateSchema + dateSchema.originalDateSchemaInput = dateSchema.dateSchemaInput + + Joi.assert = jest.fn() + dateSchema.dateSchema = Symbol('dateSchema') + dateSchema.dateSchemaInput = jest.fn() +} + +const tearDownMocks = () => { + Joi.assert = Joi.originalAssert + dateSchema.dateSchema = dateSchema.originalDateSchema + dateSchema.dateSchemaInput = dateSchema.originalDateSchemaInput +} + +describe('dateOfBirth validator', () => { + beforeEach(jest.clearAllMocks) + + const getSamplePayload = ({ day = '', month = '', year = '' } = {}) => ({ + 'date-of-birth-day': day, + 'date-of-birth-month': month, + 'date-of-birth-year': year + }) + + it('throws an error for anyone over 120 years old', () => { + const invalidDoB = moment().subtract(120, 'years').subtract(1, 'day') + const samplePayload = getSamplePayload({ + day: invalidDoB.format('DD'), + month: invalidDoB.format('MM'), + year: invalidDoB.format('YYYY') + }) + expect(() => dateOfBirthValidator(samplePayload)).toThrow() + }) + + it('validates for anyone 120 years old', () => { + const validDoB = moment().subtract(120, 'years') + const samplePayload = getSamplePayload({ + day: validDoB.format('DD'), + month: validDoB.format('MM'), + year: validDoB.format('YYYY') + }) + expect(() => dateOfBirthValidator(samplePayload)).not.toThrow() + }) + + it.each([ + ['today', moment()], + ['tomorrow', moment().add(1, 'day')], + ['in the future', moment().add(1, 'month')] + ])('throws an error for a date of birth %s', (_desc, invalidDoB) => { + const samplePayload = getSamplePayload({ + day: invalidDoB.format('DD'), + month: invalidDoB.format('MM'), + year: invalidDoB.format('YYYY') + }) + expect(() => dateOfBirthValidator(samplePayload)).toThrow() + }) + + it.each([ + ['1-3-2004', '1', '3', '2004'], + ['12-1-1999', '12', '1', '1999'], + ['1-12-2006', '1', '12', '2006'] + ])('handles single digit date %s', (_desc, day, month, year) => { + const samplePayload = getSamplePayload({ + day, + month, + year + }) + expect(() => dateOfBirthValidator(samplePayload)).not.toThrow() + }) + + it.each([ + ['01', '03', '1994'], + ['10', '12', '2004'] + ])('passes date of birth day (%s), month (%s) and year (%s) to dateSchemaInput', (day, month, year) => { + setupMocks() + dateOfBirthValidator(getSamplePayload({ day, month, year })) + expect(dateSchema.dateSchemaInput).toHaveBeenCalledWith(day, month, year) + tearDownMocks() + }) + + it('passes dateSchemaInput output and dateSchema to Joi.assert', () => { + setupMocks() + const dsi = Symbol('dsi') + dateSchema.dateSchemaInput.mockReturnValueOnce(dsi) + dateOfBirthValidator(getSamplePayload()) + expect(Joi.assert).toHaveBeenCalledWith(dsi, dateSchema.dateSchema) + tearDownMocks() + }) +}) + +describe('startDate validator', () => { + beforeEach(jest.clearAllMocks) + + const getSamplePayload = ({ day = '', month = '', year = '' } = {}) => ({ + 'licence-start-date-day': day, + 'licence-start-date-month': month, + 'licence-start-date-year': year, + 'licence-to-start': 'another-date' + }) + + it('throws an error for a licence starting before today', () => { + const invalidStartDate = moment().subtract(1, 'day') + const samplePayload = getSamplePayload({ + day: invalidStartDate.format('DD'), + month: invalidStartDate.format('MM'), + year: invalidStartDate.format('YYYY') + }) + expect(() => startDateValidator(samplePayload)).toThrow() + }) + + it('throws an error for a licence starting more than 30 days hence', () => { + const invalidStartDate = moment().add(31, 'days') + const samplePayload = getSamplePayload({ + day: invalidStartDate.format('DD'), + month: invalidStartDate.format('MM'), + year: invalidStartDate.format('YYYY') + }) + expect(() => startDateValidator(samplePayload)).toThrow() + }) + + it('validates for a date within the next 30 days', () => { + const validStartDate = moment().add(4, 'days') + const samplePayload = getSamplePayload({ + day: validStartDate.format('DD'), + month: validStartDate.format('MM'), + year: validStartDate.format('YYYY') + }) + expect(() => startDateValidator(samplePayload)).not.toThrow() + }) + + it.each([ + ['1-3-2024', moment('2024-02-28')], + ['9-7-2024', moment('2024-07-08')] + ])('handles single digit date %s', (date, now) => { + jest.useFakeTimers() + jest.setSystemTime(now.toDate()) + + const [day, month, year] = date.split('-') + const samplePayload = getSamplePayload({ + day, + month, + year + }) + expect(() => startDateValidator(samplePayload)).not.toThrow() + jest.useRealTimers() + }) + + it.each([ + ['01', '03', '1994'], + ['10', '12', '2004'] + ])('passes start date day (%s), month (%s) and year (%s) to dateSchemaInput', (day, month, year) => { + setupMocks() + startDateValidator(getSamplePayload({ day, month, year })) + expect(dateSchema.dateSchemaInput).toHaveBeenCalledWith(day, month, year) + tearDownMocks() + }) + + it('passes dateSchemaInput output and dateSchema to Joi.assert', () => { + setupMocks() + const dsi = Symbol('dsi') + dateSchema.dateSchemaInput.mockReturnValueOnce(dsi) + startDateValidator(getSamplePayload()) + expect(Joi.assert).toHaveBeenCalledWith(dsi, dateSchema.dateSchema) + tearDownMocks() + }) + + it('passes validation if licence is set to start after payment', () => { + const samplePayload = { 'licence-to-start': 'after-payment' } + expect(() => startDateValidator(samplePayload)).not.toThrow() + }) + + it('throws an error if licence-to-start is set to an invalid value', () => { + const samplePayload = { 'licence-to-start': '12th-of-never' } + expect(() => startDateValidator(samplePayload)).toThrow() + }) +}) + +describe('getErrorFlags', () => { + it('sets all error flags to be false when there are no errors', () => { + const result = getDateErrorFlags() + expect(result).toEqual({ isDayError: false, isMonthError: false, isYearError: false }) + }) + + it.each([ + ['full-date', { isDayError: true, isMonthError: true, isYearError: true }], + ['day-and-month', { isDayError: true, isMonthError: true, isYearError: false }], + ['month-and-year', { isDayError: false, isMonthError: true, isYearError: true }], + ['day-and-year', { isDayError: true, isMonthError: false, isYearError: true }], + ['day', { isDayError: true, isMonthError: false, isYearError: false }], + ['month', { isDayError: false, isMonthError: true, isYearError: false }], + ['year', { isDayError: false, isMonthError: false, isYearError: true }], + ['invalid-date', { isDayError: true, isMonthError: true, isYearError: true }], + ['date-range', { isDayError: true, isMonthError: true, isYearError: true }], + ['non-numeric', { isDayError: true, isMonthError: true, isYearError: true }] + ])('when error is %s, should set %o in flags', (errorKey, expected) => { + const error = { [errorKey]: 'anything.at.all' } + + const result = getDateErrorFlags(error) + + expect(result).toEqual(expect.objectContaining(expected)) + }) +}) diff --git a/packages/gafl-webapp-service/src/schema/validators/validators.js b/packages/gafl-webapp-service/src/schema/validators/validators.js new file mode 100644 index 000000000..70fefe6d2 --- /dev/null +++ b/packages/gafl-webapp-service/src/schema/validators/validators.js @@ -0,0 +1,65 @@ +import Joi from 'joi' +import moment from 'moment' +import { ADVANCED_PURCHASE_MAX_DAYS, SERVICE_LOCAL_TIME } from '@defra-fish/business-rules-lib' +import { dateSchema, dateSchemaInput } from '../date.schema.js' + +const MAX_AGE = 120 +const LICENCE_TO_START_FIELD = 'licence-to-start' +const AFTER_PAYMENT = 'after-payment' +const ANOTHER_DATE = 'another-date' + +const validateDate = (day, month, year, minDate, maxDate) => { + Joi.assert(dateSchemaInput(day, month, year), dateSchema) + const dateRange = moment(`${year}-${month.padStart(2, '0')}-${day.padStart(2, '0')}`, 'YYYY-MM-DD') + .tz(SERVICE_LOCAL_TIME) + .startOf('day') + .toDate() + Joi.assert({ 'date-range': dateRange }, Joi.object({ 'date-range': Joi.date().min(minDate).max(maxDate) })) +} + +export const dateOfBirthValidator = payload => { + const day = payload['date-of-birth-day'] + const month = payload['date-of-birth-month'] + const year = payload['date-of-birth-year'] + + const minDate = moment().tz(SERVICE_LOCAL_TIME).subtract(MAX_AGE, 'years').startOf('day').toDate() + const maxDate = moment().tz(SERVICE_LOCAL_TIME).subtract(1, 'day').startOf('day').toDate() + validateDate(day, month, year, minDate, maxDate) +} + +export const startDateValidator = payload => { + Joi.assert( + { 'licence-to-start': payload[LICENCE_TO_START_FIELD] }, + Joi.object({ 'licence-to-start': Joi.string().valid(AFTER_PAYMENT, ANOTHER_DATE).required() }) + ) + if (payload[LICENCE_TO_START_FIELD] === ANOTHER_DATE) { + const day = payload['licence-start-date-day'] + const month = payload['licence-start-date-month'] + const year = payload['licence-start-date-year'] + + const minDate = moment().tz(SERVICE_LOCAL_TIME).startOf('day').toDate() + const maxDate = moment().tz(SERVICE_LOCAL_TIME).add(ADVANCED_PURCHASE_MAX_DAYS, 'days').toDate() + validateDate(day, month, year, minDate, maxDate) + } +} + +export const getDateErrorFlags = error => { + const errorFlags = { isDayError: false, isMonthError: false, isYearError: false } + const commonErrors = ['full-date', 'invalid-date', 'date-range', 'non-numeric'] + + if (error) { + const [errorKey] = Object.keys(error) + + if (['day-and-month', 'day-and-year', 'day', ...commonErrors].includes(errorKey)) { + errorFlags.isDayError = true + } + if (['day-and-month', 'month-and-year', 'month', ...commonErrors].includes(errorKey)) { + errorFlags.isMonthError = true + } + if (['day-and-year', 'month-and-year', 'year', ...commonErrors].includes(errorKey)) { + errorFlags.isYearError = true + } + } + + return errorFlags +} From 54475774a2f320e8ba0ed1e6baa624e23f14decc Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 9 Dec 2024 15:12:42 +0000 Subject: [PATCH 10/26] chore(release): publish v1.57.0-rc.4 --- CHANGELOG.md | 9 +++++++++ lerna.json | 2 +- packages/business-rules-lib/package-lock.json | 4 ++-- packages/business-rules-lib/package.json | 2 +- packages/connectors-lib/package-lock.json | 4 ++-- packages/connectors-lib/package.json | 2 +- packages/dynamics-lib/package-lock.json | 4 ++-- packages/dynamics-lib/package.json | 2 +- packages/fulfilment-job/package-lock.json | 8 ++++---- packages/fulfilment-job/package.json | 6 +++--- packages/gafl-webapp-service/package-lock.json | 8 ++++---- packages/gafl-webapp-service/package.json | 6 +++--- packages/payment-mop-up-job/package-lock.json | 8 ++++---- packages/payment-mop-up-job/package.json | 6 +++--- packages/pocl-job/package-lock.json | 8 ++++---- packages/pocl-job/package.json | 6 +++--- packages/recurring-payments-job/package-lock.json | 8 ++++---- packages/recurring-payments-job/package.json | 6 +++--- packages/sales-api-service/package-lock.json | 10 +++++----- packages/sales-api-service/package.json | 8 ++++---- packages/sqs-receiver-service/package-lock.json | 6 +++--- packages/sqs-receiver-service/package.json | 4 ++-- 22 files changed, 68 insertions(+), 59 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2af57bba8..4c078cd41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,13 @@ +## v1.57.0-rc.4 (2024-12-09) + +#### :rocket: Enhancement +* `gafl-webapp-service` + * [#2022](https://github.com/DEFRA/rod-licensing/pull/2022) Apply more specific date error messages ([@irisfaraway](https://github.com/irisfaraway)) + +#### Committers: 1 +- Iris Faraway ([@irisfaraway](https://github.com/irisfaraway)) + ## v1.57.0-rc.3 (2024-12-06) #### :rocket: Enhancement diff --git a/lerna.json b/lerna.json index c6e06394d..66971863a 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "npmClient": "npm", "publishConfig": { "registry": "http://registry.npmjs.org/" diff --git a/packages/business-rules-lib/package-lock.json b/packages/business-rules-lib/package-lock.json index 751201bf8..3bfb03fd3 100644 --- a/packages/business-rules-lib/package-lock.json +++ b/packages/business-rules-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", diff --git a/packages/business-rules-lib/package.json b/packages/business-rules-lib/package.json index 4f01123a7..4df7a7a24 100644 --- a/packages/business-rules-lib/package.json +++ b/packages/business-rules-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "description": "Shared business rules for the rod licensing digital services", "type": "module", "engines": { diff --git a/packages/connectors-lib/package-lock.json b/packages/connectors-lib/package-lock.json index 191c46d74..fe77828af 100644 --- a/packages/connectors-lib/package-lock.json +++ b/packages/connectors-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", diff --git a/packages/connectors-lib/package.json b/packages/connectors-lib/package.json index dd0773962..59a1f2cbe 100644 --- a/packages/connectors-lib/package.json +++ b/packages/connectors-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "description": "Shared connectors", "type": "module", "engines": { diff --git a/packages/dynamics-lib/package-lock.json b/packages/dynamics-lib/package-lock.json index 31d789599..4b2496076 100644 --- a/packages/dynamics-lib/package-lock.json +++ b/packages/dynamics-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "license": "SEE LICENSE IN LICENSE", "dependencies": { "cache-manager": "^3.6.0", diff --git a/packages/dynamics-lib/package.json b/packages/dynamics-lib/package.json index bb636fff8..472ac5054 100644 --- a/packages/dynamics-lib/package.json +++ b/packages/dynamics-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "description": "Framework to support integration with dynamics", "type": "module", "engines": { diff --git a/packages/fulfilment-job/package-lock.json b/packages/fulfilment-job/package-lock.json index bca20d429..bd815e79d 100644 --- a/packages/fulfilment-job/package-lock.json +++ b/packages/fulfilment-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.3", - "@defra-fish/dynamics-lib": "1.57.0-rc.3", + "@defra-fish/connectors-lib": "1.57.0-rc.4", + "@defra-fish/dynamics-lib": "1.57.0-rc.4", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/fulfilment-job/package.json b/packages/fulfilment-job/package.json index 534cbe5fb..356aad52c 100644 --- a/packages/fulfilment-job/package.json +++ b/packages/fulfilment-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "description": "Rod Licensing Sales Fulfilment Job", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.3", - "@defra-fish/dynamics-lib": "1.57.0-rc.3", + "@defra-fish/connectors-lib": "1.57.0-rc.4", + "@defra-fish/dynamics-lib": "1.57.0-rc.4", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/gafl-webapp-service/package-lock.json b/packages/gafl-webapp-service/package-lock.json index 434254621..034595fac 100644 --- a/packages/gafl-webapp-service/package-lock.json +++ b/packages/gafl-webapp-service/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.3", - "@defra-fish/connectors-lib": "1.57.0-rc.3", + "@defra-fish/business-rules-lib": "1.57.0-rc.4", + "@defra-fish/connectors-lib": "1.57.0-rc.4", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/gafl-webapp-service/package.json b/packages/gafl-webapp-service/package.json index 4facea90b..d0b43cbe3 100644 --- a/packages/gafl-webapp-service/package.json +++ b/packages/gafl-webapp-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "description": "The websales frontend for the GAFL service", "type": "module", "engines": { @@ -36,8 +36,8 @@ "prepare": "gulp --gulpfile build/gulpfile.cjs" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.3", - "@defra-fish/connectors-lib": "1.57.0-rc.3", + "@defra-fish/business-rules-lib": "1.57.0-rc.4", + "@defra-fish/connectors-lib": "1.57.0-rc.4", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/payment-mop-up-job/package-lock.json b/packages/payment-mop-up-job/package-lock.json index 8ef7a9fd0..335834588 100644 --- a/packages/payment-mop-up-job/package-lock.json +++ b/packages/payment-mop-up-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.3", - "@defra-fish/connectors-lib": "1.57.0-rc.3", + "@defra-fish/business-rules-lib": "1.57.0-rc.4", + "@defra-fish/connectors-lib": "1.57.0-rc.4", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/payment-mop-up-job/package.json b/packages/payment-mop-up-job/package.json index a0df7d902..6dd5f33a2 100644 --- a/packages/payment-mop-up-job/package.json +++ b/packages/payment-mop-up-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "description": "Process incomplete web-sales", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.3", - "@defra-fish/connectors-lib": "1.57.0-rc.3", + "@defra-fish/business-rules-lib": "1.57.0-rc.4", + "@defra-fish/connectors-lib": "1.57.0-rc.4", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/pocl-job/package-lock.json b/packages/pocl-job/package-lock.json index eb687f9f5..7c90ec91d 100644 --- a/packages/pocl-job/package-lock.json +++ b/packages/pocl-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.3", - "@defra-fish/connectors-lib": "1.57.0-rc.3", + "@defra-fish/business-rules-lib": "1.57.0-rc.4", + "@defra-fish/connectors-lib": "1.57.0-rc.4", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/pocl-job/package.json b/packages/pocl-job/package.json index c9371ddaf..aec8ae3f6 100644 --- a/packages/pocl-job/package.json +++ b/packages/pocl-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "description": "Post Office Counter Licence sales processor", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.3", - "@defra-fish/connectors-lib": "1.57.0-rc.3", + "@defra-fish/business-rules-lib": "1.57.0-rc.4", + "@defra-fish/connectors-lib": "1.57.0-rc.4", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/recurring-payments-job/package-lock.json b/packages/recurring-payments-job/package-lock.json index 3606fd8d0..f5d25fdd8 100644 --- a/packages/recurring-payments-job/package-lock.json +++ b/packages/recurring-payments-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.3", - "@defra-fish/connectors-lib": "1.57.0-rc.3", + "@defra-fish/business-rules-lib": "1.57.0-rc.4", + "@defra-fish/connectors-lib": "1.57.0-rc.4", "commander": "^7.2.0", "moment-timezone": "^0.5.34" }, diff --git a/packages/recurring-payments-job/package.json b/packages/recurring-payments-job/package.json index ed0321824..7d14a544e 100644 --- a/packages/recurring-payments-job/package.json +++ b/packages/recurring-payments-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "description": "Rod Licensing Recurring Payments Job", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.3", - "@defra-fish/connectors-lib": "1.57.0-rc.3", + "@defra-fish/business-rules-lib": "1.57.0-rc.4", + "@defra-fish/connectors-lib": "1.57.0-rc.4", "commander": "^7.2.0", "moment-timezone": "^0.5.34" } diff --git a/packages/sales-api-service/package-lock.json b/packages/sales-api-service/package-lock.json index 56440d0c9..3c40d0855 100644 --- a/packages/sales-api-service/package-lock.json +++ b/packages/sales-api-service/package-lock.json @@ -1,17 +1,17 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.3", - "@defra-fish/connectors-lib": "1.57.0-rc.3", - "@defra-fish/dynamics-lib": "1.57.0-rc.3", + "@defra-fish/business-rules-lib": "1.57.0-rc.4", + "@defra-fish/connectors-lib": "1.57.0-rc.4", + "@defra-fish/dynamics-lib": "1.57.0-rc.4", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sales-api-service/package.json b/packages/sales-api-service/package.json index 4866b3f84..dcc5aa312 100644 --- a/packages/sales-api-service/package.json +++ b/packages/sales-api-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "description": "Rod Licensing Sales API", "type": "module", "engines": { @@ -35,9 +35,9 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.3", - "@defra-fish/connectors-lib": "1.57.0-rc.3", - "@defra-fish/dynamics-lib": "1.57.0-rc.3", + "@defra-fish/business-rules-lib": "1.57.0-rc.4", + "@defra-fish/connectors-lib": "1.57.0-rc.4", + "@defra-fish/dynamics-lib": "1.57.0-rc.4", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sqs-receiver-service/package-lock.json b/packages/sqs-receiver-service/package-lock.json index 66a04020c..aec110233 100644 --- a/packages/sqs-receiver-service/package-lock.json +++ b/packages/sqs-receiver-service/package-lock.json @@ -1,15 +1,15 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.3", + "@defra-fish/connectors-lib": "1.57.0-rc.4", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", diff --git a/packages/sqs-receiver-service/package.json b/packages/sqs-receiver-service/package.json index c7d141739..9746c5f26 100644 --- a/packages/sqs-receiver-service/package.json +++ b/packages/sqs-receiver-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.3", + "version": "1.57.0-rc.4", "description": "SQS Receiver service", "type": "module", "engines": { @@ -35,7 +35,7 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.3", + "@defra-fish/connectors-lib": "1.57.0-rc.4", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", From cf016e572c40dcee3b2649a7bf09d47ee0dbe75b Mon Sep 17 00:00:00 2001 From: Scott Dormand <61588381+ScottDormand96@users.noreply.github.com> Date: Tue, 10 Dec 2024 08:49:09 +0000 Subject: [PATCH 11/26] Change length link junior licence (#2088) * Change length link junior licence https://eaflood.atlassian.net/browse/IWTF-4404 remove option to change licence length for a junior licence * hide change button for junior --- .../__snapshots__/route.spec.js.snap | 12 ------ .../licence-summary/__tests__/route.spec.js | 38 +++++++++++++------ .../pages/summary/licence-summary/route.js | 3 +- 3 files changed, 28 insertions(+), 25 deletions(-) diff --git a/packages/gafl-webapp-service/src/pages/summary/licence-summary/__tests__/__snapshots__/route.spec.js.snap b/packages/gafl-webapp-service/src/pages/summary/licence-summary/__tests__/__snapshots__/route.spec.js.snap index 6aa626139..d689b8af1 100644 --- a/packages/gafl-webapp-service/src/pages/summary/licence-summary/__tests__/__snapshots__/route.spec.js.snap +++ b/packages/gafl-webapp-service/src/pages/summary/licence-summary/__tests__/__snapshots__/route.spec.js.snap @@ -1128,18 +1128,6 @@ Array [ }, }, Object { - "actions": Object { - "items": Array [ - Object { - "attributes": Object { - "id": "change-licence-length", - }, - "href": "/buy/licence-length", - "text": "contact_summary_change", - "visuallyHiddenText": "licence_summary_length", - }, - ], - }, "key": Object { "text": "licence_summary_length", }, diff --git a/packages/gafl-webapp-service/src/pages/summary/licence-summary/__tests__/route.spec.js b/packages/gafl-webapp-service/src/pages/summary/licence-summary/__tests__/route.spec.js index 0637e3ad1..777a8ee5f 100644 --- a/packages/gafl-webapp-service/src/pages/summary/licence-summary/__tests__/route.spec.js +++ b/packages/gafl-webapp-service/src/pages/summary/licence-summary/__tests__/route.spec.js @@ -7,7 +7,11 @@ import { licenceTypeDisplay } from '../../../../processors/licence-type-display. import { addLanguageCodeToUri } from '../../../../processors/uri-helper.js' import mappingConstants from '../../../../processors/mapping-constants.js' import { displayPermissionPrice } from '../../../../processors/price-display.js' +import { hasJunior } from '../../../../processors/concession-helper.js' +jest.mock('../../../../processors/concession-helper.js', () => ({ + hasJunior: jest.fn(() => false) +})) jest.mock('../../../../processors/licence-type-display.js', () => ({ licenceTypeDisplay: jest.fn(() => 'Special Canal Licence, Shopping Trollies and Old Wellies') })) @@ -370,20 +374,30 @@ describe('licence-summary > route', () => { ) }) + it('calls hasJunior with permission', async () => { + const currentPermission = getMockNewPermission() + const mockRequest = getMockRequest({ currentPermission }) + + await getData(mockRequest) + + expect(hasJunior).toHaveBeenCalledWith(currentPermission) + }) + describe('licence summary rows', () => { it.each` - desc | currentPermission - ${'1 year renewal'} | ${getMockPermission()} - ${'1 year new licence'} | ${getMockNewPermission()} - ${'1 year senior renewal'} | ${getMockSeniorPermission()} - ${'8 day licence'} | ${{ ...getMockNewPermission(), licenceLength: '8D' }} - ${'1 day licence'} | ${{ ...getMockNewPermission(), licenceLength: '1D' }} - ${'Junior licence'} | ${getMockJuniorPermission()} - ${'Blue badge concession'} | ${getMockBlueBadgePermission()} - ${'Continuing permission'} | ${getMockContinuingPermission()} - ${'Another date permission'} | ${{ ...getMockPermission(), licenceToStart: 'another-date' }} - ${'1 year new three rod licence '} | ${{ ...getMockNewPermission(), numberOfRods: '3' }} - `('creates licence summary name rows for $desc', async ({ currentPermission }) => { + desc | currentPermission | junior + ${'1 year renewal'} | ${getMockPermission()} | ${false} + ${'1 year new licence'} | ${getMockNewPermission()} | ${false} + ${'1 year senior renewal'} | ${getMockSeniorPermission()} | ${false} + ${'8 day licence'} | ${{ ...getMockNewPermission(), licenceLength: '8D' }} | ${false} + ${'1 day licence'} | ${{ ...getMockNewPermission(), licenceLength: '1D' }} | ${false} + ${'Junior licence'} | ${getMockJuniorPermission()} | ${true} + ${'Blue badge concession'} | ${getMockBlueBadgePermission()} | ${false} + ${'Continuing permission'} | ${getMockContinuingPermission()} | ${false} + ${'Another date permission'} | ${{ ...getMockPermission(), licenceToStart: 'another-date' }} | ${false} + ${'1 year new three rod licence '} | ${{ ...getMockNewPermission(), numberOfRods: '3' }} | ${false} + `('creates licence summary name rows for $desc', async ({ currentPermission, junior }) => { + hasJunior.mockReturnValueOnce(junior) const mockRequest = getMockRequest({ currentPermission }) const data = await getData(mockRequest) expect(data.licenceSummaryRows).toMatchSnapshot() diff --git a/packages/gafl-webapp-service/src/pages/summary/licence-summary/route.js b/packages/gafl-webapp-service/src/pages/summary/licence-summary/route.js index b43e637f6..643c54794 100644 --- a/packages/gafl-webapp-service/src/pages/summary/licence-summary/route.js +++ b/packages/gafl-webapp-service/src/pages/summary/licence-summary/route.js @@ -22,6 +22,7 @@ import { CONCESSION, CONCESSION_PROOF } from '../../../processors/mapping-consta import { nextPage } from '../../../routes/next-page.js' import { addLanguageCodeToUri } from '../../../processors/uri-helper.js' import { displayPermissionPrice } from '../../../processors/price-display.js' +import { hasJunior } from '../../../processors/concession-helper.js' import db from 'debug' const debug = db('webapp:licence-summary') @@ -115,7 +116,7 @@ class RowGenerator { generateLicenceLengthRow () { const args = ['licence_summary_length', this.labels[`licence_type_${this.permission.licenceLength.toLowerCase()}`]] - if (this.permission.numberOfRods !== '3') { + if (this.permission.numberOfRods !== '3' && !hasJunior(this.permission)) { args.push(LICENCE_LENGTH.uri, 'change-licence-length') } From 2487056384121a43e87b2328d1f42147d4b4aac3 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 10 Dec 2024 08:53:01 +0000 Subject: [PATCH 12/26] chore(release): publish v1.57.0-rc.5 --- CHANGELOG.md | 9 +++++++++ lerna.json | 2 +- packages/business-rules-lib/package-lock.json | 4 ++-- packages/business-rules-lib/package.json | 2 +- packages/connectors-lib/package-lock.json | 4 ++-- packages/connectors-lib/package.json | 2 +- packages/dynamics-lib/package-lock.json | 4 ++-- packages/dynamics-lib/package.json | 2 +- packages/fulfilment-job/package-lock.json | 8 ++++---- packages/fulfilment-job/package.json | 6 +++--- packages/gafl-webapp-service/package-lock.json | 8 ++++---- packages/gafl-webapp-service/package.json | 6 +++--- packages/payment-mop-up-job/package-lock.json | 8 ++++---- packages/payment-mop-up-job/package.json | 6 +++--- packages/pocl-job/package-lock.json | 8 ++++---- packages/pocl-job/package.json | 6 +++--- packages/recurring-payments-job/package-lock.json | 8 ++++---- packages/recurring-payments-job/package.json | 6 +++--- packages/sales-api-service/package-lock.json | 10 +++++----- packages/sales-api-service/package.json | 8 ++++---- packages/sqs-receiver-service/package-lock.json | 6 +++--- packages/sqs-receiver-service/package.json | 4 ++-- 22 files changed, 68 insertions(+), 59 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c078cd41..768e8904a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,13 @@ +## v1.57.0-rc.5 (2024-12-10) + +#### :bug: Bug Fix +* `gafl-webapp-service` + * [#2088](https://github.com/DEFRA/rod-licensing/pull/2088) Change length link junior licence ([@ScottDormand96](https://github.com/ScottDormand96)) + +#### Committers: 1 +- Scott Dormand ([@ScottDormand96](https://github.com/ScottDormand96)) + ## v1.57.0-rc.4 (2024-12-09) #### :rocket: Enhancement diff --git a/lerna.json b/lerna.json index 66971863a..0c4fcd84d 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "npmClient": "npm", "publishConfig": { "registry": "http://registry.npmjs.org/" diff --git a/packages/business-rules-lib/package-lock.json b/packages/business-rules-lib/package-lock.json index 3bfb03fd3..ec7e2fd62 100644 --- a/packages/business-rules-lib/package-lock.json +++ b/packages/business-rules-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", diff --git a/packages/business-rules-lib/package.json b/packages/business-rules-lib/package.json index 4df7a7a24..31d886860 100644 --- a/packages/business-rules-lib/package.json +++ b/packages/business-rules-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "description": "Shared business rules for the rod licensing digital services", "type": "module", "engines": { diff --git a/packages/connectors-lib/package-lock.json b/packages/connectors-lib/package-lock.json index fe77828af..b5f7b0ec2 100644 --- a/packages/connectors-lib/package-lock.json +++ b/packages/connectors-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", diff --git a/packages/connectors-lib/package.json b/packages/connectors-lib/package.json index 59a1f2cbe..893a8d2d7 100644 --- a/packages/connectors-lib/package.json +++ b/packages/connectors-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "description": "Shared connectors", "type": "module", "engines": { diff --git a/packages/dynamics-lib/package-lock.json b/packages/dynamics-lib/package-lock.json index 4b2496076..bd8b37aad 100644 --- a/packages/dynamics-lib/package-lock.json +++ b/packages/dynamics-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "license": "SEE LICENSE IN LICENSE", "dependencies": { "cache-manager": "^3.6.0", diff --git a/packages/dynamics-lib/package.json b/packages/dynamics-lib/package.json index 472ac5054..af6c974b9 100644 --- a/packages/dynamics-lib/package.json +++ b/packages/dynamics-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "description": "Framework to support integration with dynamics", "type": "module", "engines": { diff --git a/packages/fulfilment-job/package-lock.json b/packages/fulfilment-job/package-lock.json index bd815e79d..07b42fa88 100644 --- a/packages/fulfilment-job/package-lock.json +++ b/packages/fulfilment-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.4", - "@defra-fish/dynamics-lib": "1.57.0-rc.4", + "@defra-fish/connectors-lib": "1.57.0-rc.5", + "@defra-fish/dynamics-lib": "1.57.0-rc.5", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/fulfilment-job/package.json b/packages/fulfilment-job/package.json index 356aad52c..548858ffe 100644 --- a/packages/fulfilment-job/package.json +++ b/packages/fulfilment-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "description": "Rod Licensing Sales Fulfilment Job", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.4", - "@defra-fish/dynamics-lib": "1.57.0-rc.4", + "@defra-fish/connectors-lib": "1.57.0-rc.5", + "@defra-fish/dynamics-lib": "1.57.0-rc.5", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/gafl-webapp-service/package-lock.json b/packages/gafl-webapp-service/package-lock.json index 034595fac..5828c256e 100644 --- a/packages/gafl-webapp-service/package-lock.json +++ b/packages/gafl-webapp-service/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.4", - "@defra-fish/connectors-lib": "1.57.0-rc.4", + "@defra-fish/business-rules-lib": "1.57.0-rc.5", + "@defra-fish/connectors-lib": "1.57.0-rc.5", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/gafl-webapp-service/package.json b/packages/gafl-webapp-service/package.json index d0b43cbe3..44541454b 100644 --- a/packages/gafl-webapp-service/package.json +++ b/packages/gafl-webapp-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "description": "The websales frontend for the GAFL service", "type": "module", "engines": { @@ -36,8 +36,8 @@ "prepare": "gulp --gulpfile build/gulpfile.cjs" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.4", - "@defra-fish/connectors-lib": "1.57.0-rc.4", + "@defra-fish/business-rules-lib": "1.57.0-rc.5", + "@defra-fish/connectors-lib": "1.57.0-rc.5", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/payment-mop-up-job/package-lock.json b/packages/payment-mop-up-job/package-lock.json index 335834588..4bf5dbfa7 100644 --- a/packages/payment-mop-up-job/package-lock.json +++ b/packages/payment-mop-up-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.4", - "@defra-fish/connectors-lib": "1.57.0-rc.4", + "@defra-fish/business-rules-lib": "1.57.0-rc.5", + "@defra-fish/connectors-lib": "1.57.0-rc.5", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/payment-mop-up-job/package.json b/packages/payment-mop-up-job/package.json index 6dd5f33a2..e13e12482 100644 --- a/packages/payment-mop-up-job/package.json +++ b/packages/payment-mop-up-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "description": "Process incomplete web-sales", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.4", - "@defra-fish/connectors-lib": "1.57.0-rc.4", + "@defra-fish/business-rules-lib": "1.57.0-rc.5", + "@defra-fish/connectors-lib": "1.57.0-rc.5", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/pocl-job/package-lock.json b/packages/pocl-job/package-lock.json index 7c90ec91d..dc7285b97 100644 --- a/packages/pocl-job/package-lock.json +++ b/packages/pocl-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.4", - "@defra-fish/connectors-lib": "1.57.0-rc.4", + "@defra-fish/business-rules-lib": "1.57.0-rc.5", + "@defra-fish/connectors-lib": "1.57.0-rc.5", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/pocl-job/package.json b/packages/pocl-job/package.json index aec8ae3f6..7b08548b7 100644 --- a/packages/pocl-job/package.json +++ b/packages/pocl-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "description": "Post Office Counter Licence sales processor", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.4", - "@defra-fish/connectors-lib": "1.57.0-rc.4", + "@defra-fish/business-rules-lib": "1.57.0-rc.5", + "@defra-fish/connectors-lib": "1.57.0-rc.5", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/recurring-payments-job/package-lock.json b/packages/recurring-payments-job/package-lock.json index f5d25fdd8..0739c37d5 100644 --- a/packages/recurring-payments-job/package-lock.json +++ b/packages/recurring-payments-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.4", - "@defra-fish/connectors-lib": "1.57.0-rc.4", + "@defra-fish/business-rules-lib": "1.57.0-rc.5", + "@defra-fish/connectors-lib": "1.57.0-rc.5", "commander": "^7.2.0", "moment-timezone": "^0.5.34" }, diff --git a/packages/recurring-payments-job/package.json b/packages/recurring-payments-job/package.json index 7d14a544e..a83918a58 100644 --- a/packages/recurring-payments-job/package.json +++ b/packages/recurring-payments-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "description": "Rod Licensing Recurring Payments Job", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.4", - "@defra-fish/connectors-lib": "1.57.0-rc.4", + "@defra-fish/business-rules-lib": "1.57.0-rc.5", + "@defra-fish/connectors-lib": "1.57.0-rc.5", "commander": "^7.2.0", "moment-timezone": "^0.5.34" } diff --git a/packages/sales-api-service/package-lock.json b/packages/sales-api-service/package-lock.json index 3c40d0855..6755b4d27 100644 --- a/packages/sales-api-service/package-lock.json +++ b/packages/sales-api-service/package-lock.json @@ -1,17 +1,17 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.4", - "@defra-fish/connectors-lib": "1.57.0-rc.4", - "@defra-fish/dynamics-lib": "1.57.0-rc.4", + "@defra-fish/business-rules-lib": "1.57.0-rc.5", + "@defra-fish/connectors-lib": "1.57.0-rc.5", + "@defra-fish/dynamics-lib": "1.57.0-rc.5", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sales-api-service/package.json b/packages/sales-api-service/package.json index dcc5aa312..7137fbd11 100644 --- a/packages/sales-api-service/package.json +++ b/packages/sales-api-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "description": "Rod Licensing Sales API", "type": "module", "engines": { @@ -35,9 +35,9 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.4", - "@defra-fish/connectors-lib": "1.57.0-rc.4", - "@defra-fish/dynamics-lib": "1.57.0-rc.4", + "@defra-fish/business-rules-lib": "1.57.0-rc.5", + "@defra-fish/connectors-lib": "1.57.0-rc.5", + "@defra-fish/dynamics-lib": "1.57.0-rc.5", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sqs-receiver-service/package-lock.json b/packages/sqs-receiver-service/package-lock.json index aec110233..d248d2259 100644 --- a/packages/sqs-receiver-service/package-lock.json +++ b/packages/sqs-receiver-service/package-lock.json @@ -1,15 +1,15 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.4", + "@defra-fish/connectors-lib": "1.57.0-rc.5", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", diff --git a/packages/sqs-receiver-service/package.json b/packages/sqs-receiver-service/package.json index 9746c5f26..bdbcd7f31 100644 --- a/packages/sqs-receiver-service/package.json +++ b/packages/sqs-receiver-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.4", + "version": "1.57.0-rc.5", "description": "SQS Receiver service", "type": "module", "engines": { @@ -35,7 +35,7 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.4", + "@defra-fish/connectors-lib": "1.57.0-rc.5", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", From 582a2078ac4a3aaecebb931b68a4d3ed65f82f87 Mon Sep 17 00:00:00 2001 From: Phil Benson Date: Tue, 10 Dec 2024 09:39:01 +0000 Subject: [PATCH 13/26] Create RP Record in CRM (#2081) * Create RP Record in CRM https://eaflood.atlassian.net/browse/IWTF-4262 After a successful payment, when the permission is provisioned, a RCP record should be created along with everything else. It shouldn't be created if the RCP toggle is off * add transformer for transaction to calculate next due date as well as put transaction in a shape accepted by processRecurringPayment. Also modified processRecurringPayment to set publicId to be a hash of the recurring payment id * use generateRecurringPaymentRecord to remap transaction so that it can be used by processRecurringPayment * Amended generateRecurringPaymentRecord to take a Permission object rather than using the permission embedded in the transaction, altered transaction queue processor to save RecurringPayment after Permission and Contact, removed contactId and activePermission fields as these were extraneous --- .../recurring-payment.entity.spec.js | 14 +- .../src/entities/recurring-payment.entity.js | 24 --- .../recurring-payments.service.spec.js.snap | 2 +- .../recurring-payments.service.spec.js | 199 +++++++++++++++++- .../services/recurring-payments.service.js | 39 +++- .../process-transaction-queue.spec.js | 44 +++- .../transactions/process-transaction-queue.js | 10 +- 7 files changed, 284 insertions(+), 48 deletions(-) diff --git a/packages/dynamics-lib/src/entities/__tests__/recurring-payment.entity.spec.js b/packages/dynamics-lib/src/entities/__tests__/recurring-payment.entity.spec.js index 8ca272c0e..3f26d9f94 100644 --- a/packages/dynamics-lib/src/entities/__tests__/recurring-payment.entity.spec.js +++ b/packages/dynamics-lib/src/entities/__tests__/recurring-payment.entity.spec.js @@ -17,8 +17,6 @@ describe('recurring payment entity', () => { recurringPayment.agreementId = 'c9267c6e-573d-488b-99ab-ea18431fc472' recurringPayment.publicId = '649-213' recurringPayment.status = 1 - recurringPayment.contactId = 'b3d33cln-2e83-ea11-a811-000d3a649213' - recurringPayment.activePermission = 'a5b24adf-2e83-ea11-a811-000d3a649213' recurringPayment.bindToEntity(RecurringPayment.definition.relationships.contact, contact) recurringPayment.bindToEntity(RecurringPayment.definition.relationships.activePermission, permission) @@ -66,9 +64,7 @@ describe('recurring payment entity', () => { endDate: '2019-12-15T00:00:00Z', agreementId: 'c9267c6e-573d-488b-99ab-ea18431fc472', publicId: '649-213', - status: 1, - activePermission: 'a5b24adf-2e83-ea11-a811-000d3a649213', - contactId: 'b3d33cln-2e83-ea11-a811-000d3a649213' + status: 1 }) ) }) @@ -93,8 +89,6 @@ describe('recurring payment entity', () => { defra_agreementid: 'c9267c6e-573d-488b-99ab-ea18431fc472', defra_publicid: '649-213', statecode: 1, - _defra_activepermission_value: 'a5b24adf-2e83-ea11-a811-000d3a649213', - _defra_contact_value: 'b3d33cln-2e83-ea11-a811-000d3a649213', 'defra_Contact@odata.bind': `$${contact.uniqueContentId}`, 'defra_ActivePermission@odata.bind': `$${permission.uniqueContentId}` }) @@ -121,9 +115,7 @@ describe('recurring payment entity', () => { endDate: '2019-12-15T00:00:00Z', agreementId: 'c9267c6e-573d-488b-99ab-ea18431fc472', publicId: '649-213', - status: 1, - activePermission: 'a5b24adf-2e83-ea11-a811-000d3a649213', - contactId: 'b3d33cln-2e83-ea11-a811-000d3a649213' + status: 1 }) ) }) @@ -143,8 +135,6 @@ describe('recurring payment entity', () => { defra_agreementid: 'c9267c6e-573d-488b-99ab-ea18431fc472', defra_publicid: '649-213', statecode: 1, - _defra_activepermission_value: 'a5b24adf-2e83-ea11-a811-000d3a649213', - _defra_contact_value: 'b3d33cln-2e83-ea11-a811-000d3a649213', 'defra_Contact@odata.bind': `$${contact.uniqueContentId}`, 'defra_ActivePermission@odata.bind': `$${permission.uniqueContentId}` }) diff --git a/packages/dynamics-lib/src/entities/recurring-payment.entity.js b/packages/dynamics-lib/src/entities/recurring-payment.entity.js index 12e1e4fa6..2b07f6698 100755 --- a/packages/dynamics-lib/src/entities/recurring-payment.entity.js +++ b/packages/dynamics-lib/src/entities/recurring-payment.entity.js @@ -134,28 +134,4 @@ export class RecurringPayment extends BaseEntity { set status (status) { super._setState('status', status) } - - /** - * The ID of the associated contact - * @type {string} - */ - get contactId () { - return super._getState('contactId') - } - - set contactId (contactId) { - super._setState('contactId', contactId) - } - - /** - * The ID of the associated active permission - * @type {string} - */ - get activePermission () { - return super._getState('activePermission') - } - - set activePermission (activePermission) { - super._setState('activePermission', activePermission) - } } diff --git a/packages/sales-api-service/src/services/__tests__/__snapshots__/recurring-payments.service.spec.js.snap b/packages/sales-api-service/src/services/__tests__/__snapshots__/recurring-payments.service.spec.js.snap index e67aacad9..7c9132127 100644 --- a/packages/sales-api-service/src/services/__tests__/__snapshots__/recurring-payments.service.spec.js.snap +++ b/packages/sales-api-service/src/services/__tests__/__snapshots__/recurring-payments.service.spec.js.snap @@ -8,7 +8,7 @@ Object { "endDate": 2023-11-12T00:00:00.000Z, "name": "Test Name", "nextDueDate": 2023-11-02T00:00:00.000Z, - "publicId": "1234456", + "publicId": "abcdef99987", "status": 0, } `; diff --git a/packages/sales-api-service/src/services/__tests__/recurring-payments.service.spec.js b/packages/sales-api-service/src/services/__tests__/recurring-payments.service.spec.js index 6631d0c5e..7b2fc5196 100644 --- a/packages/sales-api-service/src/services/__tests__/recurring-payments.service.spec.js +++ b/packages/sales-api-service/src/services/__tests__/recurring-payments.service.spec.js @@ -1,5 +1,6 @@ -import { findDueRecurringPayments } from '@defra-fish/dynamics-lib' -import { getRecurringPayments, processRecurringPayment } from '../recurring-payments.service.js' +import { findDueRecurringPayments, Permission } from '@defra-fish/dynamics-lib' +import { getRecurringPayments, processRecurringPayment, generateRecurringPaymentRecord } from '../recurring-payments.service.js' +import { createHash } from 'node:crypto' jest.mock('@defra-fish/dynamics-lib', () => ({ ...jest.requireActual('@defra-fish/dynamics-lib'), @@ -8,6 +9,13 @@ jest.mock('@defra-fish/dynamics-lib', () => ({ findDueRecurringPayments: jest.fn() })) +jest.mock('node:crypto', () => ({ + createHash: jest.fn(() => ({ + update: () => {}, + digest: () => 'abcdef99987' + })) +})) + const dynamicsLib = jest.requireMock('@defra-fish/dynamics-lib') const getMockRecurringPayment = () => ({ @@ -81,6 +89,22 @@ const getMockPermission = () => ({ }) describe('recurring payments service', () => { + const createSimpleSampleTransactionRecord = () => ({ payment: { recurring: true }, permissions: [{}] }) + const createSamplePermission = overrides => { + const p = new Permission() + p.referenceNumber = 'ABC123' + p.issueDate = '2024-12-04T11:15:12Z' + p.startDate = '2024-12-04T11:45:12Z' + p.endDate = '2025-12-03T23:59:59.999Z' + p.stagingId = 'aaa-111-bbb-222' + p.isRenewal = false + p.isLicenseForYou = 1 + for (const key in overrides) { + p[key] = overrides[key] + } + return p + } + beforeEach(jest.clearAllMocks) describe('getRecurringPayments', () => { it('should equal result of findDueRecurringPayments query', async () => { @@ -123,7 +147,6 @@ describe('recurring payments service', () => { cancelledReason: null, endDate: new Date('2023-11-12'), agreementId: '435678', - publicId: '1234456', status: 0 } }, @@ -133,5 +156,175 @@ describe('recurring payments service', () => { const result = await processRecurringPayment(transactionRecord, contact) expect(result.recurringPayment).toMatchSnapshot() }) + + it.each(['abc-123', 'def-987'])('generates a publicId %s for the recurring payment', async samplePublicId => { + createHash.mockReturnValue({ + update: () => {}, + digest: () => samplePublicId + }) + const result = await processRecurringPayment(createSimpleSampleTransactionRecord(), getMockContact()) + expect(result.recurringPayment.publicId).toBe(samplePublicId) + }) + + it('passes the unique id of the entity to the hash.update function', async () => { + const update = jest.fn() + createHash.mockReturnValueOnce({ + update, + digest: () => {} + }) + const { recurringPayment } = await processRecurringPayment(createSimpleSampleTransactionRecord(), getMockContact()) + expect(update).toHaveBeenCalledWith(recurringPayment.uniqueContentId) + }) + + it('hashes using sha256', async () => { + await processRecurringPayment(createSimpleSampleTransactionRecord(), getMockContact()) + expect(createHash).toHaveBeenCalledWith('sha256') + }) + + it('uses base64 hash string', async () => { + const digest = jest.fn() + createHash.mockReturnValueOnce({ + update: () => {}, + digest + }) + await processRecurringPayment(createSimpleSampleTransactionRecord(), getMockContact()) + expect(digest).toHaveBeenCalledWith('base64') + }) + }) + + describe('generateRecurringPaymentRecord', () => { + const createFinalisedSampleTransaction = (agreementId, permission) => ({ + expires: 1732892402, + cost: 35.8, + isRecurringPaymentSupported: true, + permissions: [ + { + permitId: 'permit-id-1', + licensee: {}, + referenceNumber: '23211125-2WC3FBP-ABNDT8', + isLicenceForYou: true, + ...permission + } + ], + agreementId, + payment: { + amount: 35.8, + source: 'Gov Pay', + method: 'Debit card', + timestamp: '2024-11-22T15:00:45.922Z' + }, + id: 'd26d646f-ed0f-4cf1-b6c1-ccfbbd611757', + dataSource: 'Web Sales', + transactionId: 'd26d646f-ed0f-4cf1-b6c1-ccfbbd611757', + status: { id: 'FINALISED' } + }) + + it.each([ + [ + 'same day start - next due on issue date plus one year minus ten days', + 'iujhy7u8ijhy7u8iuuiuu8ie89', + { + startDate: '2024-11-22T15:30:45.922Z', + issueDate: '2024-11-22T15:00:45.922Z', + endDate: '2025-11-21T23:59:59.999Z' + }, + '2025-11-12T00:00:00.000Z' + ], + [ + 'next day start - next due on end date minus ten days', + '89iujhy7u8i87yu9iokjuij901', + { + startDate: '2024-11-23T00:00:00.000Z', + issueDate: '2024-11-22T15:00:45.922Z', + endDate: '2025-11-22T23:59:59.999Z' + }, + '2025-11-12T00:00:00.000Z' + ], + [ + 'starts ten days after issue - next due on issue date plus one year', + '9o8u7yhui89u8i9oiu8i8u7yhu', + { + startDate: '2024-11-22T00:00:00.000Z', + issueDate: '2024-11-12T15:00:45.922Z', + endDate: '2025-11-21T23:59:59.999Z' + }, + '2025-11-12T00:00:00.000Z' + ], + [ + 'starts twenty days after issue - next due on issue date plus one year', + '9o8u7yhui89u8i9oiu8i8u7yhu', + { + startDate: '2024-12-01T00:00:00.000Z', + issueDate: '2024-11-12T15:00:45.922Z', + endDate: '2025-01-30T23:59:59.999Z' + }, + '2025-11-12T00:00:00.000Z' + ], + [ + "issued on 29th Feb '24, starts on 30th March '24 - next due on 28th Feb '25", + 'hy7u8ijhyu78jhyu8iu8hjiujn', + { + startDate: '2024-03-30T00:00:00.000Z', + issueDate: '2024-02-29T12:38:24.123Z', + endDate: '2025-03-29T23:59:59.999Z' + }, + '2025-02-28T00:00:00.000Z' + ], + [ + "issued on 30th March '25 at 1am, starts at 1:30am - next due on 20th March '26", + 'jhy67uijhy67u87yhtgjui8u7j', + { + startDate: '2025-03-30T01:30:00.000Z', + issueDate: '2025-03-30T01:00:00.000Z', + endDate: '2026-03-29T23:59:59.999Z' + }, + '2026-03-20T00:00:00.000Z' + ] + ])('creates record from transaction with %s', (_d, agreementId, permissionData, expectedNextDueDate) => { + const sampleTransaction = createFinalisedSampleTransaction(agreementId, permissionData) + const permission = createSamplePermission(permissionData) + + const rpRecord = generateRecurringPaymentRecord(sampleTransaction, permission) + + expect(rpRecord).toEqual( + expect.objectContaining({ + payment: expect.objectContaining({ + recurring: expect.objectContaining({ + name: '', + nextDueDate: expectedNextDueDate, + cancelledDate: null, + cancelledReason: null, + endDate: permissionData.endDate, + agreementId, + status: 1 + }) + }), + permissions: expect.arrayContaining([permission]) + }) + ) + }) + + it.each([ + [ + 'start date is thirty one days after issue date', + { + startDate: '2024-12-14T00:00:00.000Z', + issueDate: '2024-11-12T15:00:45.922Z', + endDate: '2025-12-13T23:59:59.999Z' + } + ], + [ + 'start date precedes issue date', + { + startDate: '2024-11-11T00:00:00.000Z', + issueDate: '2024-11-12T15:00:45.922Z', + endDate: '2025-11-10T23:59:59.999Z' + } + ] + ])('throws an error for invalid dates when %s', (_d, permission) => { + const sampleTransaction = createFinalisedSampleTransaction('hyu78ijhyu78ijuhyu78ij9iu6', permission) + + expect(() => generateRecurringPaymentRecord(sampleTransaction)).toThrow('Invalid dates provided for permission') + }) }) }) diff --git a/packages/sales-api-service/src/services/recurring-payments.service.js b/packages/sales-api-service/src/services/recurring-payments.service.js index aee997d2a..3f5fce7ed 100644 --- a/packages/sales-api-service/src/services/recurring-payments.service.js +++ b/packages/sales-api-service/src/services/recurring-payments.service.js @@ -1,22 +1,59 @@ import { executeQuery, findDueRecurringPayments, RecurringPayment } from '@defra-fish/dynamics-lib' +import { createHash } from 'node:crypto' +import { ADVANCED_PURCHASE_MAX_DAYS } from '@defra-fish/business-rules-lib' +import moment from 'moment' export const getRecurringPayments = date => executeQuery(findDueRecurringPayments(date)) +const getNextDueDate = (startDate, issueDate, endDate) => { + const mStart = moment(startDate) + if (mStart.isAfter(moment(issueDate)) && mStart.isSameOrBefore(moment(issueDate).add(ADVANCED_PURCHASE_MAX_DAYS, 'days'), 'day')) { + if (mStart.isSame(moment(issueDate), 'day')) { + return moment(startDate).add(1, 'year').subtract(10, 'days').startOf('day').toISOString() + } + if (mStart.isBefore(moment(issueDate).add(10, 'days'), 'day')) { + return moment(endDate).subtract(10, 'days').startOf('day').toISOString() + } + return moment(issueDate).add(1, 'year').startOf('day').toISOString() + } + throw new Error('Invalid dates provided for permission') +} + +export const generateRecurringPaymentRecord = (transactionRecord, permission) => { + const [{ startDate, issueDate, endDate }] = transactionRecord.permissions + return { + payment: { + recurring: { + name: '', + nextDueDate: getNextDueDate(startDate, issueDate, endDate), + cancelledDate: null, + cancelledReason: null, + endDate, + agreementId: transactionRecord.agreementId, + status: 1 + } + }, + permissions: [permission] + } +} + /** * Process a recurring payment instruction * @param transactionRecord * @returns {Promise<{recurringPayment: RecurringPayment | null}>} */ export const processRecurringPayment = async (transactionRecord, contact) => { + const hash = createHash('sha256') if (transactionRecord.payment?.recurring) { const recurringPayment = new RecurringPayment() + hash.update(recurringPayment.uniqueContentId) recurringPayment.name = transactionRecord.payment.recurring.name recurringPayment.nextDueDate = transactionRecord.payment.recurring.nextDueDate recurringPayment.cancelledDate = transactionRecord.payment.recurring.cancelledDate recurringPayment.cancelledReason = transactionRecord.payment.recurring.cancelledReason recurringPayment.endDate = transactionRecord.payment.recurring.endDate recurringPayment.agreementId = transactionRecord.payment.recurring.agreementId - recurringPayment.publicId = transactionRecord.payment.recurring.publicId + recurringPayment.publicId = hash.digest('base64') recurringPayment.status = transactionRecord.payment.recurring.status const [permission] = transactionRecord.permissions recurringPayment.bindToEntity(RecurringPayment.definition.relationships.activePermission, permission) diff --git a/packages/sales-api-service/src/services/transactions/__tests__/process-transaction-queue.spec.js b/packages/sales-api-service/src/services/transactions/__tests__/process-transaction-queue.spec.js index f86a4c786..4196a345b 100644 --- a/packages/sales-api-service/src/services/transactions/__tests__/process-transaction-queue.spec.js +++ b/packages/sales-api-service/src/services/transactions/__tests__/process-transaction-queue.spec.js @@ -26,6 +26,7 @@ import { TRANSACTION_STAGING_TABLE, TRANSACTION_STAGING_HISTORY_TABLE } from '.. import AwsMock from 'aws-sdk' import { POCL_DATA_SOURCE, DDE_DATA_SOURCE } from '@defra-fish/business-rules-lib' import moment from 'moment' +import { processRecurringPayment, generateRecurringPaymentRecord } from '../../recurring-payments.service.js' jest.mock('../../reference-data.service.js', () => ({ ...jest.requireActual('../../reference-data.service.js'), @@ -64,9 +65,12 @@ jest.mock('@defra-fish/business-rules-lib', () => ({ START_AFTER_PAYMENT_MINUTES: 30 })) +jest.mock('../../recurring-payments.service.js') + describe('transaction service', () => { beforeAll(() => { TRANSACTION_STAGING_TABLE.TableName = 'TestTable' + processRecurringPayment.mockResolvedValue({}) }) beforeEach(jest.clearAllMocks) @@ -125,6 +129,7 @@ describe('transaction service', () => { [ 'licences with a recurring payment', () => { + processRecurringPayment.mockResolvedValueOnce({ recurringPayment: new RecurringPayment() }) const mockRecord = mockFinalisedTransactionRecord() mockRecord.payment.recurring = { name: 'Test name', @@ -143,9 +148,9 @@ describe('transaction service', () => { expect.any(Transaction), expect.any(TransactionJournal), expect.any(TransactionJournal), - expect.any(RecurringPayment), expect.any(Contact), expect.any(Permission), + expect.any(RecurringPayment), expect.any(RecurringPaymentInstruction), expect.any(ConcessionProof) ] @@ -369,6 +374,43 @@ describe('transaction service', () => { expect(paymentJournal.total).toBe(cost) }) }) + + describe('recurring payment processing', () => { + it('passes transaction record to generateRecurringPaymentRecord', async () => { + const callingArgs = {} + generateRecurringPaymentRecord.mockImplementationOnce(transaction => { + callingArgs.transaction = JSON.parse(JSON.stringify(transaction)) + }) + const mockRecord = mockFinalisedTransactionRecord() + AwsMock.DynamoDB.DocumentClient.__setResponse('get', { Item: mockRecord }) + await processQueue({ id: mockRecord.id }) + // jest.fn args aren't immutable and transaction is changed in processQueue, so we use our clone that hasn't changed + expect(callingArgs.transaction).toEqual(mockRecord) + }) + + it('passes permission to generateRecurringPaymentRecord', async () => { + const mockRecord = mockFinalisedTransactionRecord() + const expectedPermissionData = {} + const keysToCopy = ['referenceNumber', 'issueDate', 'startDate', 'endDate', 'isRenewal'] + for (const key of keysToCopy) { + expectedPermissionData[key] = mockRecord.permissions[0][key] + } + AwsMock.DynamoDB.DocumentClient.__setResponse('get', { Item: mockRecord }) + + await processQueue({ id: mockRecord.id }) + + expect(generateRecurringPaymentRecord).toHaveBeenCalledWith(expect.any(Object), expect.objectContaining(expectedPermissionData)) + }) + + it('passes return value of generateRecurringPaymentRecord to processRecurringPayment', async () => { + const rprSymbol = Symbol('rpr') + const finalisedTransaction = mockFinalisedTransactionRecord() + generateRecurringPaymentRecord.mockReturnValueOnce(rprSymbol) + AwsMock.DynamoDB.DocumentClient.__setResponse('get', { Item: finalisedTransaction }) + await processQueue({ id: finalisedTransaction.id }) + expect(processRecurringPayment).toHaveBeenCalledWith(rprSymbol, expect.any(Contact)) + }) + }) }) describe('.getTransactionJournalRefNumber', () => { diff --git a/packages/sales-api-service/src/services/transactions/process-transaction-queue.js b/packages/sales-api-service/src/services/transactions/process-transaction-queue.js index 0af121ba1..e10221e4b 100644 --- a/packages/sales-api-service/src/services/transactions/process-transaction-queue.js +++ b/packages/sales-api-service/src/services/transactions/process-transaction-queue.js @@ -12,7 +12,7 @@ import { } from '@defra-fish/dynamics-lib' import { DDE_DATA_SOURCE, FULFILMENT_SWITCHOVER_DATE, POCL_TRANSACTION_SOURCES } from '@defra-fish/business-rules-lib' import { getReferenceDataForEntityAndId, getGlobalOptionSetValue, getReferenceDataForEntity } from '../reference-data.service.js' -import { processRecurringPayment } from '../recurring-payments.service.js' +import { generateRecurringPaymentRecord, processRecurringPayment } from '../recurring-payments.service.js' import { resolveContactPayload } from '../contacts.service.js' import { retrieveStagedTransaction } from './retrieve-transaction.js' import { TRANSACTION_STAGING_TABLE, TRANSACTION_STAGING_HISTORY_TABLE } from '../../config.js' @@ -65,11 +65,6 @@ export async function processQueue ({ id }) { isRenewal ) - const { recurringPayment } = await processRecurringPayment(transactionRecord, contact) - if (recurringPayment) { - entities.push(recurringPayment) - } - permission.bindToEntity(Permission.definition.relationships.licensee, contact) permission.bindToEntity(Permission.definition.relationships.permit, permit) permission.bindToEntity(Permission.definition.relationships.transaction, transaction) @@ -78,7 +73,10 @@ export async function processQueue ({ id }) { entities.push(contact, permission) + const { recurringPayment } = await processRecurringPayment(generateRecurringPaymentRecord(transactionRecord, permission), contact) + if (recurringPayment && permit.isRecurringPaymentSupported) { + entities.push(recurringPayment) const paymentInstruction = new RecurringPaymentInstruction() paymentInstruction.bindToEntity(RecurringPaymentInstruction.definition.relationships.licensee, contact) paymentInstruction.bindToEntity(RecurringPaymentInstruction.definition.relationships.permit, permit) From 5c21e5443b8224f43c980c6a53746c593196500b Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 10 Dec 2024 09:43:04 +0000 Subject: [PATCH 14/26] chore(release): publish v1.57.0-rc.6 --- CHANGELOG.md | 9 +++++++++ lerna.json | 2 +- packages/business-rules-lib/package-lock.json | 4 ++-- packages/business-rules-lib/package.json | 2 +- packages/connectors-lib/package-lock.json | 4 ++-- packages/connectors-lib/package.json | 2 +- packages/dynamics-lib/package-lock.json | 4 ++-- packages/dynamics-lib/package.json | 2 +- packages/fulfilment-job/package-lock.json | 8 ++++---- packages/fulfilment-job/package.json | 6 +++--- packages/gafl-webapp-service/package-lock.json | 8 ++++---- packages/gafl-webapp-service/package.json | 6 +++--- packages/payment-mop-up-job/package-lock.json | 8 ++++---- packages/payment-mop-up-job/package.json | 6 +++--- packages/pocl-job/package-lock.json | 8 ++++---- packages/pocl-job/package.json | 6 +++--- packages/recurring-payments-job/package-lock.json | 8 ++++---- packages/recurring-payments-job/package.json | 6 +++--- packages/sales-api-service/package-lock.json | 10 +++++----- packages/sales-api-service/package.json | 8 ++++---- packages/sqs-receiver-service/package-lock.json | 6 +++--- packages/sqs-receiver-service/package.json | 4 ++-- 22 files changed, 68 insertions(+), 59 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 768e8904a..b661ebcc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,13 @@ +## v1.57.0-rc.6 (2024-12-10) + +#### :rocket: Enhancement +* `dynamics-lib`, `sales-api-service` + * [#2081](https://github.com/DEFRA/rod-licensing/pull/2081) Create RP Record in CRM ([@jaucourt](https://github.com/jaucourt)) + +#### Committers: 1 +- Phil Benson ([@jaucourt](https://github.com/jaucourt)) + ## v1.57.0-rc.5 (2024-12-10) #### :bug: Bug Fix diff --git a/lerna.json b/lerna.json index 0c4fcd84d..6cf2788cc 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "npmClient": "npm", "publishConfig": { "registry": "http://registry.npmjs.org/" diff --git a/packages/business-rules-lib/package-lock.json b/packages/business-rules-lib/package-lock.json index ec7e2fd62..5f86dbd21 100644 --- a/packages/business-rules-lib/package-lock.json +++ b/packages/business-rules-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", diff --git a/packages/business-rules-lib/package.json b/packages/business-rules-lib/package.json index 31d886860..fa417f18e 100644 --- a/packages/business-rules-lib/package.json +++ b/packages/business-rules-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "description": "Shared business rules for the rod licensing digital services", "type": "module", "engines": { diff --git a/packages/connectors-lib/package-lock.json b/packages/connectors-lib/package-lock.json index b5f7b0ec2..bd84c4d8a 100644 --- a/packages/connectors-lib/package-lock.json +++ b/packages/connectors-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", diff --git a/packages/connectors-lib/package.json b/packages/connectors-lib/package.json index 893a8d2d7..4bb8ff480 100644 --- a/packages/connectors-lib/package.json +++ b/packages/connectors-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "description": "Shared connectors", "type": "module", "engines": { diff --git a/packages/dynamics-lib/package-lock.json b/packages/dynamics-lib/package-lock.json index bd8b37aad..eeb887f77 100644 --- a/packages/dynamics-lib/package-lock.json +++ b/packages/dynamics-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "license": "SEE LICENSE IN LICENSE", "dependencies": { "cache-manager": "^3.6.0", diff --git a/packages/dynamics-lib/package.json b/packages/dynamics-lib/package.json index af6c974b9..97810ee7d 100644 --- a/packages/dynamics-lib/package.json +++ b/packages/dynamics-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "description": "Framework to support integration with dynamics", "type": "module", "engines": { diff --git a/packages/fulfilment-job/package-lock.json b/packages/fulfilment-job/package-lock.json index 07b42fa88..643ea57b1 100644 --- a/packages/fulfilment-job/package-lock.json +++ b/packages/fulfilment-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.5", - "@defra-fish/dynamics-lib": "1.57.0-rc.5", + "@defra-fish/connectors-lib": "1.57.0-rc.6", + "@defra-fish/dynamics-lib": "1.57.0-rc.6", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/fulfilment-job/package.json b/packages/fulfilment-job/package.json index 548858ffe..8fae5600c 100644 --- a/packages/fulfilment-job/package.json +++ b/packages/fulfilment-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "description": "Rod Licensing Sales Fulfilment Job", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.5", - "@defra-fish/dynamics-lib": "1.57.0-rc.5", + "@defra-fish/connectors-lib": "1.57.0-rc.6", + "@defra-fish/dynamics-lib": "1.57.0-rc.6", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/gafl-webapp-service/package-lock.json b/packages/gafl-webapp-service/package-lock.json index 5828c256e..e3bf6fb19 100644 --- a/packages/gafl-webapp-service/package-lock.json +++ b/packages/gafl-webapp-service/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.5", - "@defra-fish/connectors-lib": "1.57.0-rc.5", + "@defra-fish/business-rules-lib": "1.57.0-rc.6", + "@defra-fish/connectors-lib": "1.57.0-rc.6", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/gafl-webapp-service/package.json b/packages/gafl-webapp-service/package.json index 44541454b..571154f02 100644 --- a/packages/gafl-webapp-service/package.json +++ b/packages/gafl-webapp-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "description": "The websales frontend for the GAFL service", "type": "module", "engines": { @@ -36,8 +36,8 @@ "prepare": "gulp --gulpfile build/gulpfile.cjs" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.5", - "@defra-fish/connectors-lib": "1.57.0-rc.5", + "@defra-fish/business-rules-lib": "1.57.0-rc.6", + "@defra-fish/connectors-lib": "1.57.0-rc.6", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/payment-mop-up-job/package-lock.json b/packages/payment-mop-up-job/package-lock.json index 4bf5dbfa7..e246b25c6 100644 --- a/packages/payment-mop-up-job/package-lock.json +++ b/packages/payment-mop-up-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.5", - "@defra-fish/connectors-lib": "1.57.0-rc.5", + "@defra-fish/business-rules-lib": "1.57.0-rc.6", + "@defra-fish/connectors-lib": "1.57.0-rc.6", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/payment-mop-up-job/package.json b/packages/payment-mop-up-job/package.json index e13e12482..49c91531d 100644 --- a/packages/payment-mop-up-job/package.json +++ b/packages/payment-mop-up-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "description": "Process incomplete web-sales", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.5", - "@defra-fish/connectors-lib": "1.57.0-rc.5", + "@defra-fish/business-rules-lib": "1.57.0-rc.6", + "@defra-fish/connectors-lib": "1.57.0-rc.6", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/pocl-job/package-lock.json b/packages/pocl-job/package-lock.json index dc7285b97..613332c6e 100644 --- a/packages/pocl-job/package-lock.json +++ b/packages/pocl-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.5", - "@defra-fish/connectors-lib": "1.57.0-rc.5", + "@defra-fish/business-rules-lib": "1.57.0-rc.6", + "@defra-fish/connectors-lib": "1.57.0-rc.6", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/pocl-job/package.json b/packages/pocl-job/package.json index 7b08548b7..92a229c0f 100644 --- a/packages/pocl-job/package.json +++ b/packages/pocl-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "description": "Post Office Counter Licence sales processor", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.5", - "@defra-fish/connectors-lib": "1.57.0-rc.5", + "@defra-fish/business-rules-lib": "1.57.0-rc.6", + "@defra-fish/connectors-lib": "1.57.0-rc.6", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/recurring-payments-job/package-lock.json b/packages/recurring-payments-job/package-lock.json index 0739c37d5..ea2d8f71e 100644 --- a/packages/recurring-payments-job/package-lock.json +++ b/packages/recurring-payments-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.5", - "@defra-fish/connectors-lib": "1.57.0-rc.5", + "@defra-fish/business-rules-lib": "1.57.0-rc.6", + "@defra-fish/connectors-lib": "1.57.0-rc.6", "commander": "^7.2.0", "moment-timezone": "^0.5.34" }, diff --git a/packages/recurring-payments-job/package.json b/packages/recurring-payments-job/package.json index a83918a58..bfc34a6f2 100644 --- a/packages/recurring-payments-job/package.json +++ b/packages/recurring-payments-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "description": "Rod Licensing Recurring Payments Job", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.5", - "@defra-fish/connectors-lib": "1.57.0-rc.5", + "@defra-fish/business-rules-lib": "1.57.0-rc.6", + "@defra-fish/connectors-lib": "1.57.0-rc.6", "commander": "^7.2.0", "moment-timezone": "^0.5.34" } diff --git a/packages/sales-api-service/package-lock.json b/packages/sales-api-service/package-lock.json index 6755b4d27..01d9aab97 100644 --- a/packages/sales-api-service/package-lock.json +++ b/packages/sales-api-service/package-lock.json @@ -1,17 +1,17 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.5", - "@defra-fish/connectors-lib": "1.57.0-rc.5", - "@defra-fish/dynamics-lib": "1.57.0-rc.5", + "@defra-fish/business-rules-lib": "1.57.0-rc.6", + "@defra-fish/connectors-lib": "1.57.0-rc.6", + "@defra-fish/dynamics-lib": "1.57.0-rc.6", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sales-api-service/package.json b/packages/sales-api-service/package.json index 7137fbd11..9e112341d 100644 --- a/packages/sales-api-service/package.json +++ b/packages/sales-api-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "description": "Rod Licensing Sales API", "type": "module", "engines": { @@ -35,9 +35,9 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.5", - "@defra-fish/connectors-lib": "1.57.0-rc.5", - "@defra-fish/dynamics-lib": "1.57.0-rc.5", + "@defra-fish/business-rules-lib": "1.57.0-rc.6", + "@defra-fish/connectors-lib": "1.57.0-rc.6", + "@defra-fish/dynamics-lib": "1.57.0-rc.6", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sqs-receiver-service/package-lock.json b/packages/sqs-receiver-service/package-lock.json index d248d2259..38d6987cf 100644 --- a/packages/sqs-receiver-service/package-lock.json +++ b/packages/sqs-receiver-service/package-lock.json @@ -1,15 +1,15 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.5", + "@defra-fish/connectors-lib": "1.57.0-rc.6", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", diff --git a/packages/sqs-receiver-service/package.json b/packages/sqs-receiver-service/package.json index bdbcd7f31..887607d19 100644 --- a/packages/sqs-receiver-service/package.json +++ b/packages/sqs-receiver-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.5", + "version": "1.57.0-rc.6", "description": "SQS Receiver service", "type": "module", "engines": { @@ -35,7 +35,7 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.5", + "@defra-fish/connectors-lib": "1.57.0-rc.6", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", From bbff38b2b4f3f52e986e8030045484a1836a31ec Mon Sep 17 00:00:00 2001 From: Iris Faraway Date: Tue, 10 Dec 2024 10:34:28 +0000 Subject: [PATCH 15/26] Update Lerna to 5.6.2 (#2089) https://eaflood.atlassian.net/browse/IWTF-4117 This will hopefully fix the issue we have with dependencies not updating fully. See https://github.com/lerna/lerna/pull/3091 --- package-lock.json | 2 +- package.json | 2 +- packages/business-rules-lib/package-lock.json | 2 +- packages/connectors-lib/package-lock.json | 2 +- packages/dynamics-lib/package-lock.json | 2 +- packages/fulfilment-job/package-lock.json | 1055 +---------------- .../gafl-webapp-service/package-lock.json | 483 +------- packages/payment-mop-up-job/package-lock.json | 908 +------------- packages/pocl-job/package-lock.json | 906 +------------- .../recurring-payments-job/package-lock.json | 931 +-------------- packages/sales-api-service/package-lock.json | 871 +------------- .../sqs-receiver-service/package-lock.json | 764 +----------- 12 files changed, 31 insertions(+), 5897 deletions(-) diff --git a/package-lock.json b/package-lock.json index 26dcd5140..a4ba7b859 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "husky": "^7.0.4", "jest": "^27.5.1", "jest-circus": "^27.5.1", - "lerna": "^5.0.0", + "lerna": "^5.6.2", "lerna-changelog": "^2.2.0", "lerna-update-wizard": "^1.1.1", "lint-staged": "^11.2.6", diff --git a/package.json b/package.json index 3a03085ab..3e3771b72 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "husky": "^7.0.4", "jest": "^27.5.1", "jest-circus": "^27.5.1", - "lerna": "^5.0.0", + "lerna": "^5.6.2", "lerna-changelog": "^2.2.0", "lerna-update-wizard": "^1.1.1", "lint-staged": "^11.2.6", diff --git a/packages/business-rules-lib/package-lock.json b/packages/business-rules-lib/package-lock.json index 5f86dbd21..f199c6962 100644 --- a/packages/business-rules-lib/package-lock.json +++ b/packages/business-rules-lib/package-lock.json @@ -77,4 +77,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/connectors-lib/package-lock.json b/packages/connectors-lib/package-lock.json index bd84c4d8a..09e375728 100644 --- a/packages/connectors-lib/package-lock.json +++ b/packages/connectors-lib/package-lock.json @@ -470,4 +470,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/dynamics-lib/package-lock.json b/packages/dynamics-lib/package-lock.json index eeb887f77..4f7b51b7c 100644 --- a/packages/dynamics-lib/package-lock.json +++ b/packages/dynamics-lib/package-lock.json @@ -324,4 +324,4 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } -} \ No newline at end of file +} diff --git a/packages/fulfilment-job/package-lock.json b/packages/fulfilment-job/package-lock.json index 643ea57b1..fac5d340b 100644 --- a/packages/fulfilment-job/package-lock.json +++ b/packages/fulfilment-job/package-lock.json @@ -22,194 +22,6 @@ "node": ">=18.17" } }, - "node_modules/@airbrake/browser": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@airbrake/browser/-/browser-2.1.8.tgz", - "integrity": "sha512-3xzpkQUq48R+hVbGlxUFLnv8dZg7M9OhBceX473ZrX4osxgfuKRqB+ecNawevKOftBrsjK2gNBayCXTbE+yFzQ==", - "license": "MIT", - "dependencies": { - "@types/promise-polyfill": "^6.0.3", - "@types/request": "2.48.8", - "cross-fetch": "^3.1.5", - "error-stack-parser": "^2.0.4", - "promise-polyfill": "^8.1.3", - "tdigest": "^0.1.1" - } - }, - "node_modules/@airbrake/node": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@airbrake/node/-/node-2.1.8.tgz", - "integrity": "sha512-JuEFJk9hW+5YL4kSS+E6KuiBS9YleWnzo+Fu1j9E3VXOC8bGr+wxMGfhQGFuDBHmpco3g4wAY4t+IHZMtaN0rQ==", - "license": "MIT", - "dependencies": { - "@airbrake/browser": "^2.1.8", - "cross-fetch": "^3.1.5", - "error-stack-parser": "^2.0.4", - "tdigest": "^0.1.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@defra-fish/connectors-lib": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.56.0.tgz", - "integrity": "sha512-mRBcJGMPbqrv032q2snMXms+VUeT/6nXZYFCILyPqRW32cGuGBFpyZBdcL6peK/uPTlF9gZeJi2gLmxVeJIBrw==", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "@airbrake/node": "^2.1.7", - "aws-sdk": "^2.1074.0", - "debug": "^4.3.3", - "ioredis": "^4.28.5", - "node-fetch": "^2.6.7", - "redlock": "^4.2.0" - }, - "engines": { - "node": ">=18.17" - } - }, - "node_modules/@defra-fish/dynamics-lib": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@defra-fish/dynamics-lib/-/dynamics-lib-1.56.0.tgz", - "integrity": "sha512-p67qkkPJpKJzewTBDHjk8frVNHOjrgVe+EJoH6K+qes77XpNTZpWJoTvcojR3L4eqPZBjIEgGJAJft27TUW+Ag==", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "cache-manager": "^3.6.0", - "cache-manager-ioredis": "^2.1.0", - "debug": "^4.3.3", - "dynamics-web-api": "1.7.3", - "joi": "^17.6.0", - "moment": "^2.29.1", - "pluralize": "^8.0.0", - "simple-oauth2": "^4.3.0", - "uuid": "^8.3.2" - }, - "engines": { - "node": ">=18.17" - } - }, - "node_modules/@hapi/boom": { - "version": "9.1.4", - "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-9.1.4.tgz", - "integrity": "sha512-Ls1oH8jaN1vNsqcaHVYJrKmgMcKsC1wcp8bujvXrHaAqD2iDYq3HoOwsxwo09Cuda5R5nC0o0IxlrlTuvPuzSw==", - "license": "BSD-3-Clause", - "dependencies": { - "@hapi/hoek": "9.x.x" - } - }, - "node_modules/@hapi/bourne": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@hapi/bourne/-/bourne-2.1.0.tgz", - "integrity": "sha512-i1BpaNDVLJdRBEKeJWkVO6tYX6DMFBuwMhSuWqLsY4ufeTKGVuV5rBsUhxPayXqnnWHgXUAmWK16H/ykO5Wj4Q==", - "license": "BSD-3-Clause" - }, - "node_modules/@hapi/hoek": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", - "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==", - "license": "BSD-3-Clause" - }, - "node_modules/@hapi/topo": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz", - "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==", - "license": "BSD-3-Clause", - "dependencies": { - "@hapi/hoek": "^9.0.0" - } - }, - "node_modules/@hapi/wreck": { - "version": "17.2.0", - "resolved": "https://registry.npmjs.org/@hapi/wreck/-/wreck-17.2.0.tgz", - "integrity": "sha512-pJ5kjYoRPYDv+eIuiLQqhGon341fr2bNIYZjuotuPJG/3Ilzr/XtI+JAp0A86E2bYfsS3zBPABuS2ICkaXFT8g==", - "license": "BSD-3-Clause", - "dependencies": { - "@hapi/boom": "9.x.x", - "@hapi/bourne": "2.x.x", - "@hapi/hoek": "9.x.x" - } - }, - "node_modules/@sideway/address": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.5.tgz", - "integrity": "sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==", - "license": "BSD-3-Clause", - "dependencies": { - "@hapi/hoek": "^9.0.0" - } - }, - "node_modules/@sideway/formula": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.1.tgz", - "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==", - "license": "BSD-3-Clause" - }, - "node_modules/@sideway/pinpoint": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", - "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==", - "license": "BSD-3-Clause" - }, - "node_modules/@tootallnate/once": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", - "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/@types/caseless": { - "version": "0.12.5", - "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz", - "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==", - "license": "MIT" - }, - "node_modules/@types/node": { - "version": "22.9.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.1.tgz", - "integrity": "sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==", - "license": "MIT", - "dependencies": { - "undici-types": "~6.19.8" - } - }, - "node_modules/@types/promise-polyfill": { - "version": "6.0.6", - "resolved": "https://registry.npmjs.org/@types/promise-polyfill/-/promise-polyfill-6.0.6.tgz", - "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==", - "license": "MIT" - }, - "node_modules/@types/request": { - "version": "2.48.8", - "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.8.tgz", - "integrity": "sha512-whjk1EDJPcAR2kYHRbFl/lKeeKYTi05A15K9bnLInCVroNDCtXce57xKdI0/rQaA3K+6q0eFyUBPmqfSndUZdQ==", - "license": "MIT", - "dependencies": { - "@types/caseless": "*", - "@types/node": "*", - "@types/tough-cookie": "*", - "form-data": "^2.5.0" - } - }, - "node_modules/@types/tough-cookie": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", - "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", - "license": "MIT" - }, - "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", - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, "node_modules/asn1.js": { "version": "5.4.1", "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", @@ -221,174 +33,11 @@ "safer-buffer": "^2.1.0" } }, - "node_modules/async": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", - "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==" - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", - "license": "MIT" - }, - "node_modules/available-typed-arrays": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", - "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", - "license": "MIT", - "dependencies": { - "possible-typed-array-names": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/aws-sdk": { - "version": "2.1692.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1692.0.tgz", - "integrity": "sha512-x511uiJ/57FIsbgUe5csJ13k3uzu25uWQE+XqfBis/sB0SFoiElJWXRkgEAUh0U6n40eT3ay5Ue4oPkRMu1LYw==", - "hasInstallScript": true, - "license": "Apache-2.0", - "dependencies": { - "buffer": "4.9.2", - "events": "1.1.1", - "ieee754": "1.1.13", - "jmespath": "0.16.0", - "querystring": "0.2.0", - "sax": "1.2.1", - "url": "0.10.3", - "util": "^0.12.4", - "uuid": "8.0.0", - "xml2js": "0.6.2" - }, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/aws-sdk/node_modules/uuid": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", - "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "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" - }, - "node_modules/bintrees": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", - "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==", - "license": "MIT" - }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", - "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==" }, - "node_modules/buffer": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", - "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", - "license": "MIT", - "dependencies": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" - } - }, - "node_modules/cache-manager": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-3.6.3.tgz", - "integrity": "sha512-dS4DnV6c6cQcVH5OxzIU1XZaACXwvVIiUPkFytnRmLOACuBGv3GQgRQ1RJGRRw4/9DF14ZK2RFlZu1TUgDniMg==", - "license": "MIT", - "dependencies": { - "async": "3.2.3", - "lodash.clonedeep": "^4.5.0", - "lru-cache": "6.0.0" - } - }, - "node_modules/cache-manager-ioredis": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cache-manager-ioredis/-/cache-manager-ioredis-2.1.0.tgz", - "integrity": "sha512-TCxbp9ceuFveTKWuNaCX8QjoC41rAlHen4s63u9Yd+iXlw3efYmimc/u935PKPxSdhkXpnMes4mxtK3/yb0L4g==", - "license": "MIT", - "dependencies": { - "ioredis": "^4.14.1" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/cluster-key-slot": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz", - "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==", - "license": "Apache-2.0", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "license": "MIT", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/commander": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", @@ -397,15 +46,6 @@ "node": ">= 10" } }, - "node_modules/cross-fetch": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", - "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", - "license": "MIT", - "dependencies": { - "node-fetch": "^2.6.12" - } - }, "node_modules/debug": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", @@ -422,402 +62,11 @@ } } }, - "node_modules/define-data-property": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/denque": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", - "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==", - "license": "Apache-2.0", - "engines": { - "node": ">=0.10" - } - }, - "node_modules/dynamics-web-api": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/dynamics-web-api/-/dynamics-web-api-1.7.3.tgz", - "integrity": "sha512-ExscNNVrlXr/KoK5Sg/8GJyWndenHC26YKhnZVHaKOtAxWqsQzvveWnDl289BbFwPmwM18ZZWk8G5fFqPp981w==", - "license": "MIT", - "dependencies": { - "http-proxy-agent": "^4.0.1", - "https-proxy-agent": "^5.0.0" - } - }, - "node_modules/error-stack-parser": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", - "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", - "license": "MIT", - "dependencies": { - "stackframe": "^1.3.4" - } - }, - "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-errors": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", - "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/events": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", - "integrity": "sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==", - "license": "MIT", - "engines": { - "node": ">=0.4.x" - } - }, - "node_modules/for-each": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "license": "MIT", - "dependencies": { - "is-callable": "^1.1.3" - } - }, - "node_modules/form-data": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.2.tgz", - "integrity": "sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q==", - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12", - "safe-buffer": "^5.2.1" - }, - "engines": { - "node": ">= 0.12" - } - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-property-descriptors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", - "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", - "license": "MIT", - "dependencies": { - "has-symbols": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/http-proxy-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", - "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", - "license": "MIT", - "dependencies": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "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", - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/ieee754": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", - "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==", - "license": "BSD-3-Clause" - }, "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, - "node_modules/ioredis": { - "version": "4.28.5", - "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", - "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", - "license": "MIT", - "dependencies": { - "cluster-key-slot": "^1.1.0", - "debug": "^4.3.1", - "denque": "^1.1.0", - "lodash.defaults": "^4.2.0", - "lodash.flatten": "^4.4.0", - "lodash.isarguments": "^3.1.0", - "p-map": "^2.1.0", - "redis-commands": "1.7.0", - "redis-errors": "^1.2.0", - "redis-parser": "^3.0.0", - "standard-as-callback": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/ioredis" - } - }, - "node_modules/is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-callable": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-generator-function": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", - "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", - "license": "MIT", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-typed-array": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", - "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", - "license": "MIT", - "dependencies": { - "which-typed-array": "^1.1.14" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/jmespath": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", - "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", - "license": "Apache-2.0", - "engines": { - "node": ">= 0.6.0" - } - }, - "node_modules/joi": { - "version": "17.13.3", - "resolved": "https://registry.npmjs.org/joi/-/joi-17.13.3.tgz", - "integrity": "sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==", - "license": "BSD-3-Clause", - "dependencies": { - "@hapi/hoek": "^9.3.0", - "@hapi/topo": "^5.1.0", - "@sideway/address": "^4.1.5", - "@sideway/formula": "^3.0.1", - "@sideway/pinpoint": "^2.0.0" - } - }, - "node_modules/lodash.clonedeep": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", - "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==", - "license": "MIT" - }, - "node_modules/lodash.defaults": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==", - "license": "MIT" - }, - "node_modules/lodash.flatten": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==", - "license": "MIT" - }, - "node_modules/lodash.isarguments": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==", - "license": "MIT" - }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", @@ -826,27 +75,6 @@ "node": ">= 8" } }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "license": "MIT", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/minimalistic-assert": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", @@ -865,26 +93,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, - "node_modules/node-fetch": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", - "license": "MIT", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, "node_modules/openpgp": { "version": "5.0.0-1", "resolved": "https://registry.npmjs.org/openpgp/-/openpgp-5.0.0-1.tgz", @@ -896,15 +104,6 @@ "node": ">= 8.0.0" } }, - "node_modules/p-map": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", - "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/pluralize": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", @@ -913,262 +112,10 @@ "node": ">=4" } }, - "node_modules/possible-typed-array-names": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", - "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/promise-polyfill": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", - "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", - "license": "MIT" - }, - "node_modules/punycode": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==", - "license": "MIT" - }, - "node_modules/querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g==", - "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", - "engines": { - "node": ">=0.4.x" - } - }, - "node_modules/redis-commands": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", - "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==", - "license": "MIT" - }, - "node_modules/redis-errors": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", - "integrity": "sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/redis-parser": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", - "integrity": "sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==", - "license": "MIT", - "dependencies": { - "redis-errors": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/redlock": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/redlock/-/redlock-4.2.0.tgz", - "integrity": "sha512-j+oQlG+dOwcetUt2WJWttu4CZVeRzUrcVcISFmEmfyuwCVSJ93rDT7YSgg7H7rnxwoRyk/jU46kycVka5tW7jA==", - "license": "MIT", - "dependencies": { - "bluebird": "^3.7.2" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "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" - }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/sax": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", - "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==", - "license": "ISC" - }, - "node_modules/set-function-length": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", - "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/simple-oauth2": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/simple-oauth2/-/simple-oauth2-4.3.0.tgz", - "integrity": "sha512-gjLIfy7M7WZSf3k5IZCQfEozbQwmW80zR9YMH4ph/WWG6S4U6sGhPujz8X6Hj6sZ8l7acSAxiyM4tF0vIN+E+A==", - "license": "Apache-2.0", - "dependencies": { - "@hapi/hoek": "^9.0.4", - "@hapi/wreck": "^17.0.0", - "debug": "^4.1.1", - "joi": "^17.3.0" - } - }, - "node_modules/stackframe": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", - "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", - "license": "MIT" - }, - "node_modules/standard-as-callback": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", - "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==", - "license": "MIT" - }, - "node_modules/tdigest": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", - "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", - "license": "MIT", - "dependencies": { - "bintrees": "1.0.2" - } - }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "license": "MIT" - }, - "node_modules/undici-types": { - "version": "6.19.8", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", - "license": "MIT" - }, - "node_modules/url": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", - "integrity": "sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==", - "license": "MIT", - "dependencies": { - "punycode": "1.3.2", - "querystring": "0.2.0" - } - }, - "node_modules/util": { - "version": "0.12.5", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", - "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "is-arguments": "^1.0.4", - "is-generator-function": "^1.0.7", - "is-typed-array": "^1.1.3", - "which-typed-array": "^1.1.2" - } - }, - "node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "license": "BSD-2-Clause" - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "license": "MIT", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/which-typed-array": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", - "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", - "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/xml2js": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", - "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", - "license": "MIT", - "dependencies": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/xmlbuilder": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", - "license": "MIT", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "license": "ISC" } } -} \ No newline at end of file +} diff --git a/packages/gafl-webapp-service/package-lock.json b/packages/gafl-webapp-service/package-lock.json index e3bf6fb19..a0d7e21a2 100644 --- a/packages/gafl-webapp-service/package-lock.json +++ b/packages/gafl-webapp-service/package-lock.json @@ -52,66 +52,6 @@ "node": ">=18.17" } }, - "node_modules/@airbrake/browser": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@airbrake/browser/-/browser-2.1.8.tgz", - "integrity": "sha512-3xzpkQUq48R+hVbGlxUFLnv8dZg7M9OhBceX473ZrX4osxgfuKRqB+ecNawevKOftBrsjK2gNBayCXTbE+yFzQ==", - "license": "MIT", - "dependencies": { - "@types/promise-polyfill": "^6.0.3", - "@types/request": "2.48.8", - "cross-fetch": "^3.1.5", - "error-stack-parser": "^2.0.4", - "promise-polyfill": "^8.1.3", - "tdigest": "^0.1.1" - } - }, - "node_modules/@airbrake/node": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@airbrake/node/-/node-2.1.8.tgz", - "integrity": "sha512-JuEFJk9hW+5YL4kSS+E6KuiBS9YleWnzo+Fu1j9E3VXOC8bGr+wxMGfhQGFuDBHmpco3g4wAY4t+IHZMtaN0rQ==", - "license": "MIT", - "dependencies": { - "@airbrake/browser": "^2.1.8", - "cross-fetch": "^3.1.5", - "error-stack-parser": "^2.0.4", - "tdigest": "^0.1.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@defra-fish/business-rules-lib": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@defra-fish/business-rules-lib/-/business-rules-lib-1.56.0.tgz", - "integrity": "sha512-YiDkql3yx0q/4oP1iwZYN7Xr7r6wh78ZrzNpUqjDwnXbUl8H7uTewFk/npeepR+i9YBiKaQ40qnHEBa2ZdtFXg==", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "joi": "^17.6.0", - "moment": "^2.29.1", - "uuid": "^8.3.2" - }, - "engines": { - "node": ">=18.17" - } - }, - "node_modules/@defra-fish/connectors-lib": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.56.0.tgz", - "integrity": "sha512-mRBcJGMPbqrv032q2snMXms+VUeT/6nXZYFCILyPqRW32cGuGBFpyZBdcL6peK/uPTlF9gZeJi2gLmxVeJIBrw==", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "@airbrake/node": "^2.1.7", - "aws-sdk": "^2.1074.0", - "debug": "^4.3.3", - "ioredis": "^4.28.5", - "node-fetch": "^2.6.7", - "redlock": "^4.2.0" - }, - "engines": { - "node": ">=18.17" - } - }, "node_modules/@defra/hapi-gapi": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/@defra/hapi-gapi/-/hapi-gapi-2.1.1.tgz", @@ -664,12 +604,6 @@ "@types/responselike": "^1.0.0" } }, - "node_modules/@types/caseless": { - "version": "0.12.5", - "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz", - "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==", - "license": "MIT" - }, "node_modules/@types/http-cache-semantics": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.2.tgz", @@ -691,59 +625,6 @@ "undici-types": "~5.25.1" } }, - "node_modules/@types/promise-polyfill": { - "version": "6.0.6", - "resolved": "https://registry.npmjs.org/@types/promise-polyfill/-/promise-polyfill-6.0.6.tgz", - "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==", - "license": "MIT" - }, - "node_modules/@types/request": { - "version": "2.48.8", - "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.8.tgz", - "integrity": "sha512-whjk1EDJPcAR2kYHRbFl/lKeeKYTi05A15K9bnLInCVroNDCtXce57xKdI0/rQaA3K+6q0eFyUBPmqfSndUZdQ==", - "license": "MIT", - "dependencies": { - "@types/caseless": "*", - "@types/node": "*", - "@types/tough-cookie": "*", - "form-data": "^2.5.0" - } - }, - "node_modules/@types/request/node_modules/form-data": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.2.tgz", - "integrity": "sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q==", - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12", - "safe-buffer": "^5.2.1" - }, - "engines": { - "node": ">= 0.12" - } - }, - "node_modules/@types/request/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "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" - }, "node_modules/@types/responselike": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@types/responselike/-/responselike-1.0.1.tgz", @@ -752,12 +633,6 @@ "@types/node": "*" } }, - "node_modules/@types/tough-cookie": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", - "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", - "license": "MIT" - }, "node_modules/a-sync-waterfall": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/a-sync-waterfall/-/a-sync-waterfall-1.0.1.tgz", @@ -1263,52 +1138,6 @@ "node": ">= 4.5.0" } }, - "node_modules/available-typed-arrays": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", - "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", - "license": "MIT", - "dependencies": { - "possible-typed-array-names": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/aws-sdk": { - "version": "2.1692.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1692.0.tgz", - "integrity": "sha512-x511uiJ/57FIsbgUe5csJ13k3uzu25uWQE+XqfBis/sB0SFoiElJWXRkgEAUh0U6n40eT3ay5Ue4oPkRMu1LYw==", - "hasInstallScript": true, - "license": "Apache-2.0", - "dependencies": { - "buffer": "4.9.2", - "events": "1.1.1", - "ieee754": "1.1.13", - "jmespath": "0.16.0", - "querystring": "0.2.0", - "sax": "1.2.1", - "url": "0.10.3", - "util": "^0.12.4", - "uuid": "8.0.0", - "xml2js": "0.6.2" - }, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/aws-sdk/node_modules/uuid": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", - "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/axios": { "version": "1.6.5", "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", @@ -1422,26 +1251,6 @@ "node": ">=0.10.0" } }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "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" - }, "node_modules/binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", @@ -1461,12 +1270,6 @@ "file-uri-to-path": "1.0.0" } }, - "node_modules/bintrees": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", - "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==", - "license": "MIT" - }, "node_modules/blankie": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/blankie/-/blankie-5.0.0.tgz", @@ -1479,12 +1282,6 @@ "node": ">= 8.9.0" } }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", - "license": "MIT" - }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -1516,17 +1313,6 @@ "node": ">=0.10.0" } }, - "node_modules/buffer": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", - "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", - "license": "MIT", - "dependencies": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" - } - }, "node_modules/buffer-equal": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/buffer-equal/-/buffer-equal-1.0.1.tgz", @@ -1594,6 +1380,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "dev": true, "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", @@ -1952,15 +1739,6 @@ "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", "dev": true }, - "node_modules/cross-fetch": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", - "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", - "license": "MIT", - "dependencies": { - "node-fetch": "^2.6.12" - } - }, "node_modules/css": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/css/-/css-3.0.0.tgz", @@ -2094,6 +1872,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dev": true, "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", @@ -2283,19 +2062,11 @@ "is-arrayish": "^0.2.1" } }, - "node_modules/error-stack-parser": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", - "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", - "license": "MIT", - "dependencies": { - "stackframe": "^1.3.4" - } - }, "node_modules/es-define-property": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dev": true, "license": "MIT", "dependencies": { "get-intrinsic": "^1.2.4" @@ -2308,6 +2079,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, "license": "MIT", "engines": { "node": ">= 0.4" @@ -2371,15 +2143,6 @@ "es5-ext": "~0.10.14" } }, - "node_modules/events": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", - "integrity": "sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==", - "license": "MIT", - "engines": { - "node": ">=0.4.x" - } - }, "node_modules/expand-brackets": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", @@ -2841,15 +2604,6 @@ } } }, - "node_modules/for-each": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "license": "MIT", - "dependencies": { - "is-callable": "^1.1.3" - } - }, "node_modules/for-in": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", @@ -2933,6 +2687,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -2947,6 +2702,7 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "dev": true, "license": "MIT", "dependencies": { "es-errors": "^1.3.0", @@ -3373,6 +3129,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dev": true, "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -3685,6 +3442,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "dev": true, "license": "MIT", "dependencies": { "es-define-property": "^1.0.0" @@ -3697,6 +3455,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "dev": true, "engines": { "node": ">= 0.4" }, @@ -3708,21 +3467,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", - "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", - "license": "MIT", - "dependencies": { - "has-symbols": "^1.0.3" - }, + "dev": true, "engines": { "node": ">= 0.4" }, @@ -3773,6 +3518,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dev": true, "license": "MIT", "dependencies": { "function-bind": "^1.1.2" @@ -3844,12 +3590,6 @@ "url": "https://github.com/sponsors/mashpie" } }, - "node_modules/ieee754": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", - "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==", - "license": "BSD-3-Clause" - }, "node_modules/ignore": { "version": "5.2.4", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", @@ -3886,7 +3626,8 @@ "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true }, "node_modules/ini": { "version": "1.3.8", @@ -3982,22 +3723,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -4022,18 +3747,6 @@ "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", "dev": true }, - "node_modules/is-callable": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-core-module": { "version": "2.13.0", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz", @@ -4114,21 +3827,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-generator-function": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", - "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", - "license": "MIT", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", @@ -4219,21 +3917,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-typed-array": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", - "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", - "license": "MIT", - "dependencies": { - "which-typed-array": "^1.1.14" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-unc-path": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz", @@ -4274,6 +3957,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "dev": true, "license": "MIT" }, "node_modules/isemail": { @@ -4302,15 +3986,6 @@ "node": ">=0.10.0" } }, - "node_modules/jmespath": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", - "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", - "license": "Apache-2.0", - "engines": { - "node": ">= 0.6.0" - } - }, "node_modules/joi": { "version": "17.11.0", "resolved": "https://registry.npmjs.org/joi/-/joi-17.11.0.tgz", @@ -5673,15 +5348,6 @@ "node": ">=0.10.0" } }, - "node_modules/possible-typed-array-names": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", - "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, "node_modules/postcss": { "version": "7.0.39", "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz", @@ -5720,12 +5386,6 @@ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", "dev": true }, - "node_modules/promise-polyfill": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", - "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", - "license": "MIT" - }, "node_modules/proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", @@ -5774,15 +5434,6 @@ "node": ">=6" } }, - "node_modules/querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g==", - "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", - "engines": { - "node": ">=0.4.x" - } - }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -5918,18 +5569,6 @@ "node": ">=4" } }, - "node_modules/redlock": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/redlock/-/redlock-4.2.0.tgz", - "integrity": "sha512-j+oQlG+dOwcetUt2WJWttu4CZVeRzUrcVcISFmEmfyuwCVSJ93rDT7YSgg7H7rnxwoRyk/jU46kycVka5tW7jA==", - "license": "MIT", - "dependencies": { - "bluebird": "^3.7.2" - }, - "engines": { - "node": ">=8.0.0" - } - }, "node_modules/regex-not": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", @@ -6228,12 +5867,6 @@ "node": ">=14.0.0" } }, - "node_modules/sax": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", - "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==", - "license": "ISC" - }, "node_modules/semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", @@ -6270,6 +5903,7 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dev": true, "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", @@ -6623,12 +6257,6 @@ "node": "*" } }, - "node_modules/stackframe": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", - "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", - "license": "MIT" - }, "node_modules/standard-as-callback": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", @@ -6758,15 +6386,6 @@ "es6-symbol": "^3.1.1" } }, - "node_modules/tdigest": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", - "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", - "license": "MIT", - "dependencies": { - "bintrees": "1.0.2" - } - }, "node_modules/terser": { "version": "3.17.0", "resolved": "https://registry.npmjs.org/terser/-/terser-3.17.0.tgz", @@ -7194,22 +6813,6 @@ "deprecated": "Please see https://github.com/lydell/urix#deprecated", "dev": true }, - "node_modules/url": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", - "integrity": "sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==", - "license": "MIT", - "dependencies": { - "punycode": "1.3.2", - "querystring": "0.2.0" - } - }, - "node_modules/url/node_modules/punycode": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==", - "license": "MIT" - }, "node_modules/use": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", @@ -7242,19 +6845,6 @@ "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==" }, - "node_modules/util": { - "version": "0.12.5", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", - "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "is-arguments": "^1.0.4", - "is-generator-function": "^1.0.7", - "is-typed-array": "^1.1.3", - "which-typed-array": "^1.1.2" - } - }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -7434,25 +7024,6 @@ "integrity": "sha512-F6+WgncZi/mJDrammbTuHe1q0R5hOXv/mBaiNA2TCNT/LTHusX0V+CJnj9XT8ki5ln2UZyyddDgHfCzyrOH7MQ==", "dev": true }, - "node_modules/which-typed-array": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", - "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", - "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/wrap-ansi": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", @@ -7492,28 +7063,6 @@ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, - "node_modules/xml2js": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", - "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", - "license": "MIT", - "dependencies": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/xmlbuilder": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", - "license": "MIT", - "engines": { - "node": ">=4.0" - } - }, "node_modules/xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", @@ -7566,4 +7115,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/payment-mop-up-job/package-lock.json b/packages/payment-mop-up-job/package-lock.json index e246b25c6..518b3885d 100644 --- a/packages/payment-mop-up-job/package-lock.json +++ b/packages/payment-mop-up-job/package-lock.json @@ -19,290 +19,11 @@ "node": ">=18.17" } }, - "node_modules/@airbrake/browser": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@airbrake/browser/-/browser-2.1.8.tgz", - "integrity": "sha512-3xzpkQUq48R+hVbGlxUFLnv8dZg7M9OhBceX473ZrX4osxgfuKRqB+ecNawevKOftBrsjK2gNBayCXTbE+yFzQ==", - "license": "MIT", - "dependencies": { - "@types/promise-polyfill": "^6.0.3", - "@types/request": "2.48.8", - "cross-fetch": "^3.1.5", - "error-stack-parser": "^2.0.4", - "promise-polyfill": "^8.1.3", - "tdigest": "^0.1.1" - } - }, - "node_modules/@airbrake/node": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@airbrake/node/-/node-2.1.8.tgz", - "integrity": "sha512-JuEFJk9hW+5YL4kSS+E6KuiBS9YleWnzo+Fu1j9E3VXOC8bGr+wxMGfhQGFuDBHmpco3g4wAY4t+IHZMtaN0rQ==", - "license": "MIT", - "dependencies": { - "@airbrake/browser": "^2.1.8", - "cross-fetch": "^3.1.5", - "error-stack-parser": "^2.0.4", - "tdigest": "^0.1.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@defra-fish/business-rules-lib": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@defra-fish/business-rules-lib/-/business-rules-lib-1.56.0.tgz", - "integrity": "sha512-YiDkql3yx0q/4oP1iwZYN7Xr7r6wh78ZrzNpUqjDwnXbUl8H7uTewFk/npeepR+i9YBiKaQ40qnHEBa2ZdtFXg==", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "joi": "^17.6.0", - "moment": "^2.29.1", - "uuid": "^8.3.2" - }, - "engines": { - "node": ">=18.17" - } - }, - "node_modules/@defra-fish/connectors-lib": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.56.0.tgz", - "integrity": "sha512-mRBcJGMPbqrv032q2snMXms+VUeT/6nXZYFCILyPqRW32cGuGBFpyZBdcL6peK/uPTlF9gZeJi2gLmxVeJIBrw==", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "@airbrake/node": "^2.1.7", - "aws-sdk": "^2.1074.0", - "debug": "^4.3.3", - "ioredis": "^4.28.5", - "node-fetch": "^2.6.7", - "redlock": "^4.2.0" - }, - "engines": { - "node": ">=18.17" - } - }, - "node_modules/@hapi/hoek": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", - "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==", - "license": "BSD-3-Clause" - }, - "node_modules/@hapi/topo": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz", - "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==", - "license": "BSD-3-Clause", - "dependencies": { - "@hapi/hoek": "^9.0.0" - } - }, - "node_modules/@sideway/address": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.5.tgz", - "integrity": "sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==", - "license": "BSD-3-Clause", - "dependencies": { - "@hapi/hoek": "^9.0.0" - } - }, - "node_modules/@sideway/formula": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.1.tgz", - "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==", - "license": "BSD-3-Clause" - }, - "node_modules/@sideway/pinpoint": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", - "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==", - "license": "BSD-3-Clause" - }, - "node_modules/@types/caseless": { - "version": "0.12.5", - "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz", - "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==", - "license": "MIT" - }, - "node_modules/@types/node": { - "version": "22.9.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.1.tgz", - "integrity": "sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==", - "license": "MIT", - "dependencies": { - "undici-types": "~6.19.8" - } - }, - "node_modules/@types/promise-polyfill": { - "version": "6.0.6", - "resolved": "https://registry.npmjs.org/@types/promise-polyfill/-/promise-polyfill-6.0.6.tgz", - "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==", - "license": "MIT" - }, - "node_modules/@types/request": { - "version": "2.48.8", - "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.8.tgz", - "integrity": "sha512-whjk1EDJPcAR2kYHRbFl/lKeeKYTi05A15K9bnLInCVroNDCtXce57xKdI0/rQaA3K+6q0eFyUBPmqfSndUZdQ==", - "license": "MIT", - "dependencies": { - "@types/caseless": "*", - "@types/node": "*", - "@types/tough-cookie": "*", - "form-data": "^2.5.0" - } - }, - "node_modules/@types/tough-cookie": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", - "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", - "license": "MIT" - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", - "license": "MIT" - }, - "node_modules/available-typed-arrays": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", - "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", - "license": "MIT", - "dependencies": { - "possible-typed-array-names": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/aws-sdk": { - "version": "2.1692.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1692.0.tgz", - "integrity": "sha512-x511uiJ/57FIsbgUe5csJ13k3uzu25uWQE+XqfBis/sB0SFoiElJWXRkgEAUh0U6n40eT3ay5Ue4oPkRMu1LYw==", - "hasInstallScript": true, - "license": "Apache-2.0", - "dependencies": { - "buffer": "4.9.2", - "events": "1.1.1", - "ieee754": "1.1.13", - "jmespath": "0.16.0", - "querystring": "0.2.0", - "sax": "1.2.1", - "url": "0.10.3", - "util": "^0.12.4", - "uuid": "8.0.0", - "xml2js": "0.6.2" - }, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/aws-sdk/node_modules/uuid": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", - "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "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" - }, - "node_modules/bintrees": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", - "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==", - "license": "MIT" - }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", - "license": "MIT" - }, "node_modules/bottleneck": { "version": "2.19.5", "resolved": "https://registry.npmjs.org/bottleneck/-/bottleneck-2.19.5.tgz", "integrity": "sha512-VHiNCbI1lKdl44tGrhNfU3lup0Tj/ZBMJB5/2ZbNXRCPuRCO7ed2mgcK4r17y+KB2EfuYuRaVlwNbAeaWGSpbw==" }, - "node_modules/buffer": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", - "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", - "license": "MIT", - "dependencies": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" - } - }, - "node_modules/call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/cluster-key-slot": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz", - "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==", - "license": "Apache-2.0", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "license": "MIT", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/cross-fetch": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", - "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", - "license": "MIT", - "dependencies": { - "node-fetch": "^2.6.12" - } - }, "node_modules/debug": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", @@ -319,370 +40,6 @@ } } }, - "node_modules/define-data-property": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/denque": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", - "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==", - "license": "Apache-2.0", - "engines": { - "node": ">=0.10" - } - }, - "node_modules/error-stack-parser": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", - "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", - "license": "MIT", - "dependencies": { - "stackframe": "^1.3.4" - } - }, - "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-errors": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", - "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/events": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", - "integrity": "sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==", - "license": "MIT", - "engines": { - "node": ">=0.4.x" - } - }, - "node_modules/for-each": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "license": "MIT", - "dependencies": { - "is-callable": "^1.1.3" - } - }, - "node_modules/form-data": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.2.tgz", - "integrity": "sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q==", - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12", - "safe-buffer": "^5.2.1" - }, - "engines": { - "node": ">= 0.12" - } - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-property-descriptors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", - "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", - "license": "MIT", - "dependencies": { - "has-symbols": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/ieee754": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", - "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==", - "license": "BSD-3-Clause" - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "license": "ISC" - }, - "node_modules/ioredis": { - "version": "4.28.5", - "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", - "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", - "license": "MIT", - "dependencies": { - "cluster-key-slot": "^1.1.0", - "debug": "^4.3.1", - "denque": "^1.1.0", - "lodash.defaults": "^4.2.0", - "lodash.flatten": "^4.4.0", - "lodash.isarguments": "^3.1.0", - "p-map": "^2.1.0", - "redis-commands": "1.7.0", - "redis-errors": "^1.2.0", - "redis-parser": "^3.0.0", - "standard-as-callback": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/ioredis" - } - }, - "node_modules/is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-callable": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-generator-function": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", - "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", - "license": "MIT", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-typed-array": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", - "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", - "license": "MIT", - "dependencies": { - "which-typed-array": "^1.1.14" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "license": "MIT" - }, - "node_modules/jmespath": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", - "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", - "license": "Apache-2.0", - "engines": { - "node": ">= 0.6.0" - } - }, - "node_modules/joi": { - "version": "17.13.3", - "resolved": "https://registry.npmjs.org/joi/-/joi-17.13.3.tgz", - "integrity": "sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==", - "license": "BSD-3-Clause", - "dependencies": { - "@hapi/hoek": "^9.3.0", - "@hapi/topo": "^5.1.0", - "@sideway/address": "^4.1.5", - "@sideway/formula": "^3.0.1", - "@sideway/pinpoint": "^2.0.0" - } - }, - "node_modules/lodash.defaults": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==", - "license": "MIT" - }, - "node_modules/lodash.flatten": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==", - "license": "MIT" - }, - "node_modules/lodash.isarguments": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==", - "license": "MIT" - }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "license": "MIT", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/moment": { "version": "2.29.1", "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz", @@ -695,269 +52,6 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node_modules/node-fetch": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", - "license": "MIT", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/p-map": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", - "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/possible-typed-array-names": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", - "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/promise-polyfill": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", - "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", - "license": "MIT" - }, - "node_modules/punycode": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==", - "license": "MIT" - }, - "node_modules/querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g==", - "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", - "engines": { - "node": ">=0.4.x" - } - }, - "node_modules/redis-commands": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", - "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==", - "license": "MIT" - }, - "node_modules/redis-errors": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", - "integrity": "sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/redis-parser": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", - "integrity": "sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==", - "license": "MIT", - "dependencies": { - "redis-errors": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/redlock": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/redlock/-/redlock-4.2.0.tgz", - "integrity": "sha512-j+oQlG+dOwcetUt2WJWttu4CZVeRzUrcVcISFmEmfyuwCVSJ93rDT7YSgg7H7rnxwoRyk/jU46kycVka5tW7jA==", - "license": "MIT", - "dependencies": { - "bluebird": "^3.7.2" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "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" - }, - "node_modules/sax": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", - "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==", - "license": "ISC" - }, - "node_modules/set-function-length": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", - "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/stackframe": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", - "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", - "license": "MIT" - }, - "node_modules/standard-as-callback": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", - "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==", - "license": "MIT" - }, - "node_modules/tdigest": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", - "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", - "license": "MIT", - "dependencies": { - "bintrees": "1.0.2" - } - }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "license": "MIT" - }, - "node_modules/undici-types": { - "version": "6.19.8", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", - "license": "MIT" - }, - "node_modules/url": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", - "integrity": "sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==", - "license": "MIT", - "dependencies": { - "punycode": "1.3.2", - "querystring": "0.2.0" - } - }, - "node_modules/util": { - "version": "0.12.5", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", - "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "is-arguments": "^1.0.4", - "is-generator-function": "^1.0.7", - "is-typed-array": "^1.1.3", - "which-typed-array": "^1.1.2" - } - }, - "node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "license": "BSD-2-Clause" - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "license": "MIT", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/which-typed-array": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", - "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", - "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/xml2js": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", - "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", - "license": "MIT", - "dependencies": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/xmlbuilder": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", - "license": "MIT", - "engines": { - "node": ">=4.0" - } } } -} \ No newline at end of file +} diff --git a/packages/pocl-job/package-lock.json b/packages/pocl-job/package-lock.json index 613332c6e..de8a19270 100644 --- a/packages/pocl-job/package-lock.json +++ b/packages/pocl-job/package-lock.json @@ -23,282 +23,6 @@ "node": ">=18.17" } }, - "node_modules/@airbrake/browser": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@airbrake/browser/-/browser-2.1.8.tgz", - "integrity": "sha512-3xzpkQUq48R+hVbGlxUFLnv8dZg7M9OhBceX473ZrX4osxgfuKRqB+ecNawevKOftBrsjK2gNBayCXTbE+yFzQ==", - "license": "MIT", - "dependencies": { - "@types/promise-polyfill": "^6.0.3", - "@types/request": "2.48.8", - "cross-fetch": "^3.1.5", - "error-stack-parser": "^2.0.4", - "promise-polyfill": "^8.1.3", - "tdigest": "^0.1.1" - } - }, - "node_modules/@airbrake/node": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@airbrake/node/-/node-2.1.8.tgz", - "integrity": "sha512-JuEFJk9hW+5YL4kSS+E6KuiBS9YleWnzo+Fu1j9E3VXOC8bGr+wxMGfhQGFuDBHmpco3g4wAY4t+IHZMtaN0rQ==", - "license": "MIT", - "dependencies": { - "@airbrake/browser": "^2.1.8", - "cross-fetch": "^3.1.5", - "error-stack-parser": "^2.0.4", - "tdigest": "^0.1.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@defra-fish/business-rules-lib": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@defra-fish/business-rules-lib/-/business-rules-lib-1.56.0.tgz", - "integrity": "sha512-YiDkql3yx0q/4oP1iwZYN7Xr7r6wh78ZrzNpUqjDwnXbUl8H7uTewFk/npeepR+i9YBiKaQ40qnHEBa2ZdtFXg==", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "joi": "^17.6.0", - "moment": "^2.29.1", - "uuid": "^8.3.2" - }, - "engines": { - "node": ">=18.17" - } - }, - "node_modules/@defra-fish/connectors-lib": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.56.0.tgz", - "integrity": "sha512-mRBcJGMPbqrv032q2snMXms+VUeT/6nXZYFCILyPqRW32cGuGBFpyZBdcL6peK/uPTlF9gZeJi2gLmxVeJIBrw==", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "@airbrake/node": "^2.1.7", - "aws-sdk": "^2.1074.0", - "debug": "^4.3.3", - "ioredis": "^4.28.5", - "node-fetch": "^2.6.7", - "redlock": "^4.2.0" - }, - "engines": { - "node": ">=18.17" - } - }, - "node_modules/@hapi/hoek": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", - "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==", - "license": "BSD-3-Clause" - }, - "node_modules/@hapi/topo": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz", - "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==", - "license": "BSD-3-Clause", - "dependencies": { - "@hapi/hoek": "^9.0.0" - } - }, - "node_modules/@sideway/address": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.5.tgz", - "integrity": "sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==", - "license": "BSD-3-Clause", - "dependencies": { - "@hapi/hoek": "^9.0.0" - } - }, - "node_modules/@sideway/formula": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.1.tgz", - "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==", - "license": "BSD-3-Clause" - }, - "node_modules/@sideway/pinpoint": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", - "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==", - "license": "BSD-3-Clause" - }, - "node_modules/@types/caseless": { - "version": "0.12.5", - "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz", - "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==", - "license": "MIT" - }, - "node_modules/@types/node": { - "version": "22.9.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.1.tgz", - "integrity": "sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==", - "license": "MIT", - "dependencies": { - "undici-types": "~6.19.8" - } - }, - "node_modules/@types/promise-polyfill": { - "version": "6.0.6", - "resolved": "https://registry.npmjs.org/@types/promise-polyfill/-/promise-polyfill-6.0.6.tgz", - "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==", - "license": "MIT" - }, - "node_modules/@types/request": { - "version": "2.48.8", - "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.8.tgz", - "integrity": "sha512-whjk1EDJPcAR2kYHRbFl/lKeeKYTi05A15K9bnLInCVroNDCtXce57xKdI0/rQaA3K+6q0eFyUBPmqfSndUZdQ==", - "license": "MIT", - "dependencies": { - "@types/caseless": "*", - "@types/node": "*", - "@types/tough-cookie": "*", - "form-data": "^2.5.0" - } - }, - "node_modules/@types/tough-cookie": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", - "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", - "license": "MIT" - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", - "license": "MIT" - }, - "node_modules/available-typed-arrays": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", - "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", - "license": "MIT", - "dependencies": { - "possible-typed-array-names": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/aws-sdk": { - "version": "2.1692.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1692.0.tgz", - "integrity": "sha512-x511uiJ/57FIsbgUe5csJ13k3uzu25uWQE+XqfBis/sB0SFoiElJWXRkgEAUh0U6n40eT3ay5Ue4oPkRMu1LYw==", - "hasInstallScript": true, - "license": "Apache-2.0", - "dependencies": { - "buffer": "4.9.2", - "events": "1.1.1", - "ieee754": "1.1.13", - "jmespath": "0.16.0", - "querystring": "0.2.0", - "sax": "1.2.1", - "url": "0.10.3", - "util": "^0.12.4", - "uuid": "8.0.0", - "xml2js": "0.6.2" - }, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/aws-sdk/node_modules/sax": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", - "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==", - "license": "ISC" - }, - "node_modules/aws-sdk/node_modules/uuid": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", - "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "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" - }, - "node_modules/bintrees": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", - "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==", - "license": "MIT" - }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", - "license": "MIT" - }, - "node_modules/buffer": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", - "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", - "license": "MIT", - "dependencies": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" - } - }, - "node_modules/call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/cluster-key-slot": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz", - "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==", - "license": "Apache-2.0", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "license": "MIT", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/commander": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", @@ -307,15 +31,6 @@ "node": ">= 10" } }, - "node_modules/cross-fetch": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", - "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", - "license": "MIT", - "dependencies": { - "node-fetch": "^2.6.12" - } - }, "node_modules/debug": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", @@ -332,80 +47,6 @@ } } }, - "node_modules/define-data-property": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/denque": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", - "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==", - "license": "Apache-2.0", - "engines": { - "node": ">=0.10" - } - }, - "node_modules/error-stack-parser": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", - "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", - "license": "MIT", - "dependencies": { - "stackframe": "^1.3.4" - } - }, - "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-errors": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", - "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/events": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", - "integrity": "sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==", - "license": "MIT", - "engines": { - "node": ">=0.4.x" - } - }, "node_modules/filesize": { "version": "6.4.0", "resolved": "https://registry.npmjs.org/filesize/-/filesize-6.4.0.tgz", @@ -414,273 +55,6 @@ "node": ">= 0.4.0" } }, - "node_modules/for-each": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "license": "MIT", - "dependencies": { - "is-callable": "^1.1.3" - } - }, - "node_modules/form-data": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.2.tgz", - "integrity": "sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q==", - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12", - "safe-buffer": "^5.2.1" - }, - "engines": { - "node": ">= 0.12" - } - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-property-descriptors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", - "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", - "license": "MIT", - "dependencies": { - "has-symbols": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/ieee754": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", - "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==", - "license": "BSD-3-Clause" - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/ioredis": { - "version": "4.28.5", - "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", - "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", - "license": "MIT", - "dependencies": { - "cluster-key-slot": "^1.1.0", - "debug": "^4.3.1", - "denque": "^1.1.0", - "lodash.defaults": "^4.2.0", - "lodash.flatten": "^4.4.0", - "lodash.isarguments": "^3.1.0", - "p-map": "^2.1.0", - "redis-commands": "1.7.0", - "redis-errors": "^1.2.0", - "redis-parser": "^3.0.0", - "standard-as-callback": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/ioredis" - } - }, - "node_modules/is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-callable": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-generator-function": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", - "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", - "license": "MIT", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-typed-array": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", - "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", - "license": "MIT", - "dependencies": { - "which-typed-array": "^1.1.14" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/jmespath": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", - "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", - "license": "Apache-2.0", - "engines": { - "node": ">= 0.6.0" - } - }, - "node_modules/joi": { - "version": "17.13.3", - "resolved": "https://registry.npmjs.org/joi/-/joi-17.13.3.tgz", - "integrity": "sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==", - "license": "BSD-3-Clause", - "dependencies": { - "@hapi/hoek": "^9.3.0", - "@hapi/topo": "^5.1.0", - "@sideway/address": "^4.1.5", - "@sideway/formula": "^3.0.1", - "@sideway/pinpoint": "^2.0.0" - } - }, - "node_modules/lodash.defaults": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==", - "license": "MIT" - }, - "node_modules/lodash.flatten": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==", - "license": "MIT" - }, - "node_modules/lodash.isarguments": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==", - "license": "MIT" - }, "node_modules/md5-file": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/md5-file/-/md5-file-5.0.0.tgz", @@ -692,27 +66,6 @@ "node": ">=10.13.0" } }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "license": "MIT", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/moment": { "version": "2.29.1", "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz", @@ -737,124 +90,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, - "node_modules/node-fetch": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", - "license": "MIT", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/p-map": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", - "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/possible-typed-array-names": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", - "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/promise-polyfill": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", - "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", - "license": "MIT" - }, - "node_modules/punycode": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==", - "license": "MIT" - }, - "node_modules/querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g==", - "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", - "engines": { - "node": ">=0.4.x" - } - }, - "node_modules/redis-commands": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", - "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==", - "license": "MIT" - }, - "node_modules/redis-errors": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", - "integrity": "sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/redis-parser": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", - "integrity": "sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==", - "license": "MIT", - "dependencies": { - "redis-errors": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/redlock": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/redlock/-/redlock-4.2.0.tgz", - "integrity": "sha512-j+oQlG+dOwcetUt2WJWttu4CZVeRzUrcVcISFmEmfyuwCVSJ93rDT7YSgg7H7rnxwoRyk/jU46kycVka5tW7jA==", - "license": "MIT", - "dependencies": { - "bluebird": "^3.7.2" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "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" - }, "node_modules/sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", @@ -881,145 +116,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/set-function-length": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", - "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/stackframe": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", - "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", - "license": "MIT" - }, - "node_modules/standard-as-callback": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", - "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==", - "license": "MIT" - }, - "node_modules/tdigest": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", - "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", - "license": "MIT", - "dependencies": { - "bintrees": "1.0.2" - } - }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "license": "MIT" - }, - "node_modules/undici-types": { - "version": "6.19.8", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", - "license": "MIT" - }, - "node_modules/url": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", - "integrity": "sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==", - "license": "MIT", - "dependencies": { - "punycode": "1.3.2", - "querystring": "0.2.0" - } - }, - "node_modules/util": { - "version": "0.12.5", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", - "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "is-arguments": "^1.0.4", - "is-generator-function": "^1.0.7", - "is-typed-array": "^1.1.3", - "which-typed-array": "^1.1.2" - } - }, - "node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "license": "BSD-2-Clause" - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "license": "MIT", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/which-typed-array": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", - "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", - "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/xml2js": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", - "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", - "license": "MIT", - "dependencies": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/xmlbuilder": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", - "license": "MIT", - "engines": { - "node": ">=4.0" - } } } -} \ No newline at end of file +} diff --git a/packages/recurring-payments-job/package-lock.json b/packages/recurring-payments-job/package-lock.json index ea2d8f71e..35ed0e483 100644 --- a/packages/recurring-payments-job/package-lock.json +++ b/packages/recurring-payments-job/package-lock.json @@ -18,276 +18,6 @@ "node": ">=18.17" } }, - "node_modules/@airbrake/browser": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@airbrake/browser/-/browser-2.1.8.tgz", - "integrity": "sha512-3xzpkQUq48R+hVbGlxUFLnv8dZg7M9OhBceX473ZrX4osxgfuKRqB+ecNawevKOftBrsjK2gNBayCXTbE+yFzQ==", - "license": "MIT", - "dependencies": { - "@types/promise-polyfill": "^6.0.3", - "@types/request": "2.48.8", - "cross-fetch": "^3.1.5", - "error-stack-parser": "^2.0.4", - "promise-polyfill": "^8.1.3", - "tdigest": "^0.1.1" - } - }, - "node_modules/@airbrake/node": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@airbrake/node/-/node-2.1.8.tgz", - "integrity": "sha512-JuEFJk9hW+5YL4kSS+E6KuiBS9YleWnzo+Fu1j9E3VXOC8bGr+wxMGfhQGFuDBHmpco3g4wAY4t+IHZMtaN0rQ==", - "license": "MIT", - "dependencies": { - "@airbrake/browser": "^2.1.8", - "cross-fetch": "^3.1.5", - "error-stack-parser": "^2.0.4", - "tdigest": "^0.1.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@defra-fish/business-rules-lib": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@defra-fish/business-rules-lib/-/business-rules-lib-1.56.0.tgz", - "integrity": "sha512-YiDkql3yx0q/4oP1iwZYN7Xr7r6wh78ZrzNpUqjDwnXbUl8H7uTewFk/npeepR+i9YBiKaQ40qnHEBa2ZdtFXg==", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "joi": "^17.6.0", - "moment": "^2.29.1", - "uuid": "^8.3.2" - }, - "engines": { - "node": ">=18.17" - } - }, - "node_modules/@defra-fish/connectors-lib": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.56.0.tgz", - "integrity": "sha512-mRBcJGMPbqrv032q2snMXms+VUeT/6nXZYFCILyPqRW32cGuGBFpyZBdcL6peK/uPTlF9gZeJi2gLmxVeJIBrw==", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "@airbrake/node": "^2.1.7", - "aws-sdk": "^2.1074.0", - "debug": "^4.3.3", - "ioredis": "^4.28.5", - "node-fetch": "^2.6.7", - "redlock": "^4.2.0" - }, - "engines": { - "node": ">=18.17" - } - }, - "node_modules/@hapi/hoek": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz", - "integrity": "sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==", - "license": "BSD-3-Clause" - }, - "node_modules/@hapi/topo": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz", - "integrity": "sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==", - "license": "BSD-3-Clause", - "dependencies": { - "@hapi/hoek": "^9.0.0" - } - }, - "node_modules/@sideway/address": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/@sideway/address/-/address-4.1.5.tgz", - "integrity": "sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==", - "license": "BSD-3-Clause", - "dependencies": { - "@hapi/hoek": "^9.0.0" - } - }, - "node_modules/@sideway/formula": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@sideway/formula/-/formula-3.0.1.tgz", - "integrity": "sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==", - "license": "BSD-3-Clause" - }, - "node_modules/@sideway/pinpoint": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", - "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==", - "license": "BSD-3-Clause" - }, - "node_modules/@types/caseless": { - "version": "0.12.5", - "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz", - "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==", - "license": "MIT" - }, - "node_modules/@types/node": { - "version": "22.9.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.1.tgz", - "integrity": "sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==", - "license": "MIT", - "dependencies": { - "undici-types": "~6.19.8" - } - }, - "node_modules/@types/promise-polyfill": { - "version": "6.0.6", - "resolved": "https://registry.npmjs.org/@types/promise-polyfill/-/promise-polyfill-6.0.6.tgz", - "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==", - "license": "MIT" - }, - "node_modules/@types/request": { - "version": "2.48.8", - "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.8.tgz", - "integrity": "sha512-whjk1EDJPcAR2kYHRbFl/lKeeKYTi05A15K9bnLInCVroNDCtXce57xKdI0/rQaA3K+6q0eFyUBPmqfSndUZdQ==", - "license": "MIT", - "dependencies": { - "@types/caseless": "*", - "@types/node": "*", - "@types/tough-cookie": "*", - "form-data": "^2.5.0" - } - }, - "node_modules/@types/tough-cookie": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", - "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", - "license": "MIT" - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", - "license": "MIT" - }, - "node_modules/available-typed-arrays": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", - "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", - "license": "MIT", - "dependencies": { - "possible-typed-array-names": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/aws-sdk": { - "version": "2.1692.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1692.0.tgz", - "integrity": "sha512-x511uiJ/57FIsbgUe5csJ13k3uzu25uWQE+XqfBis/sB0SFoiElJWXRkgEAUh0U6n40eT3ay5Ue4oPkRMu1LYw==", - "hasInstallScript": true, - "license": "Apache-2.0", - "dependencies": { - "buffer": "4.9.2", - "events": "1.1.1", - "ieee754": "1.1.13", - "jmespath": "0.16.0", - "querystring": "0.2.0", - "sax": "1.2.1", - "url": "0.10.3", - "util": "^0.12.4", - "uuid": "8.0.0", - "xml2js": "0.6.2" - }, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/aws-sdk/node_modules/uuid": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", - "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "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" - }, - "node_modules/bintrees": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", - "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==", - "license": "MIT" - }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", - "license": "MIT" - }, - "node_modules/buffer": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", - "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", - "license": "MIT", - "dependencies": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" - } - }, - "node_modules/call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/cluster-key-slot": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz", - "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==", - "license": "Apache-2.0", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "license": "MIT", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/commander": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", @@ -296,396 +26,6 @@ "node": ">= 10" } }, - "node_modules/cross-fetch": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", - "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", - "license": "MIT", - "dependencies": { - "node-fetch": "^2.6.12" - } - }, - "node_modules/debug": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", - "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/define-data-property": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/denque": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", - "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==", - "license": "Apache-2.0", - "engines": { - "node": ">=0.10" - } - }, - "node_modules/error-stack-parser": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", - "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", - "license": "MIT", - "dependencies": { - "stackframe": "^1.3.4" - } - }, - "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-errors": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", - "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/events": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", - "integrity": "sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==", - "license": "MIT", - "engines": { - "node": ">=0.4.x" - } - }, - "node_modules/for-each": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "license": "MIT", - "dependencies": { - "is-callable": "^1.1.3" - } - }, - "node_modules/form-data": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.2.tgz", - "integrity": "sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q==", - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12", - "safe-buffer": "^5.2.1" - }, - "engines": { - "node": ">= 0.12" - } - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-property-descriptors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", - "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", - "license": "MIT", - "dependencies": { - "has-symbols": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/ieee754": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", - "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==", - "license": "BSD-3-Clause" - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "license": "ISC" - }, - "node_modules/ioredis": { - "version": "4.28.5", - "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", - "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", - "license": "MIT", - "dependencies": { - "cluster-key-slot": "^1.1.0", - "debug": "^4.3.1", - "denque": "^1.1.0", - "lodash.defaults": "^4.2.0", - "lodash.flatten": "^4.4.0", - "lodash.isarguments": "^3.1.0", - "p-map": "^2.1.0", - "redis-commands": "1.7.0", - "redis-errors": "^1.2.0", - "redis-parser": "^3.0.0", - "standard-as-callback": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/ioredis" - } - }, - "node_modules/is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-callable": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-generator-function": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", - "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", - "license": "MIT", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-typed-array": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", - "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", - "license": "MIT", - "dependencies": { - "which-typed-array": "^1.1.14" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "license": "MIT" - }, - "node_modules/jmespath": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", - "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", - "license": "Apache-2.0", - "engines": { - "node": ">= 0.6.0" - } - }, - "node_modules/joi": { - "version": "17.13.3", - "resolved": "https://registry.npmjs.org/joi/-/joi-17.13.3.tgz", - "integrity": "sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==", - "license": "BSD-3-Clause", - "dependencies": { - "@hapi/hoek": "^9.3.0", - "@hapi/topo": "^5.1.0", - "@sideway/address": "^4.1.5", - "@sideway/formula": "^3.0.1", - "@sideway/pinpoint": "^2.0.0" - } - }, - "node_modules/lodash.defaults": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==", - "license": "MIT" - }, - "node_modules/lodash.flatten": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==", - "license": "MIT" - }, - "node_modules/lodash.isarguments": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==", - "license": "MIT" - }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "license": "MIT", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/moment": { "version": "2.30.1", "resolved": "https://registry.npmjs.org/moment/-/moment-2.30.1.tgz", @@ -704,275 +44,6 @@ "engines": { "node": "*" } - }, - "node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT" - }, - "node_modules/node-fetch": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", - "license": "MIT", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/p-map": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", - "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/possible-typed-array-names": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", - "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/promise-polyfill": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", - "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", - "license": "MIT" - }, - "node_modules/punycode": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==", - "license": "MIT" - }, - "node_modules/querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g==", - "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", - "engines": { - "node": ">=0.4.x" - } - }, - "node_modules/redis-commands": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", - "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==", - "license": "MIT" - }, - "node_modules/redis-errors": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", - "integrity": "sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/redis-parser": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", - "integrity": "sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==", - "license": "MIT", - "dependencies": { - "redis-errors": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/redlock": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/redlock/-/redlock-4.2.0.tgz", - "integrity": "sha512-j+oQlG+dOwcetUt2WJWttu4CZVeRzUrcVcISFmEmfyuwCVSJ93rDT7YSgg7H7rnxwoRyk/jU46kycVka5tW7jA==", - "license": "MIT", - "dependencies": { - "bluebird": "^3.7.2" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "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" - }, - "node_modules/sax": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", - "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==", - "license": "ISC" - }, - "node_modules/set-function-length": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", - "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/stackframe": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", - "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", - "license": "MIT" - }, - "node_modules/standard-as-callback": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", - "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==", - "license": "MIT" - }, - "node_modules/tdigest": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", - "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", - "license": "MIT", - "dependencies": { - "bintrees": "1.0.2" - } - }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "license": "MIT" - }, - "node_modules/undici-types": { - "version": "6.19.8", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", - "license": "MIT" - }, - "node_modules/url": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", - "integrity": "sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==", - "license": "MIT", - "dependencies": { - "punycode": "1.3.2", - "querystring": "0.2.0" - } - }, - "node_modules/util": { - "version": "0.12.5", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", - "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "is-arguments": "^1.0.4", - "is-generator-function": "^1.0.7", - "is-typed-array": "^1.1.3", - "which-typed-array": "^1.1.2" - } - }, - "node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "license": "BSD-2-Clause" - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "license": "MIT", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/which-typed-array": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", - "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", - "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/xml2js": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", - "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", - "license": "MIT", - "dependencies": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/xmlbuilder": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", - "license": "MIT", - "engines": { - "node": ">=4.0" - } } } -} \ No newline at end of file +} diff --git a/packages/sales-api-service/package-lock.json b/packages/sales-api-service/package-lock.json index 01d9aab97..4fc8eb7a6 100644 --- a/packages/sales-api-service/package-lock.json +++ b/packages/sales-api-service/package-lock.json @@ -30,86 +30,6 @@ "node": ">=18.17" } }, - "node_modules/@airbrake/browser": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@airbrake/browser/-/browser-2.1.8.tgz", - "integrity": "sha512-3xzpkQUq48R+hVbGlxUFLnv8dZg7M9OhBceX473ZrX4osxgfuKRqB+ecNawevKOftBrsjK2gNBayCXTbE+yFzQ==", - "license": "MIT", - "dependencies": { - "@types/promise-polyfill": "^6.0.3", - "@types/request": "2.48.8", - "cross-fetch": "^3.1.5", - "error-stack-parser": "^2.0.4", - "promise-polyfill": "^8.1.3", - "tdigest": "^0.1.1" - } - }, - "node_modules/@airbrake/node": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@airbrake/node/-/node-2.1.8.tgz", - "integrity": "sha512-JuEFJk9hW+5YL4kSS+E6KuiBS9YleWnzo+Fu1j9E3VXOC8bGr+wxMGfhQGFuDBHmpco3g4wAY4t+IHZMtaN0rQ==", - "license": "MIT", - "dependencies": { - "@airbrake/browser": "^2.1.8", - "cross-fetch": "^3.1.5", - "error-stack-parser": "^2.0.4", - "tdigest": "^0.1.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@defra-fish/business-rules-lib": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@defra-fish/business-rules-lib/-/business-rules-lib-1.56.0.tgz", - "integrity": "sha512-YiDkql3yx0q/4oP1iwZYN7Xr7r6wh78ZrzNpUqjDwnXbUl8H7uTewFk/npeepR+i9YBiKaQ40qnHEBa2ZdtFXg==", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "joi": "^17.6.0", - "moment": "^2.29.1", - "uuid": "^8.3.2" - }, - "engines": { - "node": ">=18.17" - } - }, - "node_modules/@defra-fish/connectors-lib": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.56.0.tgz", - "integrity": "sha512-mRBcJGMPbqrv032q2snMXms+VUeT/6nXZYFCILyPqRW32cGuGBFpyZBdcL6peK/uPTlF9gZeJi2gLmxVeJIBrw==", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "@airbrake/node": "^2.1.7", - "aws-sdk": "^2.1074.0", - "debug": "^4.3.3", - "ioredis": "^4.28.5", - "node-fetch": "^2.6.7", - "redlock": "^4.2.0" - }, - "engines": { - "node": ">=18.17" - } - }, - "node_modules/@defra-fish/dynamics-lib": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@defra-fish/dynamics-lib/-/dynamics-lib-1.56.0.tgz", - "integrity": "sha512-p67qkkPJpKJzewTBDHjk8frVNHOjrgVe+EJoH6K+qes77XpNTZpWJoTvcojR3L4eqPZBjIEgGJAJft27TUW+Ag==", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "cache-manager": "^3.6.0", - "cache-manager-ioredis": "^2.1.0", - "debug": "^4.3.3", - "dynamics-web-api": "1.7.3", - "joi": "^17.6.0", - "moment": "^2.29.1", - "pluralize": "^8.0.0", - "simple-oauth2": "^4.3.0", - "uuid": "^8.3.2" - }, - "engines": { - "node": ">=18.17" - } - }, "node_modules/@hapi/accept": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/@hapi/accept/-/accept-5.0.2.tgz", @@ -439,66 +359,6 @@ "resolved": "https://registry.npmjs.org/@sideway/pinpoint/-/pinpoint-2.0.0.tgz", "integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==" }, - "node_modules/@tootallnate/once": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", - "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/@types/caseless": { - "version": "0.12.5", - "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz", - "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==", - "license": "MIT" - }, - "node_modules/@types/node": { - "version": "22.9.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.1.tgz", - "integrity": "sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==", - "license": "MIT", - "dependencies": { - "undici-types": "~6.19.8" - } - }, - "node_modules/@types/promise-polyfill": { - "version": "6.0.6", - "resolved": "https://registry.npmjs.org/@types/promise-polyfill/-/promise-polyfill-6.0.6.tgz", - "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==", - "license": "MIT" - }, - "node_modules/@types/request": { - "version": "2.48.8", - "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.8.tgz", - "integrity": "sha512-whjk1EDJPcAR2kYHRbFl/lKeeKYTi05A15K9bnLInCVroNDCtXce57xKdI0/rQaA3K+6q0eFyUBPmqfSndUZdQ==", - "license": "MIT", - "dependencies": { - "@types/caseless": "*", - "@types/node": "*", - "@types/tough-cookie": "*", - "form-data": "^2.5.0" - } - }, - "node_modules/@types/tough-cookie": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", - "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", - "license": "MIT" - }, - "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", - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, "node_modules/argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -507,149 +367,6 @@ "sprintf-js": "~1.0.2" } }, - "node_modules/async": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz", - "integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g==", - "license": "MIT" - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", - "license": "MIT" - }, - "node_modules/available-typed-arrays": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", - "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", - "license": "MIT", - "dependencies": { - "possible-typed-array-names": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/aws-sdk": { - "version": "2.1692.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1692.0.tgz", - "integrity": "sha512-x511uiJ/57FIsbgUe5csJ13k3uzu25uWQE+XqfBis/sB0SFoiElJWXRkgEAUh0U6n40eT3ay5Ue4oPkRMu1LYw==", - "hasInstallScript": true, - "license": "Apache-2.0", - "dependencies": { - "buffer": "4.9.2", - "events": "1.1.1", - "ieee754": "1.1.13", - "jmespath": "0.16.0", - "querystring": "0.2.0", - "sax": "1.2.1", - "url": "0.10.3", - "util": "^0.12.4", - "uuid": "8.0.0", - "xml2js": "0.6.2" - }, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/aws-sdk/node_modules/uuid": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", - "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "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" - }, - "node_modules/bintrees": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", - "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==", - "license": "MIT" - }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", - "license": "MIT" - }, - "node_modules/buffer": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", - "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", - "license": "MIT", - "dependencies": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" - } - }, - "node_modules/cache-manager": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/cache-manager/-/cache-manager-3.6.3.tgz", - "integrity": "sha512-dS4DnV6c6cQcVH5OxzIU1XZaACXwvVIiUPkFytnRmLOACuBGv3GQgRQ1RJGRRw4/9DF14ZK2RFlZu1TUgDniMg==", - "license": "MIT", - "dependencies": { - "async": "3.2.3", - "lodash.clonedeep": "^4.5.0", - "lru-cache": "6.0.0" - } - }, - "node_modules/cache-manager-ioredis": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cache-manager-ioredis/-/cache-manager-ioredis-2.1.0.tgz", - "integrity": "sha512-TCxbp9ceuFveTKWuNaCX8QjoC41rAlHen4s63u9Yd+iXlw3efYmimc/u935PKPxSdhkXpnMes4mxtK3/yb0L4g==", - "license": "MIT", - "dependencies": { - "ioredis": "^4.14.1" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/call-me-maybe": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", @@ -663,18 +380,6 @@ "node": ">=0.10.0" } }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "license": "MIT", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", @@ -688,15 +393,6 @@ "deprecated": "core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.", "hasInstallScript": true }, - "node_modules/cross-fetch": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", - "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", - "license": "MIT", - "dependencies": { - "node-fetch": "^2.6.12" - } - }, "node_modules/debug": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", @@ -713,32 +409,6 @@ } } }, - "node_modules/define-data-property": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/denque": { "version": "1.5.1", "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", @@ -761,46 +431,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/dynamics-web-api": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/dynamics-web-api/-/dynamics-web-api-1.7.3.tgz", - "integrity": "sha512-ExscNNVrlXr/KoK5Sg/8GJyWndenHC26YKhnZVHaKOtAxWqsQzvveWnDl289BbFwPmwM18ZZWk8G5fFqPp981w==", - "license": "MIT", - "dependencies": { - "http-proxy-agent": "^4.0.1", - "https-proxy-agent": "^5.0.0" - } - }, - "node_modules/error-stack-parser": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", - "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", - "license": "MIT", - "dependencies": { - "stackframe": "^1.3.4" - } - }, - "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-errors": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", - "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, "node_modules/esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", @@ -813,84 +443,11 @@ "node": ">=4" } }, - "node_modules/events": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", - "integrity": "sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==", - "license": "MIT", - "engines": { - "node": ">=0.4.x" - } - }, - "node_modules/for-each": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "license": "MIT", - "dependencies": { - "is-callable": "^1.1.3" - } - }, - "node_modules/form-data": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.2.tgz", - "integrity": "sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q==", - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12", - "safe-buffer": "^5.2.1" - }, - "engines": { - "node": ">= 0.12" - } - }, "node_modules/format-util": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/format-util/-/format-util-1.0.5.tgz", "integrity": "sha512-varLbTj0e0yVyRpqQhuWV+8hlePAgaoFRhNFj50BNjEIrw1/DphHSObtqwskVCPWNgzwPoQrZAbfa/SBiicNeg==" }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/handlebars": { "version": "4.7.7", "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", @@ -942,83 +499,6 @@ "joi": "17.x" } }, - "node_modules/has-property-descriptors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", - "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", - "license": "MIT", - "dependencies": { - "has-symbols": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/http-proxy-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", - "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", - "license": "MIT", - "dependencies": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/http-status": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/http-status/-/http-status-1.5.0.tgz", @@ -1027,36 +507,11 @@ "node": ">= 0.4.0" } }, - "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", - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/humanize-duration": { "version": "3.20.1", "resolved": "https://registry.npmjs.org/humanize-duration/-/humanize-duration-3.20.1.tgz", "integrity": "sha512-r2FR5Tkwo482oDmoutbX22KLzmz83UlWD8KgfQuM+EvxxDS10m2tRgHsKU+M6nFxaDU72YCKmLKi3lYB0CPMnw==" }, - "node_modules/ieee754": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", - "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==", - "license": "BSD-3-Clause" - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "license": "ISC" - }, "node_modules/ioredis": { "version": "4.28.5", "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", @@ -1082,49 +537,6 @@ "url": "https://opencollective.com/ioredis" } }, - "node_modules/is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-callable": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-generator-function": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", - "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", - "license": "MIT", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-obj": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", @@ -1133,36 +545,6 @@ "node": ">=8" } }, - "node_modules/is-typed-array": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", - "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", - "license": "MIT", - "dependencies": { - "which-typed-array": "^1.1.14" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "license": "MIT" - }, - "node_modules/jmespath": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", - "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", - "license": "Apache-2.0", - "engines": { - "node": ">= 0.6.0" - } - }, "node_modules/joi": { "version": "17.6.0", "resolved": "https://registry.npmjs.org/joi/-/joi-17.6.0.tgz", @@ -1203,12 +585,6 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" }, - "node_modules/lodash.clonedeep": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", - "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==", - "license": "MIT" - }, "node_modules/lodash.defaults": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", @@ -1253,18 +629,6 @@ "node": ">= 0.6" } }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "license": "MIT", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/minimist": { "version": "1.2.6", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", @@ -1299,26 +663,6 @@ "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" }, - "node_modules/node-fetch": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", - "license": "MIT", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, "node_modules/ono": { "version": "4.0.11", "resolved": "https://registry.npmjs.org/ono/-/ono-4.0.11.tgz", @@ -1335,24 +679,6 @@ "node": ">=6" } }, - "node_modules/pluralize": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", - "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/possible-typed-array-names": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", - "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, "node_modules/pretty-bytes": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.3.0.tgz", @@ -1361,27 +687,6 @@ "node": ">=6" } }, - "node_modules/promise-polyfill": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", - "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", - "license": "MIT" - }, - "node_modules/punycode": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==", - "license": "MIT" - }, - "node_modules/querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g==", - "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", - "engines": { - "node": ">=0.4.x" - } - }, "node_modules/redis-commands": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", @@ -1406,73 +711,6 @@ "node": ">=4" } }, - "node_modules/redlock": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/redlock/-/redlock-4.2.0.tgz", - "integrity": "sha512-j+oQlG+dOwcetUt2WJWttu4CZVeRzUrcVcISFmEmfyuwCVSJ93rDT7YSgg7H7rnxwoRyk/jU46kycVka5tW7jA==", - "license": "MIT", - "dependencies": { - "bluebird": "^3.7.2" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "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" - }, - "node_modules/sax": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", - "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==", - "license": "ISC" - }, - "node_modules/set-function-length": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", - "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/simple-oauth2": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/simple-oauth2/-/simple-oauth2-4.3.0.tgz", - "integrity": "sha512-gjLIfy7M7WZSf3k5IZCQfEozbQwmW80zR9YMH4ph/WWG6S4U6sGhPujz8X6Hj6sZ8l7acSAxiyM4tF0vIN+E+A==", - "license": "Apache-2.0", - "dependencies": { - "@hapi/hoek": "^9.0.4", - "@hapi/wreck": "^17.0.0", - "debug": "^4.1.1", - "joi": "^17.3.0" - } - }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -1486,12 +724,6 @@ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" }, - "node_modules/stackframe": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", - "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", - "license": "MIT" - }, "node_modules/standard-as-callback": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", @@ -1547,21 +779,6 @@ "resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-4.5.0.tgz", "integrity": "sha512-s00bemwjowAeGGCPxj4BmZrTbeKc9ig/99UEuJUVsaDXovIALD5/Hj0tmDCBGT3tgZQ9O7LrBdPmUlyhcudsLQ==" }, - "node_modules/tdigest": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", - "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", - "license": "MIT", - "dependencies": { - "bintrees": "1.0.2" - } - }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "license": "MIT" - }, "node_modules/uglify-js": { "version": "3.15.1", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.15.1.tgz", @@ -1574,35 +791,6 @@ "node": ">=0.8.0" } }, - "node_modules/undici-types": { - "version": "6.19.8", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", - "license": "MIT" - }, - "node_modules/url": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", - "integrity": "sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==", - "license": "MIT", - "dependencies": { - "punycode": "1.3.2", - "querystring": "0.2.0" - } - }, - "node_modules/util": { - "version": "0.12.5", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", - "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "is-arguments": "^1.0.4", - "is-generator-function": "^1.0.7", - "is-typed-array": "^1.1.3", - "which-typed-array": "^1.1.2" - } - }, "node_modules/uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", @@ -1619,68 +807,11 @@ "node": ">= 0.10" } }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "license": "BSD-2-Clause" - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "license": "MIT", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/which-typed-array": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", - "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", - "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/wordwrap": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=" }, - "node_modules/xml2js": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", - "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", - "license": "MIT", - "dependencies": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/xmlbuilder": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", - "license": "MIT", - "engines": { - "node": ">=4.0" - } - }, "node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", @@ -1704,4 +835,4 @@ } } } -} \ No newline at end of file +} diff --git a/packages/sqs-receiver-service/package-lock.json b/packages/sqs-receiver-service/package-lock.json index 38d6987cf..821654276 100644 --- a/packages/sqs-receiver-service/package-lock.json +++ b/packages/sqs-receiver-service/package-lock.json @@ -22,52 +22,6 @@ "node": ">=18.17" } }, - "node_modules/@airbrake/browser": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@airbrake/browser/-/browser-2.1.8.tgz", - "integrity": "sha512-3xzpkQUq48R+hVbGlxUFLnv8dZg7M9OhBceX473ZrX4osxgfuKRqB+ecNawevKOftBrsjK2gNBayCXTbE+yFzQ==", - "license": "MIT", - "dependencies": { - "@types/promise-polyfill": "^6.0.3", - "@types/request": "2.48.8", - "cross-fetch": "^3.1.5", - "error-stack-parser": "^2.0.4", - "promise-polyfill": "^8.1.3", - "tdigest": "^0.1.1" - } - }, - "node_modules/@airbrake/node": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/@airbrake/node/-/node-2.1.8.tgz", - "integrity": "sha512-JuEFJk9hW+5YL4kSS+E6KuiBS9YleWnzo+Fu1j9E3VXOC8bGr+wxMGfhQGFuDBHmpco3g4wAY4t+IHZMtaN0rQ==", - "license": "MIT", - "dependencies": { - "@airbrake/browser": "^2.1.8", - "cross-fetch": "^3.1.5", - "error-stack-parser": "^2.0.4", - "tdigest": "^0.1.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@defra-fish/connectors-lib": { - "version": "1.56.0", - "resolved": "https://registry.npmjs.org/@defra-fish/connectors-lib/-/connectors-lib-1.56.0.tgz", - "integrity": "sha512-mRBcJGMPbqrv032q2snMXms+VUeT/6nXZYFCILyPqRW32cGuGBFpyZBdcL6peK/uPTlF9gZeJi2gLmxVeJIBrw==", - "license": "SEE LICENSE IN LICENSE", - "dependencies": { - "@airbrake/node": "^2.1.7", - "aws-sdk": "^2.1074.0", - "debug": "^4.3.3", - "ioredis": "^4.28.5", - "node-fetch": "^2.6.7", - "redlock": "^4.2.0" - }, - "engines": { - "node": ">=18.17" - } - }, "node_modules/@hapi/hoek": { "version": "9.2.1", "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.2.1.tgz", @@ -314,45 +268,6 @@ "node": ">= 6" } }, - "node_modules/@types/caseless": { - "version": "0.12.5", - "resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.5.tgz", - "integrity": "sha512-hWtVTC2q7hc7xZ/RLbxapMvDMgUnDvKvMOpKal4DrMyfGBUfB1oKaZlIRr6mJL+If3bAP6sV/QneGzF6tJjZDg==", - "license": "MIT" - }, - "node_modules/@types/node": { - "version": "22.9.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.1.tgz", - "integrity": "sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==", - "license": "MIT", - "dependencies": { - "undici-types": "~6.19.8" - } - }, - "node_modules/@types/promise-polyfill": { - "version": "6.0.6", - "resolved": "https://registry.npmjs.org/@types/promise-polyfill/-/promise-polyfill-6.0.6.tgz", - "integrity": "sha512-nKg0HIgdKRKfi5S3IlrpiNWqxiJOqYOV70jAtalqhvb5zJt5IoQMgy1QS3y5wsbUQPOCZHQxaPg+btBUVbA+hA==", - "license": "MIT" - }, - "node_modules/@types/request": { - "version": "2.48.8", - "resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.8.tgz", - "integrity": "sha512-whjk1EDJPcAR2kYHRbFl/lKeeKYTi05A15K9bnLInCVroNDCtXce57xKdI0/rQaA3K+6q0eFyUBPmqfSndUZdQ==", - "license": "MIT", - "dependencies": { - "@types/caseless": "*", - "@types/node": "*", - "@types/tough-cookie": "*", - "form-data": "^2.5.0" - } - }, - "node_modules/@types/tough-cookie": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.5.tgz", - "integrity": "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==", - "license": "MIT" - }, "node_modules/agent-base": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", @@ -472,58 +387,6 @@ "semver": "bin/semver" } }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", - "license": "MIT" - }, - "node_modules/available-typed-arrays": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", - "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", - "license": "MIT", - "dependencies": { - "possible-typed-array-names": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/aws-sdk": { - "version": "2.1692.0", - "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1692.0.tgz", - "integrity": "sha512-x511uiJ/57FIsbgUe5csJ13k3uzu25uWQE+XqfBis/sB0SFoiElJWXRkgEAUh0U6n40eT3ay5Ue4oPkRMu1LYw==", - "hasInstallScript": true, - "license": "Apache-2.0", - "dependencies": { - "buffer": "4.9.2", - "events": "1.1.1", - "ieee754": "1.1.13", - "jmespath": "0.16.0", - "querystring": "0.2.0", - "sax": "1.2.1", - "url": "0.10.3", - "util": "^0.12.4", - "uuid": "8.0.0", - "xml2js": "0.6.2" - }, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/aws-sdk/node_modules/uuid": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", - "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/axios": { "version": "0.21.1", "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", @@ -539,26 +402,6 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "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" - }, "node_modules/binary-extensions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", @@ -568,12 +411,6 @@ "node": ">=8" } }, - "node_modules/bintrees": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bintrees/-/bintrees-1.0.2.tgz", - "integrity": "sha512-VOMgTMwjAaUG580SXn3LacVgjurrbMme7ZZNYGSSV7mmtY6QQRh0Eg3pwIcntQ77DErK1L0NxkbetjcoXzVwKw==", - "license": "MIT" - }, "node_modules/blessed": { "version": "0.1.81", "resolved": "https://registry.npmjs.org/blessed/-/blessed-0.1.81.tgz", @@ -586,12 +423,6 @@ "node": ">= 0.8.0" } }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", - "license": "MIT" - }, "node_modules/bodec": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/bodec/-/bodec-0.1.0.tgz", @@ -620,17 +451,6 @@ "node": ">=8" } }, - "node_modules/buffer": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", - "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", - "license": "MIT", - "dependencies": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" - } - }, "node_modules/buffer-from": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", @@ -646,25 +466,6 @@ "node": ">= 0.8" } }, - "node_modules/call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/chalk": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", @@ -717,15 +518,6 @@ "node": ">=8.10.0" } }, - "node_modules/cluster-key-slot": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz", - "integrity": "sha512-RMr0FhtfXemyinomL4hrWcYJxmX6deFdCxpJzhDttxgO1+bcCnkk+9drydLVDmAMG7NE6aN/fl4F7ucU/90gAA==", - "license": "Apache-2.0", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", @@ -744,18 +536,6 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "license": "MIT", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/commander": { "version": "2.15.1", "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", @@ -793,15 +573,6 @@ "moment-timezone": "^0.5.x" } }, - "node_modules/cross-fetch": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", - "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", - "license": "MIT", - "dependencies": { - "node-fetch": "^2.6.12" - } - }, "node_modules/culvert": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/culvert/-/culvert-0.1.2.tgz", @@ -845,23 +616,6 @@ "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", "dev": true }, - "node_modules/define-data-property": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", - "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/degenerator": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-2.2.0.tgz", @@ -876,24 +630,6 @@ "node": ">= 6" } }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/denque": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/denque/-/denque-1.5.1.tgz", - "integrity": "sha512-XwE+iZ4D6ZUB7mfYRMb5wByE8L74HCn30FBN7sWnXksWc1LO1bPDl67pBR9o/kC4z/xSNAwkMYcGgqDV3BE3Hw==", - "license": "Apache-2.0", - "engines": { - "node": ">=0.10" - } - }, "node_modules/depd": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", @@ -924,36 +660,6 @@ "node": ">=8.6" } }, - "node_modules/error-stack-parser": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", - "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", - "license": "MIT", - "dependencies": { - "stackframe": "^1.3.4" - } - }, - "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.2.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-errors": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", - "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, "node_modules/escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", @@ -1025,15 +731,6 @@ "integrity": "sha1-YZegldX7a1folC9v1+qtY6CclFI=", "dev": true }, - "node_modules/events": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", - "integrity": "sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw==", - "license": "MIT", - "engines": { - "node": ">=0.4.x" - } - }, "node_modules/fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", @@ -1087,30 +784,6 @@ } } }, - "node_modules/for-each": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "license": "MIT", - "dependencies": { - "is-callable": "^1.1.3" - } - }, - "node_modules/form-data": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.2.tgz", - "integrity": "sha512-GgwY0PS7DbXqajuGf4OYlsrIu3zgxD6Vvql43IBhm6MahqA5SK/7mwhtNj2AdH2z35YR34ujJ7BN+3fFC3jP5Q==", - "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12", - "safe-buffer": "^5.2.1" - }, - "engines": { - "node": ">= 0.12" - } - }, "node_modules/fs-extra": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", @@ -1162,25 +835,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" - }, - "engines": { - "node": ">= 0.4" - }, + "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -1246,18 +901,6 @@ "node": ">= 6" } }, - "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "license": "MIT", - "dependencies": { - "get-intrinsic": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/graceful-fs": { "version": "4.2.6", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz", @@ -1285,69 +928,6 @@ "node": ">=8" } }, - "node_modules/has-property-descriptors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", - "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", - "license": "MIT", - "dependencies": { - "es-define-property": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", - "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", - "license": "MIT", - "dependencies": { - "has-symbols": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/http-errors": { "version": "1.7.3", "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz", @@ -1403,12 +983,6 @@ "node": ">=0.10.0" } }, - "node_modules/ieee754": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", - "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==", - "license": "BSD-3-Clause" - }, "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -1422,7 +996,8 @@ "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true }, "node_modules/ini": { "version": "1.3.8", @@ -1430,54 +1005,12 @@ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "dev": true }, - "node_modules/ioredis": { - "version": "4.28.5", - "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-4.28.5.tgz", - "integrity": "sha512-3GYo0GJtLqgNXj4YhrisLaNNvWSNwSS2wS4OELGfGxH8I69+XfNdnmV1AyN+ZqMh0i7eX+SWjrwFKDBDgfBC1A==", - "license": "MIT", - "dependencies": { - "cluster-key-slot": "^1.1.0", - "debug": "^4.3.1", - "denque": "^1.1.0", - "lodash.defaults": "^4.2.0", - "lodash.flatten": "^4.4.0", - "lodash.isarguments": "^3.1.0", - "p-map": "^2.1.0", - "redis-commands": "1.7.0", - "redis-errors": "^1.2.0", - "redis-parser": "^3.0.0", - "standard-as-callback": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/ioredis" - } - }, "node_modules/ip": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=", "dev": true }, - "node_modules/is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "license": "MIT", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-binary-path": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", @@ -1490,18 +1023,6 @@ "node": ">=8" } }, - "node_modules/is-callable": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-core-module": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.4.0.tgz", @@ -1523,21 +1044,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-generator-function": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", - "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", - "license": "MIT", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-glob": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", @@ -1559,36 +1065,6 @@ "node": ">=0.12.0" } }, - "node_modules/is-typed-array": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", - "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", - "license": "MIT", - "dependencies": { - "which-typed-array": "^1.1.14" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "license": "MIT" - }, - "node_modules/jmespath": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", - "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", - "license": "Apache-2.0", - "engines": { - "node": ">= 0.6.0" - } - }, "node_modules/joi": { "version": "17.6.0", "resolved": "https://registry.npmjs.org/joi/-/joi-17.6.0.tgz", @@ -1650,24 +1126,6 @@ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "dev": true }, - "node_modules/lodash.defaults": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", - "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==", - "license": "MIT" - }, - "node_modules/lodash.flatten": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", - "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==", - "license": "MIT" - }, - "node_modules/lodash.isarguments": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==", - "license": "MIT" - }, "node_modules/log-driver": { "version": "1.2.7", "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.7.tgz", @@ -1686,27 +1144,6 @@ "yallist": "^3.0.2" } }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "license": "MIT", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/minimatch": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", @@ -1883,15 +1320,6 @@ "node": ">= 0.8.0" } }, - "node_modules/p-map": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", - "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/pac-proxy-agent": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-4.1.0.tgz", @@ -2067,15 +1495,6 @@ "charm": "~0.1.1" } }, - "node_modules/possible-typed-array-names": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", - "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, "node_modules/prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", @@ -2085,12 +1504,6 @@ "node": ">= 0.8.0" } }, - "node_modules/promise-polyfill": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.3.0.tgz", - "integrity": "sha512-H5oELycFml5yto/atYqmjyigJoAo3+OXwolYiH7OfQuYlAqhxNvTfiNMbV9hsC6Yp83yE5r2KTVmtrG6R9i6Pg==", - "license": "MIT" - }, "node_modules/promptly": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/promptly/-/promptly-2.2.0.tgz", @@ -2134,21 +1547,6 @@ "node": ">=8" } }, - "node_modules/punycode": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw==", - "license": "MIT" - }, - "node_modules/querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g==", - "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", - "engines": { - "node": ">=0.4.x" - } - }, "node_modules/raw-body": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.1.tgz", @@ -2206,45 +1604,6 @@ "node": ">=8.10.0" } }, - "node_modules/redis-commands": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/redis-commands/-/redis-commands-1.7.0.tgz", - "integrity": "sha512-nJWqw3bTFy21hX/CPKHth6sfhZbdiHP6bTawSgQBlKOVRG7EZkfHbbHwQJnrE4vsQf0CMNE+3gJ4Fmm16vdVlQ==", - "license": "MIT" - }, - "node_modules/redis-errors": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/redis-errors/-/redis-errors-1.2.0.tgz", - "integrity": "sha512-1qny3OExCf0UvUV/5wpYKf2YwPcOqXzkwKKSmKHiE6ZMQs5heeE/c8eXK+PNllPvmjgAbfnsbpkGZWy8cBpn9w==", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/redis-parser": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redis-parser/-/redis-parser-3.0.0.tgz", - "integrity": "sha512-DJnGAeenTdpMEH6uAJRK/uiyEIH9WVsUmoLwzudwGJUwZPp80PDBWPHXSAGNPwNvIXAbe7MSUB1zQFugFml66A==", - "license": "MIT", - "dependencies": { - "redis-errors": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/redlock": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/redlock/-/redlock-4.2.0.tgz", - "integrity": "sha512-j+oQlG+dOwcetUt2WJWttu4CZVeRzUrcVcISFmEmfyuwCVSJ93rDT7YSgg7H7rnxwoRyk/jU46kycVka5tW7jA==", - "license": "MIT", - "dependencies": { - "bluebird": "^3.7.2" - }, - "engines": { - "node": ">=8.0.0" - } - }, "node_modules/require-in-the-middle": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/require-in-the-middle/-/require-in-the-middle-5.1.0.tgz", @@ -2293,6 +1652,7 @@ "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, "funding": [ { "type": "github", @@ -2314,12 +1674,6 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true }, - "node_modules/sax": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", - "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==", - "license": "ISC" - }, "node_modules/semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -2353,23 +1707,6 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, - "node_modules/set-function-length": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", - "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", - "license": "MIT", - "dependencies": { - "define-data-property": "^1.1.4", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.4", - "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, "node_modules/setprototypeof": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", @@ -2451,18 +1788,6 @@ "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==", "dev": true }, - "node_modules/stackframe": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", - "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", - "license": "MIT" - }, - "node_modules/standard-as-callback": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/standard-as-callback/-/standard-as-callback-2.1.0.tgz", - "integrity": "sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==", - "license": "MIT" - }, "node_modules/statuses": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", @@ -2490,15 +1815,6 @@ "node": ">=8" } }, - "node_modules/tdigest": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/tdigest/-/tdigest-0.1.2.tgz", - "integrity": "sha512-+G0LLgjjo9BZX2MfdvPfH+MKLCrxlXSYec5DaPYP1fe6Iyhf0/fSmJ0bFiZ1F8BT6cGXl2LpltQptzjXKWEkKA==", - "license": "MIT", - "dependencies": { - "bintrees": "1.0.2" - } - }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -2552,12 +1868,6 @@ "node": ">= 0.8.0" } }, - "node_modules/undici-types": { - "version": "6.19.8", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", - "license": "MIT" - }, "node_modules/universalify": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", @@ -2576,29 +1886,6 @@ "node": ">= 0.8" } }, - "node_modules/url": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", - "integrity": "sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ==", - "license": "MIT", - "dependencies": { - "punycode": "1.3.2", - "querystring": "0.2.0" - } - }, - "node_modules/util": { - "version": "0.12.5", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", - "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "is-arguments": "^1.0.4", - "is-generator-function": "^1.0.7", - "is-typed-array": "^1.1.3", - "which-typed-array": "^1.1.2" - } - }, "node_modules/uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", @@ -2645,25 +1932,6 @@ "webidl-conversions": "^3.0.0" } }, - "node_modules/which-typed-array": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", - "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", - "license": "MIT", - "dependencies": { - "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/word-wrap": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", @@ -2700,28 +1968,6 @@ } } }, - "node_modules/xml2js": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", - "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", - "license": "MIT", - "dependencies": { - "sax": ">=0.6.0", - "xmlbuilder": "~11.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/xmlbuilder": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", - "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", - "license": "MIT", - "engines": { - "node": ">=4.0" - } - }, "node_modules/xregexp": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/xregexp/-/xregexp-2.0.0.tgz", @@ -2752,4 +1998,4 @@ } } } -} \ No newline at end of file +} From 87fc75554e594a152cd6bd9bba2ee482c325a4d3 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 10 Dec 2024 10:38:36 +0000 Subject: [PATCH 16/26] chore(release): publish v1.57.0-rc.7 --- CHANGELOG.md | 1 + lerna.json | 2 +- packages/business-rules-lib/package-lock.json | 6 +++--- packages/business-rules-lib/package.json | 2 +- packages/connectors-lib/package-lock.json | 6 +++--- packages/connectors-lib/package.json | 2 +- packages/dynamics-lib/package-lock.json | 6 +++--- packages/dynamics-lib/package.json | 2 +- packages/fulfilment-job/package-lock.json | 10 +++++----- packages/fulfilment-job/package.json | 6 +++--- packages/gafl-webapp-service/package-lock.json | 10 +++++----- packages/gafl-webapp-service/package.json | 6 +++--- packages/payment-mop-up-job/package-lock.json | 10 +++++----- packages/payment-mop-up-job/package.json | 6 +++--- packages/pocl-job/package-lock.json | 10 +++++----- packages/pocl-job/package.json | 6 +++--- packages/recurring-payments-job/package-lock.json | 10 +++++----- packages/recurring-payments-job/package.json | 6 +++--- packages/sales-api-service/package-lock.json | 12 ++++++------ packages/sales-api-service/package.json | 8 ++++---- packages/sqs-receiver-service/package-lock.json | 8 ++++---- packages/sqs-receiver-service/package.json | 4 ++-- 22 files changed, 70 insertions(+), 69 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b661ebcc1..24384aa03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ + ## v1.57.0-rc.6 (2024-12-10) #### :rocket: Enhancement diff --git a/lerna.json b/lerna.json index 6cf2788cc..c42258dee 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "npmClient": "npm", "publishConfig": { "registry": "http://registry.npmjs.org/" diff --git a/packages/business-rules-lib/package-lock.json b/packages/business-rules-lib/package-lock.json index f199c6962..f644a66e0 100644 --- a/packages/business-rules-lib/package-lock.json +++ b/packages/business-rules-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", @@ -77,4 +77,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/business-rules-lib/package.json b/packages/business-rules-lib/package.json index fa417f18e..f0258771e 100644 --- a/packages/business-rules-lib/package.json +++ b/packages/business-rules-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "description": "Shared business rules for the rod licensing digital services", "type": "module", "engines": { diff --git a/packages/connectors-lib/package-lock.json b/packages/connectors-lib/package-lock.json index 09e375728..79f18d4f0 100644 --- a/packages/connectors-lib/package-lock.json +++ b/packages/connectors-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", @@ -470,4 +470,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/connectors-lib/package.json b/packages/connectors-lib/package.json index 4bb8ff480..5f1f9aad4 100644 --- a/packages/connectors-lib/package.json +++ b/packages/connectors-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "description": "Shared connectors", "type": "module", "engines": { diff --git a/packages/dynamics-lib/package-lock.json b/packages/dynamics-lib/package-lock.json index 4f7b51b7c..3e1c351c6 100644 --- a/packages/dynamics-lib/package-lock.json +++ b/packages/dynamics-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "license": "SEE LICENSE IN LICENSE", "dependencies": { "cache-manager": "^3.6.0", @@ -324,4 +324,4 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" } } -} +} \ No newline at end of file diff --git a/packages/dynamics-lib/package.json b/packages/dynamics-lib/package.json index 97810ee7d..b31597d6f 100644 --- a/packages/dynamics-lib/package.json +++ b/packages/dynamics-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "description": "Framework to support integration with dynamics", "type": "module", "engines": { diff --git a/packages/fulfilment-job/package-lock.json b/packages/fulfilment-job/package-lock.json index fac5d340b..c5a0f93e3 100644 --- a/packages/fulfilment-job/package-lock.json +++ b/packages/fulfilment-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.6", - "@defra-fish/dynamics-lib": "1.57.0-rc.6", + "@defra-fish/connectors-lib": "1.57.0-rc.7", + "@defra-fish/dynamics-lib": "1.57.0-rc.7", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", @@ -118,4 +118,4 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" } } -} +} \ No newline at end of file diff --git a/packages/fulfilment-job/package.json b/packages/fulfilment-job/package.json index 8fae5600c..1c775da1d 100644 --- a/packages/fulfilment-job/package.json +++ b/packages/fulfilment-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "description": "Rod Licensing Sales Fulfilment Job", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.6", - "@defra-fish/dynamics-lib": "1.57.0-rc.6", + "@defra-fish/connectors-lib": "1.57.0-rc.7", + "@defra-fish/dynamics-lib": "1.57.0-rc.7", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/gafl-webapp-service/package-lock.json b/packages/gafl-webapp-service/package-lock.json index a0d7e21a2..75420aa7a 100644 --- a/packages/gafl-webapp-service/package-lock.json +++ b/packages/gafl-webapp-service/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.6", - "@defra-fish/connectors-lib": "1.57.0-rc.6", + "@defra-fish/business-rules-lib": "1.57.0-rc.7", + "@defra-fish/connectors-lib": "1.57.0-rc.7", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", @@ -7115,4 +7115,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/gafl-webapp-service/package.json b/packages/gafl-webapp-service/package.json index 571154f02..117c2c199 100644 --- a/packages/gafl-webapp-service/package.json +++ b/packages/gafl-webapp-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "description": "The websales frontend for the GAFL service", "type": "module", "engines": { @@ -36,8 +36,8 @@ "prepare": "gulp --gulpfile build/gulpfile.cjs" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.6", - "@defra-fish/connectors-lib": "1.57.0-rc.6", + "@defra-fish/business-rules-lib": "1.57.0-rc.7", + "@defra-fish/connectors-lib": "1.57.0-rc.7", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/payment-mop-up-job/package-lock.json b/packages/payment-mop-up-job/package-lock.json index 518b3885d..517aa14d8 100644 --- a/packages/payment-mop-up-job/package-lock.json +++ b/packages/payment-mop-up-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.6", - "@defra-fish/connectors-lib": "1.57.0-rc.6", + "@defra-fish/business-rules-lib": "1.57.0-rc.7", + "@defra-fish/connectors-lib": "1.57.0-rc.7", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" @@ -54,4 +54,4 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" } } -} +} \ No newline at end of file diff --git a/packages/payment-mop-up-job/package.json b/packages/payment-mop-up-job/package.json index 49c91531d..51b944a9c 100644 --- a/packages/payment-mop-up-job/package.json +++ b/packages/payment-mop-up-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "description": "Process incomplete web-sales", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.6", - "@defra-fish/connectors-lib": "1.57.0-rc.6", + "@defra-fish/business-rules-lib": "1.57.0-rc.7", + "@defra-fish/connectors-lib": "1.57.0-rc.7", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/pocl-job/package-lock.json b/packages/pocl-job/package-lock.json index de8a19270..874b416d8 100644 --- a/packages/pocl-job/package-lock.json +++ b/packages/pocl-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.6", - "@defra-fish/connectors-lib": "1.57.0-rc.6", + "@defra-fish/business-rules-lib": "1.57.0-rc.7", + "@defra-fish/connectors-lib": "1.57.0-rc.7", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", @@ -118,4 +118,4 @@ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" } } -} +} \ No newline at end of file diff --git a/packages/pocl-job/package.json b/packages/pocl-job/package.json index 92a229c0f..67f5569c4 100644 --- a/packages/pocl-job/package.json +++ b/packages/pocl-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "description": "Post Office Counter Licence sales processor", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.6", - "@defra-fish/connectors-lib": "1.57.0-rc.6", + "@defra-fish/business-rules-lib": "1.57.0-rc.7", + "@defra-fish/connectors-lib": "1.57.0-rc.7", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/recurring-payments-job/package-lock.json b/packages/recurring-payments-job/package-lock.json index 35ed0e483..11c4aee5e 100644 --- a/packages/recurring-payments-job/package-lock.json +++ b/packages/recurring-payments-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.6", - "@defra-fish/connectors-lib": "1.57.0-rc.6", + "@defra-fish/business-rules-lib": "1.57.0-rc.7", + "@defra-fish/connectors-lib": "1.57.0-rc.7", "commander": "^7.2.0", "moment-timezone": "^0.5.34" }, @@ -46,4 +46,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/recurring-payments-job/package.json b/packages/recurring-payments-job/package.json index bfc34a6f2..e0ea0d917 100644 --- a/packages/recurring-payments-job/package.json +++ b/packages/recurring-payments-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "description": "Rod Licensing Recurring Payments Job", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.6", - "@defra-fish/connectors-lib": "1.57.0-rc.6", + "@defra-fish/business-rules-lib": "1.57.0-rc.7", + "@defra-fish/connectors-lib": "1.57.0-rc.7", "commander": "^7.2.0", "moment-timezone": "^0.5.34" } diff --git a/packages/sales-api-service/package-lock.json b/packages/sales-api-service/package-lock.json index 4fc8eb7a6..8692ff66a 100644 --- a/packages/sales-api-service/package-lock.json +++ b/packages/sales-api-service/package-lock.json @@ -1,17 +1,17 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.6", - "@defra-fish/connectors-lib": "1.57.0-rc.6", - "@defra-fish/dynamics-lib": "1.57.0-rc.6", + "@defra-fish/business-rules-lib": "1.57.0-rc.7", + "@defra-fish/connectors-lib": "1.57.0-rc.7", + "@defra-fish/dynamics-lib": "1.57.0-rc.7", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", @@ -835,4 +835,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/sales-api-service/package.json b/packages/sales-api-service/package.json index 9e112341d..b50a588ed 100644 --- a/packages/sales-api-service/package.json +++ b/packages/sales-api-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "description": "Rod Licensing Sales API", "type": "module", "engines": { @@ -35,9 +35,9 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.6", - "@defra-fish/connectors-lib": "1.57.0-rc.6", - "@defra-fish/dynamics-lib": "1.57.0-rc.6", + "@defra-fish/business-rules-lib": "1.57.0-rc.7", + "@defra-fish/connectors-lib": "1.57.0-rc.7", + "@defra-fish/dynamics-lib": "1.57.0-rc.7", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sqs-receiver-service/package-lock.json b/packages/sqs-receiver-service/package-lock.json index 821654276..848f7be45 100644 --- a/packages/sqs-receiver-service/package-lock.json +++ b/packages/sqs-receiver-service/package-lock.json @@ -1,15 +1,15 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.6", + "@defra-fish/connectors-lib": "1.57.0-rc.7", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", @@ -1998,4 +1998,4 @@ } } } -} +} \ No newline at end of file diff --git a/packages/sqs-receiver-service/package.json b/packages/sqs-receiver-service/package.json index 887607d19..47943b446 100644 --- a/packages/sqs-receiver-service/package.json +++ b/packages/sqs-receiver-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.6", + "version": "1.57.0-rc.7", "description": "SQS Receiver service", "type": "module", "engines": { @@ -35,7 +35,7 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.6", + "@defra-fish/connectors-lib": "1.57.0-rc.7", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", From 52ad3bb0c288a925931e8ee6196bcd162b36d39a Mon Sep 17 00:00:00 2001 From: Phil Benson Date: Thu, 12 Dec 2024 10:54:52 +0000 Subject: [PATCH 17/26] Fix RP creation bug (#2092) * Fix RP creation bug https://eaflood.atlassian.net/browse/IWTF-4262 A recurring payment is being created for all permissions * Amend generateRecurringPaymentRecord to set recurring flag to false when agreement id isn't present in transaction --- .../recurring-payments.service.spec.js | 12 +++++++ .../services/recurring-payments.service.js | 31 ++++++++++--------- 2 files changed, 29 insertions(+), 14 deletions(-) diff --git a/packages/sales-api-service/src/services/__tests__/recurring-payments.service.spec.js b/packages/sales-api-service/src/services/__tests__/recurring-payments.service.spec.js index 7b2fc5196..12f17f891 100644 --- a/packages/sales-api-service/src/services/__tests__/recurring-payments.service.spec.js +++ b/packages/sales-api-service/src/services/__tests__/recurring-payments.service.spec.js @@ -326,5 +326,17 @@ describe('recurring payments service', () => { expect(() => generateRecurringPaymentRecord(sampleTransaction)).toThrow('Invalid dates provided for permission') }) + + it('returns a false flag when agreementId is not present', () => { + const sampleTransaction = createFinalisedSampleTransaction(null, { + startDate: '2024-11-22T15:30:45.922Z', + issueDate: '2024-11-22T15:00:45.922Z', + endDate: '2025-11-21T23:59:59.999Z' + }) + + const rpRecord = generateRecurringPaymentRecord(sampleTransaction) + + expect(rpRecord.payment.recurring).toBeFalsy() + }) }) }) diff --git a/packages/sales-api-service/src/services/recurring-payments.service.js b/packages/sales-api-service/src/services/recurring-payments.service.js index 3f5fce7ed..36e8e0bf3 100644 --- a/packages/sales-api-service/src/services/recurring-payments.service.js +++ b/packages/sales-api-service/src/services/recurring-payments.service.js @@ -20,21 +20,24 @@ const getNextDueDate = (startDate, issueDate, endDate) => { } export const generateRecurringPaymentRecord = (transactionRecord, permission) => { - const [{ startDate, issueDate, endDate }] = transactionRecord.permissions - return { - payment: { - recurring: { - name: '', - nextDueDate: getNextDueDate(startDate, issueDate, endDate), - cancelledDate: null, - cancelledReason: null, - endDate, - agreementId: transactionRecord.agreementId, - status: 1 - } - }, - permissions: [permission] + if (transactionRecord.agreementId) { + const [{ startDate, issueDate, endDate }] = transactionRecord.permissions + return { + payment: { + recurring: { + name: '', + nextDueDate: getNextDueDate(startDate, issueDate, endDate), + cancelledDate: null, + cancelledReason: null, + endDate, + agreementId: transactionRecord.agreementId, + status: 1 + } + }, + permissions: [permission] + } } + return { payment: { recurring: false } } } /** From 0bec5c50b0ee09c450d0016cf7b5225f00b1556c Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Thu, 12 Dec 2024 10:58:37 +0000 Subject: [PATCH 18/26] chore(release): publish v1.57.0-rc.8 --- CHANGELOG.md | 9 +++++++++ lerna.json | 2 +- packages/business-rules-lib/package-lock.json | 4 ++-- packages/business-rules-lib/package.json | 2 +- packages/connectors-lib/package-lock.json | 4 ++-- packages/connectors-lib/package.json | 2 +- packages/dynamics-lib/package-lock.json | 4 ++-- packages/dynamics-lib/package.json | 2 +- packages/fulfilment-job/package-lock.json | 8 ++++---- packages/fulfilment-job/package.json | 6 +++--- packages/gafl-webapp-service/package-lock.json | 8 ++++---- packages/gafl-webapp-service/package.json | 6 +++--- packages/payment-mop-up-job/package-lock.json | 8 ++++---- packages/payment-mop-up-job/package.json | 6 +++--- packages/pocl-job/package-lock.json | 8 ++++---- packages/pocl-job/package.json | 6 +++--- packages/recurring-payments-job/package-lock.json | 8 ++++---- packages/recurring-payments-job/package.json | 6 +++--- packages/sales-api-service/package-lock.json | 10 +++++----- packages/sales-api-service/package.json | 8 ++++---- packages/sqs-receiver-service/package-lock.json | 6 +++--- packages/sqs-receiver-service/package.json | 4 ++-- 22 files changed, 68 insertions(+), 59 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24384aa03..5bc447769 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,13 @@ +## v1.57.0-rc.8 (2024-12-12) + +#### :bug: Bug Fix +* `sales-api-service` + * [#2092](https://github.com/DEFRA/rod-licensing/pull/2092) Fix RP creation bug ([@jaucourt](https://github.com/jaucourt)) + +#### Committers: 1 +- Phil Benson ([@jaucourt](https://github.com/jaucourt)) + ## v1.57.0-rc.6 (2024-12-10) diff --git a/lerna.json b/lerna.json index c42258dee..b7ef80853 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "npmClient": "npm", "publishConfig": { "registry": "http://registry.npmjs.org/" diff --git a/packages/business-rules-lib/package-lock.json b/packages/business-rules-lib/package-lock.json index f644a66e0..019a1c651 100644 --- a/packages/business-rules-lib/package-lock.json +++ b/packages/business-rules-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", diff --git a/packages/business-rules-lib/package.json b/packages/business-rules-lib/package.json index f0258771e..36b1868b8 100644 --- a/packages/business-rules-lib/package.json +++ b/packages/business-rules-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "description": "Shared business rules for the rod licensing digital services", "type": "module", "engines": { diff --git a/packages/connectors-lib/package-lock.json b/packages/connectors-lib/package-lock.json index 79f18d4f0..6246b38e2 100644 --- a/packages/connectors-lib/package-lock.json +++ b/packages/connectors-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", diff --git a/packages/connectors-lib/package.json b/packages/connectors-lib/package.json index 5f1f9aad4..d06898bfb 100644 --- a/packages/connectors-lib/package.json +++ b/packages/connectors-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "description": "Shared connectors", "type": "module", "engines": { diff --git a/packages/dynamics-lib/package-lock.json b/packages/dynamics-lib/package-lock.json index 3e1c351c6..5aed4427b 100644 --- a/packages/dynamics-lib/package-lock.json +++ b/packages/dynamics-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "license": "SEE LICENSE IN LICENSE", "dependencies": { "cache-manager": "^3.6.0", diff --git a/packages/dynamics-lib/package.json b/packages/dynamics-lib/package.json index b31597d6f..8af847239 100644 --- a/packages/dynamics-lib/package.json +++ b/packages/dynamics-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "description": "Framework to support integration with dynamics", "type": "module", "engines": { diff --git a/packages/fulfilment-job/package-lock.json b/packages/fulfilment-job/package-lock.json index c5a0f93e3..9b27b5686 100644 --- a/packages/fulfilment-job/package-lock.json +++ b/packages/fulfilment-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.7", - "@defra-fish/dynamics-lib": "1.57.0-rc.7", + "@defra-fish/connectors-lib": "1.57.0-rc.8", + "@defra-fish/dynamics-lib": "1.57.0-rc.8", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/fulfilment-job/package.json b/packages/fulfilment-job/package.json index 1c775da1d..6d94a9b3e 100644 --- a/packages/fulfilment-job/package.json +++ b/packages/fulfilment-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "description": "Rod Licensing Sales Fulfilment Job", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.7", - "@defra-fish/dynamics-lib": "1.57.0-rc.7", + "@defra-fish/connectors-lib": "1.57.0-rc.8", + "@defra-fish/dynamics-lib": "1.57.0-rc.8", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/gafl-webapp-service/package-lock.json b/packages/gafl-webapp-service/package-lock.json index 75420aa7a..fb8727cac 100644 --- a/packages/gafl-webapp-service/package-lock.json +++ b/packages/gafl-webapp-service/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.7", - "@defra-fish/connectors-lib": "1.57.0-rc.7", + "@defra-fish/business-rules-lib": "1.57.0-rc.8", + "@defra-fish/connectors-lib": "1.57.0-rc.8", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/gafl-webapp-service/package.json b/packages/gafl-webapp-service/package.json index 117c2c199..42d49c358 100644 --- a/packages/gafl-webapp-service/package.json +++ b/packages/gafl-webapp-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "description": "The websales frontend for the GAFL service", "type": "module", "engines": { @@ -36,8 +36,8 @@ "prepare": "gulp --gulpfile build/gulpfile.cjs" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.7", - "@defra-fish/connectors-lib": "1.57.0-rc.7", + "@defra-fish/business-rules-lib": "1.57.0-rc.8", + "@defra-fish/connectors-lib": "1.57.0-rc.8", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/payment-mop-up-job/package-lock.json b/packages/payment-mop-up-job/package-lock.json index 517aa14d8..7424fa908 100644 --- a/packages/payment-mop-up-job/package-lock.json +++ b/packages/payment-mop-up-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.7", - "@defra-fish/connectors-lib": "1.57.0-rc.7", + "@defra-fish/business-rules-lib": "1.57.0-rc.8", + "@defra-fish/connectors-lib": "1.57.0-rc.8", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/payment-mop-up-job/package.json b/packages/payment-mop-up-job/package.json index 51b944a9c..5e6493215 100644 --- a/packages/payment-mop-up-job/package.json +++ b/packages/payment-mop-up-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "description": "Process incomplete web-sales", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.7", - "@defra-fish/connectors-lib": "1.57.0-rc.7", + "@defra-fish/business-rules-lib": "1.57.0-rc.8", + "@defra-fish/connectors-lib": "1.57.0-rc.8", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/pocl-job/package-lock.json b/packages/pocl-job/package-lock.json index 874b416d8..1e213d4c2 100644 --- a/packages/pocl-job/package-lock.json +++ b/packages/pocl-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.7", - "@defra-fish/connectors-lib": "1.57.0-rc.7", + "@defra-fish/business-rules-lib": "1.57.0-rc.8", + "@defra-fish/connectors-lib": "1.57.0-rc.8", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/pocl-job/package.json b/packages/pocl-job/package.json index 67f5569c4..b62754e92 100644 --- a/packages/pocl-job/package.json +++ b/packages/pocl-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "description": "Post Office Counter Licence sales processor", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.7", - "@defra-fish/connectors-lib": "1.57.0-rc.7", + "@defra-fish/business-rules-lib": "1.57.0-rc.8", + "@defra-fish/connectors-lib": "1.57.0-rc.8", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/recurring-payments-job/package-lock.json b/packages/recurring-payments-job/package-lock.json index 11c4aee5e..15afabf82 100644 --- a/packages/recurring-payments-job/package-lock.json +++ b/packages/recurring-payments-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.7", - "@defra-fish/connectors-lib": "1.57.0-rc.7", + "@defra-fish/business-rules-lib": "1.57.0-rc.8", + "@defra-fish/connectors-lib": "1.57.0-rc.8", "commander": "^7.2.0", "moment-timezone": "^0.5.34" }, diff --git a/packages/recurring-payments-job/package.json b/packages/recurring-payments-job/package.json index e0ea0d917..1bd96b112 100644 --- a/packages/recurring-payments-job/package.json +++ b/packages/recurring-payments-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "description": "Rod Licensing Recurring Payments Job", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.7", - "@defra-fish/connectors-lib": "1.57.0-rc.7", + "@defra-fish/business-rules-lib": "1.57.0-rc.8", + "@defra-fish/connectors-lib": "1.57.0-rc.8", "commander": "^7.2.0", "moment-timezone": "^0.5.34" } diff --git a/packages/sales-api-service/package-lock.json b/packages/sales-api-service/package-lock.json index 8692ff66a..1c770f40e 100644 --- a/packages/sales-api-service/package-lock.json +++ b/packages/sales-api-service/package-lock.json @@ -1,17 +1,17 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.7", - "@defra-fish/connectors-lib": "1.57.0-rc.7", - "@defra-fish/dynamics-lib": "1.57.0-rc.7", + "@defra-fish/business-rules-lib": "1.57.0-rc.8", + "@defra-fish/connectors-lib": "1.57.0-rc.8", + "@defra-fish/dynamics-lib": "1.57.0-rc.8", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sales-api-service/package.json b/packages/sales-api-service/package.json index b50a588ed..d96ab1ed2 100644 --- a/packages/sales-api-service/package.json +++ b/packages/sales-api-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "description": "Rod Licensing Sales API", "type": "module", "engines": { @@ -35,9 +35,9 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.7", - "@defra-fish/connectors-lib": "1.57.0-rc.7", - "@defra-fish/dynamics-lib": "1.57.0-rc.7", + "@defra-fish/business-rules-lib": "1.57.0-rc.8", + "@defra-fish/connectors-lib": "1.57.0-rc.8", + "@defra-fish/dynamics-lib": "1.57.0-rc.8", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sqs-receiver-service/package-lock.json b/packages/sqs-receiver-service/package-lock.json index 848f7be45..95d94918a 100644 --- a/packages/sqs-receiver-service/package-lock.json +++ b/packages/sqs-receiver-service/package-lock.json @@ -1,15 +1,15 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.7", + "@defra-fish/connectors-lib": "1.57.0-rc.8", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", diff --git a/packages/sqs-receiver-service/package.json b/packages/sqs-receiver-service/package.json index 47943b446..a2145ef25 100644 --- a/packages/sqs-receiver-service/package.json +++ b/packages/sqs-receiver-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.7", + "version": "1.57.0-rc.8", "description": "SQS Receiver service", "type": "module", "engines": { @@ -35,7 +35,7 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.7", + "@defra-fish/connectors-lib": "1.57.0-rc.8", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", From 47b5c351f0384b72b104c8fd97fbd01d9d2e245f Mon Sep 17 00:00:00 2001 From: Phil Benson Date: Thu, 12 Dec 2024 16:42:09 +0000 Subject: [PATCH 19/26] Fix DOB message in Welsh (#2093) * Fix DOB message in Welsh https://eaflood.atlassian.net/browse/IWTF-3913 dob_error message is incorrect in Welsh * Amend message --- packages/gafl-webapp-service/src/locales/cy.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gafl-webapp-service/src/locales/cy.json b/packages/gafl-webapp-service/src/locales/cy.json index b9fcd790b..2a87d1b4c 100644 --- a/packages/gafl-webapp-service/src/locales/cy.json +++ b/packages/gafl-webapp-service/src/locales/cy.json @@ -282,7 +282,7 @@ "dob_error_non_numeric": "Rhowch rifau yn unig", "dob_error_year_min": "Mae’r dyddiad geni yn rhy bell yn ôl", "dob_error_year_max": "Mae'n rhaid i’r dyddiad geni fod yn y gorffennol", - "dob_error": "Rhowch y dyddiad geni", + "dob_error": "Rhowch dyddiad geni", "dob_month": "Mis", "dob_privacy_link_prefix": "Os nad ydych yn darparu dyddiad geni cywir, gallai hynny achosi oedi wrth adnewyddu trwydded, neu olygu nad yw’r drwydded yn ddilys. Darllenwch am ", "dob_privacy_link": "sut yr ydym ni'n defnyddio data personol (yn agor ar dudalen newydd)", From c45f54cee7b23de515bca480b2a7a38e6a43815d Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Thu, 12 Dec 2024 16:46:12 +0000 Subject: [PATCH 20/26] chore(release): publish v1.57.0-rc.9 --- CHANGELOG.md | 9 +++++++++ lerna.json | 2 +- packages/business-rules-lib/package-lock.json | 4 ++-- packages/business-rules-lib/package.json | 2 +- packages/connectors-lib/package-lock.json | 4 ++-- packages/connectors-lib/package.json | 2 +- packages/dynamics-lib/package-lock.json | 4 ++-- packages/dynamics-lib/package.json | 2 +- packages/fulfilment-job/package-lock.json | 8 ++++---- packages/fulfilment-job/package.json | 6 +++--- packages/gafl-webapp-service/package-lock.json | 8 ++++---- packages/gafl-webapp-service/package.json | 6 +++--- packages/payment-mop-up-job/package-lock.json | 8 ++++---- packages/payment-mop-up-job/package.json | 6 +++--- packages/pocl-job/package-lock.json | 8 ++++---- packages/pocl-job/package.json | 6 +++--- packages/recurring-payments-job/package-lock.json | 8 ++++---- packages/recurring-payments-job/package.json | 6 +++--- packages/sales-api-service/package-lock.json | 10 +++++----- packages/sales-api-service/package.json | 8 ++++---- packages/sqs-receiver-service/package-lock.json | 6 +++--- packages/sqs-receiver-service/package.json | 4 ++-- 22 files changed, 68 insertions(+), 59 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bc447769..9f4d47a12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,13 @@ +## v1.57.0-rc.9 (2024-12-12) + +#### :bug: Bug Fix +* `gafl-webapp-service` + * [#2093](https://github.com/DEFRA/rod-licensing/pull/2093) Fix DOB message in Welsh ([@jaucourt](https://github.com/jaucourt)) + +#### Committers: 1 +- Phil Benson ([@jaucourt](https://github.com/jaucourt)) + ## v1.57.0-rc.8 (2024-12-12) #### :bug: Bug Fix diff --git a/lerna.json b/lerna.json index b7ef80853..59f95a648 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "npmClient": "npm", "publishConfig": { "registry": "http://registry.npmjs.org/" diff --git a/packages/business-rules-lib/package-lock.json b/packages/business-rules-lib/package-lock.json index 019a1c651..988bad8dc 100644 --- a/packages/business-rules-lib/package-lock.json +++ b/packages/business-rules-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", diff --git a/packages/business-rules-lib/package.json b/packages/business-rules-lib/package.json index 36b1868b8..2bf73f477 100644 --- a/packages/business-rules-lib/package.json +++ b/packages/business-rules-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "description": "Shared business rules for the rod licensing digital services", "type": "module", "engines": { diff --git a/packages/connectors-lib/package-lock.json b/packages/connectors-lib/package-lock.json index 6246b38e2..84c6e583a 100644 --- a/packages/connectors-lib/package-lock.json +++ b/packages/connectors-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", diff --git a/packages/connectors-lib/package.json b/packages/connectors-lib/package.json index d06898bfb..c717f3bef 100644 --- a/packages/connectors-lib/package.json +++ b/packages/connectors-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "description": "Shared connectors", "type": "module", "engines": { diff --git a/packages/dynamics-lib/package-lock.json b/packages/dynamics-lib/package-lock.json index 5aed4427b..10c7076ca 100644 --- a/packages/dynamics-lib/package-lock.json +++ b/packages/dynamics-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "license": "SEE LICENSE IN LICENSE", "dependencies": { "cache-manager": "^3.6.0", diff --git a/packages/dynamics-lib/package.json b/packages/dynamics-lib/package.json index 8af847239..edc8b1a09 100644 --- a/packages/dynamics-lib/package.json +++ b/packages/dynamics-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "description": "Framework to support integration with dynamics", "type": "module", "engines": { diff --git a/packages/fulfilment-job/package-lock.json b/packages/fulfilment-job/package-lock.json index 9b27b5686..421f05ce7 100644 --- a/packages/fulfilment-job/package-lock.json +++ b/packages/fulfilment-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.8", - "@defra-fish/dynamics-lib": "1.57.0-rc.8", + "@defra-fish/connectors-lib": "1.57.0-rc.9", + "@defra-fish/dynamics-lib": "1.57.0-rc.9", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/fulfilment-job/package.json b/packages/fulfilment-job/package.json index 6d94a9b3e..6d5d67dc4 100644 --- a/packages/fulfilment-job/package.json +++ b/packages/fulfilment-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "description": "Rod Licensing Sales Fulfilment Job", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.8", - "@defra-fish/dynamics-lib": "1.57.0-rc.8", + "@defra-fish/connectors-lib": "1.57.0-rc.9", + "@defra-fish/dynamics-lib": "1.57.0-rc.9", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/gafl-webapp-service/package-lock.json b/packages/gafl-webapp-service/package-lock.json index fb8727cac..664f0ec56 100644 --- a/packages/gafl-webapp-service/package-lock.json +++ b/packages/gafl-webapp-service/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.8", - "@defra-fish/connectors-lib": "1.57.0-rc.8", + "@defra-fish/business-rules-lib": "1.57.0-rc.9", + "@defra-fish/connectors-lib": "1.57.0-rc.9", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/gafl-webapp-service/package.json b/packages/gafl-webapp-service/package.json index 42d49c358..82f00b4ed 100644 --- a/packages/gafl-webapp-service/package.json +++ b/packages/gafl-webapp-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "description": "The websales frontend for the GAFL service", "type": "module", "engines": { @@ -36,8 +36,8 @@ "prepare": "gulp --gulpfile build/gulpfile.cjs" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.8", - "@defra-fish/connectors-lib": "1.57.0-rc.8", + "@defra-fish/business-rules-lib": "1.57.0-rc.9", + "@defra-fish/connectors-lib": "1.57.0-rc.9", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/payment-mop-up-job/package-lock.json b/packages/payment-mop-up-job/package-lock.json index 7424fa908..02b0b16cf 100644 --- a/packages/payment-mop-up-job/package-lock.json +++ b/packages/payment-mop-up-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.8", - "@defra-fish/connectors-lib": "1.57.0-rc.8", + "@defra-fish/business-rules-lib": "1.57.0-rc.9", + "@defra-fish/connectors-lib": "1.57.0-rc.9", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/payment-mop-up-job/package.json b/packages/payment-mop-up-job/package.json index 5e6493215..d21607d6d 100644 --- a/packages/payment-mop-up-job/package.json +++ b/packages/payment-mop-up-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "description": "Process incomplete web-sales", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.8", - "@defra-fish/connectors-lib": "1.57.0-rc.8", + "@defra-fish/business-rules-lib": "1.57.0-rc.9", + "@defra-fish/connectors-lib": "1.57.0-rc.9", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/pocl-job/package-lock.json b/packages/pocl-job/package-lock.json index 1e213d4c2..36294ebef 100644 --- a/packages/pocl-job/package-lock.json +++ b/packages/pocl-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.8", - "@defra-fish/connectors-lib": "1.57.0-rc.8", + "@defra-fish/business-rules-lib": "1.57.0-rc.9", + "@defra-fish/connectors-lib": "1.57.0-rc.9", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/pocl-job/package.json b/packages/pocl-job/package.json index b62754e92..8c017e2f5 100644 --- a/packages/pocl-job/package.json +++ b/packages/pocl-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "description": "Post Office Counter Licence sales processor", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.8", - "@defra-fish/connectors-lib": "1.57.0-rc.8", + "@defra-fish/business-rules-lib": "1.57.0-rc.9", + "@defra-fish/connectors-lib": "1.57.0-rc.9", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/recurring-payments-job/package-lock.json b/packages/recurring-payments-job/package-lock.json index 15afabf82..cc4999f80 100644 --- a/packages/recurring-payments-job/package-lock.json +++ b/packages/recurring-payments-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.8", - "@defra-fish/connectors-lib": "1.57.0-rc.8", + "@defra-fish/business-rules-lib": "1.57.0-rc.9", + "@defra-fish/connectors-lib": "1.57.0-rc.9", "commander": "^7.2.0", "moment-timezone": "^0.5.34" }, diff --git a/packages/recurring-payments-job/package.json b/packages/recurring-payments-job/package.json index 1bd96b112..0009f176d 100644 --- a/packages/recurring-payments-job/package.json +++ b/packages/recurring-payments-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "description": "Rod Licensing Recurring Payments Job", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.8", - "@defra-fish/connectors-lib": "1.57.0-rc.8", + "@defra-fish/business-rules-lib": "1.57.0-rc.9", + "@defra-fish/connectors-lib": "1.57.0-rc.9", "commander": "^7.2.0", "moment-timezone": "^0.5.34" } diff --git a/packages/sales-api-service/package-lock.json b/packages/sales-api-service/package-lock.json index 1c770f40e..57b1b53e6 100644 --- a/packages/sales-api-service/package-lock.json +++ b/packages/sales-api-service/package-lock.json @@ -1,17 +1,17 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.8", - "@defra-fish/connectors-lib": "1.57.0-rc.8", - "@defra-fish/dynamics-lib": "1.57.0-rc.8", + "@defra-fish/business-rules-lib": "1.57.0-rc.9", + "@defra-fish/connectors-lib": "1.57.0-rc.9", + "@defra-fish/dynamics-lib": "1.57.0-rc.9", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sales-api-service/package.json b/packages/sales-api-service/package.json index d96ab1ed2..fa60204b0 100644 --- a/packages/sales-api-service/package.json +++ b/packages/sales-api-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "description": "Rod Licensing Sales API", "type": "module", "engines": { @@ -35,9 +35,9 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.8", - "@defra-fish/connectors-lib": "1.57.0-rc.8", - "@defra-fish/dynamics-lib": "1.57.0-rc.8", + "@defra-fish/business-rules-lib": "1.57.0-rc.9", + "@defra-fish/connectors-lib": "1.57.0-rc.9", + "@defra-fish/dynamics-lib": "1.57.0-rc.9", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sqs-receiver-service/package-lock.json b/packages/sqs-receiver-service/package-lock.json index 95d94918a..a613c3e7e 100644 --- a/packages/sqs-receiver-service/package-lock.json +++ b/packages/sqs-receiver-service/package-lock.json @@ -1,15 +1,15 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.8", + "@defra-fish/connectors-lib": "1.57.0-rc.9", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", diff --git a/packages/sqs-receiver-service/package.json b/packages/sqs-receiver-service/package.json index a2145ef25..cd31a8436 100644 --- a/packages/sqs-receiver-service/package.json +++ b/packages/sqs-receiver-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.8", + "version": "1.57.0-rc.9", "description": "SQS Receiver service", "type": "module", "engines": { @@ -35,7 +35,7 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.8", + "@defra-fish/connectors-lib": "1.57.0-rc.9", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", From 98e86bb5cb26986e4d83ba45ac90019b4afce8c6 Mon Sep 17 00:00:00 2001 From: Phil Benson Date: Fri, 13 Dec 2024 10:55:15 +0000 Subject: [PATCH 21/26] Licence to start error not in error summary (#2094) * Licence to start error not in error summary https://eaflood.atlassian.net/browse/IWTF-3913 On the licence to start page, if no option is selected, the select an option error doesn't appear in the error summary box * Add licence-to-start error back into errorMap --- .../licence-details/licence-to-start/licence-to-start.njk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/gafl-webapp-service/src/pages/licence-details/licence-to-start/licence-to-start.njk b/packages/gafl-webapp-service/src/pages/licence-details/licence-to-start/licence-to-start.njk index aa176aced..3d7a2d423 100644 --- a/packages/gafl-webapp-service/src/pages/licence-details/licence-to-start/licence-to-start.njk +++ b/packages/gafl-webapp-service/src/pages/licence-details/licence-to-start/licence-to-start.njk @@ -38,6 +38,9 @@ 'date-range': { 'date.min': { ref: '#licence-start-date-day', text: mssgs.licence_start_error_within + data.advancedPurchaseMaxDays + mssgs.licence_start_days }, 'date.max': { ref: '#licence-start-date-day', text: mssgs.licence_start_error_within + data.advancedPurchaseMaxDays + mssgs.licence_start_days } + }, + 'licence-to-start': { + 'any.required': { ref: '#licence-to-start', text: mssgs.licence_start_error_choose_when } } } %} From ba4d1da026e5943f37b404b8bf8f47c829b9da54 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 13 Dec 2024 10:59:25 +0000 Subject: [PATCH 22/26] chore(release): publish v1.57.0-rc.10 --- CHANGELOG.md | 9 +++++++++ lerna.json | 2 +- packages/business-rules-lib/package-lock.json | 4 ++-- packages/business-rules-lib/package.json | 2 +- packages/connectors-lib/package-lock.json | 4 ++-- packages/connectors-lib/package.json | 2 +- packages/dynamics-lib/package-lock.json | 4 ++-- packages/dynamics-lib/package.json | 2 +- packages/fulfilment-job/package-lock.json | 8 ++++---- packages/fulfilment-job/package.json | 6 +++--- packages/gafl-webapp-service/package-lock.json | 8 ++++---- packages/gafl-webapp-service/package.json | 6 +++--- packages/payment-mop-up-job/package-lock.json | 8 ++++---- packages/payment-mop-up-job/package.json | 6 +++--- packages/pocl-job/package-lock.json | 8 ++++---- packages/pocl-job/package.json | 6 +++--- packages/recurring-payments-job/package-lock.json | 8 ++++---- packages/recurring-payments-job/package.json | 6 +++--- packages/sales-api-service/package-lock.json | 10 +++++----- packages/sales-api-service/package.json | 8 ++++---- packages/sqs-receiver-service/package-lock.json | 6 +++--- packages/sqs-receiver-service/package.json | 4 ++-- 22 files changed, 68 insertions(+), 59 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f4d47a12..12abfd56b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,13 @@ +## v1.57.0-rc.10 (2024-12-13) + +#### :bug: Bug Fix +* `gafl-webapp-service` + * [#2094](https://github.com/DEFRA/rod-licensing/pull/2094) Licence to start error not in error summary ([@jaucourt](https://github.com/jaucourt)) + +#### Committers: 1 +- Phil Benson ([@jaucourt](https://github.com/jaucourt)) + ## v1.57.0-rc.9 (2024-12-12) #### :bug: Bug Fix diff --git a/lerna.json b/lerna.json index 59f95a648..c42589935 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "npmClient": "npm", "publishConfig": { "registry": "http://registry.npmjs.org/" diff --git a/packages/business-rules-lib/package-lock.json b/packages/business-rules-lib/package-lock.json index 988bad8dc..78829e48b 100644 --- a/packages/business-rules-lib/package-lock.json +++ b/packages/business-rules-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", diff --git a/packages/business-rules-lib/package.json b/packages/business-rules-lib/package.json index 2bf73f477..a13a28be4 100644 --- a/packages/business-rules-lib/package.json +++ b/packages/business-rules-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "description": "Shared business rules for the rod licensing digital services", "type": "module", "engines": { diff --git a/packages/connectors-lib/package-lock.json b/packages/connectors-lib/package-lock.json index 84c6e583a..5cb74f728 100644 --- a/packages/connectors-lib/package-lock.json +++ b/packages/connectors-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", diff --git a/packages/connectors-lib/package.json b/packages/connectors-lib/package.json index c717f3bef..b0da4b07e 100644 --- a/packages/connectors-lib/package.json +++ b/packages/connectors-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "description": "Shared connectors", "type": "module", "engines": { diff --git a/packages/dynamics-lib/package-lock.json b/packages/dynamics-lib/package-lock.json index 10c7076ca..1fcef9e6f 100644 --- a/packages/dynamics-lib/package-lock.json +++ b/packages/dynamics-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "license": "SEE LICENSE IN LICENSE", "dependencies": { "cache-manager": "^3.6.0", diff --git a/packages/dynamics-lib/package.json b/packages/dynamics-lib/package.json index edc8b1a09..c336986b8 100644 --- a/packages/dynamics-lib/package.json +++ b/packages/dynamics-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "description": "Framework to support integration with dynamics", "type": "module", "engines": { diff --git a/packages/fulfilment-job/package-lock.json b/packages/fulfilment-job/package-lock.json index 421f05ce7..45c8f135c 100644 --- a/packages/fulfilment-job/package-lock.json +++ b/packages/fulfilment-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.9", - "@defra-fish/dynamics-lib": "1.57.0-rc.9", + "@defra-fish/connectors-lib": "1.57.0-rc.10", + "@defra-fish/dynamics-lib": "1.57.0-rc.10", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/fulfilment-job/package.json b/packages/fulfilment-job/package.json index 6d5d67dc4..bb984e170 100644 --- a/packages/fulfilment-job/package.json +++ b/packages/fulfilment-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "description": "Rod Licensing Sales Fulfilment Job", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.9", - "@defra-fish/dynamics-lib": "1.57.0-rc.9", + "@defra-fish/connectors-lib": "1.57.0-rc.10", + "@defra-fish/dynamics-lib": "1.57.0-rc.10", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/gafl-webapp-service/package-lock.json b/packages/gafl-webapp-service/package-lock.json index 664f0ec56..04afed34d 100644 --- a/packages/gafl-webapp-service/package-lock.json +++ b/packages/gafl-webapp-service/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.9", - "@defra-fish/connectors-lib": "1.57.0-rc.9", + "@defra-fish/business-rules-lib": "1.57.0-rc.10", + "@defra-fish/connectors-lib": "1.57.0-rc.10", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/gafl-webapp-service/package.json b/packages/gafl-webapp-service/package.json index 82f00b4ed..093d76275 100644 --- a/packages/gafl-webapp-service/package.json +++ b/packages/gafl-webapp-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "description": "The websales frontend for the GAFL service", "type": "module", "engines": { @@ -36,8 +36,8 @@ "prepare": "gulp --gulpfile build/gulpfile.cjs" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.9", - "@defra-fish/connectors-lib": "1.57.0-rc.9", + "@defra-fish/business-rules-lib": "1.57.0-rc.10", + "@defra-fish/connectors-lib": "1.57.0-rc.10", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/payment-mop-up-job/package-lock.json b/packages/payment-mop-up-job/package-lock.json index 02b0b16cf..a30a05d2a 100644 --- a/packages/payment-mop-up-job/package-lock.json +++ b/packages/payment-mop-up-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.9", - "@defra-fish/connectors-lib": "1.57.0-rc.9", + "@defra-fish/business-rules-lib": "1.57.0-rc.10", + "@defra-fish/connectors-lib": "1.57.0-rc.10", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/payment-mop-up-job/package.json b/packages/payment-mop-up-job/package.json index d21607d6d..3d4a31ac3 100644 --- a/packages/payment-mop-up-job/package.json +++ b/packages/payment-mop-up-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "description": "Process incomplete web-sales", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.9", - "@defra-fish/connectors-lib": "1.57.0-rc.9", + "@defra-fish/business-rules-lib": "1.57.0-rc.10", + "@defra-fish/connectors-lib": "1.57.0-rc.10", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/pocl-job/package-lock.json b/packages/pocl-job/package-lock.json index 36294ebef..c3945013c 100644 --- a/packages/pocl-job/package-lock.json +++ b/packages/pocl-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.9", - "@defra-fish/connectors-lib": "1.57.0-rc.9", + "@defra-fish/business-rules-lib": "1.57.0-rc.10", + "@defra-fish/connectors-lib": "1.57.0-rc.10", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/pocl-job/package.json b/packages/pocl-job/package.json index 8c017e2f5..4cb894d90 100644 --- a/packages/pocl-job/package.json +++ b/packages/pocl-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "description": "Post Office Counter Licence sales processor", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.9", - "@defra-fish/connectors-lib": "1.57.0-rc.9", + "@defra-fish/business-rules-lib": "1.57.0-rc.10", + "@defra-fish/connectors-lib": "1.57.0-rc.10", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/recurring-payments-job/package-lock.json b/packages/recurring-payments-job/package-lock.json index cc4999f80..1c77fa2d5 100644 --- a/packages/recurring-payments-job/package-lock.json +++ b/packages/recurring-payments-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.9", - "@defra-fish/connectors-lib": "1.57.0-rc.9", + "@defra-fish/business-rules-lib": "1.57.0-rc.10", + "@defra-fish/connectors-lib": "1.57.0-rc.10", "commander": "^7.2.0", "moment-timezone": "^0.5.34" }, diff --git a/packages/recurring-payments-job/package.json b/packages/recurring-payments-job/package.json index 0009f176d..3132abf4b 100644 --- a/packages/recurring-payments-job/package.json +++ b/packages/recurring-payments-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "description": "Rod Licensing Recurring Payments Job", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.9", - "@defra-fish/connectors-lib": "1.57.0-rc.9", + "@defra-fish/business-rules-lib": "1.57.0-rc.10", + "@defra-fish/connectors-lib": "1.57.0-rc.10", "commander": "^7.2.0", "moment-timezone": "^0.5.34" } diff --git a/packages/sales-api-service/package-lock.json b/packages/sales-api-service/package-lock.json index 57b1b53e6..4ab456ac5 100644 --- a/packages/sales-api-service/package-lock.json +++ b/packages/sales-api-service/package-lock.json @@ -1,17 +1,17 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.9", - "@defra-fish/connectors-lib": "1.57.0-rc.9", - "@defra-fish/dynamics-lib": "1.57.0-rc.9", + "@defra-fish/business-rules-lib": "1.57.0-rc.10", + "@defra-fish/connectors-lib": "1.57.0-rc.10", + "@defra-fish/dynamics-lib": "1.57.0-rc.10", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sales-api-service/package.json b/packages/sales-api-service/package.json index fa60204b0..b8a6ae30e 100644 --- a/packages/sales-api-service/package.json +++ b/packages/sales-api-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "description": "Rod Licensing Sales API", "type": "module", "engines": { @@ -35,9 +35,9 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.9", - "@defra-fish/connectors-lib": "1.57.0-rc.9", - "@defra-fish/dynamics-lib": "1.57.0-rc.9", + "@defra-fish/business-rules-lib": "1.57.0-rc.10", + "@defra-fish/connectors-lib": "1.57.0-rc.10", + "@defra-fish/dynamics-lib": "1.57.0-rc.10", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sqs-receiver-service/package-lock.json b/packages/sqs-receiver-service/package-lock.json index a613c3e7e..388ebf290 100644 --- a/packages/sqs-receiver-service/package-lock.json +++ b/packages/sqs-receiver-service/package-lock.json @@ -1,15 +1,15 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.9", + "@defra-fish/connectors-lib": "1.57.0-rc.10", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", diff --git a/packages/sqs-receiver-service/package.json b/packages/sqs-receiver-service/package.json index cd31a8436..0a166cc44 100644 --- a/packages/sqs-receiver-service/package.json +++ b/packages/sqs-receiver-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.9", + "version": "1.57.0-rc.10", "description": "SQS Receiver service", "type": "module", "engines": { @@ -35,7 +35,7 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.9", + "@defra-fish/connectors-lib": "1.57.0-rc.10", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", From 29130b3b79ac5d73daa28e71d2c13921cfe304cd Mon Sep 17 00:00:00 2001 From: Nabeel Amir <73947018+nabeelamir-defra@users.noreply.github.com> Date: Fri, 13 Dec 2024 11:58:57 +0000 Subject: [PATCH 23/26] Update activity in CRM (#2091) * Update activity in CRM https://eaflood.atlassian.net/browse/IWTF-4401 Update activity in CRM --- .../__tests__/activity.queries.spec.js | 79 ++++++++++++++++--- .../src/queries/activity.queries.js | 23 ++++++ 2 files changed, 93 insertions(+), 9 deletions(-) diff --git a/packages/dynamics-lib/src/queries/__tests__/activity.queries.spec.js b/packages/dynamics-lib/src/queries/__tests__/activity.queries.spec.js index 66290b415..85788234e 100644 --- a/packages/dynamics-lib/src/queries/__tests__/activity.queries.spec.js +++ b/packages/dynamics-lib/src/queries/__tests__/activity.queries.spec.js @@ -1,4 +1,4 @@ -import { createActivity } from '../activity.queries.js' +import { createActivity, updateActivity } from '../activity.queries.js' import { dynamicsClient } from '../../client/dynamics-client.js' jest.mock('dynamics-web-api', () => { @@ -11,26 +11,26 @@ jest.mock('dynamics-web-api', () => { describe('Activity Service', () => { describe('createActivity', () => { - const mockResponse = { + const getSuccessResponse = () => ({ '@odata.context': 'https://dynamics.com/api/data/v9.1/defra_CreateRCRActivityResponse', RCRActivityId: 'abc123', ReturnStatus: 'success', SuccessMessage: 'RCR Activity - created successfully', ErrorMessage: null, oDataContext: 'https://dynamics.com/api/data/v9.1/defra_CreateRCRActivityResponse' - } + }) - const errorResponse = { + const getErrorResponse = () => ({ '@odata.context': 'https://dynamics.com/api/data/v9.1/.defra_CreateRCRActivityResponse', RCRActivityId: null, ReturnStatus: 'error', SuccessMessage: '', ErrorMessage: 'Failed to create activity', oDataContext: 'https://dynamics.com/api/data/v9.1/$metadata#Microsoft.Dynamics.CRM.defra_CreateRCRActivityResponse' - } + }) it('should call dynamicsClient with correct parameters', async () => { - dynamicsClient.executeUnboundAction.mockResolvedValue(mockResponse) + dynamicsClient.executeUnboundAction.mockResolvedValue(getSuccessResponse()) await createActivity('contact-identifier-123', 2023) @@ -42,11 +42,12 @@ describe('Activity Service', () => { }) it('should return the CRM response correctly', async () => { - dynamicsClient.executeUnboundAction.mockResolvedValue(mockResponse) + const successResponse = getSuccessResponse() + dynamicsClient.executeUnboundAction.mockResolvedValue(successResponse) const result = await createActivity('contact-identifier-123', 2024) - expect(result).toEqual(mockResponse) + expect(result).toEqual(successResponse) }) it('should handle error in dynamicsClient response', async () => { @@ -57,7 +58,7 @@ describe('Activity Service', () => { }) it('should handle the case where activity creation fails', async () => { - dynamicsClient.executeUnboundAction.mockResolvedValue(errorResponse) + dynamicsClient.executeUnboundAction.mockResolvedValue(getErrorResponse()) const result = await createActivity('invalid-contact-id', 2024) @@ -69,4 +70,64 @@ describe('Activity Service', () => { }) }) }) + + describe('updateActivity', () => { + const getSuccessResponse = () => ({ + '@odata.context': 'https://dynamics.om/api/data/v9.1/defra_UpdateRCRActivityResponse', + ReturnStatus: 'success', + SuccessMessage: 'RCR Activity - updated successfully', + ErrorMessage: null, + oDataContext: 'https://dynamics.com/api/data/v9.1/defra_UpdateRCRActivityResponse' + }) + + const getErrorResponse = () => ({ + '@odata.context': 'https://dynamics.om/api/data/v9.1/defra_UpdateRCRActivityResponse', + RCRActivityId: null, + ReturnStatus: 'error', + SuccessMessage: '', + ErrorMessage: 'Failed to update activity', + oDataContext: 'https://dynamics.com/api/data/v9.1/defra_UpdateRCRActivityResponse' + }) + + it('should call dynamicsClient with correct parameters', async () => { + dynamicsClient.executeUnboundAction.mockResolvedValue(getSuccessResponse()) + + await updateActivity('contact-identifier-123', 2023) + + expect(dynamicsClient.executeUnboundAction).toHaveBeenCalledWith('defra_UpdateRCRActivity', { + ContactId: 'contact-identifier-123', + ActivityStatus: 'SUBMITTED', + Season: 2023 + }) + }) + + it('should return the CRM response correctly', async () => { + const successResponse = getSuccessResponse() + dynamicsClient.executeUnboundAction.mockResolvedValue(successResponse) + + const result = await updateActivity('contact-identifier-123', 2024) + + expect(result).toEqual(successResponse) + }) + + it('should handle error in dynamicsClient response', async () => { + const error = new Error('Failed to update activity') + dynamicsClient.executeUnboundAction.mockRejectedValue(error) + + await expect(updateActivity('contact-identifier-123', 2024)).rejects.toThrow('Failed to update activity') + }) + + it('should handle the case where activity creation fails', async () => { + dynamicsClient.executeUnboundAction.mockResolvedValue(getErrorResponse()) + + const result = await updateActivity('invalid-contact-id', 2024) + + expect(result).toMatchObject({ + RCRActivityId: null, + ReturnStatus: 'error', + SuccessMessage: '', + ErrorMessage: 'Failed to update activity' + }) + }) + }) }) diff --git a/packages/dynamics-lib/src/queries/activity.queries.js b/packages/dynamics-lib/src/queries/activity.queries.js index 3a125c6f4..efbbb339f 100644 --- a/packages/dynamics-lib/src/queries/activity.queries.js +++ b/packages/dynamics-lib/src/queries/activity.queries.js @@ -22,3 +22,26 @@ export const createActivity = (contactId, season) => { return dynamicsClient.executeUnboundAction('defra_CreateRCRActivity', request) } + +/** + * Updates an RCR Activity in Microsoft Dynamics CRM. + * + * @param {string} contactId - The ID of the contact associated with the activity. + * @param {number} season - The season year for which the activity is being created. + * @returns {Promise} - A promise that resolves to the response from Dynamics CRM. + * @property {string} response.@odata.context - The OData context URL of the response. + * @property {string} response.RCRActivityId - The unique identifier of the created RCR activity. + * @property {string} response.ReturnStatus - The status of the activity creation operation (e.g., 'success'). + * @property {string} response.SuccessMessage - A message indicating successful creation of the activity. + * @property {string|null} response.ErrorMessage - An error message if the activity creation failed, otherwise null. + * @property {string} response.oDataContext - The OData context URL of the response. + */ +export const updateActivity = (contactId, season) => { + const request = { + ContactId: contactId, + ActivityStatus: 'SUBMITTED', + Season: season + } + + return dynamicsClient.executeUnboundAction('defra_UpdateRCRActivity', request) +} From 4f3c85fc04e4e65ecaacd45da2a341b20471f24f Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 13 Dec 2024 14:01:32 +0000 Subject: [PATCH 24/26] chore(release): publish v1.57.0-rc.11 --- CHANGELOG.md | 9 +++++++++ lerna.json | 2 +- packages/business-rules-lib/package-lock.json | 4 ++-- packages/business-rules-lib/package.json | 2 +- packages/connectors-lib/package-lock.json | 4 ++-- packages/connectors-lib/package.json | 2 +- packages/dynamics-lib/package-lock.json | 4 ++-- packages/dynamics-lib/package.json | 2 +- packages/fulfilment-job/package-lock.json | 8 ++++---- packages/fulfilment-job/package.json | 6 +++--- packages/gafl-webapp-service/package-lock.json | 8 ++++---- packages/gafl-webapp-service/package.json | 6 +++--- packages/payment-mop-up-job/package-lock.json | 8 ++++---- packages/payment-mop-up-job/package.json | 6 +++--- packages/pocl-job/package-lock.json | 8 ++++---- packages/pocl-job/package.json | 6 +++--- packages/recurring-payments-job/package-lock.json | 8 ++++---- packages/recurring-payments-job/package.json | 6 +++--- packages/sales-api-service/package-lock.json | 10 +++++----- packages/sales-api-service/package.json | 8 ++++---- packages/sqs-receiver-service/package-lock.json | 6 +++--- packages/sqs-receiver-service/package.json | 4 ++-- 22 files changed, 68 insertions(+), 59 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12abfd56b..ec16ad995 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,13 @@ +## v1.57.0-rc.11 (2024-12-13) + +#### :rocket: Enhancement +* `dynamics-lib` + * [#2091](https://github.com/DEFRA/rod-licensing/pull/2091) Update activity in CRM ([@nabeelamir-defra](https://github.com/nabeelamir-defra)) + +#### Committers: 1 +- Nabeel Amir ([@nabeelamir-defra](https://github.com/nabeelamir-defra)) + ## v1.57.0-rc.10 (2024-12-13) #### :bug: Bug Fix diff --git a/lerna.json b/lerna.json index c42589935..afbb093c3 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "npmClient": "npm", "publishConfig": { "registry": "http://registry.npmjs.org/" diff --git a/packages/business-rules-lib/package-lock.json b/packages/business-rules-lib/package-lock.json index 78829e48b..b2b748360 100644 --- a/packages/business-rules-lib/package-lock.json +++ b/packages/business-rules-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", diff --git a/packages/business-rules-lib/package.json b/packages/business-rules-lib/package.json index a13a28be4..92260ed92 100644 --- a/packages/business-rules-lib/package.json +++ b/packages/business-rules-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "description": "Shared business rules for the rod licensing digital services", "type": "module", "engines": { diff --git a/packages/connectors-lib/package-lock.json b/packages/connectors-lib/package-lock.json index 5cb74f728..747133a1d 100644 --- a/packages/connectors-lib/package-lock.json +++ b/packages/connectors-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", diff --git a/packages/connectors-lib/package.json b/packages/connectors-lib/package.json index b0da4b07e..1b0ba9312 100644 --- a/packages/connectors-lib/package.json +++ b/packages/connectors-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "description": "Shared connectors", "type": "module", "engines": { diff --git a/packages/dynamics-lib/package-lock.json b/packages/dynamics-lib/package-lock.json index 1fcef9e6f..76af1e9b8 100644 --- a/packages/dynamics-lib/package-lock.json +++ b/packages/dynamics-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "license": "SEE LICENSE IN LICENSE", "dependencies": { "cache-manager": "^3.6.0", diff --git a/packages/dynamics-lib/package.json b/packages/dynamics-lib/package.json index c336986b8..d296fc666 100644 --- a/packages/dynamics-lib/package.json +++ b/packages/dynamics-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "description": "Framework to support integration with dynamics", "type": "module", "engines": { diff --git a/packages/fulfilment-job/package-lock.json b/packages/fulfilment-job/package-lock.json index 45c8f135c..eeba32445 100644 --- a/packages/fulfilment-job/package-lock.json +++ b/packages/fulfilment-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.10", - "@defra-fish/dynamics-lib": "1.57.0-rc.10", + "@defra-fish/connectors-lib": "1.57.0-rc.11", + "@defra-fish/dynamics-lib": "1.57.0-rc.11", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/fulfilment-job/package.json b/packages/fulfilment-job/package.json index bb984e170..eed68aa4a 100644 --- a/packages/fulfilment-job/package.json +++ b/packages/fulfilment-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "description": "Rod Licensing Sales Fulfilment Job", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.10", - "@defra-fish/dynamics-lib": "1.57.0-rc.10", + "@defra-fish/connectors-lib": "1.57.0-rc.11", + "@defra-fish/dynamics-lib": "1.57.0-rc.11", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/gafl-webapp-service/package-lock.json b/packages/gafl-webapp-service/package-lock.json index 04afed34d..6845680ce 100644 --- a/packages/gafl-webapp-service/package-lock.json +++ b/packages/gafl-webapp-service/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.10", - "@defra-fish/connectors-lib": "1.57.0-rc.10", + "@defra-fish/business-rules-lib": "1.57.0-rc.11", + "@defra-fish/connectors-lib": "1.57.0-rc.11", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/gafl-webapp-service/package.json b/packages/gafl-webapp-service/package.json index 093d76275..6b298398a 100644 --- a/packages/gafl-webapp-service/package.json +++ b/packages/gafl-webapp-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "description": "The websales frontend for the GAFL service", "type": "module", "engines": { @@ -36,8 +36,8 @@ "prepare": "gulp --gulpfile build/gulpfile.cjs" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.10", - "@defra-fish/connectors-lib": "1.57.0-rc.10", + "@defra-fish/business-rules-lib": "1.57.0-rc.11", + "@defra-fish/connectors-lib": "1.57.0-rc.11", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/payment-mop-up-job/package-lock.json b/packages/payment-mop-up-job/package-lock.json index a30a05d2a..8e48edbb9 100644 --- a/packages/payment-mop-up-job/package-lock.json +++ b/packages/payment-mop-up-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.10", - "@defra-fish/connectors-lib": "1.57.0-rc.10", + "@defra-fish/business-rules-lib": "1.57.0-rc.11", + "@defra-fish/connectors-lib": "1.57.0-rc.11", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/payment-mop-up-job/package.json b/packages/payment-mop-up-job/package.json index 3d4a31ac3..2be9b8aa5 100644 --- a/packages/payment-mop-up-job/package.json +++ b/packages/payment-mop-up-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "description": "Process incomplete web-sales", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.10", - "@defra-fish/connectors-lib": "1.57.0-rc.10", + "@defra-fish/business-rules-lib": "1.57.0-rc.11", + "@defra-fish/connectors-lib": "1.57.0-rc.11", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/pocl-job/package-lock.json b/packages/pocl-job/package-lock.json index c3945013c..3ea90b66e 100644 --- a/packages/pocl-job/package-lock.json +++ b/packages/pocl-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.10", - "@defra-fish/connectors-lib": "1.57.0-rc.10", + "@defra-fish/business-rules-lib": "1.57.0-rc.11", + "@defra-fish/connectors-lib": "1.57.0-rc.11", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/pocl-job/package.json b/packages/pocl-job/package.json index 4cb894d90..38009c2f0 100644 --- a/packages/pocl-job/package.json +++ b/packages/pocl-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "description": "Post Office Counter Licence sales processor", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.10", - "@defra-fish/connectors-lib": "1.57.0-rc.10", + "@defra-fish/business-rules-lib": "1.57.0-rc.11", + "@defra-fish/connectors-lib": "1.57.0-rc.11", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/recurring-payments-job/package-lock.json b/packages/recurring-payments-job/package-lock.json index 1c77fa2d5..74cb0c8df 100644 --- a/packages/recurring-payments-job/package-lock.json +++ b/packages/recurring-payments-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.10", - "@defra-fish/connectors-lib": "1.57.0-rc.10", + "@defra-fish/business-rules-lib": "1.57.0-rc.11", + "@defra-fish/connectors-lib": "1.57.0-rc.11", "commander": "^7.2.0", "moment-timezone": "^0.5.34" }, diff --git a/packages/recurring-payments-job/package.json b/packages/recurring-payments-job/package.json index 3132abf4b..ab1092d9c 100644 --- a/packages/recurring-payments-job/package.json +++ b/packages/recurring-payments-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "description": "Rod Licensing Recurring Payments Job", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.10", - "@defra-fish/connectors-lib": "1.57.0-rc.10", + "@defra-fish/business-rules-lib": "1.57.0-rc.11", + "@defra-fish/connectors-lib": "1.57.0-rc.11", "commander": "^7.2.0", "moment-timezone": "^0.5.34" } diff --git a/packages/sales-api-service/package-lock.json b/packages/sales-api-service/package-lock.json index 4ab456ac5..8f83711f7 100644 --- a/packages/sales-api-service/package-lock.json +++ b/packages/sales-api-service/package-lock.json @@ -1,17 +1,17 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.10", - "@defra-fish/connectors-lib": "1.57.0-rc.10", - "@defra-fish/dynamics-lib": "1.57.0-rc.10", + "@defra-fish/business-rules-lib": "1.57.0-rc.11", + "@defra-fish/connectors-lib": "1.57.0-rc.11", + "@defra-fish/dynamics-lib": "1.57.0-rc.11", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sales-api-service/package.json b/packages/sales-api-service/package.json index b8a6ae30e..865126a79 100644 --- a/packages/sales-api-service/package.json +++ b/packages/sales-api-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "description": "Rod Licensing Sales API", "type": "module", "engines": { @@ -35,9 +35,9 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.10", - "@defra-fish/connectors-lib": "1.57.0-rc.10", - "@defra-fish/dynamics-lib": "1.57.0-rc.10", + "@defra-fish/business-rules-lib": "1.57.0-rc.11", + "@defra-fish/connectors-lib": "1.57.0-rc.11", + "@defra-fish/dynamics-lib": "1.57.0-rc.11", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sqs-receiver-service/package-lock.json b/packages/sqs-receiver-service/package-lock.json index 388ebf290..ecd15b7f8 100644 --- a/packages/sqs-receiver-service/package-lock.json +++ b/packages/sqs-receiver-service/package-lock.json @@ -1,15 +1,15 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.10", + "@defra-fish/connectors-lib": "1.57.0-rc.11", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", diff --git a/packages/sqs-receiver-service/package.json b/packages/sqs-receiver-service/package.json index 0a166cc44..59e92ef09 100644 --- a/packages/sqs-receiver-service/package.json +++ b/packages/sqs-receiver-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.10", + "version": "1.57.0-rc.11", "description": "SQS Receiver service", "type": "module", "engines": { @@ -35,7 +35,7 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.10", + "@defra-fish/connectors-lib": "1.57.0-rc.11", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", From abad5bc7777c3a0ea7bcf7c90cb88f5cc6b3a09f Mon Sep 17 00:00:00 2001 From: Phil Benson Date: Fri, 13 Dec 2024 15:57:28 +0000 Subject: [PATCH 25/26] Missing inline error on renewals id page (#2095) * Missing inline error on renewals id page https://eaflood.atlassian.net/browse/IWTF-3913 The inline error for date of birth on the renewals identity page is missing, it's only presented in the error summary box * Add inline error for date of birth entry on renewals identification page --- .../renewals/identify/__tests__/route.spec.js | 17 +++++++++++++++++ .../src/pages/renewals/identify/identify.njk | 2 +- .../src/pages/renewals/identify/route.js | 10 +++++++++- 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/route.spec.js b/packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/route.spec.js index afe14fdae..51aff2101 100644 --- a/packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/route.spec.js +++ b/packages/gafl-webapp-service/src/pages/renewals/identify/__tests__/route.spec.js @@ -66,6 +66,23 @@ describe('getData', () => { await getData(getMockRequest(undefined, pageGet)) expect(pageGet).toHaveBeenCalledWith(IDENTIFY.page) }) + + it.each([ + ['full-date', 'object.missing'], + ['day', 'any.required'] + ])('should add error details ({%s: %s}) to the page data', async (errorKey, errorValue) => { + const pageGet = async () => ({ + error: { [errorKey]: errorValue } + }) + + const result = await getData(getMockRequest(undefined, pageGet)) + expect(result.error).toEqual({ errorKey, errorValue }) + }) + + it('omits error if there is no error', async () => { + const result = await getData(getMockRequest()) + expect(result.error).toBeUndefined() + }) }) describe('default', () => { diff --git a/packages/gafl-webapp-service/src/pages/renewals/identify/identify.njk b/packages/gafl-webapp-service/src/pages/renewals/identify/identify.njk index d3f91d41c..d863e772e 100644 --- a/packages/gafl-webapp-service/src/pages/renewals/identify/identify.njk +++ b/packages/gafl-webapp-service/src/pages/renewals/identify/identify.njk @@ -141,7 +141,7 @@ classes: "govuk-!-font-weight-bold govuk-label" } }, - errorMessage: { text: mssgs.enter_dob } if error['date-of-birth'], + errorMessage: { text: errorMap[data.error.errorKey][data.error.errorValue].text } if data.error, hint: { text: mssgs.enter_dob_example } diff --git a/packages/gafl-webapp-service/src/pages/renewals/identify/route.js b/packages/gafl-webapp-service/src/pages/renewals/identify/route.js index 234176ae1..45fc367fb 100644 --- a/packages/gafl-webapp-service/src/pages/renewals/identify/route.js +++ b/packages/gafl-webapp-service/src/pages/renewals/identify/route.js @@ -21,13 +21,21 @@ export const getData = async request => { } } - return { + const pageData = { referenceNumber: permission.referenceNumber, uri: { new: addLanguageCodeToUri(request, NEW_TRANSACTION.uri) }, ...getDateErrorFlags(page?.error) } + + if (page?.error) { + const [errorKey] = Object.keys(page.error) + const errorValue = page.error[errorKey] + pageData.error = { errorKey, errorValue } + } + + return pageData } export const validator = payload => { From d471ba71768b830ecf1bf4cdc226e9c8fc8d9ab1 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 13 Dec 2024 16:01:29 +0000 Subject: [PATCH 26/26] chore(release): publish v1.57.0-rc.12 --- CHANGELOG.md | 9 +++++++++ lerna.json | 2 +- packages/business-rules-lib/package-lock.json | 4 ++-- packages/business-rules-lib/package.json | 2 +- packages/connectors-lib/package-lock.json | 4 ++-- packages/connectors-lib/package.json | 2 +- packages/dynamics-lib/package-lock.json | 4 ++-- packages/dynamics-lib/package.json | 2 +- packages/fulfilment-job/package-lock.json | 8 ++++---- packages/fulfilment-job/package.json | 6 +++--- packages/gafl-webapp-service/package-lock.json | 8 ++++---- packages/gafl-webapp-service/package.json | 6 +++--- packages/payment-mop-up-job/package-lock.json | 8 ++++---- packages/payment-mop-up-job/package.json | 6 +++--- packages/pocl-job/package-lock.json | 8 ++++---- packages/pocl-job/package.json | 6 +++--- packages/recurring-payments-job/package-lock.json | 8 ++++---- packages/recurring-payments-job/package.json | 6 +++--- packages/sales-api-service/package-lock.json | 10 +++++----- packages/sales-api-service/package.json | 8 ++++---- packages/sqs-receiver-service/package-lock.json | 6 +++--- packages/sqs-receiver-service/package.json | 4 ++-- 22 files changed, 68 insertions(+), 59 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec16ad995..15ec2af63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,13 @@ +## v1.57.0-rc.12 (2024-12-13) + +#### :bug: Bug Fix +* `gafl-webapp-service` + * [#2095](https://github.com/DEFRA/rod-licensing/pull/2095) Missing inline error on renewals id page ([@jaucourt](https://github.com/jaucourt)) + +#### Committers: 1 +- Phil Benson ([@jaucourt](https://github.com/jaucourt)) + ## v1.57.0-rc.11 (2024-12-13) #### :rocket: Enhancement diff --git a/lerna.json b/lerna.json index afbb093c3..1bdc8455f 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "npmClient": "npm", "publishConfig": { "registry": "http://registry.npmjs.org/" diff --git a/packages/business-rules-lib/package-lock.json b/packages/business-rules-lib/package-lock.json index b2b748360..3f5671a7c 100644 --- a/packages/business-rules-lib/package-lock.json +++ b/packages/business-rules-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "license": "SEE LICENSE IN LICENSE", "dependencies": { "joi": "^17.6.0", diff --git a/packages/business-rules-lib/package.json b/packages/business-rules-lib/package.json index 92260ed92..97bbdf400 100644 --- a/packages/business-rules-lib/package.json +++ b/packages/business-rules-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/business-rules-lib", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "description": "Shared business rules for the rod licensing digital services", "type": "module", "engines": { diff --git a/packages/connectors-lib/package-lock.json b/packages/connectors-lib/package-lock.json index 747133a1d..7f50520ca 100644 --- a/packages/connectors-lib/package-lock.json +++ b/packages/connectors-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@airbrake/node": "^2.1.7", diff --git a/packages/connectors-lib/package.json b/packages/connectors-lib/package.json index 1b0ba9312..d7699261b 100644 --- a/packages/connectors-lib/package.json +++ b/packages/connectors-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/connectors-lib", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "description": "Shared connectors", "type": "module", "engines": { diff --git a/packages/dynamics-lib/package-lock.json b/packages/dynamics-lib/package-lock.json index 76af1e9b8..7a7a73399 100644 --- a/packages/dynamics-lib/package-lock.json +++ b/packages/dynamics-lib/package-lock.json @@ -1,12 +1,12 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "license": "SEE LICENSE IN LICENSE", "dependencies": { "cache-manager": "^3.6.0", diff --git a/packages/dynamics-lib/package.json b/packages/dynamics-lib/package.json index d296fc666..6ede3923d 100644 --- a/packages/dynamics-lib/package.json +++ b/packages/dynamics-lib/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/dynamics-lib", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "description": "Framework to support integration with dynamics", "type": "module", "engines": { diff --git a/packages/fulfilment-job/package-lock.json b/packages/fulfilment-job/package-lock.json index eeba32445..00b6cfbb9 100644 --- a/packages/fulfilment-job/package-lock.json +++ b/packages/fulfilment-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.11", - "@defra-fish/dynamics-lib": "1.57.0-rc.11", + "@defra-fish/connectors-lib": "1.57.0-rc.12", + "@defra-fish/dynamics-lib": "1.57.0-rc.12", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/fulfilment-job/package.json b/packages/fulfilment-job/package.json index eed68aa4a..2ff7f230c 100644 --- a/packages/fulfilment-job/package.json +++ b/packages/fulfilment-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/fulfilment-job", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "description": "Rod Licensing Sales Fulfilment Job", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.11", - "@defra-fish/dynamics-lib": "1.57.0-rc.11", + "@defra-fish/connectors-lib": "1.57.0-rc.12", + "@defra-fish/dynamics-lib": "1.57.0-rc.12", "commander": "^7.2.0", "debug": "^4.3.3", "merge2": "^1.4.1", diff --git a/packages/gafl-webapp-service/package-lock.json b/packages/gafl-webapp-service/package-lock.json index 6845680ce..f82f5a5fe 100644 --- a/packages/gafl-webapp-service/package-lock.json +++ b/packages/gafl-webapp-service/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.11", - "@defra-fish/connectors-lib": "1.57.0-rc.11", + "@defra-fish/business-rules-lib": "1.57.0-rc.12", + "@defra-fish/connectors-lib": "1.57.0-rc.12", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/gafl-webapp-service/package.json b/packages/gafl-webapp-service/package.json index 6b298398a..53014dd80 100644 --- a/packages/gafl-webapp-service/package.json +++ b/packages/gafl-webapp-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/gafl-webapp-service", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "description": "The websales frontend for the GAFL service", "type": "module", "engines": { @@ -36,8 +36,8 @@ "prepare": "gulp --gulpfile build/gulpfile.cjs" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.11", - "@defra-fish/connectors-lib": "1.57.0-rc.11", + "@defra-fish/business-rules-lib": "1.57.0-rc.12", + "@defra-fish/connectors-lib": "1.57.0-rc.12", "@defra/hapi-gapi": "^2.0.0", "@hapi/boom": "^9.1.2", "@hapi/catbox-redis": "^6.0.2", diff --git a/packages/payment-mop-up-job/package-lock.json b/packages/payment-mop-up-job/package-lock.json index 8e48edbb9..5c90f3883 100644 --- a/packages/payment-mop-up-job/package-lock.json +++ b/packages/payment-mop-up-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.11", - "@defra-fish/connectors-lib": "1.57.0-rc.11", + "@defra-fish/business-rules-lib": "1.57.0-rc.12", + "@defra-fish/connectors-lib": "1.57.0-rc.12", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/payment-mop-up-job/package.json b/packages/payment-mop-up-job/package.json index 2be9b8aa5..f11d58489 100644 --- a/packages/payment-mop-up-job/package.json +++ b/packages/payment-mop-up-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/payment-mop-up-job", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "description": "Process incomplete web-sales", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.11", - "@defra-fish/connectors-lib": "1.57.0-rc.11", + "@defra-fish/business-rules-lib": "1.57.0-rc.12", + "@defra-fish/connectors-lib": "1.57.0-rc.12", "bottleneck": "^2.19.5", "debug": "^4.3.3", "moment": "^2.29.1" diff --git a/packages/pocl-job/package-lock.json b/packages/pocl-job/package-lock.json index 3ea90b66e..d2b621b63 100644 --- a/packages/pocl-job/package-lock.json +++ b/packages/pocl-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.11", - "@defra-fish/connectors-lib": "1.57.0-rc.11", + "@defra-fish/business-rules-lib": "1.57.0-rc.12", + "@defra-fish/connectors-lib": "1.57.0-rc.12", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/pocl-job/package.json b/packages/pocl-job/package.json index 38009c2f0..d5035ad6a 100644 --- a/packages/pocl-job/package.json +++ b/packages/pocl-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/pocl-job", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "description": "Post Office Counter Licence sales processor", "type": "module", "engines": { @@ -35,8 +35,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.11", - "@defra-fish/connectors-lib": "1.57.0-rc.11", + "@defra-fish/business-rules-lib": "1.57.0-rc.12", + "@defra-fish/connectors-lib": "1.57.0-rc.12", "commander": "^7.2.0", "debug": "^4.3.3", "filesize": "^6.4.0", diff --git a/packages/recurring-payments-job/package-lock.json b/packages/recurring-payments-job/package-lock.json index 74cb0c8df..c48efaa4e 100644 --- a/packages/recurring-payments-job/package-lock.json +++ b/packages/recurring-payments-job/package-lock.json @@ -1,16 +1,16 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.11", - "@defra-fish/connectors-lib": "1.57.0-rc.11", + "@defra-fish/business-rules-lib": "1.57.0-rc.12", + "@defra-fish/connectors-lib": "1.57.0-rc.12", "commander": "^7.2.0", "moment-timezone": "^0.5.34" }, diff --git a/packages/recurring-payments-job/package.json b/packages/recurring-payments-job/package.json index ab1092d9c..565dd1187 100644 --- a/packages/recurring-payments-job/package.json +++ b/packages/recurring-payments-job/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/recurring-payments-job", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "description": "Rod Licensing Recurring Payments Job", "type": "module", "engines": { @@ -36,8 +36,8 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.11", - "@defra-fish/connectors-lib": "1.57.0-rc.11", + "@defra-fish/business-rules-lib": "1.57.0-rc.12", + "@defra-fish/connectors-lib": "1.57.0-rc.12", "commander": "^7.2.0", "moment-timezone": "^0.5.34" } diff --git a/packages/sales-api-service/package-lock.json b/packages/sales-api-service/package-lock.json index 8f83711f7..510b51398 100644 --- a/packages/sales-api-service/package-lock.json +++ b/packages/sales-api-service/package-lock.json @@ -1,17 +1,17 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.11", - "@defra-fish/connectors-lib": "1.57.0-rc.11", - "@defra-fish/dynamics-lib": "1.57.0-rc.11", + "@defra-fish/business-rules-lib": "1.57.0-rc.12", + "@defra-fish/connectors-lib": "1.57.0-rc.12", + "@defra-fish/dynamics-lib": "1.57.0-rc.12", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sales-api-service/package.json b/packages/sales-api-service/package.json index 865126a79..30946413e 100644 --- a/packages/sales-api-service/package.json +++ b/packages/sales-api-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sales-api-service", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "description": "Rod Licensing Sales API", "type": "module", "engines": { @@ -35,9 +35,9 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/business-rules-lib": "1.57.0-rc.11", - "@defra-fish/connectors-lib": "1.57.0-rc.11", - "@defra-fish/dynamics-lib": "1.57.0-rc.11", + "@defra-fish/business-rules-lib": "1.57.0-rc.12", + "@defra-fish/connectors-lib": "1.57.0-rc.12", + "@defra-fish/dynamics-lib": "1.57.0-rc.12", "@hapi/boom": "^9.1.2", "@hapi/hapi": "^20.1.3", "@hapi/inert": "^6.0.3", diff --git a/packages/sqs-receiver-service/package-lock.json b/packages/sqs-receiver-service/package-lock.json index ecd15b7f8..33aef0817 100644 --- a/packages/sqs-receiver-service/package-lock.json +++ b/packages/sqs-receiver-service/package-lock.json @@ -1,15 +1,15 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.11", + "@defra-fish/connectors-lib": "1.57.0-rc.12", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1", diff --git a/packages/sqs-receiver-service/package.json b/packages/sqs-receiver-service/package.json index 59e92ef09..4cdd575b3 100644 --- a/packages/sqs-receiver-service/package.json +++ b/packages/sqs-receiver-service/package.json @@ -1,6 +1,6 @@ { "name": "@defra-fish/sqs-receiver-service", - "version": "1.57.0-rc.11", + "version": "1.57.0-rc.12", "description": "SQS Receiver service", "type": "module", "engines": { @@ -35,7 +35,7 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@defra-fish/connectors-lib": "1.57.0-rc.11", + "@defra-fish/connectors-lib": "1.57.0-rc.12", "debug": "^4.3.1", "joi": "^17.3.0", "node-fetch": "^2.6.1",