@loopback/example-passport-login 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-passport-login@5.1.5...@loopback/example-passport-login@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-passport-login@5.1.4...@loopback/example-passport-login@5.1.5) (2024-01-11)
7
25
 
8
26
  **Note:** Version bump only for package @loopback/example-passport-login
@@ -77,18 +77,18 @@ declare const OAuth2LoginApplication_base: (new (...args: any[]) => {
77
77
  (eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): import("@loopback/core").Application;
78
78
  (event: string | symbol, listener: (...args: any[]) => void): import("@loopback/core").Application;
79
79
  };
80
- addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
81
- removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
82
- off: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
80
+ addListener: <K_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
81
+ removeListener: <K_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
82
+ off: <K_3>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
83
83
  removeAllListeners: (event?: string | symbol | undefined) => import("@loopback/core").Application;
84
84
  setMaxListeners: (n: number) => import("@loopback/core").Application;
85
85
  getMaxListeners: () => number;
86
- listeners: (eventName: string | symbol) => Function[];
87
- rawListeners: (eventName: string | symbol) => Function[];
88
- emit: (eventName: string | symbol, ...args: any[]) => boolean;
89
- listenerCount: (eventName: string | symbol) => number;
90
- prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
91
- prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
86
+ listeners: <K_4>(eventName: string | symbol) => Function[];
87
+ rawListeners: <K_5>(eventName: string | symbol) => Function[];
88
+ emit: <K_6>(eventName: string | symbol, ...args: any[]) => boolean;
89
+ listenerCount: <K_7>(eventName: string | symbol, listener?: Function | undefined) => number;
90
+ prependListener: <K_8>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
91
+ prependOnceListener: <K_9>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
92
92
  eventNames: () => (string | symbol)[];
93
93
  }) & (new (...args: any[]) => {
94
94
  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>;
@@ -162,18 +162,18 @@ declare const OAuth2LoginApplication_base: (new (...args: any[]) => {
162
162
  (eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): import("@loopback/core").Application;
163
163
  (event: string | symbol, listener: (...args: any[]) => void): import("@loopback/core").Application;
164
164
  };
165
- addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
166
- removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
167
- off: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
165
+ addListener: <K_1_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
166
+ removeListener: <K_2_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
167
+ off: <K_3_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
168
168
  removeAllListeners: (event?: string | symbol | undefined) => import("@loopback/core").Application;
169
169
  setMaxListeners: (n: number) => import("@loopback/core").Application;
170
170
  getMaxListeners: () => number;
171
- listeners: (eventName: string | symbol) => Function[];
172
- rawListeners: (eventName: string | symbol) => Function[];
173
- emit: (eventName: string | symbol, ...args: any[]) => boolean;
174
- listenerCount: (eventName: string | symbol) => number;
175
- prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
176
- prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
171
+ listeners: <K_4_1>(eventName: string | symbol) => Function[];
172
+ rawListeners: <K_5_1>(eventName: string | symbol) => Function[];
173
+ emit: <K_6_1>(eventName: string | symbol, ...args: any[]) => boolean;
174
+ listenerCount: <K_7_1>(eventName: string | symbol, listener?: Function | undefined) => number;
175
+ prependListener: <K_8_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
176
+ prependOnceListener: <K_9_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
177
177
  eventNames: () => (string | symbol)[];
178
178
  }) & (new (...args: any[]) => {
179
179
  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>;
@@ -252,18 +252,18 @@ declare const OAuth2LoginApplication_base: (new (...args: any[]) => {
252
252
  (eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): import("@loopback/core").Application;
253
253
  (event: string | symbol, listener: (...args: any[]) => void): import("@loopback/core").Application;
254
254
  };
255
- addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
256
- removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
257
- off: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
255
+ addListener: <K_1_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
256
+ removeListener: <K_2_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
257
+ off: <K_3_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
258
258
  removeAllListeners: (event?: string | symbol | undefined) => import("@loopback/core").Application;
259
259
  setMaxListeners: (n: number) => import("@loopback/core").Application;
260
260
  getMaxListeners: () => number;
261
- listeners: (eventName: string | symbol) => Function[];
262
- rawListeners: (eventName: string | symbol) => Function[];
263
- emit: (eventName: string | symbol, ...args: any[]) => boolean;
264
- listenerCount: (eventName: string | symbol) => number;
265
- prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
266
- prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
261
+ listeners: <K_4_2>(eventName: string | symbol) => Function[];
262
+ rawListeners: <K_5_2>(eventName: string | symbol) => Function[];
263
+ emit: <K_6_2>(eventName: string | symbol, ...args: any[]) => boolean;
264
+ listenerCount: <K_7_2>(eventName: string | symbol, listener?: Function | undefined) => number;
265
+ prependListener: <K_8_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
266
+ prependOnceListener: <K_9_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
267
267
  eventNames: () => (string | symbol)[];
268
268
  }) & typeof RestApplication;
269
269
  export declare class OAuth2LoginApplication extends OAuth2LoginApplication_base {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loopback/example-passport-login",
3
3
  "description": "An example to demonstrate authentication with passport strategies",
4
- "version": "5.1.5",
4
+ "version": "6.0.0",
5
5
  "keywords": [
6
6
  "loopback",
7
7
  "LoopBack",
@@ -21,7 +21,7 @@
21
21
  "directory": "examples/passport-login"
22
22
  },
23
23
  "engines": {
24
- "node": "16 || 18 || 20"
24
+ "node": "18 || 20"
25
25
  },
26
26
  "scripts": {
27
27
  "build": "lb-tsc",
@@ -47,18 +47,18 @@
47
47
  "access": "public"
48
48
  },
49
49
  "dependencies": {
50
- "@loopback/authentication": "^10.1.5",
51
- "@loopback/authentication-passport": "^6.1.5",
52
- "@loopback/boot": "^6.1.5",
53
- "@loopback/core": "^5.1.5",
54
- "@loopback/mock-oauth2-provider": "^0.8.5",
55
- "@loopback/repository": "^6.1.5",
56
- "@loopback/rest": "^13.1.5",
57
- "@loopback/rest-crud": "^0.17.5",
58
- "@loopback/rest-explorer": "^6.1.5",
59
- "@loopback/security": "^0.10.5",
60
- "@loopback/service-proxy": "^6.1.5",
61
- "@types/jsonwebtoken": "9.0.5",
50
+ "@loopback/authentication": "^11.0.0",
51
+ "@loopback/authentication-passport": "^7.0.0",
52
+ "@loopback/boot": "^7.0.0",
53
+ "@loopback/core": "^6.0.0",
54
+ "@loopback/mock-oauth2-provider": "^0.9.0",
55
+ "@loopback/repository": "^7.0.0",
56
+ "@loopback/rest": "^14.0.0",
57
+ "@loopback/rest-crud": "^0.18.0",
58
+ "@loopback/rest-explorer": "^7.0.0",
59
+ "@loopback/security": "^0.11.0",
60
+ "@loopback/service-proxy": "^7.0.0",
61
+ "@types/jsonwebtoken": "9.0.6",
62
62
  "@types/lodash": "^4.14.202",
63
63
  "@types/passport": "^1.0.16",
64
64
  "@types/passport-facebook": "^3.0.3",
@@ -71,8 +71,8 @@
71
71
  "body-parser": "^1.20.2",
72
72
  "client-sessions": "^0.8.0",
73
73
  "debug": "^4.3.4",
74
- "express": "^4.18.2",
75
- "express-session": "^1.17.3",
74
+ "express": "^4.18.3",
75
+ "express-session": "^1.18.0",
76
76
  "jade": "^1.11.0",
77
77
  "lodash": "^4.17.21",
78
78
  "passport": "^0.5.3",
@@ -81,23 +81,23 @@
81
81
  "passport-google-oauth2": "^0.2.0",
82
82
  "passport-http": "^0.3.0",
83
83
  "passport-local": "^1.0.0",
84
- "passport-oauth2": "^1.7.0",
84
+ "passport-oauth2": "^1.8.0",
85
85
  "passport-twitter": "1.0.4",
86
86
  "path": "^0.12.7",
87
87
  "tslib": "^2.6.2"
88
88
  },
89
89
  "devDependencies": {
90
- "@loopback/build": "^10.1.5",
91
- "@loopback/eslint-config": "^14.0.5",
92
- "@loopback/http-caching-proxy": "^5.1.5",
93
- "@loopback/testlab": "^6.1.5",
90
+ "@loopback/build": "^11.0.0",
91
+ "@loopback/eslint-config": "^15.0.0",
92
+ "@loopback/http-caching-proxy": "^6.0.0",
93
+ "@loopback/testlab": "^7.0.0",
94
94
  "@types/express": "^4.17.21",
95
95
  "@types/lodash": "^4.14.202",
96
- "@types/node": "^16.18.70",
97
- "axios": "^1.6.5",
98
- "eslint": "^8.51.0",
96
+ "@types/node": "^16.18.86",
97
+ "axios": "^1.6.7",
98
+ "eslint": "^8.57.0",
99
99
  "lodash": "^4.17.21",
100
100
  "typescript": "~5.2.2"
101
101
  },
102
- "gitHead": "3f73360ac38e1615317cae977ac20c2e124e3518"
102
+ "gitHead": "bb4864f7405492d9c86c7db6e714542a292a8790"
103
103
  }