@tsed/passport 8.25.5 → 8.26.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.
|
@@ -119,11 +119,12 @@ let ProtocolsService = class ProtocolsService {
|
|
|
119
119
|
done(null, ...[].concat(req.$ctx.data));
|
|
120
120
|
}
|
|
121
121
|
catch (err) {
|
|
122
|
+
const error = err;
|
|
122
123
|
if (err instanceof PassportMessage) {
|
|
123
124
|
done(null, false, { ...err.opts, message: err.message });
|
|
124
125
|
}
|
|
125
126
|
else {
|
|
126
|
-
done(
|
|
127
|
+
done(error, false, { message: error.message });
|
|
127
128
|
}
|
|
128
129
|
}
|
|
129
130
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tsed/passport",
|
|
3
3
|
"description": "Passport package for Ts.ED framework",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "8.
|
|
5
|
+
"version": "8.26.1",
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
7
|
"main": "./lib/esm/index.js",
|
|
8
8
|
"module": "./lib/esm/index.js",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"tslib": "2.7.0"
|
|
28
|
+
"tslib": ">=2.7.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@tsed/barrels": "8.
|
|
32
|
-
"@tsed/core": "8.
|
|
33
|
-
"@tsed/di": "8.
|
|
34
|
-
"@tsed/platform-http": "8.
|
|
35
|
-
"@tsed/platform-router": "8.
|
|
36
|
-
"@tsed/typescript": "8.
|
|
31
|
+
"@tsed/barrels": "8.26.1",
|
|
32
|
+
"@tsed/core": "8.26.1",
|
|
33
|
+
"@tsed/di": "8.26.1",
|
|
34
|
+
"@tsed/platform-http": "8.26.1",
|
|
35
|
+
"@tsed/platform-router": "8.26.1",
|
|
36
|
+
"@tsed/typescript": "8.26.1",
|
|
37
37
|
"@types/passport": "1.0.16",
|
|
38
38
|
"@types/passport-http": "0.3.11",
|
|
39
39
|
"@types/passport-local": "1.0.38",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"passport-http": "0.3.0",
|
|
44
44
|
"passport-local": "1.0.0",
|
|
45
45
|
"passport-strategy": "1.0.0",
|
|
46
|
-
"typescript": "
|
|
46
|
+
"typescript": "6.0.2",
|
|
47
47
|
"vitest": "3.2.4"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|