@thi.ng/leb128 2.0.7 → 2.1.2

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 (3) hide show
  1. package/CHANGELOG.md +68 -31
  2. package/README.md +1 -1
  3. package/package.json +79 -74
package/CHANGELOG.md CHANGED
@@ -1,65 +1,102 @@
1
1
  # Change Log
2
2
 
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
+
3
6
  All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
8
+
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
5
11
 
6
- ## [2.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/leb128@2.0.6...@thi.ng/leb128@2.0.7) (2021-11-03)
12
+ ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@2.1.0) (2021-11-17)
7
13
 
8
- **Note:** Version bump only for package @thi.ng/leb128
14
+ #### 🚀 Features
9
15
 
16
+ - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
17
+ Improving the overall build ergonomics
18
+ - introduced a tools workspaces
19
+ - imported it in all needed packages/examples
20
+ - inclusive project root
10
21
 
22
+ #### ♻️ Refactoring
11
23
 
24
+ - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
25
+ this commit reverts (partly) changes made in:
26
+ ef346d7a8753590dc9094108a3d861a8dbd5dd2c
27
+ overall purpose is better testament ergonomics:
28
+ instead of having to pass NODE_OPTIONS with every invocation
29
+ having a binary to handle this for us.
12
30
 
31
+ ### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@2.0.1) (2021-10-13)
13
32
 
14
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/leb128@1.0.69...@thi.ng/leb128@2.0.0) (2021-10-12)
33
+ #### ♻️ Refactoring
15
34
 
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
36
+ - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
37
+ - add .js suffix for all relative imports
16
38
 
17
- ### Build System
39
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@2.0.0) (2021-10-12)
18
40
 
19
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
41
+ #### 🛑 Breaking changes
20
42
 
43
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
44
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
45
+ - only ESM modules will be published from now on
46
+ - CJS obsolete due to ESM support in recent versions of node:
47
+ - i.e. launch NodeJS via:
48
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
49
+ - in the node REPL use `await import(...)` instead of `require()`
50
+ - UMD obsolete due to widespread browser support for ESM
51
+ Also:
52
+ - normalize/restructure/reorg all package.json files
53
+ - cleanup all build scripts, remove obsolete
54
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
21
55
 
22
- ### BREAKING CHANGES
56
+ #### ♻️ Refactoring
23
57
 
