@loopback/example-validation-app 5.1.5 → 6.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 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
+ # [6.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-validation-app@5.1.5...@loopback/example-validation-app@6.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
  ## [5.1.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-validation-app@5.1.4...@loopback/example-validation-app@5.1.5) (2024-01-11)
7
25
 
8
26
  **Note:** Version bump only for package @loopback/example-validation-app
@@ -78,18 +78,18 @@ declare const ValidationApplication_base: (new (...args: any[]) => {
78
78
  (eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): import("@loopback/core").Application;
79
79
  (event: string | symbol, listener: (...args: any[]) => void): import("@loopback/core").Application;
80
80
  };
81
- addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
82
- removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
83
- off: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
81
+ addListener: <K_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
82
+ removeListener: <K_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
83
+ off: <K_3>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
84
84
  removeAllListeners: (event?: string | symbol | undefined) => import("@loopback/core").Application;
85
85
  setMaxListeners: (n: number) => import("@loopback/core").Application;
86
86
  getMaxListeners: () => number;
87
- listeners: (eventName: string | symbol) => Function[];
88
- rawListeners: (eventName: string | symbol) => Function[];
89
- emit: (eventName: string | symbol, ...args: any[]) => boolean;
90
- listenerCount: (eventName: string | symbol) => number;
91
- prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
92
- prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
87
+ listeners: <K_4>(eventName: string | symbol) => Function[];
88
+ rawListeners: <K_5>(eventName: string | symbol) => Function[];
89
+ emit: <K_6>(eventName: string | symbol, ...args: any[]) => boolean;
90
+ listenerCount: <K_7>(eventName: string | symbol, listener?: Function | undefined) => number;
91
+ prependListener: <K_8>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
92
+ prependOnceListener: <K_9>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
93
93
  eventNames: () => (string | symbol)[];
94
94
  }) & (new (...args: any[]) => {
95
95
  serviceProvider<S_1>(provider: import("@loopback/core").Constructor<import("@loopback/core").Provider<S_1>>, nameOrOptions?: string | import("@loopback/core").ServiceOptions | undefined): import("@loopback/boot").Binding<S_1>;
@@ -163,18 +163,18 @@ declare const ValidationApplication_base: (new (...args: any[]) => {
163
163
  (eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): import("@loopback/core").Application;
164
164
  (event: string | symbol, listener: (...args: any[]) => void): import("@loopback/core").Application;
165
165
  };
166
- addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
167
- removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
168
- off: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
166
+ addListener: <K_1_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
167
+ removeListener: <K_2_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
168
+ off: <K_3_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
169
169
  removeAllListeners: (event?: string | symbol | undefined) => import("@loopback/core").Application;
170
170
  setMaxListeners: (n: number) => import("@loopback/core").Application;
171
171
  getMaxListeners: () => number;
172
- listeners: (eventName: string | symbol) => Function[];
173
- rawListeners: (eventName: string | symbol) => Function[];
174
- emit: (eventName: string | symbol, ...args: any[]) => boolean;
175
- listenerCount: (eventName: string | symbol) => number;
176
- prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
177
- prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
172
+ listeners: <K_4_1>(eventName: string | symbol) => Function[];
173
+ rawListeners: <K_5_1>(eventName: string | symbol) => Function[];
174
+ emit: <K_6_1>(eventName: string | symbol, ...args: any[]) => boolean;
175
+ listenerCount: <K_7_1>(eventName: string | symbol, listener?: Function | undefined) => number;
176
+ prependListener: <K_8_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
177
+ prependOnceListener: <K_9_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
178
178
  eventNames: () => (string | symbol)[];
179
179
  }) & (new (...args: any[]) => {
180
180
  repository<R extends import("@loopback/repository").Repository<any>>(repoClass: import("@loopback/repository").Class<R>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined): import("@loopback/boot").Binding<R>;
@@ -253,18 +253,18 @@ declare const ValidationApplication_base: (new (...args: any[]) => {
253
253
  (eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): import("@loopback/core").Application;
254
254
  (event: string | symbol, listener: (...args: any[]) => void): import("@loopback/core").Application;
255
255
  };
256
- addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
257
- removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
258
- off: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
256
+ addListener: <K_1_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
257
+ removeListener: <K_2_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
258
+ off: <K_3_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
259
259
  removeAllListeners: (event?: string | symbol | undefined) => import("@loopback/core").Application;
260
260
  setMaxListeners: (n: number) => import("@loopback/core").Application;
261
261
  getMaxListeners: () => number;
262
- listeners: (eventName: string | symbol) => Function[];
263
- rawListeners: (eventName: string | symbol) => Function[];
264
- emit: (eventName: string | symbol, ...args: any[]) => boolean;
265
- listenerCount: (eventName: string | symbol) => number;
266
- prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
267
- prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
262
+ listeners: <K_4_2>(eventName: string | symbol) => Function[];
263
+ rawListeners: <K_5_2>(eventName: string | symbol) => Function[];
264
+ emit: <K_6_2>(eventName: string | symbol, ...args: any[]) => boolean;
265
+ listenerCount: <K_7_2>(eventName: string | symbol, listener?: Function | undefined) => number;
266
+ prependListener: <K_8_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
267
+ prependOnceListener: <K_9_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
268
268
  eventNames: () => (string | symbol)[];
269
269
  }) & typeof RestApplication;
270
270
  export declare class ValidationApplication extends ValidationApplication_base {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loopback/example-validation-app",
3
3
  "description": "An example demonstrating how to add validation in a LoopBack 4 application",
4
- "version": "5.1.5",
4
+ "version": "6.0.0",
5
5
  "keywords": [
6
6
  "loopback",
7
7
  "LoopBack",
@@ -19,7 +19,7 @@
19
19
  "directory": "examples/validation-app"
20
20
  },
21
21
  "engines": {
22
- "node": "16 || 18 || 20"
22
+ "node": "18 || 20"
23
23
  },
24
24
  "scripts": {
25
25
  "build": "lb-tsc",
@@ -50,23 +50,23 @@
50
50
  "access": "public"
51
51
  },
52
52
  "dependencies": {
53
- "@loopback/boot": "^6.1.5",
54
- "@loopback/core": "^5.1.5",
55
- "@loopback/repository": "^6.1.5",
56
- "@loopback/rest": "^13.1.5",
57
- "@loopback/rest-explorer": "^6.1.5",
58
- "@loopback/service-proxy": "^6.1.5",
59
- "strong-error-handler": "^5.0.6",
53
+ "@loopback/boot": "^7.0.0",
54
+ "@loopback/core": "^6.0.0",
55
+ "@loopback/repository": "^7.0.0",
56
+ "@loopback/rest": "^14.0.0",
57
+ "@loopback/rest-explorer": "^7.0.0",
58
+ "@loopback/service-proxy": "^7.0.0",
59
+ "strong-error-handler": "^5.0.7",
60
60
  "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@loopback/build": "^10.1.5",
64
- "@loopback/eslint-config": "^14.0.5",
65
- "@loopback/testlab": "^6.1.5",
66
- "@types/node": "^16.18.70",
67
- "eslint": "^8.51.0",
63
+ "@loopback/build": "^11.0.0",
64
+ "@loopback/eslint-config": "^15.0.0",
65
+ "@loopback/testlab": "^7.0.0",
66
+ "@types/node": "^16.18.86",
67
+ "eslint": "^8.57.0",
68
68
  "source-map-support": "^0.5.21",
69
69
  "typescript": "~5.2.2"
70
70
  },
71
- "gitHead": "3f73360ac38e1615317cae977ac20c2e124e3518"
71
+ "gitHead": "bb4864f7405492d9c86c7db6e714542a292a8790"
72
72
  }