@loopback/service-proxy 6.1.4 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -153,19 +153,19 @@ export declare function ServiceMixin<T extends MixinTarget<Application>>(superCl
|
|
|
153
153
|
(eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): Application;
|
|
154
154
|
(event: string | symbol, listener: (...args: any[]) => void): Application;
|
|
155
155
|
};
|
|
156
|
-
[EventEmitter.captureRejectionSymbol]?: ((error: Error, event: string, ...args: any[]) => void) | undefined;
|
|
157
|
-
addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
158
|
-
removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
159
|
-
off: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
156
|
+
[EventEmitter.captureRejectionSymbol]?: (<K>(error: Error, event: string | symbol, ...args: any[]) => void) | undefined;
|
|
157
|
+
addListener: <K_1>(eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
158
|
+
removeListener: <K_2>(eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
159
|
+
off: <K_3>(eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
160
160
|
removeAllListeners: (event?: string | symbol | undefined) => Application;
|
|
161
161
|
setMaxListeners: (n: number) => Application;
|
|
162
162
|
getMaxListeners: () => number;
|
|
163
|
-
listeners: (eventName: string | symbol) => Function[];
|
|
164
|
-
rawListeners: (eventName: string | symbol) => Function[];
|
|
165
|
-
emit: (eventName: string | symbol, ...args: any[]) => boolean;
|
|
166
|
-
listenerCount: (eventName: string | symbol) => number;
|
|
167
|
-
prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
168
|
-
prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
163
|
+
listeners: <K_4>(eventName: string | symbol) => Function[];
|
|
164
|
+
rawListeners: <K_5>(eventName: string | symbol) => Function[];
|
|
165
|
+
emit: <K_6>(eventName: string | symbol, ...args: any[]) => boolean;
|
|
166
|
+
listenerCount: <K_7>(eventName: string | symbol, listener?: Function | undefined) => number;
|
|
167
|
+
prependListener: <K_8>(eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
168
|
+
prependOnceListener: <K_9>(eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
169
169
|
eventNames: () => (string | symbol)[];
|
|
170
170
|
};
|
|
171
171
|
} & T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.mixin.js","sourceRoot":"","sources":["../../src/mixins/service.mixin.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,uCAAuC;AACvC,+CAA+C;AAC/C,gEAAgE;;;
|
|
1
|
+
{"version":3,"file":"service.mixin.js","sourceRoot":"","sources":["../../src/mixins/service.mixin.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,uCAAuC;AACvC,+CAA+C;AAC/C,gEAAgE;;;AAuBhE;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,YAAY,CAC1B,UAAa;IAEb,OAAO,KAAM,SAAQ,UAAU;QAC7B;;;;;;;;;;;;;;;;;;;;;;;;;;WA0BG;QACH,eAAe,CACb,QAAkC,EAClC,aAAuC;YAEvC,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;QAC/C,CAAC;QAED;;;;;;;;;;;;;;;;;;;;WAoBG;QACH,wEAAwE;QACxE,0EAA0E;QAC1E,6DAA6D;QAC7D,aAAa;QACb,SAAS,CACP,aAA6B,EAC7B,aAAgD;YAEhD,MAAM,OAAO,GAAG,KAAK,CAAC,SAAS,CAAC,aAAa,EAAE,aAAa,CAAC,CAAC;YAC9D,IAAI,CAAC,sBAAsB,CAAC,aAAa,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;YACxD,OAAO,OAAO,CAAC;QACjB,CAAC;QAED;;;;;;WAMG;QACH,sBAAsB,CACpB,SAAyB,EACzB,mBAAuC;YAEvC,MAAM,YAAY,GAChB,mBAAmB,aAAnB,mBAAmB,cAAnB,mBAAmB,GAAI,cAAc,SAAS,CAAC,IAAI,EAAE,CAAC;YACxD,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAY,YAAY,CAAC,CAAC;YAE3D,IAAI,YAAY,CAAC,gBAAgB,EAAE;gBACjC,KAAK,MAAM,QAAQ,IAAI,YAAY,CAAC,gBAAgB,EAAE;oBACpD,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;iBAChC;aACF;QACH,CAAC;KACF,CAAC;AACJ,CAAC;AA9FD,oCA8FC;AAcD;;;;;;GAMG;AACH,MAAa,eAAe;IAC1B,8DAA8D;IAC9D,YAAY,GAAG,IAAW;QACxB,MAAM,IAAI,KAAK,CACb,iEAAiE,CAClE,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,eAAe,CAAI,QAAkC;QACnD,MAAM,IAAI,KAAK,EAAE,CAAC;IACpB,CAAC;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACI,SAAS,CAAC,SAA+B;QAC9C,MAAM,IAAI,KAAK,EAAE,CAAC;IACpB,CAAC;IAED;;;;;;OAMG;IACH,sBAAsB,CAAC,SAA+B,IAAG,CAAC;CAC3D;AAtED,0CAsEC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loopback/service-proxy",
|
|
3
3
|
"description": "A common set of interfaces for interacting with service oriented backends such as REST APIs, SOAP Web Services, and gRPC microservices",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "7.0.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"directory": "packages/service-proxy"
|
|
14
14
|
},
|
|
15
15
|
"engines": {
|
|
16
|
-
"node": "
|
|
16
|
+
"node": "18 || 20"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
19
|
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
"!*/__tests__"
|
|
36
36
|
],
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@loopback/core": "^
|
|
38
|
+
"@loopback/core": "^6.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"loopback-datasource-juggler": "^5.0.
|
|
41
|
+
"loopback-datasource-juggler": "^5.0.6",
|
|
42
42
|
"tslib": "^2.6.2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@loopback/build": "^
|
|
46
|
-
"@loopback/core": "^
|
|
47
|
-
"@loopback/eslint-config": "^
|
|
48
|
-
"@loopback/testlab": "^
|
|
49
|
-
"@types/node": "^16.18.
|
|
45
|
+
"@loopback/build": "^11.0.0",
|
|
46
|
+
"@loopback/core": "^6.0.0",
|
|
47
|
+
"@loopback/eslint-config": "^15.0.0",
|
|
48
|
+
"@loopback/testlab": "^7.0.0",
|
|
49
|
+
"@types/node": "^16.18.86"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "bb4864f7405492d9c86c7db6e714542a292a8790"
|
|
52
52
|
}
|