@nest-boot/request-context 8.0.0-beta.0 → 8.0.0-beta.2
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/create-request-context.decorator.d.ts +0 -56
- package/dist/create-request-context.decorator.js +0 -53
- package/dist/create-request-context.decorator.js.map +1 -1
- package/dist/repl.d.ts +0 -41
- package/dist/repl.js +0 -41
- package/dist/repl.js.map +1 -1
- package/dist/request-context.constants.d.ts +0 -22
- package/dist/request-context.constants.js +0 -22
- package/dist/request-context.constants.js.map +1 -1
- package/dist/request-context.d.ts +0 -284
- package/dist/request-context.interceptor.d.ts +0 -30
- package/dist/request-context.interceptor.js +52 -45
- package/dist/request-context.interceptor.js.map +1 -1
- package/dist/request-context.js +0 -263
- package/dist/request-context.js.map +1 -1
- package/dist/request-context.middleware.d.ts +0 -27
- package/dist/request-context.middleware.js +0 -27
- package/dist/request-context.middleware.js.map +1 -1
- package/dist/request-context.module.d.ts +0 -41
- package/dist/request-context.module.js +0 -41
- package/dist/request-context.module.js.map +1 -1
- package/package.json +30 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-context.module.js","sourceRoot":"","sources":["../src/request-context.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"request-context.module.js","sourceRoot":"","sources":["../src/request-context.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAkDpE,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAOZ;IACA;IAFnB,YACmB,iBAAoC,EACpC,wBAAkD;QADlD,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,6BAAwB,GAAxB,wBAAwB,CAA0B;QAEnE,IAAI,CAAC,iBAAiB;aACnB,KAAK,CAAC,IAAI,CAAC,wBAAwB,CAAC;aACpC,0BAA0B,EAAE;aAC5B,SAAS,CAAC,GAAG,CAAC,CAAC;IACpB,CAAC;CACF,CAAA;AAfY,oBAAoB;IAZhC,MAAM,EAAE;IACR,MAAM,CAAC;QACN,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,SAAS,EAAE;YACT,wBAAwB;YACxB;gBACE,OAAO,EAAE,eAAe;gBACxB,QAAQ,EAAE,yBAAyB;aACpC;SACF;QACD,OAAO,EAAE,CAAC,wBAAwB,CAAC;KACpC,CAAC;qCAQsC,iBAAiB;QACV,wBAAwB;GAR1D,oBAAoB,CAehC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nest-boot/request-context",
|
|
3
|
-
"version": "8.0.0-beta.
|
|
3
|
+
"version": "8.0.0-beta.2",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/nest-boot/nest-boot.git",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
"homepage": "",
|
|
16
16
|
"license": "MIT",
|
|
17
|
-
"main": "dist/index.js",
|
|
18
|
-
"types": "dist/index.d.ts",
|
|
17
|
+
"main": "./dist/index.js",
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
19
|
"directories": {
|
|
20
20
|
"lib": "dist"
|
|
21
21
|
},
|
|
@@ -23,27 +23,30 @@
|
|
|
23
23
|
"dist"
|
|
24
24
|
],
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@nestjs/common": "
|
|
27
|
-
"@nestjs/core": "
|
|
26
|
+
"@nestjs/common": "^12.0.1",
|
|
27
|
+
"@nestjs/core": "^12.0.1",
|
|
28
28
|
"@types/express": "^5.0.3",
|
|
29
29
|
"@types/node": "^26.0.0",
|
|
30
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
30
31
|
"eslint": "^9.39.3",
|
|
31
32
|
"express": "^5.1.0",
|
|
32
33
|
"reflect-metadata": "^0.2.2",
|
|
33
34
|
"rxjs": "^7.8.2",
|
|
34
35
|
"typescript": "^6.0.3",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"@nest-boot/
|
|
38
|
-
"@nest-boot/
|
|
36
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
37
|
+
"vitest": "^4.1.11",
|
|
38
|
+
"@nest-boot/eslint-config": "^8.0.0-beta.2",
|
|
39
|
+
"@nest-boot/eslint-plugin": "^8.0.0-beta.2",
|
|
40
|
+
"@nest-boot/middleware": "^8.0.0-beta.2",
|
|
41
|
+
"@nest-boot/tsconfig": "^8.0.0-beta.2"
|
|
39
42
|
},
|
|
40
43
|
"peerDependencies": {
|
|
41
|
-
"@nestjs/common": "^12.0.0
|
|
42
|
-
"@nestjs/core": "^12.0.0
|
|
44
|
+
"@nestjs/common": "^12.0.0",
|
|
45
|
+
"@nestjs/core": "^12.0.0",
|
|
43
46
|
"express": "^5.0.0",
|
|
44
47
|
"reflect-metadata": "^0.2.2",
|
|
45
48
|
"rxjs": "^7.0.0",
|
|
46
|
-
"@nest-boot/middleware": "^8.0.0-beta.
|
|
49
|
+
"@nest-boot/middleware": "^8.0.0-beta.2"
|
|
47
50
|
},
|
|
48
51
|
"publishConfig": {
|
|
49
52
|
"access": "public"
|
|
@@ -55,11 +58,25 @@
|
|
|
55
58
|
]
|
|
56
59
|
},
|
|
57
60
|
"type": "module",
|
|
61
|
+
"engines": {
|
|
62
|
+
"node": ">=26.0.0"
|
|
63
|
+
},
|
|
64
|
+
"exports": {
|
|
65
|
+
".": {
|
|
66
|
+
"types": "./dist/index.d.ts",
|
|
67
|
+
"import": "./dist/index.js"
|
|
68
|
+
},
|
|
69
|
+
"./package.json": "./package.json"
|
|
70
|
+
},
|
|
58
71
|
"scripts": {
|
|
59
72
|
"build": "tsc -p tsconfig.build.json",
|
|
60
73
|
"clean": "rm -rf .nx && rm -rf node_modules && rm -rf dist",
|
|
61
74
|
"dev": "tsc -w -p tsconfig.build.json",
|
|
62
75
|
"lint": "eslint \"{src,test}/**/*.ts\"",
|
|
63
|
-
"lint:fix": "eslint \"{src,test}/**/*.ts\" --fix"
|
|
76
|
+
"lint:fix": "eslint \"{src,test}/**/*.ts\" --fix",
|
|
77
|
+
"test": "vitest run",
|
|
78
|
+
"test:cov": "vitest run --coverage",
|
|
79
|
+
"test:watch": "vitest",
|
|
80
|
+
"test:debug": "vitest --inspect-brk --no-file-parallelism"
|
|
64
81
|
}
|
|
65
82
|
}
|