@whook/oauth2 20.0.1 → 20.1.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/package.json +25 -24
- package/src/__snapshots__/index.test.ts.snap +1 -1
- package/src/routes/__snapshots__/getOAuth2Authorize.test.ts.snap +1 -1
- package/src/routes/__snapshots__/postOAuth2Acknowledge.test.ts.snap +1 -1
- package/src/routes/__snapshots__/postOAuth2Token.test.ts.snap +1 -1
- package/src/services/__snapshots__/oAuth2CodeGranter.test.ts.snap +1 -1
- package/src/services/oAuth2PasswordGranter.ts +1 -1
package/package.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"name": "@whook/oauth2",
|
|
26
|
-
"version": "20.0
|
|
26
|
+
"version": "20.1.0",
|
|
27
27
|
"description": "OAuth2 implementation for Whook servers",
|
|
28
28
|
"type": "module",
|
|
29
29
|
"main": "dist/index.js",
|
|
@@ -43,37 +43,37 @@
|
|
|
43
43
|
},
|
|
44
44
|
"homepage": "https://github.com/nfroidure/whook",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@whook/authorization": "^20.0
|
|
47
|
-
"@whook/whook": "^20.0
|
|
46
|
+
"@whook/authorization": "^20.1.0",
|
|
47
|
+
"@whook/whook": "^20.1.0",
|
|
48
48
|
"camelcase": "^8.0.0",
|
|
49
|
-
"common-services": "^17.
|
|
49
|
+
"common-services": "^17.1.1",
|
|
50
50
|
"cookie": "^1.0.2",
|
|
51
|
-
"knifecycle": "^19.1.
|
|
52
|
-
"type-fest": "^
|
|
51
|
+
"knifecycle": "^19.1.2",
|
|
52
|
+
"type-fest": "^5.1.0",
|
|
53
53
|
"ya-json-schema-types": "^1.0.1",
|
|
54
|
-
"ya-open-api-types": "^1.2.
|
|
54
|
+
"ya-open-api-types": "^1.2.2",
|
|
55
55
|
"yerror": "^8.0.0",
|
|
56
56
|
"yhttperror": "^8.1.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@eslint/js": "^9.
|
|
60
|
-
"@swc/cli": "^0.7.
|
|
61
|
-
"@swc/core": "^1.11
|
|
59
|
+
"@eslint/js": "^9.30.1",
|
|
60
|
+
"@swc/cli": "^0.7.8",
|
|
61
|
+
"@swc/core": "^1.12.11",
|
|
62
62
|
"@swc/helpers": "^0.5.17",
|
|
63
|
-
"@swc/jest": "^0.2.
|
|
64
|
-
"eslint": "^9.
|
|
63
|
+
"@swc/jest": "^0.2.39",
|
|
64
|
+
"eslint": "^9.30.1",
|
|
65
65
|
"eslint-config-prettier": "^10.1.5",
|
|
66
|
-
"eslint-plugin-jest": "^
|
|
67
|
-
"eslint-plugin-prettier": "^5.
|
|
66
|
+
"eslint-plugin-jest": "^29.0.1",
|
|
67
|
+
"eslint-plugin-prettier": "^5.5.1",
|
|
68
68
|
"http-auth-utils": "^6.0.1",
|
|
69
|
-
"jest": "^
|
|
69
|
+
"jest": "^30.0.4",
|
|
70
70
|
"jsdoc-to-markdown": "^9.1.1",
|
|
71
|
-
"metapak": "^6.0.
|
|
72
|
-
"metapak-nfroidure": "20.0.
|
|
73
|
-
"prettier": "^3.
|
|
71
|
+
"metapak": "^6.0.4",
|
|
72
|
+
"metapak-nfroidure": "20.0.5",
|
|
73
|
+
"prettier": "^3.6.2",
|
|
74
74
|
"rimraf": "^6.0.1",
|
|
75
75
|
"typescript": "^5.8.3",
|
|
76
|
-
"typescript-eslint": "^8.
|
|
76
|
+
"typescript-eslint": "^8.36.0"
|
|
77
77
|
},
|
|
78
78
|
"contributors": [],
|
|
79
79
|
"engines": {
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
"cli": "env NODE_ENV=${NODE_ENV:-cli}",
|
|
126
126
|
"cover": "node --run jest -- --coverage",
|
|
127
127
|
"doc": "echo \"# API\" > API.md; jsdoc2md 'dist/**/*.js' >> API.md && git add API.md",
|
|
128
|
-
"format": "
|
|
128
|
+
"format": "node --run prettier",
|
|
129
129
|
"jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest",
|
|
130
130
|
"lint": "eslint 'src/**/*.ts'",
|
|
131
131
|
"metapak": "metapak",
|
|
@@ -133,8 +133,9 @@
|
|
|
133
133
|
"rebuild": "swc ./src -s -d dist -C jsc.target=es2022",
|
|
134
134
|
"test": "node --run jest"
|
|
135
135
|
},
|
|
136
|
-
"
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
136
|
+
"gitHead": "9cdb9ac584df098f140a520601a8d6579195dc3f",
|
|
137
|
+
"funding": {
|
|
138
|
+
"type": "individual",
|
|
139
|
+
"url": "https://github.com/sponsors/nfroidure"
|
|
140
|
+
}
|
|
140
141
|
}
|
|
@@ -18,7 +18,7 @@ export type OAuth2PasswordGranterParameters = {
|
|
|
18
18
|
password: string;
|
|
19
19
|
scope?: string;
|
|
20
20
|
};
|
|
21
|
-
export type OAuth2PasswordGranterService
|
|
21
|
+
export type OAuth2PasswordGranterService = OAuth2GranterService<
|
|
22
22
|
Record<string, unknown>,
|
|
23
23
|
Record<string, unknown>,
|
|
24
24
|
OAuth2PasswordGranterParameters
|