@thi.ng/memoize 4.0.7 → 4.0.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +3 -113
  2. package/package.json +4 -5
package/CHANGELOG.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-21T15:46:53Z
3
+ - **Last updated**: 2025-01-23T13:39:11Z
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.
7
+ Only versions published since **2022-01-01** are listed here.
8
+ Please consult the Git history for older version information.
7
9
  See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
8
10
 
9
11
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
@@ -67,115 +69,3 @@ and/or version bumps of transitive dependencies.
67
69
  #### ♻️ Refactoring
68
70
 
69
71
  - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
70
-
71
- ## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/memoize@3.1.0) (2021-11-17)
72
-
73
- #### 🚀 Features
74
-
75
- - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
76
- Improving the overall build ergonomics
77
- - introduced a tools workspaces
78
- - imported it in all needed packages/examples
79
- - inclusive project root
80
-
81
- #### ♻️ Refactoring
82
-
83
- - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
84
- this commit reverts (partly) changes made in:
85
- ef346d7a8753590dc9094108a3d861a8dbd5dd2c
86
- overall purpose is better testament ergonomics:
87
- instead of having to pass NODE_OPTIONS with every invocation
88
- having a binary to handle this for us.
89
-
90
- ### [3.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/memoize@3.0.1) (2021-10-13)
91
-
92
- #### ♻️ Refactoring
93
-
94
- - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
95
- - add .js suffix for all relative imports
96
- - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
97
-
98
- # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/memoize@3.0.0) (2021-10-12)
99
-
100
- #### 🛑 Breaking changes
101
-
102
- - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
103
- - BREAKING CHANGE: discontinue CommonJS & UMD versions
104
- - only ESM modules will be published from now on
105
- - CJS obsolete due to ESM support in recent versions of node:
106
- - i.e. launch NodeJS via:
107
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
108
- - in the node REPL use `await import(...)` instead of `require()`
109
- - UMD obsolete due to widespread browser support for ESM
110
- Also:
111
- - normalize/restructure/reorg all package.json files
112
- - cleanup all build scripts, remove obsolete
113
- - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
114
-
115
- #### ♻️ Refactoring
116
-
117
- - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
118
- - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
119
-
120
- ### [2.1.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/memoize@2.1.6) (2020-12-07)
121
-
122
- #### ♻️ Refactoring
123
-
124
- - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
125
- - update type-only imports in remaining pkgs ([b22aa30](https://github.com/thi-ng/umbrella/commit/b22aa30))
126
-
127
- ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/memoize@2.1.0) (2020-08-20)
128
-
129
- #### 🚀 Features
130
-
131
- - add doOnce(), update readme ([889e00d](https://github.com/thi-ng/umbrella/commit/889e00d))
132
-
133
- # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/memoize@2.0.0) (2020-02-25)
134
-
135
- #### 🛑 Breaking changes
136
-
137
- - update imports ([d6b5614](https://github.com/thi-ng/umbrella/commit/d6b5614))
138
- - BREAKING CHANGE: replace obsolete Fn type aliases w/ [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) types
139
-
140
- ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/memoize@1.1.0) (2019-07-07)
141
-
142
- #### 🚀 Features
143
-
144
- - enable TS strict compiler flags (refactor) ([a08cc69](https://github.com/thi-ng/umbrella/commit/a08cc69))
145
-
146
- #### 🩹 Bug fixes
147
-
148
- - return type memoize1() ([c0dafb9](https://github.com/thi-ng/umbrella/commit/c0dafb9))
149
-
150
- #### ♻️ Refactoring
151
-
152
- - address TS strictNullChecks flag ([333bf6d](https://github.com/thi-ng/umbrella/commit/333bf6d))
153
-
154
- # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/memoize@1.0.0) (2019-01-21)
155
-
156
- #### 🛑 Breaking changes
157
-
158
- - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
159
- - BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
160
- - build scripts now first build ES6 modules in package root, then call
161
- `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
162
- - all imports MUST be updated to only refer to package level
163
- (not individual files anymore). tree shaking in user land will get rid of
164
- all unused imported symbols.
165
-
166
- #### ♻️ Refactoring
167
-
168
- - use arrow fns ([48670f5](https://github.com/thi-ng/umbrella/commit/48670f5))
169
-
170
- ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/memoize@0.2.0) (2018-09-06)
171
-
172
- #### 🚀 Features
173
-
174
- - add defonce() ([61bed88](https://github.com/thi-ng/umbrella/commit/61bed88))
175
-
176
- ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/memoize@0.1.0) (2018-08-08)
177
-
178
- #### 🚀 Features
179
-
180
- - add [@thi.ng/memoize](https://github.com/thi-ng/umbrella/tree/main/packages/memoize) package ([adc4928](https://github.com/thi-ng/umbrella/commit/adc4928))
181
- - add optional cache arg for memoizeJ() ([2bc092d](https://github.com/thi-ng/umbrella/commit/2bc092d))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/memoize",
3
- "version": "4.0.7",
3
+ "version": "4.0.8",
4
4
  "description": "Function memoization with configurable caching and support for async functions",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -40,13 +40,12 @@
40
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@thi.ng/api": "^8.11.17"
43
+ "@thi.ng/api": "^8.11.18"
44
44
  },
45
45
  "devDependencies": {
46
- "@microsoft/api-extractor": "^7.48.1",
47
46
  "esbuild": "^0.24.2",
48
47
  "typedoc": "^0.27.6",
49
- "typescript": "^5.7.2"
48
+ "typescript": "^5.7.3"
50
49
  },
51
50
  "keywords": [
52
51
  "async",
@@ -100,5 +99,5 @@
100
99
  ],
101
100
  "year": 2018
102
101
  },
103
- "gitHead": "22f6d518aed5951bb37b406c8ae85a6c3e6be517\n"
102
+ "gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
104
103
  }