diff --git a/CHANGELOG.md b/CHANGELOG.md index f1467524f6..66aad4d786 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **client:** Replace placeholders in URL with route params ([#3270](https://github.com/feathersjs/feathers/issues/3270)) ([a0624eb](https://github.com/feathersjs/feathers/commit/a0624eb5a7919aa1b179a71beb1c1b9cab574525)) +- **core:** context.path is now typed correctly ([#3303](https://github.com/feathersjs/feathers/issues/3303)) ([ff18b3f](https://github.com/feathersjs/feathers/commit/ff18b3f8b7c8dbc97be588f699d539226785343a)) +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) +- **memory:** Ensure correct pagination totals ([#3307](https://github.com/feathersjs/feathers/issues/3307)) ([c59e1b8](https://github.com/feathersjs/feathers/commit/c59e1b80cb43571077b035ab2bf0b44f9daa5ab8)) +- **schema:** HookContext is now typed in schema ([#3306](https://github.com/feathersjs/feathers/issues/3306)) ([65fab86](https://github.com/feathersjs/feathers/commit/65fab86407b813122f24db928a59986c7286f270)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) ### Bug Fixes diff --git a/docs/api/client/rest.md b/docs/api/client/rest.md index a7d6546996..5a981eaf05 100644 --- a/docs/api/client/rest.md +++ b/docs/api/client/rest.md @@ -493,3 +493,55 @@ curl -H "Content-Type: application/json" -H "X-Service-Method: myCustomMethod" - ``` This will call `messages.myCustomMethod({ message: 'Hello world' }, {})`. + +### Route placeholders + +Service URLs can have placeholders, e.g. `users/:userId/messages`. (see in [express](../express.md#params.route) or [koa](../koa.md#params.route)) + +You can call the client with route placeholders in the `params.route` property: + +```ts +import { feathers } from '@feathersjs/feathers' +import rest from '@feathersjs/rest-client' + +const app = feathers() + +// Connect to the same as the browser URL (only in the browser) +const restClient = rest() + +// Connect to a different URL +const restClient = rest('http://feathers-api.com') + +// Configure an AJAX library (see below) with that client +app.configure(restClient.fetch(window.fetch.bind(window))) + +// Connect to the `http://feathers-api.com/messages` service +const messages = app.service('users/:userId/messages') + +// Call the `http://feathers-api.com/users/2/messages` URL +messages.find({ + route: { + userId: 2, + }, +}) +``` + +This can also be achieved by using the client bundled, +sharing several `servicePath` variable exported in the [service shared file](`../../guides/cli/service.shared.md#Variables`) file. + +```ts +import rest from '@feathersjs/rest-client' +// usersMessagesPath contains 'users/:userId/messages' +import { createClient, usersMessagesPath } from 'my-app' + +const connection = rest('https://myapp.com').fetch(window.fetch.bind(window)) + +const client = createClient(connection) + +// Call the `https://myapp.com/users/2/messages` URL +client.service(usersMessagesPath).find({ + route: { + userId: 2 + } +}) +``` diff --git a/docs/api/client/socketio.md b/docs/api/client/socketio.md index 0a38164d0a..0b789c8242 100644 --- a/docs/api/client/socketio.md +++ b/docs/api/client/socketio.md @@ -103,6 +103,69 @@ Just like on the server _all_ methods you want to use have to be listed in the ` + +### Route placeholders + +Service URLs can have placeholders, e.g. `users/:userId/messages`. (see in [express](../express.md#params.route) or [koa](../koa.md#params.route)) + +You can call the client with route placeholders in the `params.route` property: + +```ts +import { feathers } from '@feathersjs/feathers' +import socketio from '@feathersjs/socketio-client' +import io from 'socket.io-client' + +const socket = io('http://api.feathersjs.com') +const app = feathers() + +// Set up Socket.io client with the socket +app.configure(socketio(socket)) + +// Call `users/2/messages` +app.service('users/:userId/messages').find({ + route: { + userId: 2 + } +}) +``` + +This can also be achieved by using the client bundled, +sharing several `servicePath` variable exported in the [service shared file](`../../guides/cli/service.shared.md#Variables`) file. + +```ts +import rest from '@feathersjs/rest-client' + +const connection = rest('https://myapp.com').fetch(window.fetch.bind(window)) + +const client = createClient(connection) + +// Call the `https://myapp.com/users/2/messages` URL +client.service(usersMyMessagesPath).find({ + route: { + userId: 2 + } +}) + +import io from 'socket.io-client' +import socketio from '@feathersjs/socketio-client' +import { createClient, usersMessagesPath } from 'my-app' + +const socket = io('http://api.my-feathers-server.com') +const connection = socketio(socket) + +const client = createClient(connection) + +const messageService = client.service('users/:userId/messages') + +// Call `users/2/messages` +app.service('users/:userId/messages').find({ + route: { + userId: 2 + } +}) +``` + + ## Direct connection Feathers sets up a normal Socket.io server that you can connect to with any Socket.io compatible client, usually the [Socket.io client](http://socket.io/docs/client-api/) either by loading the `socket.io-client` module or `/socket.io/socket.io.js` from the server. Query parameter types do not have to be converted from strings as they do for REST requests. diff --git a/lerna.json b/lerna.json index 86949d6ff4..05516db050 100644 --- a/lerna.json +++ b/lerna.json @@ -1,7 +1,7 @@ { "ci": false, "packages": ["packages/*"], - "version": "5.0.10", + "version": "5.0.11", "command": { "bootstrap": { "hoist": true diff --git a/package-lock.json b/package-lock.json index 0ae2f8d0b7..ad4faaa139 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,14 +10,14 @@ "packages/*" ], "devDependencies": { - "@typescript-eslint/eslint-plugin": "^6.7.4", - "@typescript-eslint/parser": "^6.7.4", + "@typescript-eslint/eslint-plugin": "^6.7.5", + "@typescript-eslint/parser": "^6.7.5", "c8": "^8.0.1", - "eslint": "^8.50.0", + "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", - "eslint-plugin-prettier": "^5.0.0", - "lerna": "^7.3.0", - "npm-check-updates": "^16.14.4", + "eslint-plugin-prettier": "^5.0.1", + "lerna": "^7.3.1", + "npm-check-updates": "^16.14.5", "prettier": "^3.0.3", "typescript": "^5.2.2" }, @@ -56,6 +56,7 @@ "resolved": "https://registry.npmjs.org/@aws-crypto/crc32/-/crc32-3.0.0.tgz", "integrity": "sha512-IzSgsrxUcsrejQbPVilIKy16kAT52EwB6zSaI+M3xxIhKh5+aldEyvI+z6erM7TCLB2BJsFrtHjp6/4/sr+3dA==", "optional": true, + "peer": true, "dependencies": { "@aws-crypto/util": "^3.0.0", "@aws-sdk/types": "^3.222.0", @@ -66,13 +67,15 @@ "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "optional": true + "optional": true, + "peer": true }, "node_modules/@aws-crypto/ie11-detection": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@aws-crypto/ie11-detection/-/ie11-detection-3.0.0.tgz", "integrity": "sha512-341lBBkiY1DfDNKai/wXM3aujNBkXR7tq1URPQDL9wi3AUbI80NR74uF1TXHMm7po1AcnFk8iu2S2IeU/+/A+Q==", "optional": true, + "peer": true, "dependencies": { "tslib": "^1.11.1" } @@ -81,13 +84,15 @@ "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "optional": true + "optional": true, + "peer": true }, "node_modules/@aws-crypto/sha256-browser": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-browser/-/sha256-browser-3.0.0.tgz", "integrity": "sha512-8VLmW2B+gjFbU5uMeqtQM6Nj0/F1bro80xQXCW6CQBWgosFWXTx77aeOF5CAIAmbOK64SdMBJdNr6J41yP5mvQ==", "optional": true, + "peer": true, "dependencies": { "@aws-crypto/ie11-detection": "^3.0.0", "@aws-crypto/sha256-js": "^3.0.0", @@ -103,13 +108,15 @@ "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "optional": true + "optional": true, + "peer": true }, "node_modules/@aws-crypto/sha256-js": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-js/-/sha256-js-3.0.0.tgz", "integrity": "sha512-PnNN7os0+yd1XvXAy23CFOmTbMaDxgxXtTKHybrJ39Y8kGzBATgBFibWJKH6BhytLI/Zyszs87xCOBNyBig6vQ==", "optional": true, + "peer": true, "dependencies": { "@aws-crypto/util": "^3.0.0", "@aws-sdk/types": "^3.222.0", @@ -120,13 +127,15 @@ "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "optional": true + "optional": true, + "peer": true }, "node_modules/@aws-crypto/supports-web-crypto": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@aws-crypto/supports-web-crypto/-/supports-web-crypto-3.0.0.tgz", "integrity": "sha512-06hBdMwUAb2WFTuGG73LSC0wfPu93xWwo5vL2et9eymgmu3Id5vFAHBbajVWiGhPO37qcsdCap/FqXvJGJWPIg==", "optional": true, + "peer": true, "dependencies": { "tslib": "^1.11.1" } @@ -135,13 +144,15 @@ "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "optional": true + "optional": true, + "peer": true }, "node_modules/@aws-crypto/util": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@aws-crypto/util/-/util-3.0.0.tgz", "integrity": "sha512-2OJlpeJpCR48CC8r+uKVChzs9Iungj9wkZrl8Z041DWEWvyIHILYKCPNzJghKsivj+S3mLo6BVc7mBNzdxA46w==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "^3.222.0", "@aws-sdk/util-utf8-browser": "^3.0.0", @@ -152,13 +163,15 @@ "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "optional": true + "optional": true, + "peer": true }, "node_modules/@aws-sdk/client-cognito-identity": { "version": "3.369.0", "resolved": "https://registry.npmjs.org/@aws-sdk/client-cognito-identity/-/client-cognito-identity-3.369.0.tgz", "integrity": "sha512-YZSjxtWJ70Xj4G230iDGLXJHF4asy1FrTnTkNfyMA3uHmhgL3kUI9yk9E93FRy9XWboI8a39WC0vEgr6zvuBFQ==", "optional": true, + "peer": true, "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", @@ -206,6 +219,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.369.0.tgz", "integrity": "sha512-SjJd9QGT9ccHOY64qnMfvVjrneBORIx/k8OdtL0nV2wemPqCM9uAm+TYZ01E91D/+lfXS+lLMGSidSA39PMIOA==", "optional": true, + "peer": true, "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", @@ -250,6 +264,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.369.0.tgz", "integrity": "sha512-NOnsRrkHMss9pE68uTPMEt1KoW6eWt4ZCesJayCOiIgmIA/AhXHz06IBCYJ9eu9Xbu/55FDr4X3VCtUf7Rfh6g==", "optional": true, + "peer": true, "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", @@ -294,6 +309,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.369.0.tgz", "integrity": "sha512-kyZl654U27gsQX9UjiiO4CX5M6kHwzDouwbhjc5HshQld/lUbJQ4uPpAwhlbZiqnzGeB639MdAGaSwrOOw2ixw==", "optional": true, + "peer": true, "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", @@ -342,6 +358,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.369.0.tgz", "integrity": "sha512-E69Ya4JnLO2ymtDZSGwbpXXMS4Pr3b3g+rZ3BduPc2fxRSLDfCxKE1GuO56u9pCbjZL6lJ+5FB8i7v0ptsVrOQ==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/client-cognito-identity": "3.369.0", "@aws-sdk/types": "3.369.0", @@ -358,6 +375,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.369.0.tgz", "integrity": "sha512-EZUXGLjnun5t5/dVYJ9yyOwPAJktOdLEQSwtw7Q9XOxaNqVFFz9EU+TwYraV4WZ3CFRNn7GEIctVlXAHVFLm/w==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.369.0", "@smithy/property-provider": "^1.0.1", @@ -373,6 +391,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.369.0.tgz", "integrity": "sha512-12XXd4gnrn05adio/xPF8Nxl99L2FFzksbFILDIfSni7nLDX0m2XprnkswQiCKSbfDIQQsgnnh2F+HhorLuqfQ==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/credential-provider-env": "3.369.0", "@aws-sdk/credential-provider-process": "3.369.0", @@ -394,6 +413,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.369.0.tgz", "integrity": "sha512-vxX4s33EpRDh7OhKBDVAPxdBxVHPOOj1r7nN6f0hZLw5WPeeffSjLqw+MnFj33gSO7Htnt+Q0cAJQzeY5G8q3A==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/credential-provider-env": "3.369.0", "@aws-sdk/credential-provider-ini": "3.369.0", @@ -416,6 +436,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.369.0.tgz", "integrity": "sha512-OyasKV3mZz6TRSxczRnyZoifrtYwqGBxtr75YP37cm/JkecDshHXRcE8Jt9LyBg/93oWfKou03WVQiY9UIDJGQ==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.369.0", "@smithy/property-provider": "^1.0.1", @@ -432,6 +453,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.369.0.tgz", "integrity": "sha512-qXbEsmgFpGPbRVnwBYPxL53wQuue0+Z8tVu877itbrzpHm61AuQ04Hn8T1boKrr40excDuxiSrCX5oCKRG4srQ==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/client-sso": "3.369.0", "@aws-sdk/token-providers": "3.369.0", @@ -450,6 +472,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.369.0.tgz", "integrity": "sha512-oFGxC839pQTJ6djFEBuokSi3/jNjNMVgZSpg26Z23V/r3vKRSgXfVmeus1FLYIWg0jO7KFsMPo9eVJW6auzw6w==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.369.0", "@smithy/property-provider": "^1.0.1", @@ -465,6 +488,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/credential-providers/-/credential-providers-3.369.0.tgz", "integrity": "sha512-c3H3iEiutebVvHQY7igvlAKup/P8dRdpf3QqJNOCga/w6tR+MMdjhJBanHDeJjmyREfBTPySkaNY2gsLODtmCg==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/client-cognito-identity": "3.369.0", "@aws-sdk/client-sso": "3.369.0", @@ -491,6 +515,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.369.0.tgz", "integrity": "sha512-ysbur68WHY7RYpGfth1Iu0+S03nSCLtIHJ+CDVYcVcyvYxaAv6y3gvfrkH9oL220uX75UVLj3tCKgAaLUBy5uA==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.369.0", "@smithy/protocol-http": "^1.1.0", @@ -506,6 +531,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.369.0.tgz", "integrity": "sha512-mp4gVRaFRRX+LEDEIlPxHOI/+k1jPPp0tuKyoyNZQS8IPOL+6bqFdPan03hkTjujeyaZOyRjpaXXat6k1HkHhw==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.369.0", "@smithy/types": "^1.1.0", @@ -520,6 +546,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.369.0.tgz", "integrity": "sha512-V7TNhHRTwiKlVXiaW2CYGcm3vObWdG5zU0SN7ZxHDT27eTRYL8ncVpDnQZ65HfekXL8T9llVibBTYYvZrxLJ1g==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.369.0", "@smithy/protocol-http": "^1.1.0", @@ -535,6 +562,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-sdk-sts/-/middleware-sdk-sts-3.369.0.tgz", "integrity": "sha512-Igizyt7TWy8kTitvE6o7R1Cfa4qLqijS/WxqT1cnHscQyZFFiIJVNypWeV4V19DZ9Msb/feAQdc8EWgHvZvYGA==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/middleware-signing": "3.369.0", "@aws-sdk/types": "3.369.0", @@ -550,6 +578,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-signing/-/middleware-signing-3.369.0.tgz", "integrity": "sha512-55qihn+9/zjsHUNvEgc4OUWQBxVlKW9C+whVhdy8H8olwAnfOH1ui9xXQ+SAyBCD9ck3vAY89VmBeQQQGZVVQw==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.369.0", "@smithy/property-provider": "^1.0.1", @@ -568,6 +597,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.369.0.tgz", "integrity": "sha512-a7Wb3s0y+blGF654GZv3nI3ZMRARAGH7iQrF2gWGtb2Qq0f3TQGHmpoHddWObYxiFWYzdXdTC3kbsAW1zRwEAA==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.369.0", "@aws-sdk/util-endpoints": "3.369.0", @@ -584,6 +614,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.369.0.tgz", "integrity": "sha512-xIz8KbF4RMlMq0aAJbVocLB03OiqJIU5RLy+2t+bKMQ60fV4bnVINH5GxAMiFXiBIQVqfehFJlxJACtEphqQwA==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/client-sso-oidc": "3.369.0", "@aws-sdk/types": "3.369.0", @@ -601,6 +632,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.369.0.tgz", "integrity": "sha512-0LgII+RatF2OEFaFQcNyX72py4ZgWz+/JAv++PXv0gkIaTRnsJbSveQArNynEK+aAc/rZKWJgBvwT4FvLM2vgA==", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "1.1.0", "tslib": "^2.5.0" @@ -614,6 +646,7 @@ "resolved": "https://registry.npmjs.org/@smithy/types/-/types-1.1.0.tgz", "integrity": "sha512-KzmvisMmuwD2jZXuC9e65JrgsZM97y5NpDU7g347oB+Q+xQLU6hQZ5zFNNbEfwwOJHoOvEVTna+dk1h/lW7alw==", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.5.0" }, @@ -626,6 +659,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.369.0.tgz", "integrity": "sha512-dkzhhMIvQRsgdomHi8fmgQ3df2cS1jeWAUIPjxV4lBikcvcF2U0CtvH9QYyMpluSNP1IYcEuONe8wfZGSrNjdg==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.369.0", "tslib": "^2.5.0" @@ -639,6 +673,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/util-locate-window/-/util-locate-window-3.310.0.tgz", "integrity": "sha512-qo2t/vBTnoXpjKxlsC2e1gBrRm80M3bId27r0BRB2VniSSe7bL1mmzM+/HFtujm0iAxtPM+aLEflLJlJeDPg0w==", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.5.0" }, @@ -651,6 +686,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.369.0.tgz", "integrity": "sha512-wrF0CqnfFac4sYr8jLZXz7B5NPxdW4GettH07Sl3ihO2aXsTvZ0RoyqzwF7Eve8ihbK0vCKt1S3/vZTOLw8sCg==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.369.0", "@smithy/types": "^1.1.0", @@ -663,6 +699,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.369.0.tgz", "integrity": "sha512-RkiGyWp+YUlK4njsvqD7S08aihEW8aMNrT5OXmLGdukEUGWMAyvIcq4XS8MxA02GRPUxTUNInLltXwc1AaDpCw==", "optional": true, + "peer": true, "dependencies": { "@aws-sdk/types": "3.369.0", "@smithy/node-config-provider": "^1.0.1", @@ -686,6 +723,7 @@ "resolved": "https://registry.npmjs.org/@aws-sdk/util-utf8-browser/-/util-utf8-browser-3.259.0.tgz", "integrity": "sha512-UvFa/vR+e19XookZF8RzFZBrw2EUkQWxiBW0yYQAhvk3C+QVGl0H3ouca8LDBlBfQKXwmW3huo/59H8rwb1wJw==", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.3.1" } @@ -2909,9 +2947,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.50.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.50.0.tgz", - "integrity": "sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ==", + "version": "8.51.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.51.0.tgz", + "integrity": "sha512-HxjQ8Qn+4SI3/AFv6sOrDB+g6PpUTDwSJiQqOrnneEk8L71161srI9gjzzZvYVbzHiVg/BvcH95+cK/zfIt4pg==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -3325,9 +3363,9 @@ } }, "node_modules/@lerna/child-process": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/@lerna/child-process/-/child-process-7.3.0.tgz", - "integrity": "sha512-rA+fGUo2j/LEq6w1w8s6oVikLbJTWoIDVpYMc7bUCtwDOUuZKMQiRtjmpavY3fTm7ltu42f4AKflc2A70K4wvA==", + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/@lerna/child-process/-/child-process-7.3.1.tgz", + "integrity": "sha512-9neRI51jOhyIGT3/xKUQZftzg78ZY5Ya8iBCmVQYWwo8rLiMqUqcgwIwFHFFYyY41Sb4/HXatQ0iiuTTB/vr8A==", "dev": true, "dependencies": { "chalk": "^4.1.0", @@ -3335,16 +3373,16 @@ "strong-log-transformer": "^2.1.0" }, "engines": { - "node": "^14.17.0 || >=16.0.0" + "node": ">=16.0.0" } }, "node_modules/@lerna/create": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/@lerna/create/-/create-7.3.0.tgz", - "integrity": "sha512-fjgiKjg9VXwQ4ZKKsrXICEKRiC3yo6+FprR0mc55uz0s5e9xupoSGLobUTTBdE7ncNB3ibqml8dfaAn/+ESajQ==", + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/@lerna/create/-/create-7.3.1.tgz", + "integrity": "sha512-+gHt9rzWYaC0pxE/xMC8hQaLXJKW24rWlWJ7Vq6gETsl6D5v3rSy2VIlvoDE9WsvROnMSoXw2PZY371X79hNBw==", "dev": true, "dependencies": { - "@lerna/child-process": "7.3.0", + "@lerna/child-process": "7.3.1", "@npmcli/run-script": "6.0.2", "@nx/devkit": ">=16.5.1 < 17", "@octokit/plugin-enterprise-rest": "6.0.1", @@ -3411,7 +3449,7 @@ "yargs-parser": "20.2.4" }, "engines": { - "node": "^14.17.0 || >=16.0.0" + "node": ">=16.0.0" } }, "node_modules/@lerna/create/node_modules/chalk": { @@ -3854,34 +3892,36 @@ } }, "node_modules/@nrwl/devkit": { - "version": "16.5.1", - "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-16.5.1.tgz", - "integrity": "sha512-NB+DE/+AFJ7lKH/WBFyatJEhcZGj25F24ncDkwjZ6MzEiSOGOJS0LaV/R+VUsmS5EHTPXYOpn3zHWWAcJhyOmA==", + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-16.10.0.tgz", + "integrity": "sha512-fRloARtsDQoQgQ7HKEy0RJiusg/HSygnmg4gX/0n/Z+SUS+4KoZzvHjXc6T5ZdEiSjvLypJ+HBM8dQzIcVACPQ==", "dev": true, "dependencies": { - "@nx/devkit": "16.5.1" + "@nx/devkit": "16.10.0" } }, "node_modules/@nrwl/tao": { - "version": "16.5.1", - "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-16.5.1.tgz", - "integrity": "sha512-x+gi/fKdM6uQNIti9exFlm3V5LBP3Y8vOEziO42HdOigyrXa0S0HD2WMpccmp6PclYKhwEDUjKJ39xh5sdh4Ig==", + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-16.10.0.tgz", + "integrity": "sha512-QNAanpINbr+Pod6e1xNgFbzK1x5wmZl+jMocgiEFXZ67KHvmbD6MAQQr0MMz+GPhIu7EE4QCTLTyCEMlAG+K5Q==", "dev": true, "dependencies": { - "nx": "16.5.1" + "nx": "16.10.0", + "tslib": "^2.3.0" }, "bin": { "tao": "index.js" } }, "node_modules/@nx/devkit": { - "version": "16.5.1", - "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-16.5.1.tgz", - "integrity": "sha512-T1acZrVVmJw/sJ4PIGidCBYBiBqlg/jT9e8nIGXLSDS20xcLvfo4zBQf8UZLrmHglnwwpDpOWuVJCp2rYA5aDg==", + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-16.10.0.tgz", + "integrity": "sha512-IvKQqRJFDDiaj33SPfGd3ckNHhHi6ceEoqCbAP4UuMXOPPVOX6H0KVk+9tknkPb48B7jWIw6/AgOeWkBxPRO5w==", "dev": true, "dependencies": { - "@nrwl/devkit": "16.5.1", + "@nrwl/devkit": "16.10.0", "ejs": "^3.1.7", + "enquirer": "~2.3.6", "ignore": "^5.0.4", "semver": "7.5.3", "tmp": "~0.2.1", @@ -3919,9 +3959,9 @@ } }, "node_modules/@nx/nx-darwin-arm64": { - "version": "16.5.1", - "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-16.5.1.tgz", - "integrity": "sha512-q98TFI4B/9N9PmKUr1jcbtD4yAFs1HfYd9jUXXTQOlfO9SbDjnrYJgZ4Fp9rMNfrBhgIQ4x1qx0AukZccKmH9Q==", + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-16.10.0.tgz", + "integrity": "sha512-YF+MIpeuwFkyvM5OwgY/rTNRpgVAI/YiR0yTYCZR+X3AAvP775IVlusNgQ3oedTBRUzyRnI4Tknj1WniENFsvQ==", "cpu": [ "arm64" ], @@ -3935,9 +3975,9 @@ } }, "node_modules/@nx/nx-darwin-x64": { - "version": "16.5.1", - "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-16.5.1.tgz", - "integrity": "sha512-j9HmL1l8k7EVJ3eOM5y8COF93gqrydpxCDoz23ZEtsY+JHY77VAiRQsmqBgEx9GGA2dXi9VEdS67B0+1vKariw==", + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-16.10.0.tgz", + "integrity": "sha512-ypi6YxwXgb0kg2ixKXE3pwf5myVNUgWf1CsV5OzVccCM8NzheMO51KDXTDmEpXdzUsfT0AkO1sk5GZeCjhVONg==", "cpu": [ "x64" ], @@ -3951,9 +3991,9 @@ } }, "node_modules/@nx/nx-freebsd-x64": { - "version": "16.5.1", - "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-16.5.1.tgz", - "integrity": "sha512-CXSPT01aVS869tvCCF2tZ7LnCa8l41wJ3mTVtWBkjmRde68E5Up093hklRMyXb3kfiDYlfIKWGwrV4r0eH6x1A==", + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-16.10.0.tgz", + "integrity": "sha512-UeEYFDmdbbDkTQamqvtU8ibgu5jQLgFF1ruNb/U4Ywvwutw2d4ruOMl2e0u9hiNja9NFFAnDbvzrDcMo7jYqYw==", "cpu": [ "x64" ], @@ -3967,9 +4007,9 @@ } }, "node_modules/@nx/nx-linux-arm-gnueabihf": { - "version": "16.5.1", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-16.5.1.tgz", - "integrity": "sha512-BhrumqJSZCWFfLFUKl4CAUwR0Y0G2H5EfFVGKivVecEQbb+INAek1aa6c89evg2/OvetQYsJ+51QknskwqvLsA==", + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-16.10.0.tgz", + "integrity": "sha512-WV3XUC2DB6/+bz1sx+d1Ai9q2Cdr+kTZRN50SOkfmZUQyEBaF6DRYpx/a4ahhxH3ktpNfyY8Maa9OEYxGCBkQA==", "cpu": [ "arm" ], @@ -3983,9 +4023,9 @@ } }, "node_modules/@nx/nx-linux-arm64-gnu": { - "version": "16.5.1", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-16.5.1.tgz", - "integrity": "sha512-x7MsSG0W+X43WVv7JhiSq2eKvH2suNKdlUHEG09Yt0vm3z0bhtym1UCMUg3IUAK7jy9hhLeDaFVFkC6zo+H/XQ==", + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-16.10.0.tgz", + "integrity": "sha512-aWIkOUw995V3ItfpAi5FuxQ+1e9EWLS1cjWM1jmeuo+5WtaKToJn5itgQOkvSlPz+HSLgM3VfXMvOFALNk125g==", "cpu": [ "arm64" ], @@ -3999,9 +4039,9 @@ } }, "node_modules/@nx/nx-linux-arm64-musl": { - "version": "16.5.1", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-16.5.1.tgz", - "integrity": "sha512-J+/v/mFjOm74I0PNtH5Ka+fDd+/dWbKhpcZ2R1/6b9agzZk+Ff/SrwJcSYFXXWKbPX+uQ4RcJoytT06Zs3s0ow==", + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-16.10.0.tgz", + "integrity": "sha512-uO6Gg+irqpVcCKMcEPIQcTFZ+tDI02AZkqkP7koQAjniLEappd8DnUBSQdcn53T086pHpdc264X/ZEpXFfrKWQ==", "cpu": [ "arm64" ], @@ -4015,9 +4055,9 @@ } }, "node_modules/@nx/nx-linux-x64-gnu": { - "version": "16.5.1", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-16.5.1.tgz", - "integrity": "sha512-igooWJ5YxQ94Zft7IqgL+Lw0qHaY15Btw4gfK756g/YTYLZEt4tTvR1y6RnK/wdpE3sa68bFTLVBNCGTyiTiDQ==", + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-16.10.0.tgz", + "integrity": "sha512-134PW/u/arNFAQKpqMJniC7irbChMPz+W+qtyKPAUXE0XFKPa7c1GtlI/wK2dvP9qJDZ6bKf0KtA0U/m2HMUOA==", "cpu": [ "x64" ], @@ -4031,9 +4071,9 @@ } }, "node_modules/@nx/nx-linux-x64-musl": { - "version": "16.5.1", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-16.5.1.tgz", - "integrity": "sha512-zF/exnPqFYbrLAduGhTmZ7zNEyADid2bzNQiIjJkh8Y6NpDwrQIwVIyvIxqynsjMrIs51kBH+8TUjKjj2Jgf5A==", + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-16.10.0.tgz", + "integrity": "sha512-q8sINYLdIJxK/iUx9vRk5jWAWb/2O0PAbOJFwv4qkxBv4rLoN7y+otgCZ5v0xfx/zztFgk/oNY4lg5xYjIso2Q==", "cpu": [ "x64" ], @@ -4047,9 +4087,9 @@ } }, "node_modules/@nx/nx-win32-arm64-msvc": { - "version": "16.5.1", - "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-16.5.1.tgz", - "integrity": "sha512-qtqiLS9Y9TYyAbbpq58kRoOroko4ZXg5oWVqIWFHoxc5bGPweQSJCROEqd1AOl2ZDC6BxfuVHfhDDop1kK05WA==", + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-16.10.0.tgz", + "integrity": "sha512-moJkL9kcqxUdJSRpG7dET3UeLIciwrfP08mzBQ12ewo8K8FzxU8ZUsTIVVdNrwt01CXOdXoweGfdQLjJ4qTURA==", "cpu": [ "arm64" ], @@ -4063,9 +4103,9 @@ } }, "node_modules/@nx/nx-win32-x64-msvc": { - "version": "16.5.1", - "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-16.5.1.tgz", - "integrity": "sha512-kUJBLakK7iyA9WfsGGQBVennA4jwf5XIgm0lu35oMOphtZIluvzItMt0EYBmylEROpmpEIhHq0P6J9FA+WH0Rg==", + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-16.10.0.tgz", + "integrity": "sha512-5iV2NKZnzxJwZZ4DM5JVbRG/nkhAbzEskKaLBB82PmYGKzaDHuMHP1lcPoD/rtYMlowZgNA/RQndfKvPBPwmXA==", "cpu": [ "x64" ], @@ -4134,9 +4174,9 @@ } }, "node_modules/@octokit/openapi-types": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-18.0.0.tgz", - "integrity": "sha512-V8GImKs3TeQRxRtXFpG2wl19V7444NIOTDF24AWuIbmNaNYOQMWRbjcGDXV5B+0n887fgDcuMNOmlul+k+oJtw==", + "version": "18.1.1", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-18.1.1.tgz", + "integrity": "sha512-VRaeH8nCDtF5aXWnjPuEMIYf1itK/s3JYyJcWFJT8X9pSNnBtriDf7wlEWsGuhPLl4QIH4xM8fqTXDwJ3Mu6sw==", "dev": true }, "node_modules/@octokit/plugin-enterprise-rest": { @@ -4419,6 +4459,7 @@ "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-1.0.2.tgz", "integrity": "sha512-tb2h0b+JvMee+eAxTmhnyqyNk51UXIK949HnE14lFeezKsVJTB30maan+CO2IMwnig2wVYQH84B5qk6ylmKCuA==", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^1.1.1", "tslib": "^2.5.0" @@ -4432,6 +4473,7 @@ "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-1.0.2.tgz", "integrity": "sha512-8Bk7CgnVKg1dn5TgnjwPz2ebhxeR7CjGs5yhVYH3S8x0q8yPZZVWwpRIglwXaf5AZBzJlNO1lh+lUhMf2e73zQ==", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^1.1.1", "@smithy/util-config-provider": "^1.0.2", @@ -4447,6 +4489,7 @@ "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-1.0.2.tgz", "integrity": "sha512-fLjCya+JOu2gPJpCiwSUyoLvT8JdNJmOaTOkKYBZoGf7CzqR6lluSyI+eboZnl/V0xqcfcqBG4tgqCISmWS3/w==", "optional": true, + "peer": true, "dependencies": { "@smithy/node-config-provider": "^1.0.2", "@smithy/property-provider": "^1.0.2", @@ -4463,6 +4506,7 @@ "resolved": "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-1.0.2.tgz", "integrity": "sha512-eW/XPiLauR1VAgHKxhVvgvHzLROUgTtqat2lgljztbH8uIYWugv7Nz+SgCavB+hWRazv2iYgqrSy74GvxXq/rg==", "optional": true, + "peer": true, "dependencies": { "@aws-crypto/crc32": "3.0.0", "@smithy/types": "^1.1.1", @@ -4475,6 +4519,7 @@ "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-1.0.2.tgz", "integrity": "sha512-kynyofLf62LvR8yYphPPdyHb8fWG3LepFinM/vWUTG2Q1pVpmPCM530ppagp3+q2p+7Ox0UvSqldbKqV/d1BpA==", "optional": true, + "peer": true, "dependencies": { "@smithy/protocol-http": "^1.1.1", "@smithy/querystring-builder": "^1.0.2", @@ -4488,6 +4533,7 @@ "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-1.0.2.tgz", "integrity": "sha512-K6PKhcUNrJXtcesyzhIvNlU7drfIU7u+EMQuGmPw6RQDAg/ufUcfKHz4EcUhFAodUmN+rrejhRG9U6wxjeBOQA==", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^1.1.1", "@smithy/util-buffer-from": "^1.0.2", @@ -4503,6 +4549,7 @@ "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-1.0.2.tgz", "integrity": "sha512-B1Y3Tsa6dfC+Vvb+BJMhTHOfFieeYzY9jWQSTR1vMwKkxsymD0OIAnEw8rD/RiDj/4E4RPGFdx9Mdgnyd6Bv5Q==", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^1.1.1", "tslib": "^2.5.0" @@ -4513,6 +4560,7 @@ "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-1.0.2.tgz", "integrity": "sha512-pkyBnsBRpe+c/6ASavqIMRBdRtZNJEVJOEzhpxZ9JoAXiZYbkfaSMRA/O1dUxGdJ653GHONunnZ4xMo/LJ7utQ==", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.5.0" }, @@ -4525,6 +4573,7 @@ "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-1.0.2.tgz", "integrity": "sha512-pa1/SgGIrSmnEr2c9Apw7CdU4l/HW0fK3+LKFCPDYJrzM0JdYpqjQzgxi31P00eAkL0EFBccpus/p1n2GF9urw==", "optional": true, + "peer": true, "dependencies": { "@smithy/protocol-http": "^1.1.1", "@smithy/types": "^1.1.1", @@ -4539,6 +4588,7 @@ "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-1.0.3.tgz", "integrity": "sha512-GsWvTXMFjSgl617PCE2km//kIjjtvMRrR2GAuRDIS9sHiLwmkS46VWaVYy+XE7ubEsEtzZ5yK2e8TKDR6Qr5Lw==", "optional": true, + "peer": true, "dependencies": { "@smithy/middleware-serde": "^1.0.2", "@smithy/types": "^1.1.1", @@ -4555,6 +4605,7 @@ "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-1.0.4.tgz", "integrity": "sha512-G7uRXGFL8c3F7APnoIMTtNAHH8vT4F2qVnAWGAZaervjupaUQuRRHYBLYubK0dWzOZz86BtAXKieJ5p+Ni2Xpg==", "optional": true, + "peer": true, "dependencies": { "@smithy/protocol-http": "^1.1.1", "@smithy/service-error-classification": "^1.0.3", @@ -4573,6 +4624,7 @@ "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", "optional": true, + "peer": true, "bin": { "uuid": "dist/bin/uuid" } @@ -4582,6 +4634,7 @@ "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-1.0.2.tgz", "integrity": "sha512-T4PcdMZF4xme6koUNfjmSZ1MLi7eoFeYCtodQNQpBNsS77TuJt1A6kt5kP/qxrTvfZHyFlj0AubACoaUqgzPeg==", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^1.1.1", "tslib": "^2.5.0" @@ -4595,6 +4648,7 @@ "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-1.0.2.tgz", "integrity": "sha512-H7/uAQEcmO+eDqweEFMJ5YrIpsBwmrXSP6HIIbtxKJSQpAcMGY7KrR2FZgZBi1FMnSUOh+rQrbOyj5HQmSeUBA==", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.5.0" }, @@ -4607,6 +4661,7 @@ "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-1.0.2.tgz", "integrity": "sha512-HU7afWpTToU0wL6KseGDR2zojeyjECQfr8LpjAIeHCYIW7r360ABFf4EaplaJRMVoC3hD9FeltgI3/NtShOqCg==", "optional": true, + "peer": true, "dependencies": { "@smithy/property-provider": "^1.0.2", "@smithy/shared-ini-file-loader": "^1.0.2", @@ -4622,6 +4677,7 @@ "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-1.0.3.tgz", "integrity": "sha512-PcPUSzTbIb60VCJCiH0PU0E6bwIekttsIEf5Aoo/M0oTfiqsxHTn0Rcij6QoH6qJy6piGKXzLSegspXg5+Kq6g==", "optional": true, + "peer": true, "dependencies": { "@smithy/abort-controller": "^1.0.2", "@smithy/protocol-http": "^1.1.1", @@ -4638,6 +4694,7 @@ "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-1.0.2.tgz", "integrity": "sha512-pXDPyzKX8opzt38B205kDgaxda6LHcTfPvTYQZnwP6BAPp1o9puiCPjeUtkKck7Z6IbpXCPUmUQnzkUzWTA42Q==", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^1.1.1", "tslib": "^2.5.0" @@ -4651,6 +4708,7 @@ "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-1.1.1.tgz", "integrity": "sha512-mFLFa2sSvlUxm55U7B4YCIsJJIMkA6lHxwwqOaBkral1qxFz97rGffP/mmd4JDuin1EnygiO5eNJGgudiUgmDQ==", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^1.1.1", "tslib": "^2.5.0" @@ -4664,6 +4722,7 @@ "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-1.0.2.tgz", "integrity": "sha512-6P/xANWrtJhMzTPUR87AbXwSBuz1SDHIfL44TFd/GT3hj6rA+IEv7rftEpPjayUiWRocaNnrCPLvmP31mobOyA==", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^1.1.1", "@smithy/util-uri-escape": "^1.0.2", @@ -4678,6 +4737,7 @@ "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-1.0.2.tgz", "integrity": "sha512-IWxwxjn+KHWRRRB+K2Ngl+plTwo2WSgc2w+DvLy0DQZJh9UGOpw40d6q97/63GBlXIt4TEt5NbcFrO30CKlrsA==", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^1.1.1", "tslib": "^2.5.0" @@ -4691,6 +4751,7 @@ "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-1.0.3.tgz", "integrity": "sha512-2eglIYqrtcUnuI71yweu7rSfCgt6kVvRVf0C72VUqrd0LrV1M0BM0eYN+nitp2CHPSdmMI96pi+dU9U/UqAMSA==", "optional": true, + "peer": true, "engines": { "node": ">=14.0.0" } @@ -4700,6 +4761,7 @@ "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-1.0.2.tgz", "integrity": "sha512-bdQj95VN+lCXki+P3EsDyrkpeLn8xDYiOISBGnUG/AGPYJXN8dmp4EhRRR7XOoLoSs8anZHR4UcGEOzFv2jwGw==", "optional": true, + "peer": true, "dependencies": { "@smithy/types": "^1.1.1", "tslib": "^2.5.0" @@ -4713,6 +4775,7 @@ "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-1.0.2.tgz", "integrity": "sha512-rpKUhmCuPmpV5dloUkOb9w1oBnJatvKQEjIHGmkjRGZnC3437MTdzWej9TxkagcZ8NRRJavYnEUixzxM1amFig==", "optional": true, + "peer": true, "dependencies": { "@smithy/eventstream-codec": "^1.0.2", "@smithy/is-array-buffer": "^1.0.2", @@ -4732,6 +4795,7 @@ "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-1.0.4.tgz", "integrity": "sha512-gpo0Xl5Nyp9sgymEfpt7oa9P2q/GlM3VmQIdm+FeH0QEdYOQx3OtvwVmBYAMv2FIPWxkMZlsPYRTnEiBTK5TYg==", "optional": true, + "peer": true, "dependencies": { "@smithy/middleware-stack": "^1.0.2", "@smithy/types": "^1.1.1", @@ -4747,6 +4811,7 @@ "resolved": "https://registry.npmjs.org/@smithy/types/-/types-1.1.1.tgz", "integrity": "sha512-tMpkreknl2gRrniHeBtdgQwaOlo39df8RxSrwsHVNIGXULy5XP6KqgScUw2m12D15wnJCKWxVhCX+wbrBW/y7g==", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.5.0" }, @@ -4759,6 +4824,7 @@ "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-1.0.2.tgz", "integrity": "sha512-0JRsDMQe53F6EHRWksdcavKDRjyqp8vrjakg8EcCUOa7PaFRRB1SO/xGZdzSlW1RSTWQDEksFMTCEcVEKmAoqA==", "optional": true, + "peer": true, "dependencies": { "@smithy/querystring-parser": "^1.0.2", "@smithy/types": "^1.1.1", @@ -4770,6 +4836,7 @@ "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-1.0.2.tgz", "integrity": "sha512-BCm15WILJ3SL93nusoxvJGMVfAMWHZhdeDZPtpAaskozuexd0eF6szdz4kbXaKp38bFCSenA6bkUHqaE3KK0dA==", "optional": true, + "peer": true, "dependencies": { "@smithy/util-buffer-from": "^1.0.2", "tslib": "^2.5.0" @@ -4783,6 +4850,7 @@ "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-1.0.2.tgz", "integrity": "sha512-Xh8L06H2anF5BHjSYTg8hx+Itcbf4SQZnVMl4PIkCOsKtneMJoGjPRLy17lEzfoh/GOaa0QxgCP6lRMQWzNl4w==", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.5.0" } @@ -4792,6 +4860,7 @@ "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-1.0.2.tgz", "integrity": "sha512-nXHbZsUtvZeyfL4Ceds9nmy2Uh2AhWXohG4vWHyjSdmT8cXZlJdmJgnH6SJKDjyUecbu+BpKeVvSrA4cWPSOPA==", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.5.0" }, @@ -4804,6 +4873,7 @@ "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-1.0.2.tgz", "integrity": "sha512-lHAYIyrBO9RANrPvccnPjU03MJnWZ66wWuC5GjWWQVfsmPwU6m00aakZkzHdUT6tGCkGacXSgArP5wgTgA+oCw==", "optional": true, + "peer": true, "dependencies": { "@smithy/is-array-buffer": "^1.0.2", "tslib": "^2.5.0" @@ -4817,6 +4887,7 @@ "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-1.0.2.tgz", "integrity": "sha512-HOdmDm+3HUbuYPBABLLHtn8ittuRyy+BSjKOA169H+EMc+IozipvXDydf+gKBRAxUa4dtKQkLraypwppzi+PRw==", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.5.0" }, @@ -4829,6 +4900,7 @@ "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-1.0.2.tgz", "integrity": "sha512-J1u2PO235zxY7dg0+ZqaG96tFg4ehJZ7isGK1pCBEA072qxNPwIpDzUVGnLJkHZvjWEGA8rxIauDtXfB0qxeAg==", "optional": true, + "peer": true, "dependencies": { "@smithy/property-provider": "^1.0.2", "@smithy/types": "^1.1.1", @@ -4844,6 +4916,7 @@ "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-1.0.2.tgz", "integrity": "sha512-9/BN63rlIsFStvI+AvljMh873Xw6bbI6b19b+PVYXyycQ2DDQImWcjnzRlHW7eP65CCUNGQ6otDLNdBQCgMXqg==", "optional": true, + "peer": true, "dependencies": { "@smithy/config-resolver": "^1.0.2", "@smithy/credential-provider-imds": "^1.0.2", @@ -4861,6 +4934,7 @@ "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-1.0.2.tgz", "integrity": "sha512-Bxydb5rMJorMV6AuDDMOxro3BMDdIwtbQKHpwvQFASkmr52BnpDsWlxgpJi8Iq7nk1Bt4E40oE1Isy/7ubHGzg==", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.5.0" }, @@ -4873,6 +4947,7 @@ "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-1.0.2.tgz", "integrity": "sha512-vtXK7GOR2BoseCX8NCGe9SaiZrm9M2lm/RVexFGyPuafTtry9Vyv7hq/vw8ifd/G/pSJ+msByfJVb1642oQHKw==", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.5.0" }, @@ -4885,6 +4960,7 @@ "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-1.0.4.tgz", "integrity": "sha512-RnZPVFvRoqdj2EbroDo3OsnnQU8eQ4AlnZTOGusbYKybH3269CFdrZfZJloe60AQjX7di3J6t/79PjwCLO5Khw==", "optional": true, + "peer": true, "dependencies": { "@smithy/service-error-classification": "^1.0.3", "tslib": "^2.5.0" @@ -4898,6 +4974,7 @@ "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-1.0.2.tgz", "integrity": "sha512-qyN2M9QFMTz4UCHi6GnBfLOGYKxQZD01Ga6nzaXFFC51HP/QmArU72e4kY50Z/EtW8binPxspP2TAsGbwy9l3A==", "optional": true, + "peer": true, "dependencies": { "@smithy/fetch-http-handler": "^1.0.2", "@smithy/node-http-handler": "^1.0.3", @@ -4917,6 +4994,7 @@ "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-1.0.2.tgz", "integrity": "sha512-k8C0BFNS9HpBMHSgUDnWb1JlCQcFG+PPlVBq9keP4Nfwv6a9Q0yAfASWqUCtzjuMj1hXeLhn/5ADP6JxnID1Pg==", "optional": true, + "peer": true, "dependencies": { "tslib": "^2.5.0" }, @@ -4929,6 +5007,7 @@ "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-1.0.2.tgz", "integrity": "sha512-V4cyjKfJlARui0dMBfWJMQAmJzoW77i4N3EjkH/bwnE2Ngbl4tqD2Y0C/xzpzY/J1BdxeCKxAebVFk8aFCaSCw==", "optional": true, + "peer": true, "dependencies": { "@smithy/util-buffer-from": "^1.0.2", "tslib": "^2.5.0" @@ -5165,9 +5244,9 @@ "dev": true }, "node_modules/@types/express": { - "version": "4.17.18", - "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.18.tgz", - "integrity": "sha512-Sxv8BSLLgsBYmcnGdGjjEjqET2U+AKAdCRODmMiq02FgjwuV75Ut85DRpvFjyw/Mk0vgUOliGRU0UUmuuZHByQ==", + "version": "4.17.19", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.19.tgz", + "integrity": "sha512-UtOfBtzN9OvpZPPbnnYunfjM7XCI4jyk1NvnFhTVz5krYAnW4o5DCoIekvms+8ApqhB4+9wSge1kBijdfTSmfg==", "dependencies": { "@types/body-parser": "*", "@types/express-serve-static-core": "^4.17.33", @@ -5326,9 +5405,9 @@ "dev": true }, "node_modules/@types/minimist": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.3.tgz", + "integrity": "sha512-ZYFzrvyWUNhaPomn80dsMNgMeXxNWZBdkuG/hWlUvXvbdUH8ZERNBGXnU87McuGcWDsyzX2aChCv/SVN348k3A==", "dev": true }, "node_modules/@types/mocha": { @@ -5348,9 +5427,12 @@ } }, "node_modules/@types/node": { - "version": "20.8.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.2.tgz", - "integrity": "sha512-Vvycsc9FQdwhxE3y3DzeIxuEJbWGDsnrxvMADzTDF/lcdR9/K+AQIeAghTQsHtotg/q0j3WEOYS/jQgSdWue3w==" + "version": "20.8.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.4.tgz", + "integrity": "sha512-ZVPnqU58giiCjSxjVUESDtdPk4QR5WQhhINbc9UBrKLU68MX5BF6kbQzTrkwbolyr0X8ChBpXfavr5mZFKZQ5A==", + "dependencies": { + "undici-types": "~5.25.1" + } }, "node_modules/@types/node-fetch": { "version": "2.6.6", @@ -5363,9 +5445,9 @@ } }, "node_modules/@types/normalize-package-data": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", - "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.2.tgz", + "integrity": "sha512-lqa4UEhhv/2sjjIQgjX8B+RBjj47eo0mzGasklVJ78UKGQY1r0VpB9XHDaZZO9qzEFDdy4MrXLuEaSmPrPSe/A==", "dev": true }, "node_modules/@types/prettier": { @@ -5433,9 +5515,9 @@ "dev": true }, "node_modules/@types/uuid": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.4.tgz", - "integrity": "sha512-zAuJWQflfx6dYJM62vna+Sn5aeSWhh3OB+wfUEACNcqUSc0AGc5JKl+ycL1vrH7frGTXhJchYjE1Hak8L819dA==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.5.tgz", + "integrity": "sha512-xfHdwa1FMJ082prjSJpoEI57GZITiQz10r3vEJCHa2khEFQjKy91aWKz6+zybzssCvXUwE1LQWgWVwZ4nYUvHQ==", "dev": true }, "node_modules/@types/webidl-conversions": { @@ -5466,16 +5548,16 @@ "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.7.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.7.4.tgz", - "integrity": "sha512-DAbgDXwtX+pDkAHwiGhqP3zWUGpW49B7eqmgpPtg+BKJXwdct79ut9+ifqOFPJGClGKSHXn2PTBatCnldJRUoA==", + "version": "6.7.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.7.5.tgz", + "integrity": "sha512-JhtAwTRhOUcP96D0Y6KYnwig/MRQbOoLGXTON2+LlyB/N35SP9j1boai2zzwXb7ypKELXMx3DVk9UTaEq1vHEw==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.7.4", - "@typescript-eslint/type-utils": "6.7.4", - "@typescript-eslint/utils": "6.7.4", - "@typescript-eslint/visitor-keys": "6.7.4", + "@typescript-eslint/scope-manager": "6.7.5", + "@typescript-eslint/type-utils": "6.7.5", + "@typescript-eslint/utils": "6.7.5", + "@typescript-eslint/visitor-keys": "6.7.5", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -5501,15 +5583,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.7.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.7.4.tgz", - "integrity": "sha512-I5zVZFY+cw4IMZUeNCU7Sh2PO5O57F7Lr0uyhgCJmhN/BuTlnc55KxPonR4+EM3GBdfiCyGZye6DgMjtubQkmA==", + "version": "6.7.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.7.5.tgz", + "integrity": "sha512-bIZVSGx2UME/lmhLcjdVc7ePBwn7CLqKarUBL4me1C5feOd663liTGjMBGVcGr+BhnSLeP4SgwdvNnnkbIdkCw==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.7.4", - "@typescript-eslint/types": "6.7.4", - "@typescript-eslint/typescript-estree": "6.7.4", - "@typescript-eslint/visitor-keys": "6.7.4", + "@typescript-eslint/scope-manager": "6.7.5", + "@typescript-eslint/types": "6.7.5", + "@typescript-eslint/typescript-estree": "6.7.5", + "@typescript-eslint/visitor-keys": "6.7.5", "debug": "^4.3.4" }, "engines": { @@ -5529,13 +5611,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.7.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.7.4.tgz", - "integrity": "sha512-SdGqSLUPTXAXi7c3Ob7peAGVnmMoGzZ361VswK2Mqf8UOYcODiYvs8rs5ILqEdfvX1lE7wEZbLyELCW+Yrql1A==", + "version": "6.7.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.7.5.tgz", + "integrity": "sha512-GAlk3eQIwWOJeb9F7MKQ6Jbah/vx1zETSDw8likab/eFcqkjSD7BI75SDAeC5N2L0MmConMoPvTsmkrg71+B1A==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.7.4", - "@typescript-eslint/visitor-keys": "6.7.4" + "@typescript-eslint/types": "6.7.5", + "@typescript-eslint/visitor-keys": "6.7.5" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -5546,13 +5628,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.7.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.7.4.tgz", - "integrity": "sha512-n+g3zi1QzpcAdHFP9KQF+rEFxMb2KxtnJGID3teA/nxKHOVi3ylKovaqEzGBbVY2pBttU6z85gp0D00ufLzViQ==", + "version": "6.7.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.7.5.tgz", + "integrity": "sha512-Gs0qos5wqxnQrvpYv+pf3XfcRXW6jiAn9zE/K+DlmYf6FcpxeNYN0AIETaPR7rHO4K2UY+D0CIbDP9Ut0U4m1g==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.7.4", - "@typescript-eslint/utils": "6.7.4", + "@typescript-eslint/typescript-estree": "6.7.5", + "@typescript-eslint/utils": "6.7.5", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -5573,9 +5655,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.7.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.7.4.tgz", - "integrity": "sha512-o9XWK2FLW6eSS/0r/tgjAGsYasLAnOWg7hvZ/dGYSSNjCh+49k5ocPN8OmG5aZcSJ8pclSOyVKP2x03Sj+RrCA==", + "version": "6.7.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.7.5.tgz", + "integrity": "sha512-WboQBlOXtdj1tDFPyIthpKrUb+kZf2VroLZhxKa/VlwLlLyqv/PwUNgL30BlTVZV1Wu4Asu2mMYPqarSO4L5ZQ==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -5586,13 +5668,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.7.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.7.4.tgz", - "integrity": "sha512-ty8b5qHKatlNYd9vmpHooQz3Vki3gG+3PchmtsA4TgrZBKWHNjWfkQid7K7xQogBqqc7/BhGazxMD5vr6Ha+iQ==", + "version": "6.7.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.7.5.tgz", + "integrity": "sha512-NhJiJ4KdtwBIxrKl0BqG1Ur+uw7FiOnOThcYx9DpOGJ/Abc9z2xNzLeirCG02Ig3vkvrc2qFLmYSSsaITbKjlg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.7.4", - "@typescript-eslint/visitor-keys": "6.7.4", + "@typescript-eslint/types": "6.7.5", + "@typescript-eslint/visitor-keys": "6.7.5", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -5613,17 +5695,17 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.7.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.7.4.tgz", - "integrity": "sha512-PRQAs+HUn85Qdk+khAxsVV+oULy3VkbH3hQ8hxLRJXWBEd7iI+GbQxH5SEUSH7kbEoTp6oT1bOwyga24ELALTA==", + "version": "6.7.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.7.5.tgz", + "integrity": "sha512-pfRRrH20thJbzPPlPc4j0UNGvH1PjPlhlCMq4Yx7EGjV7lvEeGX0U6MJYe8+SyFutWgSHsdbJ3BXzZccYggezA==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.7.4", - "@typescript-eslint/types": "6.7.4", - "@typescript-eslint/typescript-estree": "6.7.4", + "@typescript-eslint/scope-manager": "6.7.5", + "@typescript-eslint/types": "6.7.5", + "@typescript-eslint/typescript-estree": "6.7.5", "semver": "^7.5.4" }, "engines": { @@ -5638,12 +5720,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.7.4", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.7.4.tgz", - "integrity": "sha512-pOW37DUhlTZbvph50x5zZCkFn3xzwkGtNoJHzIM3svpiSkJzwOYr/kVBaXmf+RAQiUDs1AHEZVNPg6UJCJpwRA==", + "version": "6.7.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.7.5.tgz", + "integrity": "sha512-3MaWdDZtLlsexZzDSdQWsFQ9l9nL8B80Z4fImSpyllFC/KLqWQRdEcB+gGGO+N3Q2uL40EsG66wZLsohPxNXvg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.7.4", + "@typescript-eslint/types": "6.7.5", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -6409,12 +6491,12 @@ "dev": true }, "node_modules/async-mutex": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/async-mutex/-/async-mutex-0.3.2.tgz", - "integrity": "sha512-HuTK7E7MT7jZEh1P9GtRW9+aTWiDWWi9InbZ5hjxrnRa39KS4BW04+xLBhYNS2aXhHUIKZSw3gj4Pn1pj+qGAA==", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/async-mutex/-/async-mutex-0.4.0.tgz", + "integrity": "sha512-eJFZ1YhRR8UN8eBLoNzcDPcy/jqjsg6I1AP+KvWQX80BqOSW1oJPJXDylPUEeMr2ZQvHgnQ//Lp6f3RQ1zI7HA==", "dev": true, "dependencies": { - "tslib": "^2.3.1" + "tslib": "^2.4.0" } }, "node_modules/asynckit": { @@ -6444,6 +6526,12 @@ "proxy-from-env": "^1.1.0" } }, + "node_modules/b4a": { + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.4.tgz", + "integrity": "sha512-fpWrvyVHEKyeEvbKZTVOeZF3VSKKWtJxFIxX/jaVPf+cLbGUSitjb49pHLqPV2BUNNZ0LcoeEGfE/YCpyDYHIw==", + "dev": true + }, "node_modules/babel-code-frame": { "version": "6.26.0", "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", @@ -7896,7 +7984,8 @@ "version": "2.11.0", "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz", "integrity": "sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==", - "optional": true + "optional": true, + "peer": true }, "node_modules/boxen": { "version": "7.1.1", @@ -9297,14 +9386,14 @@ } }, "node_modules/cosmiconfig": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.2.0.tgz", - "integrity": "sha512-3rTMnFJA1tCOPwRxtgF4wd7Ab2qvDbL8jX+3smjIbS4HlZBagTlpERbdN7iAbWlrfxE3M8c27kTwTawQ7st+OQ==", + "version": "8.3.6", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz", + "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==", "dev": true, "dependencies": { - "import-fresh": "^3.2.1", + "import-fresh": "^3.3.0", "js-yaml": "^4.1.0", - "parse-json": "^5.0.0", + "parse-json": "^5.2.0", "path-type": "^4.0.0" }, "engines": { @@ -9312,6 +9401,14 @@ }, "funding": { "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, "node_modules/crc": { @@ -9929,12 +10026,24 @@ } }, "node_modules/dotenv": { + "version": "16.3.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.1.tgz", + "integrity": "sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/motdotla/dotenv?sponsor=1" + } + }, + "node_modules/dotenv-expand": { "version": "10.0.0", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz", - "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==", + "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-10.0.0.tgz", + "integrity": "sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A==", "dev": true, "engines": { - "node": ">=10" + "node": ">=12" } }, "node_modules/duplexer": { @@ -10441,15 +10550,15 @@ } }, "node_modules/eslint": { - "version": "8.50.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.50.0.tgz", - "integrity": "sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg==", + "version": "8.51.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.51.0.tgz", + "integrity": "sha512-2WuxRZBrlwnXi+/vFSJyjMqrNjtJqiasMzehF0shoLaW7DzS3/9Yvrmq5JiT66+pNjiX4UBnLDiKHcWAr/OInA==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.2", - "@eslint/js": "8.50.0", + "@eslint/js": "8.51.0", "@humanwhocodes/config-array": "^0.11.11", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -10507,9 +10616,9 @@ } }, "node_modules/eslint-plugin-prettier": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.0.0.tgz", - "integrity": "sha512-AgaZCVuYDXHUGxj/ZGu1u8H8CYgDY3iG6w5kUFw4AzMVXzB7VvbKgYR4nATIN+OvUrghMbiDLeimVjVY5ilq3w==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.0.1.tgz", + "integrity": "sha512-m3u5RnR56asrwV/lDC4GHorlW75DsFfmUcjfCYylTUs85dBRnB7VM6xG8eCMJdeDRnppzmxZVf1GEPJvl1JmNg==", "dev": true, "dependencies": { "prettier-linter-helpers": "^1.0.0", @@ -11048,6 +11157,12 @@ "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", "dev": true }, + "node_modules/fast-fifo": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", + "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==", + "dev": true + }, "node_modules/fast-glob": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.0.tgz", @@ -11115,6 +11230,7 @@ } ], "optional": true, + "peer": true, "dependencies": { "strnum": "^1.0.5" }, @@ -11422,9 +11538,9 @@ "dev": true }, "node_modules/follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", + "version": "1.15.3", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz", + "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==", "funding": [ { "type": "individual", @@ -12072,33 +12188,24 @@ "dev": true }, "node_modules/grant": { - "version": "5.4.21", - "resolved": "https://registry.npmjs.org/grant/-/grant-5.4.21.tgz", - "integrity": "sha512-QaoZudI9Gmh2W415gd71Iul6gpVH9sG1SkjfnGHtqYZopQDQ5PUVxRol5zFCrwGi9S0EbExbelHlZScgdChg2w==", + "version": "5.4.22", + "resolved": "https://registry.npmjs.org/grant/-/grant-5.4.22.tgz", + "integrity": "sha512-DEi+/JjXT84mmFYhSmv+SX14v+3Z7vuCIYAMwtdPCTXHMSLhWqSYqWAMXDUQZuV7yaJv2d84AYnkCFNooLKBsA==", "dependencies": { - "qs": "^6.10.2", - "request-compose": "^2.1.4", + "qs": "^6.11.2", + "request-compose": "^2.1.6", "request-oauth": "^1.0.1" }, "engines": { "node": ">=12.0.0" }, "optionalDependencies": { - "cookie": "^0.4.1", - "cookie-signature": "^1.1.0", + "cookie": "^0.5.0", + "cookie-signature": "^1.2.1", "jwk-to-pem": "^2.0.5", "jws": "^4.0.0" } }, - "node_modules/grant/node_modules/cookie": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz", - "integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==", - "optional": true, - "engines": { - "node": ">= 0.6" - } - }, "node_modules/grant/node_modules/cookie-signature": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.1.tgz", @@ -12121,13 +12228,13 @@ "dev": true }, "node_modules/handlebars": { - "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", + "version": "4.7.8", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", + "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==", "dev": true, "dependencies": { "minimist": "^1.2.5", - "neo-async": "^2.6.0", + "neo-async": "^2.6.2", "source-map": "^0.6.1", "wordwrap": "^1.0.0" }, @@ -13867,9 +13974,9 @@ } }, "node_modules/knex": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/knex/-/knex-2.5.1.tgz", - "integrity": "sha512-z78DgGKUr4SE/6cm7ku+jHvFT0X97aERh/f0MUKAKgFnwCYBEW4TFBqtHWFYiJFid7fMrtpZ/gxJthvz5mEByA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/knex/-/knex-3.0.1.tgz", + "integrity": "sha512-ruASxC6xPyDklRdrcDy6a9iqK+R9cGK214aiQa+D9gX2ZnHZKv6o6JC9ZfgxILxVAul4bZ13c3tgOAHSuQ7/9g==", "dev": true, "dependencies": { "colorette": "2.0.19", @@ -13891,7 +13998,7 @@ "knex": "bin/cli.js" }, "engines": { - "node": ">=12" + "node": ">=16" }, "peerDependenciesMeta": { "better-sqlite3": { @@ -14640,13 +14747,13 @@ } }, "node_modules/lerna": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/lerna/-/lerna-7.3.0.tgz", - "integrity": "sha512-Dt8TH+J+c9+3MhTYcm5OxnNzXb87WG7GPNj3kidjYJjJY7KxIMDNU37qBTYRWA1h3wAeNKBplXVQYUPkGcYgkQ==", + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/lerna/-/lerna-7.3.1.tgz", + "integrity": "sha512-4Lt6nKIqCDqWgRlKu02g6+0Gfl5Hx9ZK3EIJTjMntea6QBuOgfSpJEj3j20osmE1tzFCkbAltJRyeLE1CImv+A==", "dev": true, "dependencies": { - "@lerna/child-process": "7.3.0", - "@lerna/create": "7.3.0", + "@lerna/child-process": "7.3.1", + "@lerna/create": "7.3.1", "@npmcli/run-script": "6.0.2", "@nx/devkit": ">=16.5.1 < 17", "@octokit/plugin-enterprise-rest": "6.0.1", @@ -14725,7 +14832,7 @@ "lerna": "dist/cli.js" }, "engines": { - "node": "^14.17.0 || >=16.0.0" + "node": ">=16.0.0" } }, "node_modules/lerna/node_modules/chalk": { @@ -14972,6 +15079,15 @@ "node": ">=12" } }, + "node_modules/libnpmpublish/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true, + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, "node_modules/libnpmpublish/node_modules/normalize-package-data": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-5.0.0.tgz", @@ -15003,12 +15119,12 @@ } }, "node_modules/libnpmpublish/node_modules/ssri": { - "version": "10.0.4", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.4.tgz", - "integrity": "sha512-12+IR2CB2C28MMAw0Ncqwj5QbTcs0nGIhgJzYWzDkb21vWmfNI83KS4f3Ci6GI98WreIfG7o9UXp3C0qbpA8nQ==", + "version": "10.0.5", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.5.tgz", + "integrity": "sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A==", "dev": true, "dependencies": { - "minipass": "^5.0.0" + "minipass": "^7.0.3" }, "engines": { "node": "^14.17.0 || ^16.13.0 || >=18.0.0" @@ -15465,18 +15581,6 @@ "integrity": "sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==", "dev": true }, - "node_modules/md5-file": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/md5-file/-/md5-file-5.0.0.tgz", - "integrity": "sha512-xbEFXCYVWrSx/gEKS1VPlg84h/4L20znVIulKw6kMfmBUAZNAnF00eczz9ICMl+/hjQGo5KSXRxbL/47X3rmMw==", - "dev": true, - "bin": { - "md5-file": "cli.js" - }, - "engines": { - "node": ">=10.13.0" - } - }, "node_modules/media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -16417,55 +16521,61 @@ } }, "node_modules/mongodb-memory-server": { - "version": "8.15.1", - "resolved": "https://registry.npmjs.org/mongodb-memory-server/-/mongodb-memory-server-8.15.1.tgz", - "integrity": "sha512-nqIbM5oh1s46VV4InhqQdNFu5szx+xi6qT//87beQ10JCZHLG1nZ/SUMsXkKLNn9wvs19OAf5HwI60enK9ZOuA==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/mongodb-memory-server/-/mongodb-memory-server-9.0.0.tgz", + "integrity": "sha512-bbRJoKfUZuP2OqMgwbnBOAH/MzQt9rBVa+H6T6a+hqAxCV/9IajVIGZwHlyB4WmZiivXsUepMZD/FtSEmhE26A==", "dev": true, "hasInstallScript": true, "dependencies": { - "mongodb-memory-server-core": "8.15.1", - "tslib": "^2.6.1" + "mongodb-memory-server-core": "9.0.0", + "tslib": "^2.6.2" }, "engines": { - "node": ">=12.22.0" + "node": ">=14.20.1" } }, "node_modules/mongodb-memory-server-core": { - "version": "8.15.1", - "resolved": "https://registry.npmjs.org/mongodb-memory-server-core/-/mongodb-memory-server-core-8.15.1.tgz", - "integrity": "sha512-U6ntro5DvUD71C2juKCzzc2Hul0qLYUpQLiXcXDcvtNDbGMoJgwKScdvptQkzQwUdICeZUfvZo8By7Mc09Umog==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/mongodb-memory-server-core/-/mongodb-memory-server-core-9.0.0.tgz", + "integrity": "sha512-rEB328vrwpafplU8rxUizJ4JdazTEkVuoqBeXef3si2HjFXdTl19VfenxSEuEpLDiTkEDlwr05ZqGCT3cRBrHw==", "dev": true, "dependencies": { - "async-mutex": "^0.3.2", + "async-mutex": "^0.4.0", "camelcase": "^6.3.0", "debug": "^4.3.4", "find-cache-dir": "^3.3.2", - "follow-redirects": "^1.15.2", - "get-port": "^5.1.1", - "https-proxy-agent": "^5.0.1", - "md5-file": "^5.0.0", - "mongodb": "^4.16.0", + "follow-redirects": "^1.15.3", + "https-proxy-agent": "^7.0.2", + "mongodb": "^5.9.0", "new-find-package-json": "^2.0.0", "semver": "^7.5.4", - "tar-stream": "^2.1.4", - "tslib": "^2.6.1", - "uuid": "^9.0.0", + "tar-stream": "^3.0.0", + "tslib": "^2.6.2", "yauzl": "^2.10.0" }, "engines": { - "node": ">=12.22.0" + "node": ">=14.20.1" } }, - "node_modules/mongodb-memory-server-core/node_modules/bson": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/bson/-/bson-4.7.2.tgz", - "integrity": "sha512-Ry9wCtIZ5kGqkJoi6aD8KjxFZEx78guTQDnpXWiNthsxzrxAK/i8E6pCHAIZTbaEFWcOCvbecMukfK7XUvyLpQ==", + "node_modules/mongodb-memory-server-core/node_modules/agent-base": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.0.tgz", + "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==", "dev": true, "dependencies": { - "buffer": "^5.6.0" + "debug": "^4.3.4" }, "engines": { - "node": ">=6.9.0" + "node": ">= 14" + } + }, + "node_modules/mongodb-memory-server-core/node_modules/bson": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/bson/-/bson-5.5.0.tgz", + "integrity": "sha512-B+QB4YmDx9RStKv8LLSl/aVIEV3nYJc3cJNNTK2Cd1TL+7P+cNpw9mAPeCgc5K+j01Dv6sxUzcITXDx7ZU3F0w==", + "dev": true, + "engines": { + "node": ">=14.20.1" } }, "node_modules/mongodb-memory-server-core/node_modules/camelcase": { @@ -16497,22 +16607,69 @@ "url": "https://github.com/avajs/find-cache-dir?sponsor=1" } }, + "node_modules/mongodb-memory-server-core/node_modules/https-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz", + "integrity": "sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==", + "dev": true, + "dependencies": { + "agent-base": "^7.0.2", + "debug": "4" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/mongodb-memory-server-core/node_modules/mongodb": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.17.1.tgz", - "integrity": "sha512-MBuyYiPUPRTqfH2dV0ya4dcr2E5N52ocBuZ8Sgg/M030nGF78v855B3Z27mZJnp8PxjnUquEnAtjOsphgMZOlQ==", + "version": "5.9.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-5.9.0.tgz", + "integrity": "sha512-g+GCMHN1CoRUA+wb1Agv0TI4YTSiWr42B5ulkiAfLLHitGK1R+PkSAf3Lr5rPZwi/3F04LiaZEW0Kxro9Fi2TA==", "dev": true, "dependencies": { - "bson": "^4.7.2", + "bson": "^5.5.0", "mongodb-connection-string-url": "^2.6.0", "socks": "^2.7.1" }, "engines": { - "node": ">=12.9.0" + "node": ">=14.20.1" }, "optionalDependencies": { - "@aws-sdk/credential-providers": "^3.186.0", "@mongodb-js/saslprep": "^1.1.0" + }, + "peerDependencies": { + "@aws-sdk/credential-providers": "^3.188.0", + "@mongodb-js/zstd": "^1.0.0", + "kerberos": "^1.0.0 || ^2.0.0", + "mongodb-client-encryption": ">=2.3.0 <3", + "snappy": "^7.2.2" + }, + "peerDependenciesMeta": { + "@aws-sdk/credential-providers": { + "optional": true + }, + "@mongodb-js/zstd": { + "optional": true + }, + "kerberos": { + "optional": true + }, + "mongodb-client-encryption": { + "optional": true + }, + "snappy": { + "optional": true + } + } + }, + "node_modules/mongodb-memory-server-core/node_modules/tar-stream": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.6.tgz", + "integrity": "sha512-B/UyjYwPpMBv+PaFSWAmtYjwdrlEaZQEhMIBFNC5oEG8lpiW8XjcSdmEaClj28ArfKScKHs2nshz3k2le6crsg==", + "dev": true, + "dependencies": { + "b4a": "^1.6.4", + "fast-fifo": "^1.2.0", + "streamx": "^2.15.0" } }, "node_modules/ms": { @@ -16742,9 +16899,9 @@ } }, "node_modules/node-gyp-build": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz", - "integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==", + "version": "4.6.1", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.1.tgz", + "integrity": "sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ==", "dev": true, "bin": { "node-gyp-build": "bin.js", @@ -16752,6 +16909,12 @@ "node-gyp-build-test": "build-test.js" } }, + "node_modules/node-machine-id": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/node-machine-id/-/node-machine-id-1.1.12.tgz", + "integrity": "sha512-QNABxbrPa3qEIfrE6GOJ7BYIuignnJw7iQ2YPbc3Nla1HzRJjXzZOiikfF8m7eAMfichLt3M4VgLOetqgDmgGQ==", + "dev": true + }, "node_modules/node-releases": { "version": "2.0.13", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.13.tgz", @@ -16819,9 +16982,9 @@ } }, "node_modules/npm-check-updates": { - "version": "16.14.4", - "resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.14.4.tgz", - "integrity": "sha512-PKg1wv3vno75/9qgRLqV2huBO7eukOlW+PmIGl7LPXjElfYTUTWUtaMOdOckImaSj4Uqe46W/zMbMFZQp5dHRQ==", + "version": "16.14.5", + "resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-16.14.5.tgz", + "integrity": "sha512-f7v3YzPUgadtkB2LAVhiWMjrSejJ0N8OM9JjjVfxBz2neHqmPSWQUAUA+U/p3xeXHl9bghRD6knRqBhm9dkRGg==", "dev": true, "dependencies": { "chalk": "^5.3.0", @@ -17306,13 +17469,13 @@ } }, "node_modules/nx": { - "version": "16.5.1", - "resolved": "https://registry.npmjs.org/nx/-/nx-16.5.1.tgz", - "integrity": "sha512-I3hJRE4hG7JWAtncWwDEO3GVeGPpN0TtM8xH5ArZXyDuVeTth/i3TtJzdDzqXO1HHtIoAQN0xeq4n9cLuMil5g==", + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/nx/-/nx-16.10.0.tgz", + "integrity": "sha512-gZl4iCC0Hx0Qe1VWmO4Bkeul2nttuXdPpfnlcDKSACGu3ZIo+uySqwOF8yBAxSTIf8xe2JRhgzJN1aFkuezEBg==", "dev": true, "hasInstallScript": true, "dependencies": { - "@nrwl/tao": "16.5.1", + "@nrwl/tao": "16.10.0", "@parcel/watcher": "2.0.4", "@yarnpkg/lockfile": "^1.1.0", "@yarnpkg/parsers": "3.0.0-rc.46", @@ -17321,19 +17484,21 @@ "chalk": "^4.1.0", "cli-cursor": "3.1.0", "cli-spinners": "2.6.1", - "cliui": "^7.0.2", - "dotenv": "~10.0.0", + "cliui": "^8.0.1", + "dotenv": "~16.3.1", + "dotenv-expand": "~10.0.0", "enquirer": "~2.3.6", - "fast-glob": "3.2.7", "figures": "3.2.0", "flat": "^5.0.2", "fs-extra": "^11.1.0", "glob": "7.1.4", "ignore": "^5.0.4", + "jest-diff": "^29.4.1", "js-yaml": "4.1.0", "jsonc-parser": "3.2.0", "lines-and-columns": "~2.0.3", "minimatch": "3.0.5", + "node-machine-id": "1.1.12", "npm-run-path": "^4.0.1", "open": "^8.4.0", "semver": "7.5.3", @@ -17351,20 +17516,20 @@ "nx": "bin/nx.js" }, "optionalDependencies": { - "@nx/nx-darwin-arm64": "16.5.1", - "@nx/nx-darwin-x64": "16.5.1", - "@nx/nx-freebsd-x64": "16.5.1", - "@nx/nx-linux-arm-gnueabihf": "16.5.1", - "@nx/nx-linux-arm64-gnu": "16.5.1", - "@nx/nx-linux-arm64-musl": "16.5.1", - "@nx/nx-linux-x64-gnu": "16.5.1", - "@nx/nx-linux-x64-musl": "16.5.1", - "@nx/nx-win32-arm64-msvc": "16.5.1", - "@nx/nx-win32-x64-msvc": "16.5.1" + "@nx/nx-darwin-arm64": "16.10.0", + "@nx/nx-darwin-x64": "16.10.0", + "@nx/nx-freebsd-x64": "16.10.0", + "@nx/nx-linux-arm-gnueabihf": "16.10.0", + "@nx/nx-linux-arm64-gnu": "16.10.0", + "@nx/nx-linux-arm64-musl": "16.10.0", + "@nx/nx-linux-x64-gnu": "16.10.0", + "@nx/nx-linux-x64-musl": "16.10.0", + "@nx/nx-win32-arm64-msvc": "16.10.0", + "@nx/nx-win32-x64-msvc": "16.10.0" }, "peerDependencies": { - "@swc-node/register": "^1.4.2", - "@swc/core": "^1.2.173" + "@swc-node/register": "^1.6.7", + "@swc/core": "^1.3.85" }, "peerDependenciesMeta": { "@swc-node/register": { @@ -17375,20 +17540,18 @@ } } }, - "node_modules/nx/node_modules/fast-glob": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", - "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", + "node_modules/nx/node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", "dev": true, "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" }, "engines": { - "node": ">=8" + "node": ">=12" } }, "node_modules/nx/node_modules/glob": { @@ -17408,18 +17571,6 @@ "node": "*" } }, - "node_modules/nx/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/nx/node_modules/minimatch": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", @@ -17486,20 +17637,6 @@ "node": ">=12" } }, - "node_modules/nx/node_modules/yargs/node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dev": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/oauth-sign": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", @@ -18791,6 +18928,12 @@ } ] }, + "node_modules/queue-tick": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/queue-tick/-/queue-tick-1.0.1.tgz", + "integrity": "sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==", + "dev": true + }, "node_modules/quick-lru": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", @@ -20898,6 +21041,16 @@ "safe-buffer": "~5.1.0" } }, + "node_modules/streamx": { + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.15.1.tgz", + "integrity": "sha512-fQMzy2O/Q47rgwErk/eGeLu/roaFWV0jVsogDmrszM9uIw8L5OA+t+V93MgYlufNptfjmYR1tOMWhei/Eh7TQA==", + "dev": true, + "dependencies": { + "fast-fifo": "^1.1.0", + "queue-tick": "^1.0.1" + } + }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", @@ -21068,7 +21221,8 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz", "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==", - "optional": true + "optional": true, + "peer": true }, "node_modules/strong-log-transformer": { "version": "2.1.0", @@ -21639,15 +21793,16 @@ } }, "node_modules/ts-loader": { - "version": "9.4.4", - "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.4.4.tgz", - "integrity": "sha512-MLukxDHBl8OJ5Dk3y69IsKVFRA/6MwzEqBgh+OXMPB/OD01KQuWPFd1WAQP8a5PeSCAxfnkhiuWqfmFJzJQt9w==", + "version": "9.5.0", + "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-9.5.0.tgz", + "integrity": "sha512-LLlB/pkB4q9mW2yLdFMnK3dEHbrBjeZTYguaaIfusyojBgAGf5kF+O6KcWqiGzWqHk0LBsoolrp4VftEURhybg==", "dev": true, "dependencies": { "chalk": "^4.1.0", "enhanced-resolve": "^5.0.0", "micromatch": "^4.0.0", - "semver": "^7.3.4" + "semver": "^7.3.4", + "source-map": "^0.7.4" }, "engines": { "node": ">=12.0.0" @@ -21657,6 +21812,15 @@ "webpack": "^5.0.0" } }, + "node_modules/ts-loader/node_modules/source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, "node_modules/ts-node": { "version": "10.9.1", "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", @@ -21731,9 +21895,9 @@ } }, "node_modules/tslib": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.1.tgz", - "integrity": "sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "node_modules/tsscmp": { "version": "1.0.6", @@ -21944,6 +22108,11 @@ "node": ">=0.10.0" } }, + "node_modules/undici-types": { + "version": "5.25.3", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz", + "integrity": "sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==" + }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", @@ -22711,9 +22880,9 @@ } }, "node_modules/write-file-atomic/node_modules/signal-exit": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.0.2.tgz", - "integrity": "sha512-MY2/qGx4enyjprQnFaZsHib3Yadh3IXyV2C321GY0pjGfVBu4un0uDJkwgdxqO+Rdx8JMT8IfJIRwbYVz3Ob3Q==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "dev": true, "engines": { "node": ">=14" @@ -22981,17 +23150,17 @@ }, "packages/adapter-commons": { "name": "@feathersjs/adapter-commons", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10" + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11" }, "devDependencies": { "@types/mocha": "^10.0.2", "@types/mongodb": "^4.0.6", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "mongodb": "^6.1.0", "shx": "^0.3.4", @@ -23008,11 +23177,11 @@ }, "packages/adapter-tests": { "name": "@feathersjs/adapter-tests", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "devDependencies": { "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", @@ -23028,15 +23197,15 @@ }, "packages/authentication": { "name": "@feathersjs/authentication", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", "@feathersjs/hooks": "^0.8.1", - "@feathersjs/schema": "^5.0.10", - "@feathersjs/transport-commons": "^5.0.10", + "@feathersjs/schema": "^5.0.11", + "@feathersjs/transport-commons": "^5.0.11", "@types/jsonwebtoken": "^9.0.3", "jsonwebtoken": "^9.0.2", "lodash": "^4.17.21", @@ -23044,11 +23213,11 @@ "uuid": "^9.0.1" }, "devDependencies": { - "@feathersjs/memory": "^5.0.10", + "@feathersjs/memory": "^5.0.11", "@types/lodash": "^4.14.199", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", - "@types/uuid": "^9.0.4", + "@types/node": "^20.8.4", + "@types/uuid": "^9.0.5", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", @@ -23064,23 +23233,23 @@ }, "packages/authentication-client": { "name": "@feathersjs/authentication-client", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/authentication": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10" + "@feathersjs/authentication": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11" }, "devDependencies": { - "@feathersjs/authentication-local": "^5.0.10", - "@feathersjs/express": "^5.0.10", - "@feathersjs/memory": "^5.0.10", - "@feathersjs/rest-client": "^5.0.10", - "@feathersjs/socketio": "^5.0.10", - "@feathersjs/socketio-client": "^5.0.10", + "@feathersjs/authentication-local": "^5.0.11", + "@feathersjs/express": "^5.0.11", + "@feathersjs/memory": "^5.0.11", + "@feathersjs/rest-client": "^5.0.11", + "@feathersjs/socketio": "^5.0.11", + "@feathersjs/socketio-client": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "axios": "^1.5.1", "mocha": "^10.2.0", "shx": "^0.3.4", @@ -23097,23 +23266,23 @@ }, "packages/authentication-local": { "name": "@feathersjs/authentication-local", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/authentication": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", + "@feathersjs/authentication": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", "bcryptjs": "^2.4.3", "lodash": "^4.17.21" }, "devDependencies": { - "@feathersjs/memory": "^5.0.10", - "@feathersjs/schema": "^5.0.10", + "@feathersjs/memory": "^5.0.11", + "@feathersjs/schema": "^5.0.11", "@types/bcryptjs": "^2.4.4", "@types/lodash": "^4.14.199", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", @@ -23129,30 +23298,30 @@ }, "packages/authentication-oauth": { "name": "@feathersjs/authentication-oauth", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/authentication": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/express": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/koa": "^5.0.10", - "@feathersjs/schema": "^5.0.10", + "@feathersjs/authentication": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/express": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/koa": "^5.0.11", + "@feathersjs/schema": "^5.0.11", "cookie-session": "^2.0.0", - "grant": "^5.4.21", + "grant": "^5.4.22", "koa-session": "^6.4.0", "lodash": "^4.17.21", "qs": "^6.11.2" }, "devDependencies": { - "@feathersjs/memory": "^5.0.10", + "@feathersjs/memory": "^5.0.11", "@types/cookie-session": "^2.0.45", - "@types/express": "^4.17.18", + "@types/express": "^4.17.19", "@types/koa-session": "^6.4.2", "@types/lodash": "^4.14.199", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "@types/tough-cookie": "^4.0.3", "axios": "^1.5.1", "mocha": "^10.2.0", @@ -23171,10 +23340,10 @@ }, "packages/cli": { "name": "@feathersjs/cli", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/generators": "^5.0.10", + "@feathersjs/generators": "^5.0.11", "chalk": "^4.0.1", "commander": "^11.0.0" }, @@ -23182,31 +23351,31 @@ "feathers": "bin/feathers" }, "devDependencies": { - "@feathersjs/adapter-commons": "^5.0.10", - "@feathersjs/authentication": "^5.0.10", - "@feathersjs/authentication-client": "^5.0.10", - "@feathersjs/authentication-local": "^5.0.10", - "@feathersjs/authentication-oauth": "^5.0.10", - "@feathersjs/configuration": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/express": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/knex": "^5.0.10", - "@feathersjs/koa": "^5.0.10", - "@feathersjs/mongodb": "^5.0.10", - "@feathersjs/rest-client": "^5.0.10", - "@feathersjs/schema": "^5.0.10", - "@feathersjs/socketio": "^5.0.10", - "@feathersjs/transport-commons": "^5.0.10", - "@feathersjs/typebox": "^5.0.10", + "@feathersjs/adapter-commons": "^5.0.11", + "@feathersjs/authentication": "^5.0.11", + "@feathersjs/authentication-client": "^5.0.11", + "@feathersjs/authentication-local": "^5.0.11", + "@feathersjs/authentication-oauth": "^5.0.11", + "@feathersjs/configuration": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/express": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/knex": "^5.0.11", + "@feathersjs/koa": "^5.0.11", + "@feathersjs/mongodb": "^5.0.11", + "@feathersjs/rest-client": "^5.0.11", + "@feathersjs/schema": "^5.0.11", + "@feathersjs/socketio": "^5.0.11", + "@feathersjs/transport-commons": "^5.0.11", + "@feathersjs/typebox": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "@types/prettier": "^2.7.3", "axios": "^1.5.1", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", - "type-fest": "^4.3.3", + "type-fest": "^4.4.0", "typescript": "^5.2.2" }, "engines": { @@ -23218,9 +23387,9 @@ } }, "packages/cli/node_modules/type-fest": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.3.3.tgz", - "integrity": "sha512-bxhiFii6BBv6UiSDq7uKTMyADT9unXEl3ydGefndVLxFeB44LRbT4K7OJGDYSyDrKnklCC1Pre68qT2wbUl2Aw==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.4.0.tgz", + "integrity": "sha512-HT3RRs7sTfY22KuPQJkD/XjbTbxgP2Je5HPt6H6JEGvcjHd5Lqru75EbrP3tb4FYjNJ+DjLp+MNQTFQU0mhXNw==", "dev": true, "engines": { "node": ">=16" @@ -23231,22 +23400,22 @@ }, "packages/client": { "name": "@feathersjs/client", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/authentication-client": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/rest-client": "^5.0.10", - "@feathersjs/socketio-client": "^5.0.10" + "@feathersjs/authentication-client": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/rest-client": "^5.0.11", + "@feathersjs/socketio-client": "^5.0.11" }, "devDependencies": { "@babel/core": "^7.23.0", "@babel/preset-env": "^7.22.20", - "@feathersjs/express": "^5.0.10", - "@feathersjs/memory": "^5.0.10", - "@feathersjs/socketio": "^5.0.10", - "@feathersjs/tests": "^5.0.10", + "@feathersjs/express": "^5.0.11", + "@feathersjs/memory": "^5.0.11", + "@feathersjs/socketio": "^5.0.11", + "@feathersjs/tests": "^5.0.11", "babel-loader": "^9.1.3", "mocha": "^10.2.0", "mocha-puppeteer": "^0.14.0", @@ -23254,7 +23423,7 @@ "shx": "^0.3.4", "socket.io-client": "^4.7.2", "superagent": "^8.1.2", - "ts-loader": "^9.4.4", + "ts-loader": "^9.5.0", "typescript": "^5.2.2", "webpack": "^5.88.2", "webpack-cli": "^5.1.4", @@ -23270,11 +23439,11 @@ }, "packages/commons": { "name": "@feathersjs/commons", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "devDependencies": { "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", @@ -23290,18 +23459,18 @@ }, "packages/configuration": { "name": "@feathersjs/configuration", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/commons": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/schema": "^5.0.10", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/schema": "^5.0.11", "@types/config": "^3.3.1", "config": "^3.3.9" }, "devDependencies": { "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", @@ -23316,10 +23485,10 @@ } }, "packages/create-feathers": { - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/cli": "^5.0.10" + "@feathersjs/cli": "^5.0.11" }, "bin": { "create-feathers": "bin/create-feathers" @@ -23334,12 +23503,12 @@ }, "packages/errors": { "name": "@feathersjs/errors", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "devDependencies": { - "@feathersjs/feathers": "^5.0.10", + "@feathersjs/feathers": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", @@ -23351,27 +23520,27 @@ }, "packages/express": { "name": "@feathersjs/express", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/authentication": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/transport-commons": "^5.0.10", + "@feathersjs/authentication": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/transport-commons": "^5.0.11", "@types/compression": "^1.7.3", - "@types/express": "^4.17.18", + "@types/express": "^4.17.19", "@types/express-serve-static-core": "^4.17.37", "compression": "^1.7.4", "cors": "^2.8.5", "express": "^4.18.2" }, "devDependencies": { - "@feathersjs/authentication-local": "^5.0.10", - "@feathersjs/tests": "^5.0.10", + "@feathersjs/authentication-local": "^5.0.11", + "@feathersjs/tests": "^5.0.11", "@types/lodash": "^4.14.199", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "axios": "^1.5.1", "lodash": "^4.17.21", "mocha": "^10.2.0", @@ -23389,16 +23558,16 @@ }, "packages/feathers": { "name": "@feathersjs/feathers", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/commons": "^5.0.10", + "@feathersjs/commons": "^5.0.11", "@feathersjs/hooks": "^0.8.1", "events": "^3.3.0" }, "devDependencies": { "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", @@ -23414,7 +23583,7 @@ }, "packages/generators": { "name": "@feathersjs/generators", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { "@feathershq/pinion": "^0.3.5", @@ -23424,27 +23593,28 @@ "typescript": "^5.2.2" }, "devDependencies": { - "@feathersjs/adapter-commons": "^5.0.10", - "@feathersjs/authentication": "^5.0.10", - "@feathersjs/authentication-client": "^5.0.10", - "@feathersjs/authentication-local": "^5.0.10", - "@feathersjs/authentication-oauth": "^5.0.10", - "@feathersjs/configuration": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/express": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/knex": "^5.0.10", - "@feathersjs/koa": "^5.0.10", - "@feathersjs/mongodb": "^5.0.10", - "@feathersjs/rest-client": "^5.0.10", - "@feathersjs/schema": "^5.0.10", - "@feathersjs/socketio": "^5.0.10", - "@feathersjs/transport-commons": "^5.0.10", - "@feathersjs/typebox": "^5.0.10", + "@feathersjs/adapter-commons": "^5.0.11", + "@feathersjs/authentication": "^5.0.11", + "@feathersjs/authentication-client": "^5.0.11", + "@feathersjs/authentication-local": "^5.0.11", + "@feathersjs/authentication-oauth": "^5.0.11", + "@feathersjs/configuration": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/express": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/knex": "^5.0.11", + "@feathersjs/koa": "^5.0.11", + "@feathersjs/mongodb": "^5.0.11", + "@feathersjs/rest-client": "^5.0.11", + "@feathersjs/schema": "^5.0.11", + "@feathersjs/socketio": "^5.0.11", + "@feathersjs/transport-commons": "^5.0.11", + "@feathersjs/typebox": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "@types/prettier": "^2.7.3", "axios": "^1.5.1", + "knex": "^3.0.1", "mocha": "^10.2.0", "mongodb": "^6.1.0", "mssql": "^10.0.1", @@ -23453,7 +23623,7 @@ "shx": "^0.3.4", "sqlite3": "^5.1.6", "ts-node": "^10.9.1", - "type-fest": "^4.3.3", + "type-fest": "^4.4.0", "typescript": "^5.2.2" }, "engines": { @@ -23465,9 +23635,9 @@ } }, "packages/generators/node_modules/type-fest": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.3.3.tgz", - "integrity": "sha512-bxhiFii6BBv6UiSDq7uKTMyADT9unXEl3ydGefndVLxFeB44LRbT4K7OJGDYSyDrKnklCC1Pre68qT2wbUl2Aw==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.4.0.tgz", + "integrity": "sha512-HT3RRs7sTfY22KuPQJkD/XjbTbxgP2Je5HPt6H6JEGvcjHd5Lqru75EbrP3tb4FYjNJ+DjLp+MNQTFQU0mhXNw==", "dev": true, "engines": { "node": ">=16" @@ -23478,20 +23648,20 @@ }, "packages/knex": { "name": "@feathersjs/knex", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/adapter-commons": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10" + "@feathersjs/adapter-commons": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11" }, "devDependencies": { - "@feathersjs/adapter-tests": "^5.0.10", - "@feathersjs/schema": "^5.0.10", + "@feathersjs/adapter-tests": "^5.0.11", + "@feathersjs/schema": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", - "knex": "^2.5.1", + "@types/node": "^20.8.4", + "knex": "^3.0.1", "mocha": "^10.2.0", "pg": "^8.11.3", "shx": "^0.3.4", @@ -23506,19 +23676,19 @@ "url": "https://github.com/sponsors/daffl" }, "peerDependencies": { - "knex": "^2.5.1" + "knex": ">= 2.1.0" } }, "packages/koa": { "name": "@feathersjs/koa", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/authentication": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/transport-commons": "^5.0.10", + "@feathersjs/authentication": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/transport-commons": "^5.0.11", "@koa/cors": "^4.0.0", "@types/koa": "^2.13.9", "@types/koa__cors": "^4.0.1", @@ -23531,12 +23701,12 @@ "koa-static": "^5.0.0" }, "devDependencies": { - "@feathersjs/authentication-local": "^5.0.10", - "@feathersjs/memory": "^5.0.10", - "@feathersjs/tests": "^5.0.10", + "@feathersjs/authentication-local": "^5.0.11", + "@feathersjs/memory": "^5.0.11", + "@feathersjs/tests": "^5.0.11", "@types/koa-compose": "^3.2.6", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "axios": "^1.5.1", "mocha": "^10.2.0", "shx": "^0.3.4", @@ -23549,19 +23719,19 @@ }, "packages/memory": { "name": "@feathersjs/memory", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/adapter-commons": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", + "@feathersjs/adapter-commons": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", "sift": "^17.0.1" }, "devDependencies": { - "@feathersjs/adapter-tests": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", + "@feathersjs/adapter-tests": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", @@ -23573,21 +23743,21 @@ }, "packages/mongodb": { "name": "@feathersjs/mongodb", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/adapter-commons": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10" + "@feathersjs/adapter-commons": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11" }, "devDependencies": { - "@feathersjs/adapter-tests": "^5.0.10", - "@feathersjs/schema": "^5.0.10", + "@feathersjs/adapter-tests": "^5.0.11", + "@feathersjs/schema": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", - "mongodb-memory-server": "^8.15.1", + "mongodb-memory-server": "^9.0.0", "shx": "^0.3.4", "typescript": "^5.2.2" }, @@ -23604,21 +23774,21 @@ }, "packages/rest-client": { "name": "@feathersjs/rest-client", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", "@types/superagent": "^4.1.19", "qs": "^6.11.2" }, "devDependencies": { - "@feathersjs/express": "^5.0.10", - "@feathersjs/memory": "^5.0.10", - "@feathersjs/tests": "^5.0.10", + "@feathersjs/express": "^5.0.11", + "@feathersjs/memory": "^5.0.11", + "@feathersjs/tests": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "@types/node-fetch": "^2.6.6", "@types/qs": "^6.9.8", "axios": "^1.5.1", @@ -23640,13 +23810,13 @@ }, "packages/schema": { "name": "@feathersjs/schema", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/adapter-commons": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", + "@feathersjs/adapter-commons": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", "@feathersjs/hooks": "^0.8.1", "@types/json-schema": "^7.0.13", "ajv": "^8.12.0", @@ -23654,9 +23824,9 @@ "json-schema-to-ts": "^2.9.2" }, "devDependencies": { - "@feathersjs/memory": "^5.0.10", + "@feathersjs/memory": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "ajv-formats": "^2.1.1", "mocha": "^10.2.0", "shx": "^0.3.4", @@ -23670,7 +23840,7 @@ "url": "https://github.com/sponsors/daffl" }, "peerDependencies": { - "typescript": ">=4.7" + "typescript": ">=5.2" } }, "packages/schema/node_modules/ajv": { @@ -23695,20 +23865,20 @@ }, "packages/socketio": { "name": "@feathersjs/socketio", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/commons": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/transport-commons": "^5.0.10", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/transport-commons": "^5.0.11", "socket.io": "^4.7.2" }, "devDependencies": { - "@feathersjs/express": "^5.0.10", - "@feathersjs/memory": "^5.0.10", - "@feathersjs/tests": "^5.0.10", + "@feathersjs/express": "^5.0.11", + "@feathersjs/memory": "^5.0.11", + "@feathersjs/tests": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "lodash": "^4.17.21", "mocha": "^10.2.0", "shx": "^0.3.4", @@ -23725,19 +23895,19 @@ }, "packages/socketio-client": { "name": "@feathersjs/socketio-client", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/transport-commons": "^5.0.10" + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/transport-commons": "^5.0.11" }, "devDependencies": { - "@feathersjs/commons": "^5.0.10", - "@feathersjs/memory": "^5.0.10", - "@feathersjs/socketio": "^5.0.10", - "@feathersjs/tests": "^5.0.10", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/memory": "^5.0.11", + "@feathersjs/socketio": "^5.0.11", + "@feathersjs/tests": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "socket.io-client": "^4.7.2", @@ -23754,7 +23924,7 @@ }, "packages/tests": { "name": "@feathersjs/tests", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { "@types/lodash": "^4.14.199", @@ -23762,9 +23932,9 @@ "lodash": "^4.17.21" }, "devDependencies": { - "@feathersjs/feathers": "^5.0.10", + "@feathersjs/feathers": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", @@ -23780,12 +23950,12 @@ }, "packages/transport-commons": { "name": "@feathersjs/transport-commons", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", "encodeurl": "^1.0.2", "lodash": "^4.17.21" }, @@ -23793,7 +23963,7 @@ "@types/encodeurl": "^1.0.0", "@types/lodash": "^4.14.199", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", @@ -23809,15 +23979,15 @@ }, "packages/typebox": { "name": "@feathersjs/typebox", - "version": "5.0.10", + "version": "5.0.11", "license": "MIT", "dependencies": { - "@feathersjs/schema": "^5.0.10", + "@feathersjs/schema": "^5.0.11", "@sinclair/typebox": "^0.25.0" }, "devDependencies": { "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "typescript": "^5.2.2" diff --git a/package.json b/package.json index eb8bb29609..4c0560a3f2 100644 --- a/package.json +++ b/package.json @@ -42,14 +42,14 @@ "test": "npm run lint && npm run compile && c8 lerna run test --ignore @feathersjs/tests" }, "devDependencies": { - "@typescript-eslint/eslint-plugin": "^6.7.4", - "@typescript-eslint/parser": "^6.7.4", + "@typescript-eslint/eslint-plugin": "^6.7.5", + "@typescript-eslint/parser": "^6.7.5", "c8": "^8.0.1", - "eslint": "^8.50.0", + "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", - "eslint-plugin-prettier": "^5.0.0", - "lerna": "^7.3.0", - "npm-check-updates": "^16.14.4", + "eslint-plugin-prettier": "^5.0.1", + "lerna": "^7.3.1", + "npm-check-updates": "^16.14.5", "prettier": "^3.0.3", "typescript": "^5.2.2" } diff --git a/packages/adapter-commons/CHANGELOG.md b/packages/adapter-commons/CHANGELOG.md index a8c5c23fd1..e560d12b40 100644 --- a/packages/adapter-commons/CHANGELOG.md +++ b/packages/adapter-commons/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/adapter-commons diff --git a/packages/adapter-commons/package.json b/packages/adapter-commons/package.json index d532949040..3b79846487 100644 --- a/packages/adapter-commons/package.json +++ b/packages/adapter-commons/package.json @@ -1,6 +1,6 @@ { "name": "@feathersjs/adapter-commons", - "version": "5.0.10", + "version": "5.0.11", "description": "Shared database adapter utility functions", "homepage": "https://feathersjs.com", "keywords": [ @@ -50,14 +50,14 @@ "access": "public" }, "dependencies": { - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10" + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11" }, "devDependencies": { "@types/mocha": "^10.0.2", "@types/mongodb": "^4.0.6", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "mongodb": "^6.1.0", "shx": "^0.3.4", diff --git a/packages/adapter-tests/CHANGELOG.md b/packages/adapter-tests/CHANGELOG.md index 8e43030e5e..d88ebec677 100644 --- a/packages/adapter-tests/CHANGELOG.md +++ b/packages/adapter-tests/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/adapter-tests diff --git a/packages/adapter-tests/package.json b/packages/adapter-tests/package.json index 58082cc719..05e9f55b9d 100644 --- a/packages/adapter-tests/package.json +++ b/packages/adapter-tests/package.json @@ -1,6 +1,6 @@ { "name": "@feathersjs/adapter-tests", - "version": "5.0.10", + "version": "5.0.11", "description": "Feathers shared database adapter test suite", "homepage": "https://feathersjs.com", "keywords": [ @@ -51,7 +51,7 @@ }, "devDependencies": { "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", diff --git a/packages/authentication-client/CHANGELOG.md b/packages/authentication-client/CHANGELOG.md index 478780541d..75d4f17d61 100644 --- a/packages/authentication-client/CHANGELOG.md +++ b/packages/authentication-client/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/authentication-client diff --git a/packages/authentication-client/package.json b/packages/authentication-client/package.json index e1a21f43e3..00094f17c0 100644 --- a/packages/authentication-client/package.json +++ b/packages/authentication-client/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/authentication-client", "description": "The authentication plugin for feathers-client", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -53,20 +53,20 @@ "access": "public" }, "dependencies": { - "@feathersjs/authentication": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10" + "@feathersjs/authentication": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11" }, "devDependencies": { - "@feathersjs/authentication-local": "^5.0.10", - "@feathersjs/express": "^5.0.10", - "@feathersjs/memory": "^5.0.10", - "@feathersjs/rest-client": "^5.0.10", - "@feathersjs/socketio": "^5.0.10", - "@feathersjs/socketio-client": "^5.0.10", + "@feathersjs/authentication-local": "^5.0.11", + "@feathersjs/express": "^5.0.11", + "@feathersjs/memory": "^5.0.11", + "@feathersjs/rest-client": "^5.0.11", + "@feathersjs/socketio": "^5.0.11", + "@feathersjs/socketio-client": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "axios": "^1.5.1", "mocha": "^10.2.0", "shx": "^0.3.4", diff --git a/packages/authentication-local/CHANGELOG.md b/packages/authentication-local/CHANGELOG.md index b41f7fa8a7..509472d90c 100644 --- a/packages/authentication-local/CHANGELOG.md +++ b/packages/authentication-local/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/authentication-local diff --git a/packages/authentication-local/package.json b/packages/authentication-local/package.json index 6dfec330a0..af11442942 100644 --- a/packages/authentication-local/package.json +++ b/packages/authentication-local/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/authentication-local", "description": "Local authentication strategy for @feathers/authentication", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -53,20 +53,20 @@ "access": "public" }, "dependencies": { - "@feathersjs/authentication": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", + "@feathersjs/authentication": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", "bcryptjs": "^2.4.3", "lodash": "^4.17.21" }, "devDependencies": { - "@feathersjs/memory": "^5.0.10", - "@feathersjs/schema": "^5.0.10", + "@feathersjs/memory": "^5.0.11", + "@feathersjs/schema": "^5.0.11", "@types/bcryptjs": "^2.4.4", "@types/lodash": "^4.14.199", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", diff --git a/packages/authentication-oauth/CHANGELOG.md b/packages/authentication-oauth/CHANGELOG.md index 1654cc0659..35eea7b54f 100644 --- a/packages/authentication-oauth/CHANGELOG.md +++ b/packages/authentication-oauth/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) ### Bug Fixes diff --git a/packages/authentication-oauth/package.json b/packages/authentication-oauth/package.json index 7a74071b2f..7be0b119f1 100644 --- a/packages/authentication-oauth/package.json +++ b/packages/authentication-oauth/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/authentication-oauth", "description": "oAuth 1 and 2 authentication for Feathers. Powered by Grant.", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -54,27 +54,27 @@ "access": "public" }, "dependencies": { - "@feathersjs/authentication": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/express": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/koa": "^5.0.10", - "@feathersjs/schema": "^5.0.10", + "@feathersjs/authentication": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/express": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/koa": "^5.0.11", + "@feathersjs/schema": "^5.0.11", "cookie-session": "^2.0.0", - "grant": "^5.4.21", + "grant": "^5.4.22", "koa-session": "^6.4.0", "lodash": "^4.17.21", "qs": "^6.11.2" }, "devDependencies": { - "@feathersjs/memory": "^5.0.10", + "@feathersjs/memory": "^5.0.11", "@types/cookie-session": "^2.0.45", - "@types/express": "^4.17.18", + "@types/express": "^4.17.19", "@types/koa-session": "^6.4.2", "@types/lodash": "^4.14.199", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "@types/tough-cookie": "^4.0.3", "axios": "^1.5.1", "mocha": "^10.2.0", diff --git a/packages/authentication/CHANGELOG.md b/packages/authentication/CHANGELOG.md index 9db02b9767..59ccdc636c 100644 --- a/packages/authentication/CHANGELOG.md +++ b/packages/authentication/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/authentication diff --git a/packages/authentication/package.json b/packages/authentication/package.json index eff9d1decd..34ee13963b 100644 --- a/packages/authentication/package.json +++ b/packages/authentication/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/authentication", "description": "Add Authentication to your FeathersJS app.", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -53,12 +53,12 @@ "access": "public" }, "dependencies": { - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", "@feathersjs/hooks": "^0.8.1", - "@feathersjs/schema": "^5.0.10", - "@feathersjs/transport-commons": "^5.0.10", + "@feathersjs/schema": "^5.0.11", + "@feathersjs/transport-commons": "^5.0.11", "@types/jsonwebtoken": "^9.0.3", "jsonwebtoken": "^9.0.2", "lodash": "^4.17.21", @@ -66,11 +66,11 @@ "uuid": "^9.0.1" }, "devDependencies": { - "@feathersjs/memory": "^5.0.10", + "@feathersjs/memory": "^5.0.11", "@types/lodash": "^4.14.199", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", - "@types/uuid": "^9.0.4", + "@types/node": "^20.8.4", + "@types/uuid": "^9.0.5", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 22847bbbe1..331c9aa6c2 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/cli diff --git a/packages/cli/package.json b/packages/cli/package.json index f0e6c1619a..ac7963225f 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/cli", "description": "The command line interface for creating Feathers applications", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "bin": { @@ -52,36 +52,36 @@ "access": "public" }, "dependencies": { - "@feathersjs/generators": "^5.0.10", + "@feathersjs/generators": "^5.0.11", "chalk": "^4.0.1", "commander": "^11.0.0" }, "devDependencies": { - "@feathersjs/adapter-commons": "^5.0.10", - "@feathersjs/authentication": "^5.0.10", - "@feathersjs/authentication-client": "^5.0.10", - "@feathersjs/authentication-local": "^5.0.10", - "@feathersjs/authentication-oauth": "^5.0.10", - "@feathersjs/configuration": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/express": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/knex": "^5.0.10", - "@feathersjs/koa": "^5.0.10", - "@feathersjs/mongodb": "^5.0.10", - "@feathersjs/rest-client": "^5.0.10", - "@feathersjs/schema": "^5.0.10", - "@feathersjs/socketio": "^5.0.10", - "@feathersjs/transport-commons": "^5.0.10", - "@feathersjs/typebox": "^5.0.10", + "@feathersjs/adapter-commons": "^5.0.11", + "@feathersjs/authentication": "^5.0.11", + "@feathersjs/authentication-client": "^5.0.11", + "@feathersjs/authentication-local": "^5.0.11", + "@feathersjs/authentication-oauth": "^5.0.11", + "@feathersjs/configuration": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/express": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/knex": "^5.0.11", + "@feathersjs/koa": "^5.0.11", + "@feathersjs/mongodb": "^5.0.11", + "@feathersjs/rest-client": "^5.0.11", + "@feathersjs/schema": "^5.0.11", + "@feathersjs/socketio": "^5.0.11", + "@feathersjs/transport-commons": "^5.0.11", + "@feathersjs/typebox": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "@types/prettier": "^2.7.3", "axios": "^1.5.1", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", - "type-fest": "^4.3.3", + "type-fest": "^4.4.0", "typescript": "^5.2.2" }, "gitHead": "90caf635aec850550b9d37bea2762af959d9e8d5" diff --git a/packages/client/CHANGELOG.md b/packages/client/CHANGELOG.md index 74df6e774a..5adced08c7 100644 --- a/packages/client/CHANGELOG.md +++ b/packages/client/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/client diff --git a/packages/client/package.json b/packages/client/package.json index 6b9831465e..ce41efc975 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/client", "description": "A module that consolidates Feathers client modules for REST (jQuery, Request, Superagent) and Websocket (Socket.io, Primus) connections", - "version": "5.0.10", + "version": "5.0.11", "repository": { "type": "git", "url": "https://github.com/feathersjs/feathers.git", @@ -49,19 +49,19 @@ "IE 11" ], "dependencies": { - "@feathersjs/authentication-client": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/rest-client": "^5.0.10", - "@feathersjs/socketio-client": "^5.0.10" + "@feathersjs/authentication-client": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/rest-client": "^5.0.11", + "@feathersjs/socketio-client": "^5.0.11" }, "devDependencies": { "@babel/core": "^7.23.0", "@babel/preset-env": "^7.22.20", - "@feathersjs/express": "^5.0.10", - "@feathersjs/memory": "^5.0.10", - "@feathersjs/socketio": "^5.0.10", - "@feathersjs/tests": "^5.0.10", + "@feathersjs/express": "^5.0.11", + "@feathersjs/memory": "^5.0.11", + "@feathersjs/socketio": "^5.0.11", + "@feathersjs/tests": "^5.0.11", "babel-loader": "^9.1.3", "mocha": "^10.2.0", "mocha-puppeteer": "^0.14.0", @@ -69,7 +69,7 @@ "shx": "^0.3.4", "socket.io-client": "^4.7.2", "superagent": "^8.1.2", - "ts-loader": "^9.4.4", + "ts-loader": "^9.5.0", "typescript": "^5.2.2", "webpack": "^5.88.2", "webpack-cli": "^5.1.4", diff --git a/packages/commons/CHANGELOG.md b/packages/commons/CHANGELOG.md index efb056ade1..099d17effe 100644 --- a/packages/commons/CHANGELOG.md +++ b/packages/commons/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/commons diff --git a/packages/commons/package.json b/packages/commons/package.json index 068cab7892..d32e00b0e8 100644 --- a/packages/commons/package.json +++ b/packages/commons/package.json @@ -1,6 +1,6 @@ { "name": "@feathersjs/commons", - "version": "5.0.10", + "version": "5.0.11", "description": "Shared Feathers utility functions", "homepage": "https://feathersjs.com", "keywords": [ @@ -53,7 +53,7 @@ }, "devDependencies": { "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", diff --git a/packages/configuration/CHANGELOG.md b/packages/configuration/CHANGELOG.md index 1edc5bded2..76e612d277 100644 --- a/packages/configuration/CHANGELOG.md +++ b/packages/configuration/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/configuration diff --git a/packages/configuration/package.json b/packages/configuration/package.json index cceae2e5f1..994bb7c2fa 100644 --- a/packages/configuration/package.json +++ b/packages/configuration/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/configuration", "description": "A small configuration module for your Feathers application.", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -58,15 +58,15 @@ "access": "public" }, "dependencies": { - "@feathersjs/commons": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/schema": "^5.0.10", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/schema": "^5.0.11", "@types/config": "^3.3.1", "config": "^3.3.9" }, "devDependencies": { "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", diff --git a/packages/create-feathers/CHANGELOG.md b/packages/create-feathers/CHANGELOG.md index e4fe14753b..c6b8afacb4 100644 --- a/packages/create-feathers/CHANGELOG.md +++ b/packages/create-feathers/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +**Note:** Version bump only for package create-feathers + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package create-feathers diff --git a/packages/create-feathers/package.json b/packages/create-feathers/package.json index feca779f6e..6d1b261a07 100644 --- a/packages/create-feathers/package.json +++ b/packages/create-feathers/package.json @@ -1,7 +1,7 @@ { "name": "create-feathers", "description": "Create a new Feathers application", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "bin": { "create-feathers": "./bin/create-feathers" @@ -47,7 +47,7 @@ "access": "public" }, "dependencies": { - "@feathersjs/cli": "^5.0.10" + "@feathersjs/cli": "^5.0.11" }, "gitHead": "90caf635aec850550b9d37bea2762af959d9e8d5" } diff --git a/packages/errors/CHANGELOG.md b/packages/errors/CHANGELOG.md index 9542be2b19..49a795f1c9 100644 --- a/packages/errors/CHANGELOG.md +++ b/packages/errors/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/errors diff --git a/packages/errors/package.json b/packages/errors/package.json index 894e835edf..7fb12ee301 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/errors", "description": "Common error types for Feathers apps", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -49,9 +49,9 @@ "*.js" ], "devDependencies": { - "@feathersjs/feathers": "^5.0.10", + "@feathersjs/feathers": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", diff --git a/packages/express/CHANGELOG.md b/packages/express/CHANGELOG.md index cee912ba9f..38a581b171 100644 --- a/packages/express/CHANGELOG.md +++ b/packages/express/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/express diff --git a/packages/express/package.json b/packages/express/package.json index c129b46266..5f47d67932 100644 --- a/packages/express/package.json +++ b/packages/express/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/express", "description": "Feathers Express framework bindings and REST provider", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -52,24 +52,24 @@ "access": "public" }, "dependencies": { - "@feathersjs/authentication": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/transport-commons": "^5.0.10", + "@feathersjs/authentication": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/transport-commons": "^5.0.11", "@types/compression": "^1.7.3", - "@types/express": "^4.17.18", + "@types/express": "^4.17.19", "@types/express-serve-static-core": "^4.17.37", "compression": "^1.7.4", "cors": "^2.8.5", "express": "^4.18.2" }, "devDependencies": { - "@feathersjs/authentication-local": "^5.0.10", - "@feathersjs/tests": "^5.0.10", + "@feathersjs/authentication-local": "^5.0.11", + "@feathersjs/tests": "^5.0.11", "@types/lodash": "^4.14.199", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "axios": "^1.5.1", "lodash": "^4.17.21", "mocha": "^10.2.0", diff --git a/packages/feathers/CHANGELOG.md b/packages/feathers/CHANGELOG.md index e8521da079..8e2865404a 100644 --- a/packages/feathers/CHANGELOG.md +++ b/packages/feathers/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **core:** context.path is now typed correctly ([#3303](https://github.com/feathersjs/feathers/issues/3303)) ([ff18b3f](https://github.com/feathersjs/feathers/commit/ff18b3f8b7c8dbc97be588f699d539226785343a)) +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/feathers diff --git a/packages/feathers/package.json b/packages/feathers/package.json index 1ccda10ca3..bfec3e3251 100644 --- a/packages/feathers/package.json +++ b/packages/feathers/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/feathers", "description": "A framework for real-time applications and REST API with JavaScript and TypeScript", - "version": "5.0.10", + "version": "5.0.11", "homepage": "http://feathersjs.com", "repository": { "type": "git", @@ -58,13 +58,13 @@ "access": "public" }, "dependencies": { - "@feathersjs/commons": "^5.0.10", + "@feathersjs/commons": "^5.0.11", "@feathersjs/hooks": "^0.8.1", "events": "^3.3.0" }, "devDependencies": { "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", diff --git a/packages/feathers/src/declarations.ts b/packages/feathers/src/declarations.ts index ee44b59fd0..aece46eebd 100644 --- a/packages/feathers/src/declarations.ts +++ b/packages/feathers/src/declarations.ts @@ -3,6 +3,10 @@ import { NextFunction, HookContext as BaseHookContext } from '@feathersjs/hooks' type SelfOrArray = S | S[] type OptionalPick = Pick> +type Entries = { + [K in keyof T]: [K, T[K]] +}[keyof T][] +type GetKeyByValue = Extract[number], [PropertyKey, Value]>[0] export type { NextFunction } @@ -355,6 +359,8 @@ export interface Http { export type HookType = 'before' | 'after' | 'error' | 'around' +type Serv = FA extends Application ? S : never + export interface HookContext extends BaseHookContext> { /** * A read only property that contains the Feathers application object. This can be used to @@ -370,7 +376,7 @@ export interface HookContext extends BaseHookContext & string : GetKeyByValue, S> & string /** * A read only property and contains the service this hook currently runs on. */ diff --git a/packages/generators/CHANGELOG.md b/packages/generators/CHANGELOG.md index 4cf9489c00..2f35cfac8a 100644 --- a/packages/generators/CHANGELOG.md +++ b/packages/generators/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) +- **schema:** HookContext is now typed in schema ([#3306](https://github.com/feathersjs/feathers/issues/3306)) ([65fab86](https://github.com/feathersjs/feathers/commit/65fab86407b813122f24db928a59986c7286f270)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/generators diff --git a/packages/generators/package.json b/packages/generators/package.json index 79a245419a..ab2c43a818 100644 --- a/packages/generators/package.json +++ b/packages/generators/package.json @@ -1,6 +1,6 @@ { "name": "@feathersjs/generators", - "version": "5.0.10", + "version": "5.0.11", "description": "Feathers CLI core generators, powered by Pinion", "homepage": "https://feathersjs.com", "keywords": [ @@ -59,27 +59,28 @@ "typescript": "^5.2.2" }, "devDependencies": { - "@feathersjs/adapter-commons": "^5.0.10", - "@feathersjs/authentication": "^5.0.10", - "@feathersjs/authentication-client": "^5.0.10", - "@feathersjs/authentication-local": "^5.0.10", - "@feathersjs/authentication-oauth": "^5.0.10", - "@feathersjs/configuration": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/express": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/knex": "^5.0.10", - "@feathersjs/koa": "^5.0.10", - "@feathersjs/mongodb": "^5.0.10", - "@feathersjs/rest-client": "^5.0.10", - "@feathersjs/schema": "^5.0.10", - "@feathersjs/socketio": "^5.0.10", - "@feathersjs/transport-commons": "^5.0.10", - "@feathersjs/typebox": "^5.0.10", + "@feathersjs/adapter-commons": "^5.0.11", + "@feathersjs/authentication": "^5.0.11", + "@feathersjs/authentication-client": "^5.0.11", + "@feathersjs/authentication-local": "^5.0.11", + "@feathersjs/authentication-oauth": "^5.0.11", + "@feathersjs/configuration": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/express": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/knex": "^5.0.11", + "@feathersjs/koa": "^5.0.11", + "@feathersjs/mongodb": "^5.0.11", + "@feathersjs/rest-client": "^5.0.11", + "@feathersjs/schema": "^5.0.11", + "@feathersjs/socketio": "^5.0.11", + "@feathersjs/transport-commons": "^5.0.11", + "@feathersjs/typebox": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "@types/prettier": "^2.7.3", "axios": "^1.5.1", + "knex": "^3.0.1", "mocha": "^10.2.0", "mongodb": "^6.1.0", "mssql": "^10.0.1", @@ -88,7 +89,7 @@ "shx": "^0.3.4", "sqlite3": "^5.1.6", "ts-node": "^10.9.1", - "type-fest": "^4.3.3", + "type-fest": "^4.4.0", "typescript": "^5.2.2" }, "gitHead": "90caf635aec850550b9d37bea2762af959d9e8d5" diff --git a/packages/generators/src/service/templates/schema.json.tpl.ts b/packages/generators/src/service/templates/schema.json.tpl.ts index 531dfff7cc..1be7633af8 100644 --- a/packages/generators/src/service/templates/schema.json.tpl.ts +++ b/packages/generators/src/service/templates/schema.json.tpl.ts @@ -15,6 +15,7 @@ const authFieldsTemplate = (authStrategies: string[]) => const template = ({ camelName, upperName, + fileName, relative, authStrategies, isEntityService, @@ -35,6 +36,7 @@ import type { HookContext } from '${relative}/declarations' import { dataValidator, queryValidator } from '${relative}/${ fileExists(cwd, lib, 'schemas') ? 'schemas/' : '' // This is for legacy backwards compatibility }validators' +import type { ${upperName}Service } from './${fileName}.class' // Main data model schema export const ${camelName}Schema = { @@ -54,9 +56,9 @@ export const ${camelName}Schema = { } as const export type ${upperName} = FromSchema export const ${camelName}Validator = getValidator(${camelName}Schema, dataValidator) -export const ${camelName}Resolver = resolve<${upperName}, HookContext>({}) +export const ${camelName}Resolver = resolve<${upperName}, HookContext<${upperName}Service>>({}) -export const ${camelName}ExternalResolver = resolve<${upperName}, HookContext>({ +export const ${camelName}ExternalResolver = resolve<${upperName}, HookContext<${upperName}Service>>({ ${localTemplate( authStrategies, `// The password should never be visible externally @@ -76,7 +78,7 @@ export const ${camelName}DataSchema = { } as const export type ${upperName}Data = FromSchema export const ${camelName}DataValidator = getValidator(${camelName}DataSchema, dataValidator) -export const ${camelName}DataResolver = resolve<${upperName}Data, HookContext>({ +export const ${camelName}DataResolver = resolve<${upperName}Data, HookContext<${upperName}Service>>({ ${localTemplate(authStrategies, `password: passwordHash({ strategy: 'local' })`)} }) @@ -92,7 +94,7 @@ export const ${camelName}PatchSchema = { } as const export type ${upperName}Patch = FromSchema export const ${camelName}PatchValidator = getValidator(${camelName}PatchSchema, dataValidator) -export const ${camelName}PatchResolver = resolve<${upperName}Patch, HookContext>({ +export const ${camelName}PatchResolver = resolve<${upperName}Patch, HookContext<${upperName}Service>>({ ${localTemplate(authStrategies, `password: passwordHash({ strategy: 'local' })`)} }) @@ -107,7 +109,7 @@ export const ${camelName}QuerySchema = { } as const export type ${upperName}Query = FromSchema export const ${camelName}QueryValidator = getValidator(${camelName}QuerySchema, queryValidator) -export const ${camelName}QueryResolver = resolve<${upperName}Query, HookContext>({ +export const ${camelName}QueryResolver = resolve<${upperName}Query, HookContext<${upperName}Service>>({ ${ isEntityService ? ` diff --git a/packages/generators/src/service/templates/schema.typebox.tpl.ts b/packages/generators/src/service/templates/schema.typebox.tpl.ts index 054e931397..44687b740d 100644 --- a/packages/generators/src/service/templates/schema.typebox.tpl.ts +++ b/packages/generators/src/service/templates/schema.typebox.tpl.ts @@ -15,6 +15,7 @@ const authFieldsTemplate = (authStrategies: string[]) => const template = ({ camelName, upperName, + fileName, relative, authStrategies, isEntityService, @@ -36,6 +37,7 @@ import type { HookContext } from '${relative}/declarations' import { dataValidator, queryValidator } from '${relative}/${ fileExists(cwd, lib, 'schemas') ? 'schemas/' : '' // This is for legacy backwards compatibility }validators' +import type { ${upperName}Service } from './${fileName}.class' // Main data model schema export const ${camelName}Schema = Type.Object({ @@ -44,9 +46,9 @@ export const ${camelName}Schema = Type.Object({ }, { $id: '${upperName}', additionalProperties: false }) export type ${upperName} = Static export const ${camelName}Validator = getValidator(${camelName}Schema, dataValidator) -export const ${camelName}Resolver = resolve<${upperName}, HookContext>({}) +export const ${camelName}Resolver = resolve<${upperName}, HookContext<${upperName}Service>>({}) -export const ${camelName}ExternalResolver = resolve<${upperName}, HookContext>({ +export const ${camelName}ExternalResolver = resolve<${upperName}, HookContext<${upperName}Service>>({ ${localTemplate( authStrategies, `// The password should never be visible externally @@ -66,7 +68,7 @@ export const ${camelName}DataSchema = Type.Pick(${camelName}Schema, [ }) export type ${upperName}Data = Static export const ${camelName}DataValidator = getValidator(${camelName}DataSchema, dataValidator) -export const ${camelName}DataResolver = resolve<${upperName}, HookContext>({ +export const ${camelName}DataResolver = resolve<${upperName}, HookContext<${upperName}Service>>({ ${localTemplate(authStrategies, `password: passwordHash({ strategy: 'local' })`)} }) @@ -76,7 +78,7 @@ export const ${camelName}PatchSchema = Type.Partial(${camelName}Schema, { }) export type ${upperName}Patch = Static export const ${camelName}PatchValidator = getValidator(${camelName}PatchSchema, dataValidator) -export const ${camelName}PatchResolver = resolve<${upperName}, HookContext>({ +export const ${camelName}PatchResolver = resolve<${upperName}, HookContext<${upperName}Service>>({ ${localTemplate(authStrategies, `password: passwordHash({ strategy: 'local' })`)} }) @@ -95,7 +97,7 @@ export const ${camelName}QuerySchema = Type.Intersect([ ], { additionalProperties: false }) export type ${upperName}Query = Static export const ${camelName}QueryValidator = getValidator(${camelName}QuerySchema, queryValidator) -export const ${camelName}QueryResolver = resolve<${upperName}Query, HookContext>({ +export const ${camelName}QueryResolver = resolve<${upperName}Query, HookContext<${upperName}Service>>({ ${ isEntityService ? ` diff --git a/packages/knex/CHANGELOG.md b/packages/knex/CHANGELOG.md index e53697d442..e4ce67887f 100644 --- a/packages/knex/CHANGELOG.md +++ b/packages/knex/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/knex diff --git a/packages/knex/package.json b/packages/knex/package.json index a1ce66eafe..a01f3aa04f 100644 --- a/packages/knex/package.json +++ b/packages/knex/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/knex", "description": "Feathers SQL service adapter using KnexJS", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "keywords": [ @@ -51,20 +51,20 @@ "access": "public" }, "dependencies": { - "@feathersjs/adapter-commons": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10" + "@feathersjs/adapter-commons": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11" }, "peerDependencies": { - "knex": "^2.5.1" + "knex": ">= 2.1.0" }, "devDependencies": { - "@feathersjs/adapter-tests": "^5.0.10", - "@feathersjs/schema": "^5.0.10", + "@feathersjs/adapter-tests": "^5.0.11", + "@feathersjs/schema": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", - "knex": "^2.5.1", + "@types/node": "^20.8.4", + "knex": "^3.0.1", "mocha": "^10.2.0", "pg": "^8.11.3", "shx": "^0.3.4", diff --git a/packages/koa/CHANGELOG.md b/packages/koa/CHANGELOG.md index c50e1f7109..cca38db828 100644 --- a/packages/koa/CHANGELOG.md +++ b/packages/koa/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/koa diff --git a/packages/koa/package.json b/packages/koa/package.json index 9f1bdc0156..8b80076bff 100644 --- a/packages/koa/package.json +++ b/packages/koa/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/koa", "description": "Feathers KoaJS framework bindings and REST provider", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -49,11 +49,11 @@ "access": "public" }, "dependencies": { - "@feathersjs/authentication": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/transport-commons": "^5.0.10", + "@feathersjs/authentication": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/transport-commons": "^5.0.11", "@koa/cors": "^4.0.0", "@types/koa": "^2.13.9", "@types/koa-qs": "^2.0.1", @@ -66,12 +66,12 @@ "koa-static": "^5.0.0" }, "devDependencies": { - "@feathersjs/authentication-local": "^5.0.10", - "@feathersjs/memory": "^5.0.10", - "@feathersjs/tests": "^5.0.10", + "@feathersjs/authentication-local": "^5.0.11", + "@feathersjs/memory": "^5.0.11", + "@feathersjs/tests": "^5.0.11", "@types/koa-compose": "^3.2.6", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "axios": "^1.5.1", "mocha": "^10.2.0", "shx": "^0.3.4", diff --git a/packages/memory/CHANGELOG.md b/packages/memory/CHANGELOG.md index 3bbcac9d92..90d6c538a7 100644 --- a/packages/memory/CHANGELOG.md +++ b/packages/memory/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) +- **memory:** Ensure correct pagination totals ([#3307](https://github.com/feathersjs/feathers/issues/3307)) ([c59e1b8](https://github.com/feathersjs/feathers/commit/c59e1b80cb43571077b035ab2bf0b44f9daa5ab8)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/memory diff --git a/packages/memory/package.json b/packages/memory/package.json index 57e9059ed4..6526b77f20 100644 --- a/packages/memory/package.json +++ b/packages/memory/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/memory", "description": "An in memory service store", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://github.com/feathersjs/feathers", "main": "lib/", "types": "lib/", @@ -49,16 +49,16 @@ "lib": "lib" }, "dependencies": { - "@feathersjs/adapter-commons": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", + "@feathersjs/adapter-commons": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", "sift": "^17.0.1" }, "devDependencies": { - "@feathersjs/adapter-tests": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", + "@feathersjs/adapter-tests": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", diff --git a/packages/memory/src/index.ts b/packages/memory/src/index.ts index f9d385afee..d36f327120 100644 --- a/packages/memory/src/index.ts +++ b/packages/memory/src/index.ts @@ -76,7 +76,6 @@ export class MemoryAdapter< const { query, filters } = this.getQuery(params) let values = _.values(this.store) - const total = values.length const hasSkip = filters.$skip !== undefined const hasSort = filters.$sort !== undefined const hasLimit = filters.$limit !== undefined @@ -86,11 +85,41 @@ export class MemoryAdapter< values.sort(this.options.sorter(filters.$sort)) } + if (paginate) { + if (hasQuery) { + values = values.filter(this.options.matcher(query)) + } + + const total = values.length + + if (hasSkip) { + values = values.slice(filters.$skip) + } + + if (hasLimit) { + values = values.slice(0, filters.$limit) + } + + const result: Paginated = { + total, + limit: filters.$limit, + skip: filters.$skip || 0, + data: values.map((value) => _select(value, params, this.id)) + } + + return result + } + + /* Without pagination, we don't have to match every result and gain considerable performance improvements with a breaking for loop. */ if (hasQuery || hasLimit || hasSkip) { let skipped = 0 const matcher = this.options.matcher(query) const matched = [] + if (hasLimit && filters.$limit === 0) { + return [] + } + for (let index = 0, length = values.length; index < length; index++) { const value = values[index] @@ -110,23 +139,10 @@ export class MemoryAdapter< } } - values = matched - } else { - values = values.map((value) => _select(value, params, this.id)) - } - - const result: Paginated = { - total: hasQuery ? values.length : total, - limit: filters.$limit, - skip: filters.$skip || 0, - data: filters.$limit === 0 ? [] : values - } - - if (!paginate) { - return result.data + return matched } - return result + return values.map((value) => _select(value, params, this.id)) } async _get(id: Id, params: ServiceParams = {} as ServiceParams): Promise { diff --git a/packages/memory/test/index.test.ts b/packages/memory/test/index.test.ts index 0cf79c46a7..1b25ba59a0 100644 --- a/packages/memory/test/index.test.ts +++ b/packages/memory/test/index.test.ts @@ -93,12 +93,31 @@ describe('Feathers Memory Service', () => { const events = ['testing'] const app = feathers<{ people: MemoryService + 'people-paginate': MemoryService 'people-customid': MemoryService animals: MemoryService matcher: MemoryService }>() - app.use('people', new MemoryService({ events })) + app.use( + 'people', + new MemoryService({ + events + }) + ) + + app.use( + 'people-paginate', + new MemoryService({ + events, + multi: true, + paginate: { + default: 10, + max: 100 + } + }) + ) + app.use( 'people-customid', new MemoryService({ @@ -218,6 +237,44 @@ describe('Feathers Memory Service', () => { await people.remove(person.id) }) + it('using $limit still returns correct total', async () => { + const service = app.service('people-paginate') + + for (let i = 0; i < 10; i++) { + await service.create({ + name: `Tester ${i}`, + age: 19 + }) + + await service.create({ + name: `Tester ${i}`, + age: 20 + }) + } + + try { + const results = await service.find({ + query: { + $skip: 3, + $limit: 5, + age: 19 + } + }) + + assert.strictEqual(results.total, 10) + assert.strictEqual(results.skip, 3) + assert.strictEqual(results.limit, 5) + } finally { + await service.remove(null, { + query: { + age: { + $in: [19, 20] + } + } + }) + } + }) + testSuite(app, errors, 'people') testSuite(app, errors, 'people-customid', 'customid') }) diff --git a/packages/mongodb/CHANGELOG.md b/packages/mongodb/CHANGELOG.md index 3726d41d20..f7d5c04c53 100644 --- a/packages/mongodb/CHANGELOG.md +++ b/packages/mongodb/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/mongodb diff --git a/packages/mongodb/package.json b/packages/mongodb/package.json index 02037a6a4b..775f8c85d9 100644 --- a/packages/mongodb/package.json +++ b/packages/mongodb/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/mongodb", "description": "Feathers MongoDB service adapter", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "keywords": [ @@ -51,21 +51,21 @@ "access": "public" }, "dependencies": { - "@feathersjs/adapter-commons": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10" + "@feathersjs/adapter-commons": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11" }, "peerDependencies": { "mongodb": "^6.1.0" }, "devDependencies": { - "@feathersjs/adapter-tests": "^5.0.10", - "@feathersjs/schema": "^5.0.10", + "@feathersjs/adapter-tests": "^5.0.11", + "@feathersjs/schema": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", - "mongodb-memory-server": "^8.15.1", + "mongodb-memory-server": "^9.0.0", "shx": "^0.3.4", "typescript": "^5.2.2" }, diff --git a/packages/rest-client/CHANGELOG.md b/packages/rest-client/CHANGELOG.md index 5c17a12845..fff9ded5c5 100644 --- a/packages/rest-client/CHANGELOG.md +++ b/packages/rest-client/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **client:** Replace placeholders in URL with route params ([#3270](https://github.com/feathersjs/feathers/issues/3270)) ([a0624eb](https://github.com/feathersjs/feathers/commit/a0624eb5a7919aa1b179a71beb1c1b9cab574525)) +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/rest-client diff --git a/packages/rest-client/package.json b/packages/rest-client/package.json index 7a61e3c798..eee9911464 100644 --- a/packages/rest-client/package.json +++ b/packages/rest-client/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/rest-client", "description": "REST client services for different Ajax libraries", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -53,18 +53,18 @@ "access": "public" }, "dependencies": { - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", "@types/superagent": "^4.1.19", "qs": "^6.11.2" }, "devDependencies": { - "@feathersjs/express": "^5.0.10", - "@feathersjs/memory": "^5.0.10", - "@feathersjs/tests": "^5.0.10", + "@feathersjs/express": "^5.0.11", + "@feathersjs/memory": "^5.0.11", + "@feathersjs/tests": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "@types/node-fetch": "^2.6.6", "@types/qs": "^6.9.8", "axios": "^1.5.1", diff --git a/packages/rest-client/src/base.ts b/packages/rest-client/src/base.ts index 5f74adebe7..6e337d784e 100644 --- a/packages/rest-client/src/base.ts +++ b/packages/rest-client/src/base.ts @@ -37,9 +37,15 @@ export abstract class Base, P extends Params = RestClien this.base = `${settings.base}/${this.name}` } - makeUrl(query: Query, id?: string | number | null) { + makeUrl(query: Query, id?: string | number | null, route?: { [key: string]: string }) { let url = this.base + if (route) { + Object.keys(route).forEach((key) => { + url = url.replace(`:${key}`, route[key]) + }) + } + query = query || {} if (typeof id !== 'undefined' && id !== null) { @@ -68,7 +74,7 @@ export abstract class Base, P extends Params = RestClien return this.request( { body: data, - url: this.makeUrl(params.query), + url: this.makeUrl(params.query, null, params.route), method: 'POST', headers: Object.assign( { @@ -92,7 +98,7 @@ export abstract class Base, P extends Params = RestClien _find(params?: P) { return this.request( { - url: this.makeUrl(params.query), + url: this.makeUrl(params.query, null, params.route), method: 'GET', headers: Object.assign({}, params.headers) }, @@ -111,7 +117,7 @@ export abstract class Base, P extends Params = RestClien return this.request( { - url: this.makeUrl(params.query, id), + url: this.makeUrl(params.query, id, params.route), method: 'GET', headers: Object.assign({}, params.headers) }, @@ -126,7 +132,7 @@ export abstract class Base, P extends Params = RestClien _create(data: D, params?: P) { return this.request( { - url: this.makeUrl(params.query), + url: this.makeUrl(params.query, null, params.route), body: data, method: 'POST', headers: Object.assign({ 'Content-Type': 'application/json' }, params.headers) @@ -148,7 +154,7 @@ export abstract class Base, P extends Params = RestClien return this.request( { - url: this.makeUrl(params.query, id), + url: this.makeUrl(params.query, id, params.route), body: data, method: 'PUT', headers: Object.assign({ 'Content-Type': 'application/json' }, params.headers) @@ -170,7 +176,7 @@ export abstract class Base, P extends Params = RestClien return this.request( { - url: this.makeUrl(params.query, id), + url: this.makeUrl(params.query, id, params.route), body: data, method: 'PATCH', headers: Object.assign({ 'Content-Type': 'application/json' }, params.headers) @@ -192,7 +198,7 @@ export abstract class Base, P extends Params = RestClien return this.request( { - url: this.makeUrl(params.query, id), + url: this.makeUrl(params.query, id, params.route), method: 'DELETE', headers: Object.assign({}, params.headers) }, diff --git a/packages/rest-client/test/index.test.ts b/packages/rest-client/test/index.test.ts index 46dd15cc61..d81c98407b 100644 --- a/packages/rest-client/test/index.test.ts +++ b/packages/rest-client/test/index.test.ts @@ -113,4 +113,63 @@ describe('REST client tests', function () { message: 'Custom fetch client' }) }) + + it('replace placeholder in route URLs', async () => { + const app = feathers() + let expectedValue: string | null = null + class MyFetchClient extends FetchClient { + request(options: any, _params: any) { + assert.equal(options.url, expectedValue) + return Promise.resolve() + } + } + app.configure(init('http://localhost:8889').fetch(fetch, {}, MyFetchClient)) + + expectedValue = 'http://localhost:8889/admin/todos' + await app.service(':slug/todos').find({ + route: { + slug: 'admin' + } + }) + await app.service(':slug/todos').create( + {}, + { + route: { + slug: 'admin' + } + } + ) + expectedValue = 'http://localhost:8889/admin/todos/0' + await app.service(':slug/todos').get(0, { + route: { + slug: 'admin' + } + }) + expectedValue = 'http://localhost:8889/admin/todos/0' + await app.service(':slug/todos').patch( + 0, + {}, + { + route: { + slug: 'admin' + } + } + ) + expectedValue = 'http://localhost:8889/admin/todos/0' + await app.service(':slug/todos').update( + 0, + {}, + { + route: { + slug: 'admin' + } + } + ) + expectedValue = 'http://localhost:8889/admin/todos/0' + await app.service(':slug/todos').remove(0, { + route: { + slug: 'admin' + } + }) + }) }) diff --git a/packages/schema/CHANGELOG.md b/packages/schema/CHANGELOG.md index c3f1aab7b5..33671fbdb4 100644 --- a/packages/schema/CHANGELOG.md +++ b/packages/schema/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) ### Bug Fixes diff --git a/packages/schema/package.json b/packages/schema/package.json index 03bbe475b0..80abd69afb 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/schema", "description": "A common data schema definition format", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -54,10 +54,10 @@ "access": "public" }, "dependencies": { - "@feathersjs/adapter-commons": "^5.0.10", - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", + "@feathersjs/adapter-commons": "^5.0.11", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", "@feathersjs/hooks": "^0.8.1", "@types/json-schema": "^7.0.13", "ajv": "^8.12.0", @@ -65,16 +65,16 @@ "json-schema-to-ts": "^2.9.2" }, "devDependencies": { - "@feathersjs/memory": "^5.0.10", + "@feathersjs/memory": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "ajv-formats": "^2.1.1", "mocha": "^10.2.0", "shx": "^0.3.4", "typescript": "^5.2.2" }, "peerDependencies": { - "typescript": ">=4.7" + "typescript": ">=5.2" }, "gitHead": "90caf635aec850550b9d37bea2762af959d9e8d5" } diff --git a/packages/socketio-client/CHANGELOG.md b/packages/socketio-client/CHANGELOG.md index 53621cf03f..a691aea3fc 100644 --- a/packages/socketio-client/CHANGELOG.md +++ b/packages/socketio-client/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/socketio-client diff --git a/packages/socketio-client/package.json b/packages/socketio-client/package.json index cc72146634..d0811890ca 100644 --- a/packages/socketio-client/package.json +++ b/packages/socketio-client/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/socketio-client", "description": "The client for Socket.io through feathers-socketio", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -54,16 +54,16 @@ "access": "public" }, "dependencies": { - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/transport-commons": "^5.0.10" + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/transport-commons": "^5.0.11" }, "devDependencies": { - "@feathersjs/commons": "^5.0.10", - "@feathersjs/memory": "^5.0.10", - "@feathersjs/socketio": "^5.0.10", - "@feathersjs/tests": "^5.0.10", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/memory": "^5.0.11", + "@feathersjs/socketio": "^5.0.11", + "@feathersjs/tests": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "socket.io-client": "^4.7.2", diff --git a/packages/socketio/CHANGELOG.md b/packages/socketio/CHANGELOG.md index 64724ce280..7fcc1e8844 100644 --- a/packages/socketio/CHANGELOG.md +++ b/packages/socketio/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/socketio diff --git a/packages/socketio/package.json b/packages/socketio/package.json index f66b787368..0022a75a1f 100644 --- a/packages/socketio/package.json +++ b/packages/socketio/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/socketio", "description": "The Feathers Socket.io real-time API provider", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -53,17 +53,17 @@ "access": "public" }, "dependencies": { - "@feathersjs/commons": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", - "@feathersjs/transport-commons": "^5.0.10", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", + "@feathersjs/transport-commons": "^5.0.11", "socket.io": "^4.7.2" }, "devDependencies": { - "@feathersjs/express": "^5.0.10", - "@feathersjs/memory": "^5.0.10", - "@feathersjs/tests": "^5.0.10", + "@feathersjs/express": "^5.0.11", + "@feathersjs/memory": "^5.0.11", + "@feathersjs/tests": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "lodash": "^4.17.21", "mocha": "^10.2.0", "shx": "^0.3.4", diff --git a/packages/tests/CHANGELOG.md b/packages/tests/CHANGELOG.md index 5b888e04ec..45e92810eb 100644 --- a/packages/tests/CHANGELOG.md +++ b/packages/tests/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/tests diff --git a/packages/tests/package.json b/packages/tests/package.json index 0ce70ac2a5..9cc9adaca0 100644 --- a/packages/tests/package.json +++ b/packages/tests/package.json @@ -2,7 +2,7 @@ "name": "@feathersjs/tests", "private": true, "description": "Feathers core module common tests", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -49,9 +49,9 @@ "lodash": "^4.17.21" }, "devDependencies": { - "@feathersjs/feathers": "^5.0.10", + "@feathersjs/feathers": "^5.0.11", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", diff --git a/packages/transport-commons/CHANGELOG.md b/packages/transport-commons/CHANGELOG.md index 43dd89aa10..f2646fd986 100644 --- a/packages/transport-commons/CHANGELOG.md +++ b/packages/transport-commons/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **client:** Replace placeholders in URL with route params ([#3270](https://github.com/feathersjs/feathers/issues/3270)) ([a0624eb](https://github.com/feathersjs/feathers/commit/a0624eb5a7919aa1b179a71beb1c1b9cab574525)) +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) **Note:** Version bump only for package @feathersjs/transport-commons diff --git a/packages/transport-commons/package.json b/packages/transport-commons/package.json index 68a98dc254..995dd41bbc 100644 --- a/packages/transport-commons/package.json +++ b/packages/transport-commons/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/transport-commons", "description": "Shared functionality for websocket providers", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -54,9 +54,9 @@ "*.js" ], "dependencies": { - "@feathersjs/commons": "^5.0.10", - "@feathersjs/errors": "^5.0.10", - "@feathersjs/feathers": "^5.0.10", + "@feathersjs/commons": "^5.0.11", + "@feathersjs/errors": "^5.0.11", + "@feathersjs/feathers": "^5.0.11", "encodeurl": "^1.0.2", "lodash": "^4.17.21" }, @@ -64,7 +64,7 @@ "@types/encodeurl": "^1.0.0", "@types/lodash": "^4.14.199", "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "ts-node": "^10.9.1", diff --git a/packages/transport-commons/src/client.ts b/packages/transport-commons/src/client.ts index 428cac4a92..f71b88bebc 100644 --- a/packages/transport-commons/src/client.ts +++ b/packages/transport-commons/src/client.ts @@ -78,7 +78,14 @@ export class Service, P extends Params = Params> send(method: string, ...args: any[]) { return new Promise((resolve, reject) => { - args.unshift(method, this.path) + const route: Record = args.pop() + let path = this.path + if (route) { + Object.keys(route).forEach((key) => { + path = path.replace(`:${key}`, route[key]) + }) + } + args.unshift(method, path) args.push(function (error: any, data: any) { return error ? reject(convert(error)) : resolve(data) }) @@ -93,17 +100,17 @@ export class Service, P extends Params = Params> names.forEach((method) => { const _method = `_${method}` this[_method] = function (data: any, params: Params = {}) { - return this.send(method, data, params.query || {}) + return this.send(method, data, params.query || {}, params.route || {}) } this[method] = function (data: any, params: Params = {}) { - return this[_method](data, params) + return this[_method](data, params, params.route || {}) } }) return this } _find(params: Params = {}) { - return this.send('find', params.query || {}) + return this.send('find', params.query || {}, params.route || {}) } find(params: Params = {}) { @@ -111,7 +118,7 @@ export class Service, P extends Params = Params> } _get(id: Id, params: Params = {}) { - return this.send('get', id, params.query || {}) + return this.send('get', id, params.query || {}, params.route || {}) } get(id: Id, params: Params = {}) { @@ -119,7 +126,7 @@ export class Service, P extends Params = Params> } _create(data: D, params: Params = {}) { - return this.send('create', data, params.query || {}) + return this.send('create', data, params.query || {}, params.route || {}) } create(data: D, params: Params = {}) { @@ -130,7 +137,7 @@ export class Service, P extends Params = Params> if (typeof id === 'undefined') { return Promise.reject(new Error("id for 'update' can not be undefined")) } - return this.send('update', id, data, params.query || {}) + return this.send('update', id, data, params.query || {}, params.route || {}) } update(id: NullableId, data: D, params: Params = {}) { @@ -138,7 +145,7 @@ export class Service, P extends Params = Params> } _patch(id: NullableId, data: D, params: Params = {}) { - return this.send('patch', id, data, params.query || {}) + return this.send('patch', id, data, params.query || {}, params.route || {}) } patch(id: NullableId, data: D, params: Params = {}) { @@ -146,7 +153,7 @@ export class Service, P extends Params = Params> } _remove(id: NullableId, params: Params = {}) { - return this.send('remove', id, params.query || {}) + return this.send('remove', id, params.query || {}, params.route || {}) } remove(id: NullableId, params: Params = {}) { diff --git a/packages/transport-commons/test/client.test.ts b/packages/transport-commons/test/client.test.ts index edd5c01506..380b46f929 100644 --- a/packages/transport-commons/test/client.test.ts +++ b/packages/transport-commons/test/client.test.ts @@ -128,6 +128,86 @@ describe('client', () => { }) }) + it('replace placeholder in service paths', async () => { + service = new Service({ + events: ['created'], + name: ':slug/todos', + method: 'emit', + connection + }) as any + + const idCb = (path: any, _id: any, _params: any, callback: DummyCallback) => callback(null, path) + const idDataCb = (path: any, _id: any, _data: any, _params: any, callback: DummyCallback) => + callback(null, path) + const dataCb = (path: any, _data: any, _params: any, callback: DummyCallback) => { + callback(null, path) + } + + connection.once('create', dataCb) + service.methods('customMethod') + + let res = await service.create(testData, { + route: { + slug: 'mySlug' + } + }) + + assert.strictEqual(res, 'mySlug/todos') + + connection.once('get', idCb) + res = await service.get(1, { + route: { + slug: 'mySlug' + } + }) + assert.strictEqual(res, 'mySlug/todos') + + connection.once('remove', idCb) + res = await service.remove(12, { + route: { + slug: 'mySlug' + } + }) + assert.strictEqual(res, 'mySlug/todos') + + connection.once('update', idDataCb) + res = await service.update(12, testData, { + route: { + slug: 'mySlug' + } + }) + assert.strictEqual(res, 'mySlug/todos') + + connection.once('patch', idDataCb) + res = await service.patch(12, testData, { + route: { + slug: 'mySlug' + } + }) + assert.strictEqual(res, 'mySlug/todos') + + connection.once('customMethod', dataCb) + res = await service.customMethod( + { message: 'test' }, + { + route: { + slug: 'mySlug' + } + } + ) + assert.strictEqual(res, 'mySlug/todos') + + connection.once('find', (path: any, _params: any, callback: DummyCallback) => callback(null, path)) + + res = await service.find({ + query: { test: true }, + route: { + slug: 'mySlug' + } + }) + assert.strictEqual(res, 'mySlug/todos') + }) + it('converts to feathers-errors (#19)', async () => { connection.once('create', (_path: any, _data: any, _params: any, callback: DummyCallback) => callback(new NotAuthenticated('Test', { hi: 'me' }).toJSON()) diff --git a/packages/typebox/CHANGELOG.md b/packages/typebox/CHANGELOG.md index 0ed3d7f391..375fd55359 100644 --- a/packages/typebox/CHANGELOG.md +++ b/packages/typebox/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [5.0.11](https://github.com/feathersjs/feathers/compare/v5.0.10...v5.0.11) (2023-10-11) + +### Bug Fixes + +- **knex:** Update all dependencies and Knex peer ([#3308](https://github.com/feathersjs/feathers/issues/3308)) ([d2f9860](https://github.com/feathersjs/feathers/commit/d2f986036c4741cce2339d8abbcc6b2eb037a12a)) + ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03) ### Bug Fixes diff --git a/packages/typebox/package.json b/packages/typebox/package.json index b72a7eb436..7417b021be 100644 --- a/packages/typebox/package.json +++ b/packages/typebox/package.json @@ -1,7 +1,7 @@ { "name": "@feathersjs/typebox", "description": "TypeBox integration for @feathersjs/schema", - "version": "5.0.10", + "version": "5.0.11", "homepage": "https://feathersjs.com", "main": "lib/", "types": "lib/", @@ -54,12 +54,12 @@ "access": "public" }, "dependencies": { - "@feathersjs/schema": "^5.0.10", + "@feathersjs/schema": "^5.0.11", "@sinclair/typebox": "^0.25.0" }, "devDependencies": { "@types/mocha": "^10.0.2", - "@types/node": "^20.8.2", + "@types/node": "^20.8.4", "mocha": "^10.2.0", "shx": "^0.3.4", "typescript": "^5.2.2"