@tsed/platform-cache 6.114.2 → 6.114.5-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,11 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UseCache = void 0;
4
- const core_1 = require("@tsed/core");
5
4
  const di_1 = require("@tsed/di");
6
5
  const PlatformCacheInterceptor_1 = require("../interceptors/PlatformCacheInterceptor");
7
6
  function UseCache(options = {}) {
8
- return (0, core_1.useDecorators)((0, di_1.Intercept)(PlatformCacheInterceptor_1.PlatformCacheInterceptor, options));
7
+ return (0, di_1.Intercept)(PlatformCacheInterceptor_1.PlatformCacheInterceptor, options);
9
8
  }
10
9
  exports.UseCache = UseCache;
11
10
  //# sourceMappingURL=useCache.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCache.js","sourceRoot":"","sources":["../../../src/decorators/useCache.ts"],"names":[],"mappings":";;;AAAA,qCAAyC;AACzC,iCAAmC;AACnC,uFAAkF;AAGlF,SAAgB,QAAQ,CAAC,UAAgC,EAAE;IACzD,OAAO,IAAA,oBAAa,EAAC,IAAA,cAAS,EAAC,mDAAwB,EAAE,OAAO,CAAC,CAAC,CAAC;AACrE,CAAC;AAFD,4BAEC","sourcesContent":["import {useDecorators} from \"@tsed/core\";\nimport {Intercept} from \"@tsed/di\";\nimport {PlatformCacheInterceptor} from \"../interceptors/PlatformCacheInterceptor\";\nimport {PlatformCacheOptions} from \"../interfaces/PlatformCacheOptions\";\n\nexport function UseCache(options: PlatformCacheOptions = {}) {\n return useDecorators(Intercept(PlatformCacheInterceptor, options));\n}\n"]}
1
+ {"version":3,"file":"useCache.js","sourceRoot":"","sources":["../../../src/decorators/useCache.ts"],"names":[],"mappings":";;;AAAA,iCAAmC;AACnC,uFAAkF;AAGlF,SAAgB,QAAQ,CAAC,UAAgC,EAAE;IACzD,OAAO,IAAA,cAAS,EAAC,mDAAwB,EAAE,OAAO,CAAC,CAAC;AACtD,CAAC;AAFD,4BAEC","sourcesContent":["import {Intercept} from \"@tsed/di\";\nimport {PlatformCacheInterceptor} from \"../interceptors/PlatformCacheInterceptor\";\nimport {PlatformCacheOptions} from \"../interfaces/PlatformCacheOptions\";\n\nexport function UseCache(options: PlatformCacheOptions = {}) {\n return Intercept(PlatformCacheInterceptor, options);\n}\n"]}
@@ -1,7 +1,6 @@
1
- import { useDecorators } from "@tsed/core";
2
1
  import { Intercept } from "@tsed/di";
3
2
  import { PlatformCacheInterceptor } from "../interceptors/PlatformCacheInterceptor.js";
4
3
  export function UseCache(options = {}) {
5
- return useDecorators(Intercept(PlatformCacheInterceptor, options));
4
+ return Intercept(PlatformCacheInterceptor, options);
6
5
  }
7
6
  //# sourceMappingURL=useCache.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCache.js","sourceRoot":"","sources":["../../../src/decorators/useCache.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,YAAY,CAAC;AACzC,OAAO,EAAC,SAAS,EAAC,MAAM,UAAU,CAAC;AACnC,OAAO,EAAC,wBAAwB,EAAC,MAAM,0CAA0C,CAAC;AAGlF,MAAM,UAAU,QAAQ,CAAC,UAAgC,EAAE;IACzD,OAAO,aAAa,CAAC,SAAS,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC,CAAC;AACrE,CAAC","sourcesContent":["import {useDecorators} from \"@tsed/core\";\nimport {Intercept} from \"@tsed/di\";\nimport {PlatformCacheInterceptor} from \"../interceptors/PlatformCacheInterceptor\";\nimport {PlatformCacheOptions} from \"../interfaces/PlatformCacheOptions\";\n\nexport function UseCache(options: PlatformCacheOptions = {}) {\n return useDecorators(Intercept(PlatformCacheInterceptor, options));\n}\n"]}
1
+ {"version":3,"file":"useCache.js","sourceRoot":"","sources":["../../../src/decorators/useCache.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,UAAU,CAAC;AACnC,OAAO,EAAC,wBAAwB,EAAC,MAAM,0CAA0C,CAAC;AAGlF,MAAM,UAAU,QAAQ,CAAC,UAAgC,EAAE;IACzD,OAAO,SAAS,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;AACtD,CAAC","sourcesContent":["import {Intercept} from \"@tsed/di\";\nimport {PlatformCacheInterceptor} from \"../interceptors/PlatformCacheInterceptor\";\nimport {PlatformCacheOptions} from \"../interfaces/PlatformCacheOptions\";\n\nexport function UseCache(options: PlatformCacheOptions = {}) {\n return Intercept(PlatformCacheInterceptor, options);\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/platform-cache",
3
- "version": "6.114.2",
3
+ "version": "6.114.5-rc.1",
4
4
  "description": "Platform cache module for Ts.ED Framework",
5
5
  "private": false,
6
6
  "source": "./src/index.ts",
@@ -27,17 +27,17 @@
27
27
  "tslib": "2.3.1"
28
28
  },
29
29
  "devDependencies": {
30
- "@tsed/core": "6.114.2",
31
- "@tsed/di": "6.114.2",
32
- "@tsed/json-mapper": "6.114.2",
33
- "@tsed/schema": "6.114.2",
30
+ "@tsed/core": "6.114.5-rc.1",
31
+ "@tsed/di": "6.114.5-rc.1",
32
+ "@tsed/json-mapper": "6.114.5-rc.1",
33
+ "@tsed/schema": "6.114.5-rc.1",
34
34
  "@types/micromatch": "^4.0.1"
35
35
  },
36
36
  "peerDependencies": {
37
- "@tsed/core": "^6.114.2",
38
- "@tsed/di": "^6.114.2",
39
- "@tsed/json-mapper": "^6.114.2",
40
- "@tsed/schema": "^6.114.2"
37
+ "@tsed/core": "^6.114.5-rc.1",
38
+ "@tsed/di": "^6.114.5-rc.1",
39
+ "@tsed/json-mapper": "^6.114.5-rc.1",
40
+ "@tsed/schema": "^6.114.5-rc.1"
41
41
  },
42
42
  "peerDependenciesMeta": {
43
43
  "@tsed/core": {
@@ -59,5 +59,8 @@
59
59
  },
60
60
  "homepage": "https://github.com/tsedio/tsed/tree/production/packages/platform/platform-cache",
61
61
  "author": "Romain Lenzotti",
62
- "license": "MIT"
62
+ "license": "MIT",
63
+ "publishConfig": {
64
+ "tag": "rc"
65
+ }
63
66
  }
package/readme.md CHANGED
@@ -11,7 +11,8 @@
11
11
  [![npm version](https://badge.fury.io/js/%40tsed%2Fcommon.svg)](https://badge.fury.io/js/%40tsed%2Fcommon)
12
12
  [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
13
13
  [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
14
- [![backers](https://opencollective.com/tsed/tiers/badge.svg)](https://opencollective.com/tsed)
14
+ [![github](https://img.shields.io/static/v1?label=Github%20sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/romakita)
15
+ [![opencollective](https://img.shields.io/static/v1?label=OpenCollective%20sponsor&message=%E2%9D%A4&logo=OpenCollective&color=%23fe8e86)](https://opencollective.com/tsed)
15
16
 
16
17
  </div>
17
18