@thi.ng/leb128 3.1.33 → 3.1.35

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,9 +1,11 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-04T21:07:38Z
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
@@ -49,95 +51,3 @@ and/or version bumps of transitive dependencies.
49
51
  - move zig source to /zig
50
52
  - update tests
51
53
  - update readme
52
-
53
- ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@2.1.0) (2021-11-17)
54
-
55
- #### 🚀 Features
56
-
57
- - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
58
- Improving the overall build ergonomics
59
- - introduced a tools workspaces
60
- - imported it in all needed packages/examples
61
- - inclusive project root
62
-
63
- #### ♻️ Refactoring
64
-
65
- - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
66
- this commit reverts (partly) changes made in:
67
- ef346d7a8753590dc9094108a3d861a8dbd5dd2c
68
- overall purpose is better testament ergonomics:
69
- instead of having to pass NODE_OPTIONS with every invocation
70
- having a binary to handle this for us.
71
-
72
- ### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@2.0.1) (2021-10-13)
73
-
74
- #### ♻️ Refactoring
75
-
76
- - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
77
- - add .js suffix for all relative imports
78
- - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
79
-
80
- # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@2.0.0) (2021-10-12)
81
-
82
- #### 🛑 Breaking changes
83
-
84
- - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
85
- - BREAKING CHANGE: discontinue CommonJS & UMD versions
86
- - only ESM modules will be published from now on
87
- - CJS obsolete due to ESM support in recent versions of node:
88
- - i.e. launch NodeJS via:
89
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
90
- - in the node REPL use `await import(...)` instead of `require()`
91
- - UMD obsolete due to widespread browser support for ESM
92
- Also:
93
- - normalize/restructure/reorg all package.json files
94
- - cleanup all build scripts, remove obsolete
95
- - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
96
-
97
- #### ♻️ Refactoring
98
-
99
- - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
100
- - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
101
- - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
102
- - update b64 WASM init ([2cff5b0](https://github.com/thi-ng/umbrella/commit/2cff5b0))
103
-
104
- ### [1.0.68](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@1.0.68) (2021-08-24)
105
-
106
- #### ♻️ Refactoring
107
-
108
- - fix zig syntax changes ([ec42d5c](https://github.com/thi-ng/umbrella/commit/ec42d5c))
109
- - orig code was for zig ~0.4.0, syntax has changed meanwhile
110
-
111
- ### [1.0.58](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@1.0.58) (2021-06-08)
112
-
113
- #### ♻️ Refactoring
114
-
115
- - dedupe wrapper fns ([b949e1b](https://github.com/thi-ng/umbrella/commit/b949e1b))
116
-
117
- ### [1.0.37](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@1.0.37) (2020-12-07)
118
-
119
- #### ♻️ Refactoring
120
-
121
- - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
122
-
123
- ### [1.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@1.0.1) (2019-11-30)
124
-
125
- #### 🩹 Bug fixes
126
-
127
- - add type hints ([18a4380](https://github.com/thi-ng/umbrella/commit/18a4380))
128
-
129
- # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@1.0.0) (2019-11-09)
130
-
131
- #### 🛑 Breaking changes
132
-
133
- - no more async init, remove READY promise, update tests ([2044583](https://github.com/thi-ng/umbrella/commit/2044583))
134
- - BREAKING CHANGE: switch to synchronous initialization
135
-
136
- ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@0.1.0) (2019-07-07)
137
-
138
- #### 🚀 Features
139
-
140
- - import new hybrid TS/WASM/zig package, incl. readme & tests ([140b238](https://github.com/thi-ng/umbrella/commit/140b238))
141
- - add zig tests, move binary to sep src file for auto regen ([2a89cde](https://github.com/thi-ng/umbrella/commit/2a89cde))
142
- - add READY promise to allow waiting for WASM initialization ([60c3245](https://github.com/thi-ng/umbrella/commit/60c3245))
143
- - update tests & readme
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/leb128",
3
- "version": "3.1.33",
3
+ "version": "3.1.35",
4
4
  "description": "WASM based LEB128 encoder / decoder (signed & unsigned)",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -44,15 +44,14 @@
44
44
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
45
45
  },
46
46
  "dependencies": {
47
- "@thi.ng/checks": "^3.6.19",
48
- "@thi.ng/errors": "^2.5.22",
49
- "@thi.ng/transducers-binary": "^2.1.149"
47
+ "@thi.ng/checks": "^3.6.21",
48
+ "@thi.ng/errors": "^2.5.24",
49
+ "@thi.ng/transducers-binary": "^2.1.151"
50
50
  },
51
51
  "devDependencies": {
52
- "@microsoft/api-extractor": "^7.48.1",
53
52
  "esbuild": "^0.24.2",
54
53
  "typedoc": "^0.27.6",
55
- "typescript": "^5.7.2"
54
+ "typescript": "^5.7.3"
56
55
  },
57
56
  "keywords": [
58
57
  "64bit",
@@ -88,5 +87,5 @@
88
87
  "alias": "leb",
89
88
  "year": 2019
90
89
  },
91
- "gitHead": "56e7a1724e7b0cb5c41119f60320b6ff0e8a3c1c\n"
90
+ "gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
92
91
  }
package/zig/leb128.zig CHANGED
@@ -1,3 +1,4 @@
1
+ // SPDX-License-Identifier: Apache-2.0
1
2
  export var buf: [10]u8 = undefined;
2
3
 
3
4
  /// Encodes 64bit uint `src` and writes result bytes into `dest` (must