@loopback/example-log-extension 6.1.5 → 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.
- package/CHANGELOG.md +18 -0
- package/dist/mixins/log.mixin.d.ts +10 -10
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [7.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-log-extension@6.1.5...@loopback/example-log-extension@7.0.0) (2024-03-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### chore
|
|
10
|
+
|
|
11
|
+
* drop Node.js 16 support ([b9efcb4](https://github.com/loopbackio/loopback-next/commit/b9efcb477d50507ba3c778ba23ea7acba7692593))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### BREAKING CHANGES
|
|
15
|
+
|
|
16
|
+
* Drop Node.js 16 support in all LB4 modules and extensions
|
|
17
|
+
|
|
18
|
+
Signed-off-by: dhmlau <dhmlau@ca.ibm.com>
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [6.1.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-log-extension@6.1.4...@loopback/example-log-extension@6.1.5) (2024-01-11)
|
|
7
25
|
|
|
8
26
|
**Note:** Version bump only for package @loopback/example-log-extension
|
|
@@ -93,19 +93,19 @@ export declare function LogMixin<T extends MixinTarget<Application>>(superClass:
|
|
|
93
93
|
(eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): Application;
|
|
94
94
|
(event: string | symbol, listener: (...args: any[]) => void): Application;
|
|
95
95
|
};
|
|
96
|
-
[EventEmitter.captureRejectionSymbol]?: ((error: Error, event: string, ...args: any[]) => void) | undefined;
|
|
97
|
-
addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
98
|
-
removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
99
|
-
off: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
96
|
+
[EventEmitter.captureRejectionSymbol]?: (<K>(error: Error, event: string | symbol, ...args: any[]) => void) | undefined;
|
|
97
|
+
addListener: <K_1>(eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
98
|
+
removeListener: <K_2>(eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
99
|
+
off: <K_3>(eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
100
100
|
removeAllListeners: (event?: string | symbol | undefined) => Application;
|
|
101
101
|
setMaxListeners: (n: number) => Application;
|
|
102
102
|
getMaxListeners: () => number;
|
|
103
|
-
listeners: (eventName: string | symbol) => Function[];
|
|
104
|
-
rawListeners: (eventName: string | symbol) => Function[];
|
|
105
|
-
emit: (eventName: string | symbol, ...args: any[]) => boolean;
|
|
106
|
-
listenerCount: (eventName: string | symbol) => number;
|
|
107
|
-
prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
108
|
-
prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
103
|
+
listeners: <K_4>(eventName: string | symbol) => Function[];
|
|
104
|
+
rawListeners: <K_5>(eventName: string | symbol) => Function[];
|
|
105
|
+
emit: <K_6>(eventName: string | symbol, ...args: any[]) => boolean;
|
|
106
|
+
listenerCount: <K_7>(eventName: string | symbol, listener?: Function | undefined) => number;
|
|
107
|
+
prependListener: <K_8>(eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
108
|
+
prependOnceListener: <K_9>(eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
109
109
|
eventNames: () => (string | symbol)[];
|
|
110
110
|
};
|
|
111
111
|
} & T;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loopback/example-log-extension",
|
|
3
3
|
"description": "An example showing how to write a complex log extension for LoopBack 4",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "7.0.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"loopback",
|
|
7
7
|
"loopback-extension"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "https://github.com/loopbackio/loopback-next/issues"
|
|
22
22
|
},
|
|
23
23
|
"engines": {
|
|
24
|
-
"node": "
|
|
24
|
+
"node": "18 || 20"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "lb-tsc",
|
|
@@ -45,20 +45,20 @@
|
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@loopback/core": "^
|
|
49
|
-
"@loopback/rest": "^
|
|
48
|
+
"@loopback/core": "^6.0.0",
|
|
49
|
+
"@loopback/rest": "^14.0.0",
|
|
50
50
|
"chalk": "^4.1.2",
|
|
51
51
|
"debug": "^4.3.4",
|
|
52
52
|
"tslib": "^2.6.2"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@loopback/build": "^
|
|
56
|
-
"@loopback/eslint-config": "^
|
|
57
|
-
"@loopback/testlab": "^
|
|
55
|
+
"@loopback/build": "^11.0.0",
|
|
56
|
+
"@loopback/eslint-config": "^15.0.0",
|
|
57
|
+
"@loopback/testlab": "^7.0.0",
|
|
58
58
|
"@types/debug": "^4.1.12",
|
|
59
|
-
"@types/node": "^16.18.
|
|
60
|
-
"eslint": "^8.
|
|
59
|
+
"@types/node": "^16.18.86",
|
|
60
|
+
"eslint": "^8.57.0",
|
|
61
61
|
"typescript": "~5.2.2"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "bb4864f7405492d9c86c7db6e714542a292a8790"
|
|
64
64
|
}
|