@loopback/example-passport-login 5.1.4 → 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 +26 -0
- package/dist/application.d.ts +27 -27
- package/package.json +25 -25
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
|
+
# [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
|
+
|
|
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)
|
|
25
|
+
|
|
26
|
+
**Note:** Version bump only for package @loopback/example-passport-login
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
6
32
|
## [5.1.4](https://github.com/loopbackio/loopback-next/compare/@loopback/example-passport-login@5.1.3...@loopback/example-passport-login@5.1.4) (2023-12-12)
|
|
7
33
|
|
|
8
34
|
**Note:** Version bump only for package @loopback/example-passport-login
|
package/dist/application.d.ts
CHANGED
|
@@ -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": "
|
|
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": "
|
|
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": "^
|
|
51
|
-
"@loopback/authentication-passport": "^
|
|
52
|
-
"@loopback/boot": "^
|
|
53
|
-
"@loopback/core": "^
|
|
54
|
-
"@loopback/mock-oauth2-provider": "^0.
|
|
55
|
-
"@loopback/repository": "^
|
|
56
|
-
"@loopback/rest": "^
|
|
57
|
-
"@loopback/rest-crud": "^0.
|
|
58
|
-
"@loopback/rest-explorer": "^
|
|
59
|
-
"@loopback/security": "^0.
|
|
60
|
-
"@loopback/service-proxy": "^
|
|
61
|
-
"@types/jsonwebtoken": "9.0.
|
|
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.
|
|
75
|
-
"express-session": "^1.
|
|
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.
|
|
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": "^
|
|
91
|
-
"@loopback/eslint-config": "^
|
|
92
|
-
"@loopback/http-caching-proxy": "^
|
|
93
|
-
"@loopback/testlab": "^
|
|
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.
|
|
97
|
-
"axios": "^1.6.
|
|
98
|
-
"eslint": "^8.
|
|
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": "
|
|
102
|
+
"gitHead": "bb4864f7405492d9c86c7db6e714542a292a8790"
|
|
103
103
|
}
|