@thi.ng/binary 3.4.40 → 3.4.41
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 +3 -152
- package/package.json +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2025-01-
|
|
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
|
|
@@ -62,154 +64,3 @@ and/or version bumps of transitive dependencies.
|
|
|
62
64
|
#### 🚀 Features
|
|
63
65
|
|
|
64
66
|
- add shiftRL() ([804565e](https://github.com/thi-ng/umbrella/commit/804565e))
|
|
65
|
-
|
|
66
|
-
## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@3.1.0) (2021-11-17)
|
|
67
|
-
|
|
68
|
-
#### 🚀 Features
|
|
69
|
-
|
|
70
|
-
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
|
71
|
-
Improving the overall build ergonomics
|
|
72
|
-
- introduced a tools workspaces
|
|
73
|
-
- imported it in all needed packages/examples
|
|
74
|
-
- inclusive project root
|
|
75
|
-
|
|
76
|
-
#### ♻️ Refactoring
|
|
77
|
-
|
|
78
|
-
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
|
|
79
|
-
this commit reverts (partly) changes made in:
|
|
80
|
-
ef346d7a8753590dc9094108a3d861a8dbd5dd2c
|
|
81
|
-
overall purpose is better testament ergonomics:
|
|
82
|
-
instead of having to pass NODE_OPTIONS with every invocation
|
|
83
|
-
having a binary to handle this for us.
|
|
84
|
-
|
|
85
|
-
### [3.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@3.0.1) (2021-10-13)
|
|
86
|
-
|
|
87
|
-
#### ♻️ Refactoring
|
|
88
|
-
|
|
89
|
-
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
90
|
-
- add .js suffix for all relative imports
|
|
91
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
92
|
-
|
|
93
|
-
# [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@3.0.0) (2021-10-12)
|
|
94
|
-
|
|
95
|
-
#### 🛑 Breaking changes
|
|
96
|
-
|
|
97
|
-
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
|
98
|
-
- BREAKING CHANGE: discontinue CommonJS & UMD versions
|
|
99
|
-
- only ESM modules will be published from now on
|
|
100
|
-
- CJS obsolete due to ESM support in recent versions of node:
|
|
101
|
-
- i.e. launch NodeJS via:
|
|
102
|
-
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
103
|
-
- in the node REPL use `await import(...)` instead of `require()`
|
|
104
|
-
- UMD obsolete due to widespread browser support for ESM
|
|
105
|
-
Also:
|
|
106
|
-
- normalize/restructure/reorg all package.json files
|
|
107
|
-
- cleanup all build scripts, remove obsolete
|
|
108
|
-
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
|
109
|
-
|
|
110
|
-
#### ♻️ Refactoring
|
|
111
|
-
|
|
112
|
-
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
113
|
-
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
114
|
-
- update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
|
|
115
|
-
- update deps & imports in various pkgs ([e1cf29e](https://github.com/thi-ng/umbrella/commit/e1cf29e))
|
|
116
|
-
- largely related to recent updates/restructuring of these packages:
|
|
117
|
-
- api
|
|
118
|
-
- defmulti
|
|
119
|
-
- errors
|
|
120
|
-
- logger
|
|
121
|
-
|
|
122
|
-
## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@2.2.0) (2021-03-03)
|
|
123
|
-
|
|
124
|
-
#### 🚀 Features
|
|
125
|
-
|
|
126
|
-
- add binary/one-hot conversions ([eeb6396](https://github.com/thi-ng/umbrella/commit/eeb6396))
|
|
127
|
-
|
|
128
|
-
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@2.1.0) (2021-02-20)
|
|
129
|
-
|
|
130
|
-
#### 🚀 Features
|
|
131
|
-
|
|
132
|
-
- add interleave4_12_24/4_16_32() ([89044d2](https://github.com/thi-ng/umbrella/commit/89044d2))
|
|
133
|
-
- add swapLane02/13 ([2e45f48](https://github.com/thi-ng/umbrella/commit/2e45f48))
|
|
134
|
-
- add MSB_BITS8/16/32 LUTs ([e0eb47b](https://github.com/thi-ng/umbrella/commit/e0eb47b))
|
|
135
|
-
|
|
136
|
-
### [2.0.19](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@2.0.19) (2020-12-07)
|
|
137
|
-
|
|
138
|
-
#### ♻️ Refactoring
|
|
139
|
-
|
|
140
|
-
- update type-only imports ([7eaab0a](https://github.com/thi-ng/umbrella/commit/7eaab0a))
|
|
141
|
-
|
|
142
|
-
### [2.0.15](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@2.0.15) (2020-09-13)
|
|
143
|
-
|
|
144
|
-
#### ♻️ Refactoring
|
|
145
|
-
|
|
146
|
-
- update deps, use new Fn types ([424f516](https://github.com/thi-ng/umbrella/commit/424f516))
|
|
147
|
-
|
|
148
|
-
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@2.0.0) (2020-03-06)
|
|
149
|
-
|
|
150
|
-
#### 🛑 Breaking changes
|
|
151
|
-
|
|
152
|
-
- make binary logic ops unmasked, rename masked versions ([c07cf04](https://github.com/thi-ng/umbrella/commit/c07cf04))
|
|
153
|
-
- BREAKING CHANGE: make binary logic ops unmasked, rename masked versions
|
|
154
|
-
- existing names used for unmasked versions (returning signed ints)
|
|
155
|
-
- masked versions of bitOr/bitAnd/bitXor etc. now suffixed with `M`, e.g. `bitAndM()`
|
|
156
|
-
|
|
157
|
-
## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@1.3.0) (2020-02-25)
|
|
158
|
-
|
|
159
|
-
#### 🚀 Features
|
|
160
|
-
|
|
161
|
-
- add float/int conversions ([2e02d34](https://github.com/thi-ng/umbrella/commit/2e02d34))
|
|
162
|
-
- add byte conversions ([564310b](https://github.com/thi-ng/umbrella/commit/564310b))
|
|
163
|
-
- add endianess detection, 64bit float/int/uint conv ([856e035](https://github.com/thi-ng/umbrella/commit/856e035))
|
|
164
|
-
- add float & 64bit byte conversions ([9882196](https://github.com/thi-ng/umbrella/commit/9882196))
|
|
165
|
-
- add lane16/setLane16, flip8/16, mux ([1aa0a5e](https://github.com/thi-ng/umbrella/commit/1aa0a5e))
|
|
166
|
-
|
|
167
|
-
#### ♻️ Refactoring
|
|
168
|
-
|
|
169
|
-
- update imports, internal restruct ([aea5e6b](https://github.com/thi-ng/umbrella/commit/aea5e6b))
|
|
170
|
-
|
|
171
|
-
### [1.2.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@1.2.1) (2020-01-24)
|
|
172
|
-
|
|
173
|
-
#### ♻️ Refactoring
|
|
174
|
-
|
|
175
|
-
- update bitSize() ([b94d682](https://github.com/thi-ng/umbrella/commit/b94d682))
|
|
176
|
-
|
|
177
|
-
## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@1.2.0) (2019-11-30)
|
|
178
|
-
|
|
179
|
-
#### 🚀 Features
|
|
180
|
-
|
|
181
|
-
- add bitSize() ([f085bfb](https://github.com/thi-ng/umbrella/commit/f085bfb))
|
|
182
|
-
|
|
183
|
-
### [1.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@1.1.1) (2019-11-09)
|
|
184
|
-
|
|
185
|
-
#### ♻️ Refactoring
|
|
186
|
-
|
|
187
|
-
- add return assertion for isPow2() ([e0b5b83](https://github.com/thi-ng/umbrella/commit/e0b5b83))
|
|
188
|
-
|
|
189
|
-
## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@1.1.0) (2019-07-31)
|
|
190
|
-
|
|
191
|
-
#### 🚀 Features
|
|
192
|
-
|
|
193
|
-
- add setLane8/4/2 fns ([7e24f5e](https://github.com/thi-ng/umbrella/commit/7e24f5e))
|
|
194
|
-
|
|
195
|
-
#### ♻️ Refactoring
|
|
196
|
-
|
|
197
|
-
- update splat4_24/32 ([82caa13](https://github.com/thi-ng/umbrella/commit/82caa13))
|
|
198
|
-
|
|
199
|
-
# [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@1.0.0) (2019-01-21)
|
|
200
|
-
|
|
201
|
-
#### 🛑 Breaking changes
|
|
202
|
-
|
|
203
|
-
- update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
|
|
204
|
-
- BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
|
|
205
|
-
- build scripts now first build ES6 modules in package root, then call
|
|
206
|
-
`scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
|
|
207
|
-
- all imports MUST be updated to only refer to package level
|
|
208
|
-
(not individual files anymore). tree shaking in user land will get rid of
|
|
209
|
-
all unused imported symbols.
|
|
210
|
-
|
|
211
|
-
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/binary@0.1.0) (2018-10-17)
|
|
212
|
-
|
|
213
|
-
#### 🚀 Features
|
|
214
|
-
|
|
215
|
-
- add [@thi.ng/binary](https://github.com/thi-ng/umbrella/tree/main/packages/binary) package ([458d4a0](https://github.com/thi-ng/umbrella/commit/458d4a0))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/binary",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.41",
|
|
4
4
|
"description": "100+ assorted binary / bitwise operations, conversions, utilities, lookup tables",
|
|
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.
|
|
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.
|
|
48
|
+
"typescript": "^5.7.3"
|
|
50
49
|
},
|
|
51
50
|
"keywords": [
|
|
52
51
|
"align",
|
|
@@ -135,5 +134,5 @@
|
|
|
135
134
|
"transducers-binary"
|
|
136
135
|
]
|
|
137
136
|
},
|
|
138
|
-
"gitHead": "
|
|
137
|
+
"gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
|
|
139
138
|
}
|