@thi.ng/leb128 3.1.65 → 3.1.70

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/package.json +87 -87
  2. package/CHANGELOG.md +0 -65
package/package.json CHANGED
@@ -1,88 +1,88 @@
1
1
  {
2
- "name": "@thi.ng/leb128",
3
- "version": "3.1.65",
4
- "description": "WASM based LEB128 encoder / decoder (signed & unsigned)",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
12
- },
13
- "homepage": "https://thi.ng/binary",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- },
23
- {
24
- "type": "liberapay",
25
- "url": "https://liberapay.com/thi.ng"
26
- }
27
- ],
28
- "author": "Karsten Schmidt (https://thi.ng)",
29
- "contributors": [
30
- "jtenner (https://github.com/jtenner)"
31
- ],
32
- "license": "Apache-2.0",
33
- "scripts": {
34
- "build": "yarn build:esbuild && yarn build:decl",
35
- "build:binary": "tools/build-binary.sh",
36
- "build:decl": "tsc --declaration --emitDeclarationOnly",
37
- "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
38
- "clean": "bun ../../tools/src/clean-package.ts",
39
- "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
40
- "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
41
- "pub": "yarn npm publish --access public",
42
- "test": "bun test",
43
- "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
44
- },
45
- "dependencies": {
46
- "@thi.ng/checks": "^3.7.17",
47
- "@thi.ng/errors": "^2.5.41"
48
- },
49
- "devDependencies": {
50
- "esbuild": "^0.25.8",
51
- "typedoc": "^0.28.9",
52
- "typescript": "^5.9.2"
53
- },
54
- "keywords": [
55
- "64bit",
56
- "bigint",
57
- "binary",
58
- "conversion",
59
- "integer",
60
- "interop",
61
- "typedarray",
62
- "typescript",
63
- "varint",
64
- "wasm",
65
- "zig"
66
- ],
67
- "publishConfig": {
68
- "access": "public"
69
- },
70
- "engines": {
71
- "node": ">=18"
72
- },
73
- "files": [
74
- "./*.js",
75
- "./*.d.ts",
76
- "zig/*.zig"
77
- ],
78
- "exports": {
79
- ".": {
80
- "default": "./index.js"
81
- }
82
- },
83
- "thi.ng": {
84
- "alias": "leb",
85
- "year": 2019
86
- },
87
- "gitHead": "f6ebc1302dc9211d588293aa0897173c6e54f4e5\n"
88
- }
2
+ "name": "@thi.ng/leb128",
3
+ "version": "3.1.70",
4
+ "description": "WASM based LEB128 encoder / decoder (signed & unsigned)",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://thi.ng/binary",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
18
+ },
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ },
23
+ {
24
+ "type": "liberapay",
25
+ "url": "https://liberapay.com/thi.ng"
26
+ }
27
+ ],
28
+ "author": "Karsten Schmidt (https://thi.ng)",
29
+ "contributors": [
30
+ "jtenner (https://github.com/jtenner)"
31
+ ],
32
+ "license": "Apache-2.0",
33
+ "scripts": {
34
+ "build": "yarn build:esbuild && yarn build:decl",
35
+ "build:binary": "tools/build-binary.sh",
36
+ "build:decl": "tsc --declaration --emitDeclarationOnly",
37
+ "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
38
+ "clean": "bun ../../tools/src/clean-package.ts",
39
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
40
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
41
+ "pub": "npm publish --access public",
42
+ "test": "bun test",
43
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
44
+ },
45
+ "dependencies": {
46
+ "@thi.ng/checks": "^3.7.22",
47
+ "@thi.ng/errors": "^2.5.46"
48
+ },
49
+ "devDependencies": {
50
+ "esbuild": "^0.25.11",
51
+ "typedoc": "^0.28.14",
52
+ "typescript": "^5.9.3"
53
+ },
54
+ "keywords": [
55
+ "64bit",
56
+ "bigint",
57
+ "binary",
58
+ "conversion",
59
+ "integer",
60
+ "interop",
61
+ "typedarray",
62
+ "typescript",
63
+ "varint",
64
+ "wasm",
65
+ "zig"
66
+ ],
67
+ "publishConfig": {
68
+ "access": "public"
69
+ },
70
+ "engines": {
71
+ "node": ">=18"
72
+ },
73
+ "files": [
74
+ "./*.js",
75
+ "./*.d.ts",
76
+ "zig/*.zig"
77
+ ],
78
+ "exports": {
79
+ ".": {
80
+ "default": "./index.js"
81
+ }
82
+ },
83
+ "thi.ng": {
84
+ "alias": "leb",
85
+ "year": 2019
86
+ },
87
+ "gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
88
+ }
package/CHANGELOG.md DELETED
@@ -1,65 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-08-04T09:13:01Z
4
- - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
-
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.
9
- See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
10
-
11
- **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
- and/or version bumps of transitive dependencies.
13
-
14
- ### [3.1.63](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@3.1.63) (2025-08-04)
15
-
16
- #### ♻️ Refactoring
17
-
18
- - update b64 decoding, remove obsolete deps ([eb4a5be](https://github.com/thi-ng/umbrella/commit/eb4a5be))
19
-
20
- ### [3.1.42](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@3.1.42) (2025-03-11)
21
-
22
- #### ♻️ Refactoring
23
-
24
- - update for Zig v0.14.0 ([890f3eb](https://github.com/thi-ng/umbrella/commit/890f3eb))
25
-
26
- ### [3.1.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@3.1.4) (2024-06-21)
27
-
28
- #### ♻️ Refactoring
29
-
30
- - enforce uniform naming convention of internal functions ([56992b2](https://github.com/thi-ng/umbrella/commit/56992b2))
31
-
32
- ## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@3.1.0) (2024-04-20)
33
-
34
- #### 🚀 Features
35
-
36
- - update docs, add encode[SU]LEB128Into() fns ([44f927b](https://github.com/thi-ng/umbrella/commit/44f927b))
37
- - update/fix doc strings
38
- - retroactively document new functions by @jtenner's PR ([#460](https://github.com/thi-ng/umbrella/issues/460))
39
- - add encodeSLEB128Into()
40
- - add encodeULEB128Into()
41
-
42
- ### [3.0.47](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@3.0.47) (2023-11-09)
43
-
44
- #### ♻️ Refactoring
45
-
46
- - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
47
-
48
- ### [3.0.21](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@3.0.21) (2023-06-29)
49
-
50
- #### ♻️ Refactoring
51
-
52
- - Zig v0.11-dev syntax & build updates ([cae6541](https://github.com/thi-ng/umbrella/commit/cae6541))
53
-
54
- # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@3.0.0) (2022-12-02)
55
-
56
- #### 🛑 Breaking changes
57
-
58
- - add bigint support ([0440c34](https://github.com/thi-ng/umbrella/commit/0440c34))
59
- - BREAKING CHANGE: update decode return type
60
- - update all encode to accept bigint or number, cast to correct u64/i64 range
61
- - update decode result to [bigint, number] tuple
62
- - rebuild binary (~400 bytes smaller)
63
- - move zig source to /zig
64
- - update tests
65
- - update readme