@tsed/platform-cache 6.102.4 → 6.102.8-rc.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useDecorators } from "@tsed/core";
|
|
2
2
|
import { Intercept } from "@tsed/di";
|
|
3
|
-
import { PlatformCacheInterceptor } from "../interceptors/PlatformCacheInterceptor";
|
|
3
|
+
import { PlatformCacheInterceptor } from "../interceptors/PlatformCacheInterceptor.js";
|
|
4
4
|
export function UseCache(options = {}) {
|
|
5
5
|
return useDecorators(Intercept(PlatformCacheInterceptor, options));
|
|
6
6
|
}
|
package/lib/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./interfaces";
|
|
2
|
-
export * from "./services/PlatformCache";
|
|
3
|
-
export * from "./decorators/useCache";
|
|
1
|
+
export * from "./interfaces.js";
|
|
2
|
+
export * from "./services/PlatformCache.js";
|
|
3
|
+
export * from "./decorators/useCache.js";
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -4,7 +4,7 @@ import { DIContext, Inject, Interceptor } from "@tsed/di";
|
|
|
4
4
|
import { deserialize, serialize } from "@tsed/json-mapper";
|
|
5
5
|
import { JsonEntityStore } from "@tsed/schema";
|
|
6
6
|
import { IncomingMessage, ServerResponse } from "http";
|
|
7
|
-
import { PlatformCache } from "../services/PlatformCache";
|
|
7
|
+
import { PlatformCache } from "../services/PlatformCache.js";
|
|
8
8
|
const cleanHeaders = (headers) => {
|
|
9
9
|
return Object.entries(headers)
|
|
10
10
|
.filter(([key]) => !["content-length", "x-request-id", "cache-control"].includes(key))
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./PlatformCachedObject";
|
|
1
|
+
export * from "./PlatformCachedObject.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/platform-cache",
|
|
3
|
-
"version": "6.102.
|
|
3
|
+
"version": "6.102.8-rc.1",
|
|
4
4
|
"description": "Platform cache module for Ts.ED Framework",
|
|
5
5
|
"private": false,
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
7
|
"main": "./lib/cjs/index.js",
|
|
8
|
+
"module": "./lib/esm/index.js",
|
|
8
9
|
"typings": "./lib/types/index.d.ts",
|
|
9
10
|
"exports": {
|
|
10
11
|
"types": "./lib/types/index.d.ts",
|
|
@@ -24,20 +25,24 @@
|
|
|
24
25
|
"tslib": "2.2.0"
|
|
25
26
|
},
|
|
26
27
|
"devDependencies": {
|
|
27
|
-
"@tsed/core": "6.102.
|
|
28
|
-
"@tsed/di": "6.102.
|
|
29
|
-
"@tsed/
|
|
30
|
-
"@tsed/
|
|
31
|
-
"@tsed/schema": "6.102.4",
|
|
28
|
+
"@tsed/core": "6.102.8-rc.1",
|
|
29
|
+
"@tsed/di": "6.102.8-rc.1",
|
|
30
|
+
"@tsed/json-mapper": "6.102.8-rc.1",
|
|
31
|
+
"@tsed/schema": "6.102.8-rc.1",
|
|
32
32
|
"@types/cache-manager": "^3.4.2",
|
|
33
33
|
"@types/micromatch": "^4.0.1"
|
|
34
34
|
},
|
|
35
|
-
"peerDependencies": {
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"@tsed/core": "^6.102.8-rc.1",
|
|
37
|
+
"@tsed/di": "^6.102.8-rc.1",
|
|
38
|
+
"@tsed/json-mapper": "^6.102.8-rc.1",
|
|
39
|
+
"@tsed/schema": "^6.102.8-rc.1"
|
|
40
|
+
},
|
|
36
41
|
"repository": "https://github.com/tsedio/tsed",
|
|
37
42
|
"bugs": {
|
|
38
43
|
"url": "https://github.com/tsedio/tsed/issues"
|
|
39
44
|
},
|
|
40
|
-
"homepage": "https://github.com/tsedio/tsed/tree/
|
|
45
|
+
"homepage": "https://github.com/tsedio/tsed/tree/rc/packages/platform/platform-cache",
|
|
41
46
|
"author": "Romain Lenzotti",
|
|
42
47
|
"license": "MIT"
|
|
43
48
|
}
|