@nest-boot/auth 6.10.2 → 6.10.4
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/dist/auth.constants.d.ts +4 -0
- package/dist/auth.constants.js +8 -0
- package/dist/auth.constants.js.map +1 -0
- package/dist/auth.guard.js +6 -5
- package/dist/auth.guard.js.map +1 -1
- package/dist/auth.module-definition.d.ts +0 -4
- package/dist/auth.module-definition.js +1 -6
- package/dist/auth.module-definition.js.map +1 -1
- package/dist/decorators/can.decorator.js +2 -2
- package/dist/decorators/can.decorator.js.map +1 -1
- package/dist/decorators/current-personal-access-token.decorator.js +2 -2
- package/dist/decorators/current-personal-access-token.decorator.js.map +1 -1
- package/dist/decorators/current-user.decorator.js +2 -2
- package/dist/decorators/current-user.decorator.js.map +1 -1
- package/dist/decorators/require-auth.decorator.js +2 -2
- package/dist/decorators/require-auth.decorator.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -4
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils/random-string.util.js +1 -2
- package/dist/utils/random-string.util.js.map +1 -1
- package/package.json +25 -25
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.randomString =
|
|
6
|
+
exports.randomString = randomString;
|
|
7
7
|
const crypto_1 = __importDefault(require("crypto"));
|
|
8
8
|
const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
9
9
|
/**
|
|
@@ -23,5 +23,4 @@ function randomString(length) {
|
|
|
23
23
|
}
|
|
24
24
|
return result;
|
|
25
25
|
}
|
|
26
|
-
exports.randomString = randomString;
|
|
27
26
|
//# sourceMappingURL=random-string.util.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"random-string.util.js","sourceRoot":"","sources":["../../src/utils/random-string.util.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"random-string.util.js","sourceRoot":"","sources":["../../src/utils/random-string.util.ts"],"names":[],"mappings":";;;;;AAUA,oCAaC;AAvBD,oDAA4B;AAE5B,MAAM,UAAU,GACd,gEAAgE,CAAC;AAEnE;;;;GAIG;AACH,SAAgB,YAAY,CAAC,MAAc;IACzC,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,GAAG,GAAG,CAAC,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;IAC/D,MAAM,WAAW,GAAG,gBAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;IAEjD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,IAAI,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QAC5D,MAAM,UAAU,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;QAClC,IAAI,UAAU,GAAG,GAAG,GAAG,CAAC,GAAG,GAAG,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC;YACjD,MAAM,IAAI,UAAU,CAAC,MAAM,CAAC,UAAU,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC;QAC9D,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nest-boot/auth",
|
|
3
|
-
"version": "6.10.
|
|
3
|
+
"version": "6.10.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "d4rkcr0w <me@d4rkcr0w.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -18,43 +18,43 @@
|
|
|
18
18
|
"ms": "^2.1.3"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@mikro-orm/core": "^6.
|
|
22
|
-
"@mikro-orm/nestjs": "^
|
|
23
|
-
"@
|
|
24
|
-
"@
|
|
25
|
-
"@
|
|
21
|
+
"@mikro-orm/core": "^6.2.9",
|
|
22
|
+
"@mikro-orm/nestjs": "^6.0.2",
|
|
23
|
+
"@nest-boot/common": "^6.10.1",
|
|
24
|
+
"@nest-boot/database": "^6.11.0",
|
|
25
|
+
"@nest-boot/eslint-config": "^6.10.1",
|
|
26
|
+
"@nest-boot/eslint-plugin": "^6.10.1",
|
|
27
|
+
"@nest-boot/hash": "^6.10.1",
|
|
28
|
+
"@nest-boot/i18n": "^6.10.1",
|
|
29
|
+
"@nest-boot/request-context": "^6.10.1",
|
|
30
|
+
"@nest-boot/tsconfig": "^6.0.0",
|
|
31
|
+
"@nestjs/common": "^10.3.10",
|
|
32
|
+
"@nestjs/config": "^3.2.3",
|
|
33
|
+
"@nestjs/core": "^10.3.10",
|
|
26
34
|
"@types/express": "^4.17.17",
|
|
27
35
|
"@types/jest": "^29.5.12",
|
|
28
|
-
"@types/lodash": "^4.
|
|
36
|
+
"@types/lodash": "^4.17.6",
|
|
29
37
|
"@types/ms": "^0.7.31",
|
|
30
|
-
"@types/node": "^20.
|
|
31
|
-
"express": "^4.
|
|
38
|
+
"@types/node": "^20.14.10",
|
|
39
|
+
"express": "^4.19.2",
|
|
32
40
|
"jest": "^29.7.0",
|
|
33
|
-
"reflect-metadata": "^0.
|
|
41
|
+
"reflect-metadata": "^0.2.2",
|
|
34
42
|
"rxjs": "^7.8.1",
|
|
35
|
-
"ts-jest": "^29.
|
|
36
|
-
"typescript": "^5.
|
|
37
|
-
"@nest-boot/common": "6.10.0",
|
|
38
|
-
"@nest-boot/eslint-plugin": "6.10.0",
|
|
39
|
-
"@nest-boot/eslint-config": "6.10.0",
|
|
40
|
-
"@nest-boot/hash": "6.10.0",
|
|
41
|
-
"@nest-boot/i18n": "6.10.0",
|
|
42
|
-
"@nest-boot/tsconfig": "6.10.0",
|
|
43
|
-
"@nest-boot/request-context": "6.10.0",
|
|
44
|
-
"@nest-boot/database": "6.10.0"
|
|
43
|
+
"ts-jest": "^29.2.2",
|
|
44
|
+
"typescript": "^5.5.3"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@mikro-orm/core": "^6.0.0",
|
|
48
48
|
"@mikro-orm/nestjs": "^5.0.0",
|
|
49
|
+
"@nest-boot/common": "^6.10.1",
|
|
50
|
+
"@nest-boot/database": "^6.11.0",
|
|
51
|
+
"@nest-boot/i18n": "^6.10.1",
|
|
52
|
+
"@nest-boot/request-context": "^6.10.1",
|
|
49
53
|
"@nestjs/common": "^10.0.0",
|
|
50
54
|
"@nestjs/core": "^10.0.0",
|
|
51
55
|
"express": "^4.0.0",
|
|
52
56
|
"reflect-metadata": "^0.1.13",
|
|
53
|
-
"rxjs": "^7.0.0"
|
|
54
|
-
"@nest-boot/common": "6.10.0",
|
|
55
|
-
"@nest-boot/database": "6.10.0",
|
|
56
|
-
"@nest-boot/i18n": "6.10.0",
|
|
57
|
-
"@nest-boot/request-context": "6.10.0"
|
|
57
|
+
"rxjs": "^7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"access": "public"
|