mirror of
https://github.com/feathersjs/feathers.git
synced 2026-02-01 17:37:38 +00:00
chore: Update all dependencies and add type pointer (#1829)
This commit is contained in:
parent
d10145d91a
commit
4e0cce173d
8224
package-lock.json
generated
8224
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -47,13 +47,13 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/mocha": "^7.0.1",
|
||||
"@types/mongodb": "^3.3.15",
|
||||
"@types/node": "^13.7.0",
|
||||
"@types/mongodb": "^3.3.16",
|
||||
"@types/node": "^13.7.4",
|
||||
"mocha": "^7.0.1",
|
||||
"mongodb": "^3.5.2",
|
||||
"mongodb": "^3.5.3",
|
||||
"shx": "^0.3.2",
|
||||
"ts-node": "^8.6.2",
|
||||
"typescript": "^3.7.5"
|
||||
"typescript": "^3.8.2"
|
||||
},
|
||||
"gitHead": "9b9f0f13387341bdd320f1e66feda828fca2c9f2"
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ export interface ServiceOptions {
|
||||
export interface InternalServiceMethods<T = any> {
|
||||
_find (params?: Params): Promise<T | T[] | Paginated<T>>;
|
||||
_get (id: Id, params?: Params): Promise<T>;
|
||||
_create (data: Partial<T> | Array<Partial<T>>, params?: Params): Promise<T | T[]>;
|
||||
_create (data: Partial<T> | Partial<T>[], params?: Params): Promise<T | T[]>;
|
||||
_update (id: Id, data: T, params?: Params): Promise<T>;
|
||||
_patch (id: NullableId, data: Partial<T>, params?: Params): Promise<T | T[]>;
|
||||
_remove (id: NullableId, params?: Params): Promise<T | T[]>;
|
||||
@ -94,7 +94,7 @@ export class AdapterService<T = any> implements ServiceMethods<T> {
|
||||
return callMethod(this, '_get', id, params);
|
||||
}
|
||||
|
||||
create (data: Partial<T> | Array<Partial<T>>, params?: Params): Promise<T | T[]> {
|
||||
create (data: Partial<T> | Partial<T>[], params?: Params): Promise<T | T[]> {
|
||||
if (Array.isArray(data) && !this.allowsMulti('create')) {
|
||||
return Promise.reject(new MethodNotAllowed(`Can not create multiple entries`));
|
||||
}
|
||||
|
||||
@ -59,12 +59,12 @@
|
||||
"@feathersjs/socketio-client": "^4.5.1",
|
||||
"@types/debug": "^4.1.5",
|
||||
"@types/mocha": "^7.0.1",
|
||||
"@types/node": "^13.7.0",
|
||||
"@types/node": "^13.7.4",
|
||||
"axios": "^0.19.2",
|
||||
"mocha": "^7.0.1",
|
||||
"shx": "^0.3.2",
|
||||
"ts-node": "^8.6.2",
|
||||
"typescript": "^3.7.5"
|
||||
"typescript": "^3.8.2"
|
||||
},
|
||||
"gitHead": "9b9f0f13387341bdd320f1e66feda828fca2c9f2"
|
||||
}
|
||||
|
||||
@ -55,11 +55,11 @@
|
||||
"@types/debug": "^4.1.5",
|
||||
"@types/lodash": "^4.14.149",
|
||||
"@types/mocha": "^7.0.1",
|
||||
"@types/node": "^13.7.0",
|
||||
"@types/node": "^13.7.4",
|
||||
"mocha": "^7.0.1",
|
||||
"shx": "^0.3.2",
|
||||
"ts-node": "^8.6.2",
|
||||
"typescript": "^3.7.5"
|
||||
"typescript": "^3.8.2"
|
||||
},
|
||||
"gitHead": "9b9f0f13387341bdd320f1e66feda828fca2c9f2"
|
||||
}
|
||||
|
||||
@ -59,12 +59,12 @@
|
||||
"@types/express-session": "^1.15.16",
|
||||
"@types/lodash": "^4.14.149",
|
||||
"@types/mocha": "^7.0.1",
|
||||
"@types/node": "^13.7.0",
|
||||
"@types/node": "^13.7.4",
|
||||
"axios": "^0.19.2",
|
||||
"mocha": "^7.0.1",
|
||||
"shx": "^0.3.2",
|
||||
"ts-node": "^8.6.2",
|
||||
"typescript": "^3.7.5"
|
||||
"typescript": "^3.8.2"
|
||||
},
|
||||
"gitHead": "9b9f0f13387341bdd320f1e66feda828fca2c9f2"
|
||||
}
|
||||
|
||||
@ -51,19 +51,19 @@
|
||||
"jsonwebtoken": "^8.5.1",
|
||||
"lodash": "^4.17.15",
|
||||
"long-timeout": "^0.1.1",
|
||||
"uuid": "^3.4.0"
|
||||
"uuid": "^7.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/debug": "^4.1.5",
|
||||
"@types/lodash": "^4.14.149",
|
||||
"@types/mocha": "^7.0.1",
|
||||
"@types/node": "^13.7.0",
|
||||
"@types/node": "^13.7.4",
|
||||
"@types/uuid": "^3.4.7",
|
||||
"feathers-memory": "^4.1.0",
|
||||
"mocha": "^7.0.1",
|
||||
"shx": "^0.3.2",
|
||||
"ts-node": "^8.6.2",
|
||||
"typescript": "^3.7.5"
|
||||
"typescript": "^3.8.2"
|
||||
},
|
||||
"gitHead": "9b9f0f13387341bdd320f1e66feda828fca2c9f2"
|
||||
}
|
||||
|
||||
@ -55,16 +55,16 @@
|
||||
"body-parser": "^1.19.0",
|
||||
"feathers-memory": "^4.1.0",
|
||||
"jquery": "^3.4.1",
|
||||
"jsdom": "^16.1.0",
|
||||
"jsdom": "^16.2.0",
|
||||
"mocha": "^7.0.1",
|
||||
"mocha-puppeteer": "^0.14.0",
|
||||
"node-fetch": "^2.6.0",
|
||||
"parallel-webpack": "^2.4.0",
|
||||
"request": "^2.88.0",
|
||||
"request": "^2.88.2",
|
||||
"socket.io-client": "^2.3.0",
|
||||
"superagent": "^5.2.1",
|
||||
"superagent": "^5.2.2",
|
||||
"uglifyjs-webpack-plugin": "^2.2.0",
|
||||
"webpack": "^4.41.5",
|
||||
"webpack": "^4.41.6",
|
||||
"webpack-merge": "^4.2.2",
|
||||
"ws": "^7.2.1",
|
||||
"xhr2": "^0.2.0"
|
||||
|
||||
@ -42,11 +42,11 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/mocha": "^7.0.1",
|
||||
"@types/node": "^13.7.0",
|
||||
"@types/node": "^13.7.4",
|
||||
"mocha": "^7.0.1",
|
||||
"shx": "^0.3.2",
|
||||
"ts-node": "^8.6.2",
|
||||
"typescript": "^3.7.5"
|
||||
"typescript": "^3.8.2"
|
||||
},
|
||||
"gitHead": "9b9f0f13387341bdd320f1e66feda828fca2c9f2"
|
||||
}
|
||||
|
||||
@ -49,18 +49,18 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@feathersjs/feathers": "^4.5.1",
|
||||
"config": "^3.2.5",
|
||||
"config": "^3.2.6",
|
||||
"debug": "^4.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/config": "^0.0.36",
|
||||
"@types/debug": "^4.1.5",
|
||||
"@types/mocha": "^7.0.1",
|
||||
"@types/node": "^13.7.0",
|
||||
"@types/node": "^13.7.4",
|
||||
"mocha": "^7.0.1",
|
||||
"shx": "^0.3.2",
|
||||
"ts-node": "^8.6.2",
|
||||
"typescript": "^3.7.5"
|
||||
"typescript": "^3.8.2"
|
||||
},
|
||||
"gitHead": "9b9f0f13387341bdd320f1e66feda828fca2c9f2"
|
||||
}
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
"debug": "^4.1.1",
|
||||
"express": "^4.17.1",
|
||||
"lodash": "^4.17.15",
|
||||
"uberproto": "^2.0.5"
|
||||
"uberproto": "^2.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@feathersjs/authentication": "^4.5.1",
|
||||
|
||||
4
packages/feathers/index.d.ts
vendored
4
packages/feathers/index.d.ts
vendored
@ -143,7 +143,7 @@ declare namespace createApplication {
|
||||
|
||||
get (id: Id, params?: Params): Promise<T>;
|
||||
|
||||
create (data: Partial<T> | Array<Partial<T>>, params?: Params): Promise<T | T[]>;
|
||||
create (data: Partial<T> | Partial<T>[], params?: Params): Promise<T | T[]>;
|
||||
|
||||
update (id: NullableId, data: T, params?: Params): Promise<T | T[]>;
|
||||
|
||||
@ -159,7 +159,7 @@ declare namespace createApplication {
|
||||
interface ServiceOverloads<T> {
|
||||
create? (data: Partial<T>, params?: Params): Promise<T>;
|
||||
|
||||
create? (data: Array<Partial<T>>, params?: Params): Promise<T[]>;
|
||||
create? (data: Partial<T>[], params?: Params): Promise<T[]>;
|
||||
|
||||
update? (id: Id, data: T, params?: Params): Promise<T>;
|
||||
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
"@feathersjs/commons": "^4.5.1",
|
||||
"debug": "^4.1.1",
|
||||
"events": "^3.1.0",
|
||||
"uberproto": "^2.0.5"
|
||||
"uberproto": "^2.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"mocha": "^7.0.1"
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
"debug": "^4.1.1",
|
||||
"primus": "^7.3.4",
|
||||
"primus-emitter": "^3.1.1",
|
||||
"uberproto": "^2.0.5"
|
||||
"uberproto": "^2.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@feathersjs/commons": "^4.5.1",
|
||||
|
||||
@ -45,10 +45,10 @@
|
||||
"qs": "^6.9.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular/common": "^9.0.0",
|
||||
"@angular/core": "^9.0.0",
|
||||
"@angular/common": "^9.0.2",
|
||||
"@angular/core": "^9.0.2",
|
||||
"@angular/http": "^7.2.16",
|
||||
"@angular/platform-browser": "^9.0.0",
|
||||
"@angular/platform-browser": "^9.0.2",
|
||||
"@feathersjs/express": "^4.5.1",
|
||||
"@feathersjs/feathers": "^4.5.1",
|
||||
"@feathersjs/tests": "^4.5.1",
|
||||
@ -57,10 +57,10 @@
|
||||
"feathers-memory": "^4.1.0",
|
||||
"mocha": "^7.0.1",
|
||||
"node-fetch": "^2.6.0",
|
||||
"request": "^2.88.0",
|
||||
"request": "^2.88.2",
|
||||
"rxjs": "^6.5.4",
|
||||
"shx": "^0.3.2",
|
||||
"superagent": "^5.2.1"
|
||||
"superagent": "^5.2.2"
|
||||
},
|
||||
"gitHead": "9b9f0f13387341bdd320f1e66feda828fca2c9f2"
|
||||
}
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
"@types/socket.io": "^2.1.4",
|
||||
"debug": "^4.1.1",
|
||||
"socket.io": "^2.3.0",
|
||||
"uberproto": "^2.0.5"
|
||||
"uberproto": "^2.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@feathersjs/commons": "^4.5.1",
|
||||
|
||||
@ -51,10 +51,10 @@
|
||||
"@types/debug": "^4.1.5",
|
||||
"@types/lodash": "^4.14.149",
|
||||
"@types/mocha": "^7.0.1",
|
||||
"@types/node": "^13.7.0",
|
||||
"@types/node": "^13.7.4",
|
||||
"mocha": "^7.0.1",
|
||||
"shx": "^0.3.2",
|
||||
"ts-node": "^8.6.2",
|
||||
"typescript": "^3.7.5"
|
||||
"typescript": "^3.8.2"
|
||||
}
|
||||
}
|
||||
|
||||
@ -53,11 +53,11 @@
|
||||
"@feathersjs/feathers": "^4.5.1",
|
||||
"@types/debug": "^4.1.5",
|
||||
"@types/mocha": "^7.0.1",
|
||||
"@types/node": "^13.7.0",
|
||||
"@types/node": "^13.7.4",
|
||||
"mocha": "^7.0.1",
|
||||
"shx": "^0.3.2",
|
||||
"ts-node": "^8.6.2",
|
||||
"typescript": "^3.7.5"
|
||||
"typescript": "^3.8.2"
|
||||
},
|
||||
"gitHead": "9b9f0f13387341bdd320f1e66feda828fca2c9f2"
|
||||
}
|
||||
|
||||
@ -86,7 +86,7 @@ export function channels () {
|
||||
);
|
||||
|
||||
try {
|
||||
Promise.resolve(publisher(data, hook)).then(result => {
|
||||
Promise.resolve(publisher(data, hook)).then((result: any) => {
|
||||
if (!result) {
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user