@loopback/example-log-extension 6.1.5 → 7.0.1

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 CHANGED
@@ -3,6 +3,32 @@
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.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-log-extension@7.0.0...@loopback/example-log-extension@7.0.1) (2024-04-09)
7
+
8
+ **Note:** Version bump only for package @loopback/example-log-extension
9
+
10
+
11
+
12
+
13
+
14
+ # [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)
15
+
16
+
17
+ ### chore
18
+
19
+ * drop Node.js 16 support ([b9efcb4](https://github.com/loopbackio/loopback-next/commit/b9efcb477d50507ba3c778ba23ea7acba7692593))
20
+
21
+
22
+ ### BREAKING CHANGES
23
+
24
+ * Drop Node.js 16 support in all LB4 modules and extensions
25
+
26
+ Signed-off-by: dhmlau <dhmlau@ca.ibm.com>
27
+
28
+
29
+
30
+
31
+
6
32
  ## [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
33
 
8
34
  **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": "6.1.5",
4
+ "version": "7.0.1",
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": "16 || 18 || 20"
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": "^5.1.5",
49
- "@loopback/rest": "^13.1.5",
48
+ "@loopback/core": "^6.0.1",
49
+ "@loopback/rest": "^14.0.1",
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": "^10.1.5",
56
- "@loopback/eslint-config": "^14.0.5",
57
- "@loopback/testlab": "^6.1.5",
55
+ "@loopback/build": "^11.0.1",
56
+ "@loopback/eslint-config": "^15.0.1",
57
+ "@loopback/testlab": "^7.0.1",
58
58
  "@types/debug": "^4.1.12",
59
- "@types/node": "^16.18.70",
60
- "eslint": "^8.51.0",
59
+ "@types/node": "^16.18.95",
60
+ "eslint": "^8.57.0",
61
61
  "typescript": "~5.2.2"
62
62
  },
63
- "gitHead": "3f73360ac38e1615317cae977ac20c2e124e3518"
63
+ "gitHead": "2bdb95fe5122f3664368261c12e3037ee8c71c27"
64
64
  }