@thi.ng/pointfree 3.1.99 → 3.1.100

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 -305
  2. package/package.json +8 -9
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
@@ -20,307 +22,3 @@ and/or version bumps of transitive dependencies.
20
22
  #### ♻️ Refactoring
21
23
 
22
24
  - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
23
-
24
- ## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@3.1.0) (2021-11-17)
25
-
26
- #### 🚀 Features
27
-
28
- - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
29
- Improving the overall build ergonomics
30
- - introduced a tools workspaces
31
- - imported it in all needed packages/examples
32
- - inclusive project root
33
-
34
- #### ♻️ Refactoring
35
-
36
- - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
37
- this commit reverts (partly) changes made in:
38
- ef346d7a8753590dc9094108a3d861a8dbd5dd2c
39
- overall purpose is better testament ergonomics:
40
- instead of having to pass NODE_OPTIONS with every invocation
41
- having a binary to handle this for us.
42
-
43
- ### [3.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@3.0.1) (2021-10-13)
44
-
45
- #### ♻️ Refactoring
46
-
47
- - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
48
- - add .js suffix for all relative imports
49
- - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
50
-
51
- # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@3.0.0) (2021-10-12)
52
-
53
- #### 🛑 Breaking changes
54
-
55
- - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
56
- - BREAKING CHANGE: discontinue CommonJS & UMD versions
57
- - only ESM modules will be published from now on
58
- - CJS obsolete due to ESM support in recent versions of node:
59
- - i.e. launch NodeJS via:
60
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
61
- - in the node REPL use `await import(...)` instead of `require()`
62
- - UMD obsolete due to widespread browser support for ESM
63
- Also:
64
- - normalize/restructure/reorg all package.json files
65
- - cleanup all build scripts, remove obsolete
66
- - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
67
-
68
- #### ♻️ Refactoring
69
-
70
- - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
71
- - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
72
- - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
73
- - update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
74
- - largely related to recent updates/restructuring of these packages:
75
- - api
76
- - defmulti
77
- - errors
78
- - logger
79
-
80
- ### [2.0.18](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@2.0.18) (2020-12-07)
81
-
82
- #### ♻️ Refactoring
83
-
84
- - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
85
- - update type-only imports ([34bb05c](https://github.com/thi-ng/umbrella/commit/34bb05c))
86
-
87
- # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@2.0.0) (2020-04-16)
88
-
89
- #### 🛑 Breaking changes
90
-
91
- - add new words, rename HOF words ([0d19c9a](https://github.com/thi-ng/umbrella/commit/0d19c9a))
92
- - BREAKING CHANGE: rename HOF words
93
- - add `def` prefix for all HOF words ([#210](https://github.com/thi-ng/umbrella/issues/210))
94
- - word/U => defWord/U
95
- - tuple => defTuple
96
- - join => defJoin
97
- - op1/2/2v => defOp1/2/2v
98
- - cond => defCond
99
- - cases => defCases
100
- - loadkey => defLoadKey
101
- - storekey => defStoreKey
102
- - loop => defLoop
103
- - push => defPush
104
- - add new plain words: catr, join
105
-
106
- ## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@1.3.0) (2020-03-29)
107
-
108
- #### 🚀 Features
109
-
110
- - add whenq(), ismatch() ([44ab1d7](https://github.com/thi-ng/umbrella/commit/44ab1d7))
111
- - add tojson()/fromjson() conversion ops ([829f3ab](https://github.com/thi-ng/umbrella/commit/829f3ab))
112
- - add $try word, update compile() to allow empty quotations ([41de106](https://github.com/thi-ng/umbrella/commit/41de106))
113
-
114
- ### [1.2.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@1.2.6) (2020-02-25)
115
-
116
- #### ♻️ Refactoring
117
-
118
- - update imports ([fad6887](https://github.com/thi-ng/umbrella/commit/fad6887))
119
-
120
- ## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@1.2.0) (2019-08-21)
121
-
122
- #### 🚀 Features
123
-
124
- - add new r-stack words, refactor ([dbad162](https://github.com/thi-ng/umbrella/commit/dbad162))
125
- - add rdup2, rdup3, rover
126
-
127
- #### ♻️ Refactoring
128
-
129
- - split into separate files ([86a27e5](https://github.com/thi-ng/umbrella/commit/86a27e5))
130
- - update core stack fns (re-use) ([a7ebb2f](https://github.com/thi-ng/umbrella/commit/a7ebb2f))
131
- - update op2v, extract loops ([6392657](https://github.com/thi-ng/umbrella/commit/6392657))
132
-
133
- ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@1.1.0) (2019-07-07)
134
-
135
- #### 🚀 Features
136
-
137
- - enable TS strict compiler flags (refactor) ([1f9d155](https://github.com/thi-ng/umbrella/commit/1f9d155))
138
-
139
- #### ♻️ Refactoring
140
-
141
- - address TS strictNullChecks flag ([50bf59a](https://github.com/thi-ng/umbrella/commit/50bf59a))
142
-
143
- ### [1.0.14](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@1.0.14) (2019-05-22)
144
-
145
- #### 🩹 Bug fixes
146
-
147
- - update safeMode handling ([d27bcba](https://github.com/thi-ng/umbrella/commit/d27bcba))
148
- - actually disable checks if safeMode(false) is called
149
-
150
- ### [1.0.7](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@1.0.7) (2019-03-10)
151
-
152
- #### ♻️ Refactoring
153
-
154
- - re-use type aliases from [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) ([0d2fdff](https://github.com/thi-ng/umbrella/commit/0d2fdff))
155
-
156
- # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@1.0.0) (2019-01-21)
157
-
158
- #### 🛑 Breaking changes
159
-
160
- - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
161
- - BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
162
- - build scripts now first build ES6 modules in package root, then call
163
- `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
164
- - all imports MUST be updated to only refer to package level
165
- (not individual files anymore). tree shaking in user land will get rid of
166
- all unused imported symbols.
167
-
168
- ### [0.8.15](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@0.8.15) (2018-12-27)
169
-
170
- #### ♻️ Refactoring
171
-
172
- - re-use comp() from [@thi.ng/compose](https://github.com/thi-ng/umbrella/tree/main/packages/compose) ([3f9b244](https://github.com/thi-ng/umbrella/commit/3f9b244))
173
-
174
- ### [0.8.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@0.8.6) (2018-08-01)
175
-
176
- #### ♻️ Refactoring
177
-
178
- - TS3.0 PropertyKey handling ([bf2a307](https://github.com/thi-ng/umbrella/commit/bf2a307))
179
-
180
- ## [0.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@0.8.0) (2018-05-13)
181
-
182
- #### 🚀 Features
183
-
184
- - add execjs for host calls, update readme ([373701b](https://github.com/thi-ng/umbrella/commit/373701b))
185
-
186
- ### [0.7.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@0.7.9) (2018-05-10)
187
-
188
- #### 🩹 Bug fixes
189
-
190
- - minor update error handling ([5391d98](https://github.com/thi-ng/umbrella/commit/5391d98))
191
-
192
- ### [0.7.8](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@0.7.8) (2018-05-10)
193
-
194
- #### ♻️ Refactoring
195
-
196
- - update deps & imports in all packages due to [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) split ([bc45636](https://github.com/thi-ng/umbrella/commit/bc45636))
197
-
198
- ## [0.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@0.7.0) (2018-04-03)
199
-
200
- #### 🚀 Features
201
-
202
- - add copy() word ([68a8dba](https://github.com/thi-ng/umbrella/commit/68a8dba))
203
- - add math ops, update load/loadkey, update tests ([2101e92](https://github.com/thi-ng/umbrella/commit/2101e92))
204
- - load/loadkey throws error if var doesn't exist
205
-
206
- #### ♻️ Refactoring
207
-
208
- - update/rename storeat => setat, update tests ([92d2d68](https://github.com/thi-ng/umbrella/commit/92d2d68))
209
- - change behavior to keep obj on stack
210
-
211
- ### [0.6.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@0.6.1) (2018-03-31)
212
-
213
- #### 🩹 Bug fixes
214
-
215
- - reexport ensureStack fns ([a0bf781](https://github.com/thi-ng/umbrella/commit/a0bf781))
216
-
217
- ## [0.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@0.6.0) (2018-03-31)
218
-
219
- #### 🚀 Features
220
-
221
- - add caseq() ([5db90c5](https://github.com/thi-ng/umbrella/commit/5db90c5))
222
-
223
- ## [0.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@0.5.0) (2018-03-29)
224
-
225
- #### 🚀 Features
226
-
227
- - add combinators, update controlflow words, remove execq ([3dc30a8](https://github.com/thi-ng/umbrella/commit/3dc30a8))
228
- - add condq(), loopq()
229
- - update dotimes() to use quotations from stack, no more HOF
230
- - add dip/2/3/4 combinators
231
- - add keep/2/3 combinators
232
- - add bi/2/3 combinators
233
- - add dup3
234
- - refactor exec to work w/ quotations, remove execq
235
- - add/update tests
236
- - add more dataflow combinators, words & tests ([b096e43](https://github.com/thi-ng/umbrella/commit/b096e43))
237
- - add tri/2/3
238
- - add bis/2, tris/2
239
- - add bia/2, tria/2
240
- - add both, either
241
- - add oneover
242
-
243
- ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@0.4.0) (2018-03-29)
244
-
245
- #### 🚀 Features
246
-
247
- - add new words, constructs, aliases, fix re-exports ([943b4f9](https://github.com/thi-ng/umbrella/commit/943b4f9))
248
- - add dotimes() loop construct
249
- - add obj(), bindkeys() object words
250
- - add rinc/rdec() r-stack words
251
- - add sin/cos/atan2/rand/log math ops
252
- - add vec2/3/4 tuple aliases
253
- - add API types & comp() to re-exports
254
-
255
- ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@0.3.0) (2018-03-28)
256
-
257
- #### 🚀 Features
258
-
259
- - update word/wordU, add append(), tuple(), join() ([f3f0bec](https://github.com/thi-ng/umbrella/commit/f3f0bec))
260
- - update all words to return stack ([79b4ce3](https://github.com/thi-ng/umbrella/commit/79b4ce3))
261
- - major refactor & restructure ([a48361d](https://github.com/thi-ng/umbrella/commit/a48361d))
262
- - split out types into api.ts
263
- - add StackContext and update all word functions to accept and return this type
264
- - add comp() and update word/wordU() to precompile word
265
- - add list/array fns: op2l, ladd/lsub/lmul/ldiv, lsplit, foldl
266
- - further restructure, perf, add tests ([3252554](https://github.com/thi-ng/umbrella/commit/3252554))
267
- - add rstack, update StackContext ([1c4cd2f](https://github.com/thi-ng/umbrella/commit/1c4cd2f))
268
- - add 2nd stack (r-stack) to StackContext
269
- - add supporting rstack words (rdrop/2, mov/cprd, mov/cpdr)
270
- - add min/max
271
- - add pushl
272
- - add cat
273
- - add printds/rs
274
- - add new words, rename words, remove mapnth, pushl2 ([0f0c382](https://github.com/thi-ng/umbrella/commit/0f0c382))
275
- - add mapl(), mapll() array transformers
276
- - refactor foldl() in terms of mapl()
277
- - add even/odd()
278
- - rename ladd etc. vadd...
279
- - revert op2v to produce new result arrays
280
- - add runE() syntax sugar
281
- - update tests
282
- - major update readme, package ([e52b869](https://github.com/thi-ng/umbrella/commit/e52b869))
283
-
284
- #### 🩹 Bug fixes
285
-
286
- - wordU(), add tests ([1a01f9a](https://github.com/thi-ng/umbrella/commit/1a01f9a))
287
- - add 0-arity comp() (identity fn) ([10d5a34](https://github.com/thi-ng/umbrella/commit/10d5a34))
288
-
289
- #### ♻️ Refactoring
290
-
291
- - rename core words & change case ([ba0bcc2](https://github.com/thi-ng/umbrella/commit/ba0bcc2))
292
- - runU => runu
293
- - map => maptos
294
- - mapN => mapnth
295
- - dropIf/dupIf => dropif/dupif
296
- - condM => cases
297
- - bitAnd/Or/Not => bitand/or/not
298
- - isPos/Neg/Null/Zero => ispos/neg/null/zero
299
- - execQ => execq
300
- - storeAt => storeat
301
- - pushEnv => pushenv
302
- - loadKey/storeKey => loadkey/storekey
303
-
304
- ### [0.2.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@0.2.1) (2018-03-23)
305
-
306
- #### 🩹 Bug fixes
307
-
308
- - fix readme/docs ([f211c39](https://github.com/thi-ng/umbrella/commit/f211c39))
309
-
310
- ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/pointfree@0.2.0) (2018-03-23)
311
-
312
- #### 🚀 Features
313
-
314
- - initial import of refactored [@thi.ng/pointfree](https://github.com/thi-ng/umbrella/tree/main/packages/pointfree) package ([25bbf05](https://github.com/thi-ng/umbrella/commit/25bbf05))
315
- - add dropIf, neg, nop, update cond,condM, add docs/readme ([58f5716](https://github.com/thi-ng/umbrella/commit/58f5716))
316
- - add unwrap, quatations, math/bitops, array/obj access ([f75486d](https://github.com/thi-ng/umbrella/commit/f75486d))
317
- - add runU(), wordU() & unwrap()
318
- - add execQ() for running quotations
319
- - add more math ops
320
- - add at(), storeAt()
321
- - add mapN()
322
- - various small optimizations / refactorings
323
- - support data vals in program, add collect(), update readme ([6cac0c7](https://github.com/thi-ng/umbrella/commit/6cac0c7))
324
- - any non-function values in program place themselves on stack
325
- - update StackProgram type alias
326
- - add collect() to create stack partitions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/pointfree",
3
- "version": "3.1.99",
3
+ "version": "3.1.100",
4
4
  "description": "Pointfree functional composition / Forth style stack execution engine",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -40,17 +40,16 @@
40
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@thi.ng/api": "^8.11.17",
44
- "@thi.ng/checks": "^3.6.20",
45
- "@thi.ng/compose": "^3.0.20",
46
- "@thi.ng/equiv": "^2.1.73",
47
- "@thi.ng/errors": "^2.5.23"
43
+ "@thi.ng/api": "^8.11.18",
44
+ "@thi.ng/checks": "^3.6.21",
45
+ "@thi.ng/compose": "^3.0.21",
46
+ "@thi.ng/equiv": "^2.1.74",
47
+ "@thi.ng/errors": "^2.5.24"
48
48
  },
49
49
  "devDependencies": {
50
- "@microsoft/api-extractor": "^7.48.1",
51
50
  "esbuild": "^0.24.2",
52
51
  "typedoc": "^0.27.6",
53
- "typescript": "^5.7.2"
52
+ "typescript": "^5.7.3"
54
53
  },
55
54
  "keywords": [
56
55
  "binary",
@@ -137,5 +136,5 @@
137
136
  "alias": "pf",
138
137
  "year": 2015
139
138
  },
140
- "gitHead": "22f6d518aed5951bb37b406c8ae85a6c3e6be517\n"
139
+ "gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
141
140
  }