@whook/oauth2 15.0.0 → 16.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/README.md +7 -1
- package/package.json +11 -10
package/README.md
CHANGED
|
@@ -57,8 +57,14 @@ Declare the plugin into your `src/index.ts` file:
|
|
|
57
57
|
// (...)
|
|
58
58
|
|
|
59
59
|
// Setup your own whook plugins or avoid whook defaults by leaving it empty
|
|
60
|
+
$.register(
|
|
61
|
+
constant('WHOOK_PLUGINS', [
|
|
62
|
+
...WHOOK_DEFAULT_PLUGINS,
|
|
63
|
+
+ '@whook/oauth2',
|
|
64
|
+
'@whook/cors',
|
|
65
|
+
]),
|
|
66
|
+
);
|
|
60
67
|
- $.register(constant('WHOOK_PLUGINS', ['@whook/whook']));
|
|
61
|
-
+ $.register(constant('WHOOK_PLUGINS', ['@whook/oauth2', '@whook/whook']));
|
|
62
68
|
|
|
63
69
|
// (...)
|
|
64
70
|
```
|
package/package.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"name": "@whook/oauth2",
|
|
26
|
-
"version": "
|
|
26
|
+
"version": "16.0.1",
|
|
27
27
|
"description": "OAuth2 implementation for Whook servers",
|
|
28
28
|
"type": "module",
|
|
29
29
|
"main": "dist/index.js",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"homepage": "https://github.com/nfroidure/whook",
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@types/cookie": "^0.5.4",
|
|
47
|
-
"@whook/authorization": "^
|
|
48
|
-
"@whook/whook": "^
|
|
47
|
+
"@whook/authorization": "^16.0.1",
|
|
48
|
+
"@whook/whook": "^16.0.1",
|
|
49
49
|
"camelcase": "^8.0.0",
|
|
50
|
-
"common-services": "^
|
|
50
|
+
"common-services": "^16.0.1",
|
|
51
51
|
"cookie": "^0.6.0",
|
|
52
52
|
"knifecycle": "^17.0.1",
|
|
53
53
|
"openapi-types": "^12.1.3",
|
|
54
|
-
"type-fest": "^4.
|
|
54
|
+
"type-fest": "^4.10.3",
|
|
55
55
|
"yerror": "^8.0.0",
|
|
56
56
|
"yhttperror": "^8.0.0"
|
|
57
57
|
},
|
|
@@ -65,18 +65,18 @@
|
|
|
65
65
|
"eslint": "^8.52.0",
|
|
66
66
|
"eslint-config-prettier": "^9.0.0",
|
|
67
67
|
"eslint-plugin-prettier": "^5.0.1",
|
|
68
|
-
"http-auth-utils": "^
|
|
68
|
+
"http-auth-utils": "^6.0.0",
|
|
69
69
|
"jest": "^29.7.0",
|
|
70
70
|
"jsdoc-to-markdown": "^8.0.0",
|
|
71
|
-
"metapak": "^
|
|
72
|
-
"metapak-nfroidure": "
|
|
71
|
+
"metapak": "^6.0.0",
|
|
72
|
+
"metapak-nfroidure": "18.0.0",
|
|
73
73
|
"prettier": "^3.0.3",
|
|
74
74
|
"rimraf": "^5.0.5",
|
|
75
75
|
"typescript": "^5.2.2"
|
|
76
76
|
},
|
|
77
77
|
"contributors": [],
|
|
78
78
|
"engines": {
|
|
79
|
-
"node": ">=
|
|
79
|
+
"node": ">=20.11.1"
|
|
80
80
|
},
|
|
81
81
|
"files": [
|
|
82
82
|
"dist",
|
|
@@ -153,6 +153,7 @@
|
|
|
153
153
|
"cli": "env NODE_ENV=${NODE_ENV:-cli}",
|
|
154
154
|
"cover": "npm run jest -- --coverage",
|
|
155
155
|
"doc": "echo \"# API\" > API.md; jsdoc2md 'dist/**/*.js' >> API.md && git add API.md",
|
|
156
|
+
"format": "npm run prettier",
|
|
156
157
|
"jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest",
|
|
157
158
|
"lint": "eslint 'src/**/*.ts'",
|
|
158
159
|
"metapak": "metapak",
|
|
@@ -161,5 +162,5 @@
|
|
|
161
162
|
"test": "npm run jest",
|
|
162
163
|
"type-check": "tsc --pretty --noEmit"
|
|
163
164
|
},
|
|
164
|
-
"gitHead": "
|
|
165
|
+
"gitHead": "be477f173cb376bfd3668a5b59ebb1da473d8956"
|
|
165
166
|
}
|