koatty_cacheable 1.3.7 → 1.3.8

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 CHANGED
@@ -2,4 +2,6 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.3.8](https://github.com/thinkkoa/koatty_cacheable/compare/v1.3.6...v1.3.8) (2023-01-13)
6
+
5
7
  ### [1.3.7](https://github.com/thinkkoa/koatty_cacheable/compare/v1.3.6...v1.3.7) (2022-05-27)
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @Author: richen
3
- * @Date: 2022-05-27 11:35:52
3
+ * @Date: 2023-01-13 14:17:21
4
4
  * @License: BSD (3-Clause)
5
5
  * @Copyright (c) - <richenlin(at)gmail.com>
6
6
  * @HomePage: https://koatty.org/
package/dist/index.js CHANGED
@@ -1,43 +1,40 @@
1
1
  /*!
2
2
  * @Author: richen
3
- * @Date: 2022-05-27 11:35:38
3
+ * @Date: 2023-01-13 14:17:07
4
4
  * @License: BSD (3-Clause)
5
5
  * @Copyright (c) - <richenlin(at)gmail.com>
6
6
  * @HomePage: https://koatty.org/
7
7
  */
8
8
  'use strict';
9
9
 
10
- Object.defineProperty(exports, '__esModule', { value: true });
11
-
12
10
  var helper = require('koatty_lib');
13
11
  var koatty_logger = require('koatty_logger');
14
12
  var koatty_store = require('koatty_store');
15
13
  var koatty_container = require('koatty_container');
16
14
 
17
- function _interopNamespace(e) {
18
- if (e && e.__esModule) return e;
19
- var n = Object.create(null);
20
- if (e) {
21
- Object.keys(e).forEach(function (k) {
22
- if (k !== 'default') {
23
- var d = Object.getOwnPropertyDescriptor(e, k);
24
- Object.defineProperty(n, k, d.get ? d : {
25
- enumerable: true,
26
- get: function () { return e[k]; }
27
- });
28
- }
15
+ function _interopNamespaceDefault(e) {
16
+ var n = Object.create(null);
17
+ if (e) {
18
+ Object.keys(e).forEach(function (k) {
19
+ if (k !== 'default') {
20
+ var d = Object.getOwnPropertyDescriptor(e, k);
21
+ Object.defineProperty(n, k, d.get ? d : {
22
+ enumerable: true,
23
+ get: function () { return e[k]; }
29
24
  });
30
- }
31
- n["default"] = e;
32
- return Object.freeze(n);
25
+ }
26
+ });
27
+ }
28
+ n.default = e;
29
+ return Object.freeze(n);
33
30
  }
34
31
 
35
- var helper__namespace = /*#__PURE__*/_interopNamespace(helper);
32
+ var helper__namespace = /*#__PURE__*/_interopNamespaceDefault(helper);
36
33
 
37
34
  /*
38
35
  * @Author: richen
39
36
  * @Date: 2020-07-06 19:53:43
40
- * @LastEditTime: 2021-12-02 16:20:52
37
+ * @LastEditTime: 2023-01-13 14:16:02
41
38
  * @Description:
42
39
  * @Copyright (c) - <richenlin(at)gmail.com>
43
40
  */
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * @Author: richen
3
- * @Date: 2022-05-27 11:35:38
3
+ * @Date: 2023-01-13 14:17:07
4
4
  * @License: BSD (3-Clause)
5
5
  * @Copyright (c) - <richenlin(at)gmail.com>
6
6
  * @HomePage: https://koatty.org/
@@ -13,7 +13,7 @@ import { IOCContainer } from 'koatty_container';
13
13
  /*
14
14
  * @Author: richen
15
15
  * @Date: 2020-07-06 19:53:43
16
- * @LastEditTime: 2021-12-02 16:20:52
16
+ * @LastEditTime: 2023-01-13 14:16:02
17
17
  * @Description:
18
18
  * @Copyright (c) - <richenlin(at)gmail.com>
19
19
  */
package/dist/package.json CHANGED
@@ -1,16 +1,17 @@
1
1
  {
2
2
  "name": "koatty_cacheable",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "description": "Cacheable for koatty.",
5
5
  "scripts": {
6
6
  "build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
7
7
  "build:cp": "node scripts/postBuild && copyfiles package.json LICENSE README.md dist/",
8
- "build:js": "del-cli --force dist && npx rollup -c .rollup.config.js",
8
+ "build:js": "del-cli --force dist && npx rollup --bundleConfigAsCjs -c .rollup.config.js",
9
9
  "build:doc": "del-cli --force docs/api && npx api-documenter markdown --input temp --output docs/api",
10
10
  "build:dts": "del-cli --force temp && npx tsc && npx api-extractor run --local --verbose",
11
11
  "eslint": "eslint --ext .ts,.js ./",
12
12
  "prepublishOnly": "npm test && npm run build",
13
13
  "prerelease": "npm test && npm run build",
14
+ "pub": "git push --follow-tags origin && npm publish",
14
15
  "release": "standard-version",
15
16
  "test": "npm run eslint && jest --passWithNoTests"
16
17
  },
@@ -52,38 +53,38 @@
52
53
  "@commitlint/config-conventional": "^17.x.x",
53
54
  "@microsoft/api-documenter": "^7.x.x",
54
55
  "@microsoft/api-extractor": "^7.x.x",
55
- "@rollup/plugin-json": "^4.x.x",
56
- "@types/jest": "^27.x.x",
56
+ "@rollup/plugin-json": "^6.x.x",
57
+ "@types/jest": "^29.x.x",
57
58
  "@types/koa": "^2.x.x",
58
- "@types/node": "^16.x.x",
59
+ "@types/node": "^18.x.x",
59
60
  "@typescript-eslint/eslint-plugin": "^5.x.x",
60
61
  "@typescript-eslint/parser": "^5.x.x",
61
62
  "conventional-changelog-cli": "^2.x.x",
62
63
  "copyfiles": "^2.x.x",
63
64
  "del-cli": "^4.x.x",
64
65
  "eslint": "^8.x.x",
65
- "eslint-plugin-jest": "^26.x.x",
66
+ "eslint-plugin-jest": "^27.x.x",
66
67
  "husky": "^4.x.x",
67
- "jest": "^28.x.x",
68
+ "jest": "^29.x.x",
68
69
  "jest-html-reporters": "^3.x.x",
69
- "rollup": "^2.x.x",
70
+ "rollup": "^3.x.x",
70
71
  "rollup-plugin-typescript2": "^0.x.x",
71
72
  "standard-version": "^9.x.x",
72
- "ts-jest": "^28.x.x",
73
+ "ts-jest": "^29.x.x",
73
74
  "ts-node": "^10.x.x",
74
75
  "typescript": "^4.x.x"
75
76
  },
76
77
  "dependencies": {
77
78
  "koatty_container": "^1.x.x",
78
79
  "koatty_lib": "^1.x.x",
79
- "koatty_logger": "^1.x.x",
80
+ "koatty_logger": "^2.x.x",
80
81
  "koatty_store": "^1.x.x",
81
- "tslib": "^2.4.0"
82
+ "tslib": "^2.4.1"
82
83
  },
83
84
  "peerDependencies": {
84
85
  "koatty_container": "^1.x.x",
85
86
  "koatty_lib": "^1.x.x",
86
- "koatty_logger": "^1.x.x",
87
+ "koatty_logger": "^2.x.x",
87
88
  "koatty_store": "^1.x.x"
88
89
  }
89
90
  }
package/package.json CHANGED
@@ -1,16 +1,17 @@
1
1
  {
2
2
  "name": "koatty_cacheable",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "description": "Cacheable for koatty.",
5
5
  "scripts": {
6
6
  "build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
7
7
  "build:cp": "node scripts/postBuild && copyfiles package.json LICENSE README.md dist/",
8
- "build:js": "del-cli --force dist && npx rollup -c .rollup.config.js",
8
+ "build:js": "del-cli --force dist && npx rollup --bundleConfigAsCjs -c .rollup.config.js",
9
9
  "build:doc": "del-cli --force docs/api && npx api-documenter markdown --input temp --output docs/api",
10
10
  "build:dts": "del-cli --force temp && npx tsc && npx api-extractor run --local --verbose",
11
11
  "eslint": "eslint --ext .ts,.js ./",
12
12
  "prepublishOnly": "npm test && npm run build",
13
13
  "prerelease": "npm test && npm run build",
14
+ "pub": "git push --follow-tags origin && npm publish",
14
15
  "release": "standard-version",
15
16
  "test": "npm run eslint && jest --passWithNoTests"
16
17
  },
@@ -52,38 +53,38 @@
52
53
  "@commitlint/config-conventional": "^17.x.x",
53
54
  "@microsoft/api-documenter": "^7.x.x",
54
55
  "@microsoft/api-extractor": "^7.x.x",
55
- "@rollup/plugin-json": "^4.x.x",
56
- "@types/jest": "^27.x.x",
56
+ "@rollup/plugin-json": "^6.x.x",
57
+ "@types/jest": "^29.x.x",
57
58
  "@types/koa": "^2.x.x",
58
- "@types/node": "^16.x.x",
59
+ "@types/node": "^18.x.x",
59
60
  "@typescript-eslint/eslint-plugin": "^5.x.x",
60
61
  "@typescript-eslint/parser": "^5.x.x",
61
62
  "conventional-changelog-cli": "^2.x.x",
62
63
  "copyfiles": "^2.x.x",
63
64
  "del-cli": "^4.x.x",
64
65
  "eslint": "^8.x.x",
65
- "eslint-plugin-jest": "^26.x.x",
66
+ "eslint-plugin-jest": "^27.x.x",
66
67
  "husky": "^4.x.x",
67
- "jest": "^28.x.x",
68
+ "jest": "^29.x.x",
68
69
  "jest-html-reporters": "^3.x.x",
69
- "rollup": "^2.x.x",
70
+ "rollup": "^3.x.x",
70
71
  "rollup-plugin-typescript2": "^0.x.x",
71
72
  "standard-version": "^9.x.x",
72
- "ts-jest": "^28.x.x",
73
+ "ts-jest": "^29.x.x",
73
74
  "ts-node": "^10.x.x",
74
75
  "typescript": "^4.x.x"
75
76
  },
76
77
  "dependencies": {
77
78
  "koatty_container": "^1.x.x",
78
79
  "koatty_lib": "^1.x.x",
79
- "koatty_logger": "^1.x.x",
80
+ "koatty_logger": "^2.x.x",
80
81
  "koatty_store": "^1.x.x",
81
- "tslib": "^2.4.0"
82
+ "tslib": "^2.4.1"
82
83
  },
83
84
  "peerDependencies": {
84
85
  "koatty_container": "^1.x.x",
85
86
  "koatty_lib": "^1.x.x",
86
- "koatty_logger": "^1.x.x",
87
+ "koatty_logger": "^2.x.x",
87
88
  "koatty_store": "^1.x.x"
88
89
  }
89
90
  }