24
- * discontinue CommonJS & UMD versions
58
+ - update b64 WASM init ([2cff5b0](https://github.com/thi-ng/umbrella/commit/2cff5b0))
59
+ - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
60
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
61
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
25
62
 
26
- - only ESM modules will be published from now on
27
- - CJS obsolete due to ESM support in recent versions of node:
28
- - i.e. launch NodeJS via:
29
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
30
- - in the node REPL use `await import(...)` instead of `require()`
31
- - UMD obsolete due to widespread browser support for ESM
63
+ ### [1.0.68](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@1.0.68) (2021-08-24)
32
64
 
33
- Also:
34
- - normalize/restructure/reorg all package.json files
35
- - cleanup all build scripts, remove obsolete
36
- - switch from mocha to @thi.ng/testament for all tests
65
+ #### ♻️ Refactoring
37
66
 
67
+ - fix zig syntax changes ([ec42d5c](https://github.com/thi-ng/umbrella/commit/ec42d5c))
68
+ - orig code was for zig ~0.4.0, syntax has changed meanwhile
38
69
 
70
+ ### [1.0.58](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@1.0.58) (2021-06-08)
39
71
 
72
+ #### ♻️ Refactoring
40
73
 
74
+ - dedupe wrapper fns ([b949e1b](https://github.com/thi-ng/umbrella/commit/b949e1b))
41
75
 
76
+ ### [1.0.37](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@1.0.37) (2020-12-07)
42
77
 
43
- ## [1.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/leb128@1.0.0...@thi.ng/leb128@1.0.1) (2019-11-30)
78
+ #### ♻️ Refactoring
44
79
 
45
- ### Bug Fixes
80
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
46
81
 
47
- - **leb128:** add type hints ([18a4380](https://github.com/thi-ng/umbrella/commit/18a4380336604f4a8fc890296d5c9dce5d9c0cd2))
82
+ ### [1.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@1.0.1) (2019-11-30)
48
83
 
49
- # [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/leb128@0.1.5...@thi.ng/leb128@1.0.0) (2019-11-09)
84
+ #### 🩹 Bug fixes
50
85
 
51
- ### Features
86
+ - add type hints ([18a4380](https://github.com/thi-ng/umbrella/commit/18a4380))
52
87
 
53
- - **leb128:** no more async init, remove READY promise, update tests ([2044583](https://github.com/thi-ng/umbrella/commit/20445837f5af1891703e1c51fe8db56e69f11c86))
88
+ # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@1.0.0) (2019-11-09)
54
89
 
55
- ### BREAKING CHANGES
90
+ #### 🛑 Breaking changes
56
91
 
57
- - **leb128:** switch to synchronous initialization
92
+ - no more async init, remove READY promise, update tests ([2044583](https://github.com/thi-ng/umbrella/commit/2044583))
93
+ - BREAKING CHANGE: switch to synchronous initialization
58
94
 
59
- # 0.1.0 (2019-07-07)
95
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/leb128@0.1.0) (2019-07-07)
60
96
 
61
- ### Features
97
+ #### 🚀 Features
62
98
 
63
- - **leb128:** add READY promise to allow waiting for WASM initialization ([60c3245](https://github.com/thi-ng/umbrella/commit/60c3245))
64
- - **leb128:** add zig tests, move binary to sep src file for auto regen ([2a89cde](https://github.com/thi-ng/umbrella/commit/2a89cde))
65
- - **leb128:** import new hybrid TS/WASM/zig package, incl. readme & tests ([140b238](https://github.com/thi-ng/umbrella/commit/140b238))
99
+ - add READY promise to allow waiting for WASM initialization ([60c3245](https://github.com/thi-ng/umbrella/commit/60c3245))
100
+ - update tests & readme
101
+ - add zig tests, move binary to sep src file for auto regen ([2a89cde](https://github.com/thi-ng/umbrella/commit/2a89cde))
102
+ - import new hybrid TS/WASM/zig package, incl. readme & tests ([140b238](https://github.com/thi-ng/umbrella/commit/140b238))
package/README.md CHANGED
@@ -68,7 +68,7 @@ node --experimental-repl-await
68
68
  > const leb128 = await import("@thi.ng/leb128");
69
69
  ```
70
70
 
71
- Package sizes (gzipped, pre-treeshake): ESM: 1.09 KB
71
+ Package sizes (gzipped, pre-treeshake): ESM: 1.07 KB
72
72
 
73
73
  ## Dependencies
74
74
 
package/package.json CHANGED
@@ -1,76 +1,81 @@
1
1
  {
2
- "name": "@thi.ng/leb128",
3
- "version": "2.0.7",
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"
2
+ "name": "@thi.ng/leb128",
3
+ "version": "2.1.2",
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://github.com/thi-ng/umbrella/tree/develop/packages/binary#readme",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
12
18
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/binary#readme",
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
- "author": "Karsten Schmidt <k+npm@thi.ng>",
25
- "license": "Apache-2.0",
26
- "scripts": {
27
- "build": "yarn clean && tsc --declaration",
28
- "build:binary": "tools/build-binary.sh",
29
- "clean": "rimraf *.js *.d.ts *.map doc",
30
- "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
31
- "doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
32
- "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
33
- "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
34
- "pub": "yarn build && yarn publish --access public",
35
- "test": "testament test"
36
- },
37
- "dependencies": {
38
- "@thi.ng/checks": "^3.0.6",
39
- "@thi.ng/errors": "^2.0.6",
40
- "@thi.ng/transducers-binary": "^2.0.7"
41
- },
42
- "devDependencies": {
43
- "@thi.ng/testament": "^0.1.6"
44
- },
45
- "keywords": [
46
- "64bit",
47
- "bigint",
48
- "binary",
49
- "conversion",
50
- "integer",
51
- "typedarray",
52
- "typescript",
53
- "varint",
54
- "wasm",
55
- "zig"
56
- ],
57
- "publishConfig": {
58
- "access": "public"
59
- },
60
- "engines": {
61
- "node": ">=12.7"
62
- },
63
- "files": [
64
- "*.js",
65
- "*.d.ts"
66
- ],
67
- "exports": {
68
- ".": {
69
- "import": "./index.js"
70
- }
71
- },
72
- "thi.ng": {
73
- "year": 2019
74
- },
75
- "gitHead": "852cd2450617c86d15d18477dc634f17f04202eb"
76
- }
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ }
23
+ ],
24
+ "author": "Karsten Schmidt <k+npm@thi.ng>",
25
+ "license": "Apache-2.0",
26
+ "scripts": {
27
+ "build": "yarn clean && tsc --declaration",
28
+ "build:binary": "tools/build-binary.sh",
29
+ "clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
30
+ "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
31
+ "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
32
+ "doc:readme": "yarn doc:stats && tools:readme",
33
+ "doc:stats": "tools:module-stats",
34
+ "pub": "yarn npm publish --access public",
35
+ "test": "testament test"
36
+ },
37
+ "dependencies": {
38
+ "@thi.ng/checks": "^3.1.2",
39
+ "@thi.ng/errors": "^2.1.2",
40
+ "@thi.ng/transducers-binary": "^2.1.2"
41
+ },
42
+ "devDependencies": {
43
+ "@microsoft/api-extractor": "^7.18.19",
44
+ "@thi.ng/testament": "^0.2.2",
45
+ "rimraf": "^3.0.2",
46
+ "tools": "^0.0.1",
47
+ "typedoc": "^0.22.9",
48
+ "typescript": "^4.5.2"
49
+ },
50
+ "keywords": [
51
+ "64bit",
52
+ "bigint",
53
+ "binary",
54
+ "conversion",
55
+ "integer",
56
+ "typedarray",
57
+ "typescript",
58
+ "varint",
59
+ "wasm",
60
+ "zig"
61
+ ],
62
+ "publishConfig": {
63
+ "access": "public"
64
+ },
65
+ "engines": {
66
+ "node": ">=12.7"
67
+ },
68
+ "files": [
69
+ "*.js",
70
+ "*.d.ts"
71
+ ],
72
+ "exports": {
73
+ ".": {
74
+ "import": "./index.js"
75
+ }
76
+ },
77
+ "thi.ng": {
78
+ "year": 2019
79
+ },
80
+ "gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
81
+ }