@thi.ng/memoize 3.1.1 → 3.1.4

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
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2021-11-19T07:59:51Z
3
+ - **Last updated**: 2022-03-11T12:13:49Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -176,4 +176,4 @@ If this project contributes to an academic publication, please cite it as:
176
176
 
177
177
  ## License
178
178
 
179
- © 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
179
+ © 2018 - 2022 Karsten Schmidt // Apache Software License 2.0
package/do-once.d.ts CHANGED
@@ -4,8 +4,8 @@ import type { MapLike } from "./api.js";
4
4
  * Similar to {@link memoize1}, however optimized for side effects only, i.e.
5
5
  * functions which DO NOT return any result.
6
6
  *
7
- * @param fn
8
- * @param cache
7
+ * @param fn -
8
+ * @param cache -
9
9
  */
10
10
  export declare const doOnce: <T>(fn: Fn<T, void>, cache?: MapLike<T, boolean> | undefined) => (x: T) => void;
11
11
  //# sourceMappingURL=do-once.d.ts.map
package/do-once.js CHANGED
@@ -2,8 +2,8 @@
2
2
  * Similar to {@link memoize1}, however optimized for side effects only, i.e.
3
3
  * functions which DO NOT return any result.
4
4
  *
5
- * @param fn
6
- * @param cache
5
+ * @param fn -
6
+ * @param cache -
7
7
  */
8
8
  export const doOnce = (fn, cache) => {
9
9
  !cache && (cache = new Map());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/memoize",
3
- "version": "3.1.1",
3
+ "version": "3.1.4",
4
4
  "description": "Function memoization with configurable caching",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,15 +34,15 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.3.1"
37
+ "@thi.ng/api": "^8.3.4"
38
38
  },
39
39
  "devDependencies": {
40
- "@microsoft/api-extractor": "^7.18.19",
41
- "@thi.ng/testament": "^0.2.1",
40
+ "@microsoft/api-extractor": "^7.19.4",
41
+ "@thi.ng/testament": "^0.2.4",
42
42
  "rimraf": "^3.0.2",
43
43
  "tools": "^0.0.1",
44
- "typedoc": "^0.22.9",
45
- "typescript": "^4.5.2"
44
+ "typedoc": "^0.22.13",
45
+ "typescript": "^4.6.2"
46
46
  },
47
47
  "keywords": [
48
48
  "cache",
@@ -89,5 +89,5 @@
89
89
  ],
90
90
  "year": 2018
91
91
  },
92
- "gitHead": "8bd27c8bde0b770e7c001943f11c951cd345d668\n"
92
+ "gitHead": "0fc692a3225c068aacafdc4cb6140cf603c67ad8\n"
93
93
  }