8000 fix: Update dependencies by daffl · Pull Request #3666 · feathersjs/feathers · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
180 changes: 96 additions & 84 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/adapter-commons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/mongodb": "^4.0.6",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"mocha": "^11.7.5",
"mongodb": "^6.19.0",
"shx": "^0.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"mocha": "^11.7.5",
"shx": "^0.4.0",
"ts-node": "^10.9.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/authentication-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
"@feathersjs/socketio": "^5.0.41",
"@feathersjs/socketio-client": "^5.0.41",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"axios": "^1.13.5",
"@types/node": "^25.3.3",
"axios": "^1.13.6",
"mocha": "^11.7.5",
"shx": "^0.4.0",
"ts-node": "^10.9.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/authentication-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
"@feathersjs/memory": "^5.0.41",
"@feathersjs/schema": "^5.0.41",
"@types/bcryptjs": "^2.4.6",
"@types/lodash": "^4.17.23",
"@types/lodash": "^4.17.24",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"mocha": "^11.7.5",
"shx": "^0.4.0",
"ts-node": "^10.9.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/authentication-oauth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@
"@types/express": "^4.17.21",
"@types/koa-session": "^6.4.5",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"@types/tough-cookie": "^4.0.5",
"axios": "^1.13.5",
"axios": "^1.13.6",
"mocha": "^11.7.5",
"shx": "^0.4.0",
"tough-cookie": "^6.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/authentication/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
},
"devDependencies": {
"@feathersjs/memory": "^5.0.41",
"@types/lodash": "^4.17.23",
"@types/lodash": "^4.17.24",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"@types/uuid": "^10.0.0",
"mocha": "^11.7.5",
"shx": "^0.4.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@
"@feathersjs/transport-commons": "^5.0.41",
"@feathersjs/typebox": "^5.0.41",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"@types/prettier": "^2.7.3",
"axios": "^1.13.5",
"axios": "^1.13.6",
"mocha": "^11.7.5",
"shx": "^0.4.0",
"ts-node": "^10.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"superagent": "^10.3.0",
"ts-loader": "^9.5.4",
"typescript": "^5.9.3",
"webpack": "^5.105.2",
"webpack": "^5.105.4",
"webpack-cli": "^6.0.1",
"webpack-merge": "^6.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/commons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"mocha": "^11.7.5",
"shx": "^0.4.0",
"ts-node": "^10.9.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/configuration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@
"@feathersjs/feathers": "^5.0.41",
"@feathersjs/schema": "^5.0.41",
"@types/config": "^3.3.5",
"config": "^4.3.0"
"config": "^4.4.1"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"mocha": "^11.7.5",
"shx": "^0.4.0",
"ts-node": "^10.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/configuration/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import config from 'config'

const debug = createDebug('@feathersjs/configuration')

export = function init(schema?: Schema<any> | Validator) {
export = function init(schema?: Schema<any> | Validator): (app?: Application) => Record<string, any> {
const validator: Validator = typeof schema === 'function' ? schema : schema?.validate.bind(schema)

return (app?: Application) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"devDependencies": {
"@feathersjs/feathers": "^5.0.41",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"mocha": "^11.7.5",
"shx": "^0.4.0",
"ts-node": "^10.9.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@
"devDependencies": {
"@feathersjs/authentication-local": "^5.0.41",
"@feathersjs/tests": "^5.0.41",
"@types/lodash": "^4.17.23",
"@types/lodash": "^4.17.24",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"axios" 44FB : "^1.13.5",
"@types/node": "^25.3.3",
"axios": "^1.13.6",
"lodash": "^4.17.23",
"mocha": "^11.7.5",
"shx": "^0.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/feathers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"mocha": "^11.7.5",
"shx": "^0.4.0",
"ts-node": "^10.9.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/generators/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@
"@feathersjs/transport-commons": "^5.0.41",
"@feathersjs/typebox": "^5.0.41",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"@types/prettier": "^2.7.3",
"axios": "^1.13.5",
"axios": "^1.13.6",
"knex": "^3.1.0",
"mocha": "^11.7.5",
"mongodb": "^6.19.0",
"mssql": "^12.2.0",
"mysql": "^2.18.1",
"pg": "^8.18.0",
"pg": "^8.19.0",
"shx": "^0.4.0",
"sqlite3": "^5.1.7",
"tsx": "^4.21.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/knex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@
"@feathersjs/adapter-tests": "^5.0.41",
"@feathersjs/schema": "^5.0.41",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"knex": "^3.1.0",
"mocha": "^11.7.5",
"pg": "^8.18.0",
"pg": "^8.19.0",
"shx": "^0.4.0",
"sqlite3": "^5.1.7",
"typescript": "^5.9.3"
Expand Down
6 changes: 3 additions & 3 deletions packages/koa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@types/koa-qs": "^2.0.5",
"@types/koa-static": "^4.0.4",
"@types/koa__cors": "^5.0.1",
"koa": "^3.1.1",
"koa": "^3.1.2",
"koa-body": "^7.0.1",
"koa-compose": "^4.1.0",
"koa-qs": "^3.0.0",
Expand All @@ -71,8 +71,8 @@
"@feathersjs/tests": "^5.0.41",
"@types/koa-compose": "^3.2.9",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"axios": "^1.13.5",
"@types/node": "^25.3.3",
"axios": "^1.13.6",
"mocha": "^11.7.5",
"shx": "^0.4.0",
"ts-node": "^10.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/memory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@feathersjs/adapter-tests": "^5.0.41",
"@feathersjs/feathers": "^5.0.41",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"mocha": "^11.7.5",
"shx": "^0.4.0",
"ts-node": "^10.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@feathersjs/adapter-tests": "^5.0.41",
"@feathersjs/schema": "^5.0.41",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"mocha": "^11.7.5",
"mongodb-memory-server": "^11.0.1",
"shx": "^0.4.0",
Expand Down
45 changes: 15 additions & 30 deletions packages/mongodb/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -853,48 +853,33 @@ describe('Feathers MongoDB Service', () => {
})

it('rejects object as id in get', async () => {
await assert.rejects(
() => app.service('people').get({ $ne: null } as any),
{
name: 'BadRequest'
}
)
await assert.rejects(() => app.service('people').get({ $ne: null } as any), {
name: 'BadRequest'
})
})

it('rejects object as id in remove', async () => {
await assert.rejects(
() => app.service('people').remove({ $ne: null } as any),
{
name: 'BadRequest'
}
)
await assert.rejects(() => app.service('people').remove({ $ne: null } as any), {
name: 'BadRequest'
})
})

it('rejects object as id in update', async () => {
await assert.rejects(
() => app.service('people').update({ $ne: null } as any, { name: 'Hacked' }),
{
name: 'BadRequest'
}
)
await assert.rejects(() => app.service('people').update({ $ne: null } as any, { name: 'Hacked' }), {
name: 'BadRequest'
})
})

it('rejects object as id in patch', async () => {
await assert.rejects(
() => app.service('people').patch({ $ne: null } as any, { name: 'Hacked' }),
{
name: 'BadRequest'
}
)
await assert.rejects(() => app.service('people').patch({ $ne: null } as any, { name: 'Hacked' }), {
name: 'BadRequest'
})
})

it('rejects regex operator as id', async () => {
await assert.rejects(
() => app.service('people').get({ $regex: '^' } as any),
{
name: 'BadRequest'
}
)
await assert.rejects(() => app.service('people').get({ $regex: '^' } as any), {
name: 'BadRequest'
})
})
})

Expand Down
4 changes: 2 additions & 2 deletions packages/rest-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@
"@feathersjs/memory": "^5.0.41",
"@feathersjs/tests": "^5.0.41",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"@types/node-fetch": "^2.6.13",
"@types/qs": "^6.14.0",
"axios": "^1.13.5",
"axios": "^1.13.6",
"mocha": "^11.7.5",
"node-fetch": "^2.6.1",
"rxjs": "^7.8.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@
"@feathersjs/feathers": "^5.0.41",
"@feathersjs/hooks": "^0.9.0",
"@types/json-schema": "^7.0.15",
"ajv": "^8.17.1",
"ajv": "^8.18.0",
"ajv-formats": "^3.0.1",
"json-schema-to-ts": "^3.1.1"
},
"devDependencies": {
"@feathersjs/memory": "^5.0.41",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"ajv-formats": "^3.0.1",
"mocha": "^11.7.5",
"shx": "^0.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/socketio-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@feathersjs/socketio": "^5.0.41",
"@feathersjs/tests": "^5.0.41",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"mocha": "^11.7.5",
"shx": "^0.4.0",
"socket.io-client": "^4.8.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/socketio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@feathersjs/memory": "^5.0.41",
"@feathersjs/tests": "^5.0.41",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"lodash": "^4.17.23",
"mocha": "^11.7.5",
"shx": "^0.4.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@
"access": "public"
},
"dependencies": {
"@types/lodash": "^4.17.23",
"axios": "^1.13.5",
"@types/lodash": "^4.17.24",
"axios": "^1.13.6",
"lodash": "^4.17.23"
},
"devDependencies": {
"@feathersjs/feathers": "^5.0.41",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"mocha": "^11.7.5",
"shx": "^0.4.0",
"ts-node": "^10.9.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/transport-commons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
},
"devDependencies": {
"@types/encodeurl": "^1.0.3",
"@types/lodash": "^4.17.23",
"@types/lodash": "^4.17.24",
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"mocha": "^11.7.5",
"shx": "^0.4.0",
"ts-node": "^10.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/typebox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^25.3.0",
"@types/node": "^25.3.3",
"mocha": "^11.7.5",
"shx": "^0.4.0",
"typescript": "^5.9.3"
Expand Down
0