@loopback/example-access-control-migration 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 +26 -0
- package/dist/application.d.ts +27 -27
- package/package.json +20 -20
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-access-control-migration@7.0.0...@loopback/example-access-control-migration@7.0.1) (2024-04-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @loopback/example-access-control-migration
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [7.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-access-control-migration@6.1.5...@loopback/example-access-control-migration@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-access-control-migration@6.1.4...@loopback/example-access-control-migration@6.1.5) (2024-01-11)
|
|
7
33
|
|
|
8
34
|
**Note:** Version bump only for package @loopback/example-access-control-migration
|
package/dist/application.d.ts
CHANGED
|
@@ -87,18 +87,18 @@ declare const AccessControlApplication_base: (new (...args: any[]) => {
|
|
|
87
87
|
(eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): import("@loopback/core").Application;
|
|
88
88
|
(event: string | symbol, listener: (...args: any[]) => void): import("@loopback/core").Application;
|
|
89
89
|
};
|
|
90
|
-
addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
91
|
-
removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
92
|
-
off: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
90
|
+
addListener: <K_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
91
|
+
removeListener: <K_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
92
|
+
off: <K_3>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
93
93
|
removeAllListeners: (event?: string | symbol | undefined) => import("@loopback/core").Application;
|
|
94
94
|
setMaxListeners: (n: number) => import("@loopback/core").Application;
|
|
95
95
|
getMaxListeners: () => number;
|
|
96
|
-
listeners: (eventName: string | symbol) => Function[];
|
|
97
|
-
rawListeners: (eventName: string | symbol) => Function[];
|
|
98
|
-
emit: (eventName: string | symbol, ...args: any[]) => boolean;
|
|
99
|
-
listenerCount: (eventName: string | symbol) => number;
|
|
100
|
-
prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
101
|
-
prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
96
|
+
listeners: <K_4>(eventName: string | symbol) => Function[];
|
|
97
|
+
rawListeners: <K_5>(eventName: string | symbol) => Function[];
|
|
98
|
+
emit: <K_6>(eventName: string | symbol, ...args: any[]) => boolean;
|
|
99
|
+
listenerCount: <K_7>(eventName: string | symbol, listener?: Function | undefined) => number;
|
|
100
|
+
prependListener: <K_8>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
101
|
+
prependOnceListener: <K_9>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
102
102
|
eventNames: () => (string | symbol)[];
|
|
103
103
|
}) & (new (...args: any[]) => {
|
|
104
104
|
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>;
|
|
@@ -172,18 +172,18 @@ declare const AccessControlApplication_base: (new (...args: any[]) => {
|
|
|
172
172
|
(eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): import("@loopback/core").Application;
|
|
173
173
|
(event: string | symbol, listener: (...args: any[]) => void): import("@loopback/core").Application;
|
|
174
174
|
};
|
|
175
|
-
addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
176
|
-
removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
177
|
-
off: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
175
|
+
addListener: <K_1_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
176
|
+
removeListener: <K_2_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
177
|
+
off: <K_3_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
178
178
|
removeAllListeners: (event?: string | symbol | undefined) => import("@loopback/core").Application;
|
|
179
179
|
setMaxListeners: (n: number) => import("@loopback/core").Application;
|
|
180
180
|
getMaxListeners: () => number;
|
|
181
|
-
listeners: (eventName: string | symbol) => Function[];
|
|
182
|
-
rawListeners: (eventName: string | symbol) => Function[];
|
|
183
|
-
emit: (eventName: string | symbol, ...args: any[]) => boolean;
|
|
184
|
-
listenerCount: (eventName: string | symbol) => number;
|
|
185
|
-
prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
186
|
-
prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
181
|
+
listeners: <K_4_1>(eventName: string | symbol) => Function[];
|
|
182
|
+
rawListeners: <K_5_1>(eventName: string | symbol) => Function[];
|
|
183
|
+
emit: <K_6_1>(eventName: string | symbol, ...args: any[]) => boolean;
|
|
184
|
+
listenerCount: <K_7_1>(eventName: string | symbol, listener?: Function | undefined) => number;
|
|
185
|
+
prependListener: <K_8_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
186
|
+
prependOnceListener: <K_9_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
187
187
|
eventNames: () => (string | symbol)[];
|
|
188
188
|
}) & (new (...args: any[]) => {
|
|
189
189
|
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>;
|
|
@@ -262,18 +262,18 @@ declare const AccessControlApplication_base: (new (...args: any[]) => {
|
|
|
262
262
|
(eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): import("@loopback/core").Application;
|
|
263
263
|
(event: string | symbol, listener: (...args: any[]) => void): import("@loopback/core").Application;
|
|
264
264
|
};
|
|
265
|
-
addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
266
|
-
removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
267
|
-
off: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
265
|
+
addListener: <K_1_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
266
|
+
removeListener: <K_2_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
267
|
+
off: <K_3_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
268
268
|
removeAllListeners: (event?: string | symbol | undefined) => import("@loopback/core").Application;
|
|
269
269
|
setMaxListeners: (n: number) => import("@loopback/core").Application;
|
|
270
270
|
getMaxListeners: () => number;
|
|
271
|
-
listeners: (eventName: string | symbol) => Function[];
|
|
272
|
-
rawListeners: (eventName: string | symbol) => Function[];
|
|
273
|
-
emit: (eventName: string | symbol, ...args: any[]) => boolean;
|
|
274
|
-
listenerCount: (eventName: string | symbol) => number;
|
|
275
|
-
prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
276
|
-
prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
271
|
+
listeners: <K_4_2>(eventName: string | symbol) => Function[];
|
|
272
|
+
rawListeners: <K_5_2>(eventName: string | symbol) => Function[];
|
|
273
|
+
emit: <K_6_2>(eventName: string | symbol, ...args: any[]) => boolean;
|
|
274
|
+
listenerCount: <K_7_2>(eventName: string | symbol, listener?: Function | undefined) => number;
|
|
275
|
+
prependListener: <K_8_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
276
|
+
prependOnceListener: <K_9_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
277
277
|
eventNames: () => (string | symbol)[];
|
|
278
278
|
}) & typeof RestApplication;
|
|
279
279
|
export declare class AccessControlApplication extends AccessControlApplication_base {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loopback/example-access-control-migration",
|
|
3
3
|
"description": "Tutorial example on how to migrate the access control example with LoopBack 4.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "7.0.1",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"loopback",
|
|
7
7
|
"LoopBack",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"directory": "examples/access-control-migration"
|
|
23
23
|
},
|
|
24
24
|
"engines": {
|
|
25
|
-
"node": "
|
|
25
|
+
"node": "18 || 20"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "lb-tsc",
|
|
@@ -51,31 +51,31 @@
|
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@loopback/authentication": "^
|
|
55
|
-
"@loopback/authorization": "^0.
|
|
56
|
-
"@loopback/boot": "^
|
|
57
|
-
"@loopback/core": "^
|
|
58
|
-
"@loopback/repository": "^
|
|
59
|
-
"@loopback/rest": "^
|
|
60
|
-
"@loopback/rest-explorer": "^
|
|
61
|
-
"@loopback/security": "^0.
|
|
62
|
-
"@loopback/service-proxy": "^
|
|
54
|
+
"@loopback/authentication": "^11.0.1",
|
|
55
|
+
"@loopback/authorization": "^0.15.1",
|
|
56
|
+
"@loopback/boot": "^7.0.1",
|
|
57
|
+
"@loopback/core": "^6.0.1",
|
|
58
|
+
"@loopback/repository": "^7.0.1",
|
|
59
|
+
"@loopback/rest": "^14.0.1",
|
|
60
|
+
"@loopback/rest-explorer": "^7.0.1",
|
|
61
|
+
"@loopback/security": "^0.11.1",
|
|
62
|
+
"@loopback/service-proxy": "^7.0.1",
|
|
63
63
|
"@types/bcryptjs": "2.4.6",
|
|
64
64
|
"bcryptjs": "^2.4.3",
|
|
65
65
|
"casbin": "^5.28.0",
|
|
66
66
|
"jsonwebtoken": "^9.0.2",
|
|
67
|
-
"loopback-connector-rest": "^
|
|
67
|
+
"loopback-connector-rest": "^5.0.1"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@loopback/build": "^
|
|
71
|
-
"@loopback/eslint-config": "^
|
|
72
|
-
"@loopback/http-caching-proxy": "^
|
|
73
|
-
"@loopback/testlab": "^
|
|
74
|
-
"@types/lodash": "^4.
|
|
75
|
-
"@types/node": "^16.18.
|
|
76
|
-
"eslint": "^8.
|
|
70
|
+
"@loopback/build": "^11.0.1",
|
|
71
|
+
"@loopback/eslint-config": "^15.0.1",
|
|
72
|
+
"@loopback/http-caching-proxy": "^6.0.1",
|
|
73
|
+
"@loopback/testlab": "^7.0.1",
|
|
74
|
+
"@types/lodash": "^4.17.0",
|
|
75
|
+
"@types/node": "^16.18.95",
|
|
76
|
+
"eslint": "^8.57.0",
|
|
77
77
|
"lodash": "^4.17.21",
|
|
78
78
|
"typescript": "~5.2.2"
|
|
79
79
|
},
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "2bdb95fe5122f3664368261c12e3037ee8c71c27"
|
|
81
81
|
}
|