@thi.ng/rle-pack 3.0.7 → 3.1.3

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 +80 -38
  2. package/package.json +79 -74
package/CHANGELOG.md CHANGED
@@ -1,75 +1,117 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
3
+ - **Last updated**: 2021-12-13T10:26:00Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
- ## [3.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/rle-pack@3.0.6...@thi.ng/rle-pack@3.0.7) (2021-11-10)
6
+ All notable changes to this project will be documented in this file.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
7
8
 
8
- **Note:** Version bump only for package @thi.ng/rle-pack
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
9
11
 
12
+ ## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rle-pack@3.1.0) (2021-11-17)
10
13
 
14
+ #### 🚀 Features
11
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
12
21
 
22
+ #### ♻️ Refactoring
13
23
 
14
- # [3.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rle-pack@2.1.43...@thi.ng/rle-pack@3.0.0) (2021-10-12)
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.
15
30
 
31
+ ### [3.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rle-pack@3.0.1) (2021-10-13)
16
32
 
17
- ### Build System
33
+ #### ♻️ Refactoring
18
34
 
19
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
20
36
 
37
+ # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rle-pack@3.0.0) (2021-10-12)
21
38
 
22
- ### BREAKING CHANGES
39
+ #### 🛑 Breaking changes
23
40
 
24
- * discontinue CommonJS & UMD versions
41
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
42
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
43
+ - only ESM modules will be published from now on
44
+ - CJS obsolete due to ESM support in recent versions of node:
45
+ - i.e. launch NodeJS via:
46
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
47
+ - in the node REPL use `await import(...)` instead of `require()`
48
+ - UMD obsolete due to widespread browser support for ESM
49
+ Also:
50
+ - normalize/restructure/reorg all package.json files
51
+ - cleanup all build scripts, remove obsolete
52
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
25
53
 
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
54
+ #### ♻️ Refactoring
32
55
 
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
56
+ - update various benchmarks ([53e8a6a](https://github.com/thi-ng/umbrella/commit/53e8a6a))
57
+ - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
58
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
59
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
37
60
 
61
+ ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rle-pack@2.1.0) (2019-07-07)
38
62
 
63
+ #### 🚀 Features
39
64
 
65
+ - enable TS strict compiler flags (refactor) ([17c426b](https://github.com/thi-ng/umbrella/commit/17c426b))
40
66
 
67
+ #### ♻️ Refactoring
41
68
 
69
+ - address TS strictNullChecks flag ([dd8806f](https://github.com/thi-ng/umbrella/commit/dd8806f))
42
70
 
43
- # [2.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rle-pack@2.0.6...@thi.ng/rle-pack@2.1.0) (2019-07-07)
71
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rle-pack@2.0.0) (2019-01-21)
44
72
 
45
- ### Features
73
+ #### 🛑 Breaking changes
46
74
 
47
- - **rle-pack:** enable TS strict compiler flags (refactor) ([17c426b](https://github.com/thi-ng/umbrella/commit/17c426b))
75
+ - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
76
+ - BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
77
+ - build scripts now first build ES6 modules in package root, then call
78
+ `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
79
+ - all imports MUST be updated to only refer to package level
80
+ (not individual files anymore). tree shaking in user land will get rid of
81
+ all unused imported symbols.
48
82
 
49
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rle-pack@1.0.8...@thi.ng/rle-pack@2.0.0) (2019-01-21)
83
+ #### ♻️ Refactoring
50
84
 
51
- ### Build System
85
+ - use arrow fns ([6eba241](https://github.com/thi-ng/umbrella/commit/6eba241))
52
86
 
53
- - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
87
+ # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rle-pack@1.0.0) (2018-08-24)
54
88
 
55
- ### BREAKING CHANGES
89
+ #### 🛑 Breaking changes
56
90
 
57
- - enabled multi-outputs (ES6 modules, CJS, UMD)
58
- - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
59
- - all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
91
+ - update data format, custom repeat sizes, rename fns ([694a253](https://github.com/thi-ng/umbrella/commit/694a253))
92
+ - add support for custom run-length group thresholds
93
+ - rename => encode() / decode()
94
+ - decode() returns Uint8/16/32Array based on given word size
95
+ - add encode() error handling (arg checks)
96
+ - update tests & readme
97
+ - add diagram
98
+ - BREAKING CHANGE: new API and encoding format, see readme
99
+ for details
60
100
 
61
- # [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rle-pack@0.2.24...@thi.ng/rle-pack@1.0.0) (2018-08-24)
101
+ #### 🚀 Features
62
102
 
63
- ### Bug Fixes
103
+ - further update data format (non-repeats) ([4041521](https://github.com/thi-ng/umbrella/commit/4041521))
104
+ - successive non-repeat values are now chunked and waste less bits
105
+ - fix wordSize header field (write size-1)
106
+ - update tests
107
+ - add support for custom input word sizes ([fd8e761](https://github.com/thi-ng/umbrella/commit/fd8e761))
64
108
 
65
- - **rle-pack:** fix initial repeat counts in encodeBytes(), update readme ([8565edb](https://github.com/thi-ng/umbrella/commit/8565edb))
109
+ #### 🩹 Bug fixes
66
110
 
67
- ### Features
111
+ - fix initial repeat counts in encodeBytes(), update readme ([8565edb](https://github.com/thi-ng/umbrella/commit/8565edb))
68
112
 
69
- - **rle-pack:** add support for custom input word sizes ([fd8e761](https://github.com/thi-ng/umbrella/commit/fd8e761))
70
- - **rle-pack:** further update data format (non-repeats) ([4041521](https://github.com/thi-ng/umbrella/commit/4041521))
71
- - **rle-pack:** update data format, custom repeat sizes, rename fns ([694a253](https://github.com/thi-ng/umbrella/commit/694a253))
113
+ ### [0.2.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/rle-pack@0.2.2) (2018-01-24)
72
114
 
73
- ### BREAKING CHANGES
115
+ #### 🚀 Features
74
116
 
75
- - **rle-pack:** new API and encoding format, see readme for details
117
+ - initial re-import as monorepo, update readme files, cleanup imports ([04ff6e9](https://github.com/thi-ng/umbrella/commit/04ff6e9))
package/package.json CHANGED
@@ -1,77 +1,82 @@
1
1
  {
2
- "name": "@thi.ng/rle-pack",
3
- "version": "3.0.7",
4
- "description": "Binary run-length encoding packer w/ flexible repeat bit widths",
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/rle-pack",
3
+ "version": "3.1.3",
4
+ "description": "Binary run-length encoding packer w/ flexible repeat bit widths",
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/rle-pack#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/rle-pack#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
- }
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
+ "clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
29
+ "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
+ "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
31
+ "doc:readme": "yarn doc:stats && tools:readme",
32
+ "doc:stats": "tools:module-stats",
33
+ "pub": "yarn npm publish --access public",
34
+ "test": "testament test"
35
+ },
36
+ "dependencies": {
37
+ "@thi.ng/bitstream": "^2.1.3",
38
+ "@thi.ng/errors": "^2.1.3"
39
+ },
40
+ "devDependencies": {
41
+ "@microsoft/api-extractor": "^7.19.2",
42
+ "@thi.ng/testament": "^0.2.3",
43
+ "rimraf": "^3.0.2",
44
+ "tools": "^0.0.1",
45
+ "typedoc": "^0.22.10",
46
+ "typescript": "^4.5.3"
47
+ },
48
+ "keywords": [
49
+ "array",
50
+ "binary",
51
+ "bitwise",
52
+ "compression",
53
+ "packer",
54
+ "rle",
55
+ "typescript",
56
+ "wordsize"
57
+ ],
58
+ "publishConfig": {
59
+ "access": "public"
60
+ },
61
+ "engines": {
62
+ "node": ">=12.7"
63
+ },
64
+ "files": [
65
+ "*.js",
66
+ "*.d.ts"
67
+ ],
68
+ "exports": {
69
+ ".": {
70
+ "import": "./index.js"
71
+ }
72
+ },
73
+ "thi.ng": {
74
+ "related": [
75
+ "binary",
76
+ "bitstream",
77
+ "range-coder"
23
78
  ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
25
- "license": "Apache-2.0",
26
- "scripts": {
27
- "build": "yarn clean && tsc --declaration",
28
- "clean": "rimraf *.js *.d.ts *.map doc",
29
- "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
- "doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
- "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
- "pub": "yarn build && yarn publish --access public",
34
- "test": "testament test"
35
- },
36
- "dependencies": {
37
- "@thi.ng/bitstream": "^2.0.7",
38
- "@thi.ng/errors": "^2.0.6"
39
- },
40
- "devDependencies": {
41
- "@thi.ng/testament": "^0.1.6"
42
- },
43
- "keywords": [
44
- "array",
45
- "binary",
46
- "bitwise",
47
- "compression",
48
- "packer",
49
- "rle",
50
- "typescript",
51
- "wordsize"
52
- ],
53
- "publishConfig": {
54
- "access": "public"
55
- },
56
- "engines": {
57
- "node": ">=12.7"
58
- },
59
- "files": [
60
- "*.js",
61
- "*.d.ts"
62
- ],
63
- "exports": {
64
- ".": {
65
- "import": "./index.js"
66
- }
67
- },
68
- "thi.ng": {
69
- "related": [
70
- "binary",
71
- "bitstream",
72
- "range-coder"
73
- ],
74
- "year": 2017
75
- },
76
- "gitHead": "5fe52419af63984ebe53032201b2a6174b9cb159"
77
- }
79
+ "year": 2017
80
+ },
81
+ "gitHead": "2db9dd34c0c2c60cbfde3dad0bca352b20292f5c\n"
82
+ }