@dudousxd/nestjs-filter 1.33.0 → 1.33.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/CHANGELOG.md +12 -0
- package/dist/tokens.d.ts +3 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +3 -1
- package/dist/tokens.js.map +1 -1
- package/package.json +17 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @dudousxd/nestjs-filter
|
|
2
2
|
|
|
3
|
+
## 1.33.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`dcfe899`](https://github.com/DavideCarvalho/nestjs-filter/commit/dcfe8991512038f88afaa0f0433788410e832685) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - Note what pins the CONTEXT_ACCESSOR token key
|
|
8
|
+
|
|
9
|
+
Comment-only change. The `CONTEXT_ACCESSOR` docblock said the symbol key must
|
|
10
|
+
stay byte-identical with `@dudousxd/nestjs-context`'s export but did not say
|
|
11
|
+
what enforces that. It now names the guard: `test/capability-naming.spec.ts`
|
|
12
|
+
pins the token against `capability('context', 'accessor')` from
|
|
13
|
+
`@dudousxd/nestjs-diagnostics`. No runtime behavior changes.
|
|
14
|
+
|
|
3
15
|
## 1.33.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/tokens.d.ts
CHANGED
|
@@ -24,7 +24,9 @@ export declare const TENANT_SCOPED_METADATA = "nestjs-filter:tenant-scoped";
|
|
|
24
24
|
*
|
|
25
25
|
* `Symbol.for(key)` uses the global symbol registry, so this resolves to the
|
|
26
26
|
* SAME symbol instance as nestjs-context's `tokens.ts` without any import.
|
|
27
|
-
* The key MUST stay byte-identical with nestjs-context's export.
|
|
27
|
+
* The key MUST stay byte-identical with nestjs-context's export. `test/capability-naming.spec.ts`
|
|
28
|
+
* pins it against `capability('context', 'accessor')` from `@dudousxd/nestjs-diagnostics` — the
|
|
29
|
+
* shared naming rule both libraries derive the key from — so editing this string fails the suite.
|
|
28
30
|
*/
|
|
29
31
|
export declare const CONTEXT_ACCESSOR: unique symbol;
|
|
30
32
|
//# sourceMappingURL=tokens.d.ts.map
|
package/dist/tokens.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,eAAgD,CAAC;AACnF,eAAO,MAAM,cAAc,eAAgD,CAAC;AAC5E;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,eAAqD,CAAC;AAEtF,eAAO,MAAM,mBAAmB,6BAA6B,CAAC;AAC9D,eAAO,MAAM,mBAAmB,6BAA6B,CAAC;AAC9D,eAAO,MAAM,wBAAwB,kCAAkC,CAAC;AACxE,eAAO,MAAM,iBAAiB,2BAA2B,CAAC;AAC1D,eAAO,MAAM,sBAAsB,gCAAgC,CAAC;AACpE,eAAO,MAAM,qBAAqB,+BAA+B,CAAC;AAClE,eAAO,MAAM,yBAAyB,4BAA4B,CAAC;AACnE,eAAO,MAAM,oBAAoB,eAAoD,CAAC;AAEtF,4FAA4F;AAC5F,eAAO,MAAM,sBAAsB,gCAAgC,CAAC;AAEpE
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,eAAgD,CAAC;AACnF,eAAO,MAAM,cAAc,eAAgD,CAAC;AAC5E;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,eAAqD,CAAC;AAEtF,eAAO,MAAM,mBAAmB,6BAA6B,CAAC;AAC9D,eAAO,MAAM,mBAAmB,6BAA6B,CAAC;AAC9D,eAAO,MAAM,wBAAwB,kCAAkC,CAAC;AACxE,eAAO,MAAM,iBAAiB,2BAA2B,CAAC;AAC1D,eAAO,MAAM,sBAAsB,gCAAgC,CAAC;AACpE,eAAO,MAAM,qBAAqB,+BAA+B,CAAC;AAClE,eAAO,MAAM,yBAAyB,4BAA4B,CAAC;AACnE,eAAO,MAAM,oBAAoB,eAAoD,CAAC;AAEtF,4FAA4F;AAC5F,eAAO,MAAM,sBAAsB,gCAAgC,CAAC;AAEpE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB,eAAkD,CAAC"}
|
package/dist/tokens.js
CHANGED
|
@@ -24,7 +24,9 @@ export const TENANT_SCOPED_METADATA = 'nestjs-filter:tenant-scoped';
|
|
|
24
24
|
*
|
|
25
25
|
* `Symbol.for(key)` uses the global symbol registry, so this resolves to the
|
|
26
26
|
* SAME symbol instance as nestjs-context's `tokens.ts` without any import.
|
|
27
|
-
* The key MUST stay byte-identical with nestjs-context's export.
|
|
27
|
+
* The key MUST stay byte-identical with nestjs-context's export. `test/capability-naming.spec.ts`
|
|
28
|
+
* pins it against `capability('context', 'accessor')` from `@dudousxd/nestjs-diagnostics` — the
|
|
29
|
+
* shared naming rule both libraries derive the key from — so editing this string fails the suite.
|
|
28
30
|
*/
|
|
29
31
|
export const CONTEXT_ACCESSOR = Symbol.for('@dudousxd/nestjs-context:accessor');
|
|
30
32
|
//# sourceMappingURL=tokens.js.map
|
package/dist/tokens.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAC;AACnF,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAC;AAC5E;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAC,sCAAsC,CAAC,CAAC;AAEtF,MAAM,CAAC,MAAM,mBAAmB,GAAG,0BAA0B,CAAC;AAC9D,MAAM,CAAC,MAAM,mBAAmB,GA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C,CAAC;AAEtF,4FAA4F;AAC5F,MAAM,CAAC,MAAM,sBAAsB,GAAG,6BAA6B,CAAC;AAEpE;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,GAAG,CAAC,mCAAmC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dudousxd/nestjs-filter",
|
|
3
|
-
"version": "1.33.
|
|
3
|
+
"version": "1.33.1",
|
|
4
4
|
"description": "NestJS filter library — core abstractions, runner, decorators.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -59,22 +59,22 @@
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@nestjs/common": "
|
|
63
|
-
"@nestjs/core": "
|
|
64
|
-
"@nestjs/platform-express": "
|
|
65
|
-
"@nestjs/testing": "
|
|
66
|
-
"@types/express": "
|
|
67
|
-
"@types/node": "
|
|
68
|
-
"@types/supertest": "
|
|
69
|
-
"class-transformer": "
|
|
70
|
-
"class-validator": "
|
|
71
|
-
"express": "
|
|
72
|
-
"reflect-metadata": "
|
|
73
|
-
"rxjs": "
|
|
74
|
-
"supertest": "
|
|
75
|
-
"typescript": "
|
|
76
|
-
"vitest": "
|
|
77
|
-
"@dudousxd/nestjs-diagnostics": "
|
|
62
|
+
"@nestjs/common": "12.0.1",
|
|
63
|
+
"@nestjs/core": "12.0.1",
|
|
64
|
+
"@nestjs/platform-express": "12.0.1",
|
|
65
|
+
"@nestjs/testing": "12.0.1",
|
|
66
|
+
"@types/express": "4.17.25",
|
|
67
|
+
"@types/node": "20.19.43",
|
|
68
|
+
"@types/supertest": "6.0.3",
|
|
69
|
+
"class-transformer": "0.5.1",
|
|
70
|
+
"class-validator": "0.14.4",
|
|
71
|
+
"express": "4.22.2",
|
|
72
|
+
"reflect-metadata": "0.2.2",
|
|
73
|
+
"rxjs": "7.8.2",
|
|
74
|
+
"supertest": "7.2.2",
|
|
75
|
+
"typescript": "5.9.3",
|
|
76
|
+
"vitest": "3.2.4",
|
|
77
|
+
"@dudousxd/nestjs-diagnostics": "0.5.0"
|
|
78
78
|
},
|
|
79
79
|
"engines": {
|
|
80
80
|
"node": ">=20"
|