@thi.ng/rle-pack 3.1.112 → 3.1.114

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/README.md +2 -2
  2. package/index.js +1 -1
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 210 standalone projects, maintained as part
10
+ > This is one of 211 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
@@ -92,7 +92,7 @@ For Node.js REPL:
92
92
  const rle = await import("@thi.ng/rle-pack");
93
93
  ```
94
94
 
95
- Package sizes (brotli'd, pre-treeshake): ESM: 637 bytes
95
+ Package sizes (brotli'd, pre-treeshake): ESM: 636 bytes
96
96
 
97
97
  ## Dependencies
98
98
 
package/index.js CHANGED
@@ -32,7 +32,7 @@ const encode = (src, num, wordSize = 8, rleSizes = [3, 4, 8, 16]) => {
32
32
  out.writeWords(chunk, wordSize);
33
33
  chunk.length = 0;
34
34
  };
35
- for (let x of src) {
35
+ for (const x of src) {
36
36
  if (val === void 0) {
37
37
  val = x;
38
38
  } else if (x !== val) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/rle-pack",
3
- "version": "3.1.112",
3
+ "version": "3.1.114",
4
4
  "description": "Binary run-length encoding packer w/ flexible repeat bit widths",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -39,8 +39,8 @@
39
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
40
  },
41
41
  "dependencies": {
42
- "@thi.ng/bitstream": "^2.4.34",
43
- "@thi.ng/errors": "^2.5.48"
42
+ "@thi.ng/bitstream": "^2.4.36",
43
+ "@thi.ng/errors": "^2.5.50"
44
44
  },
45
45
  "devDependencies": {
46
46
  "esbuild": "^0.27.0",
@@ -80,5 +80,5 @@
80
80
  ],
81
81
  "year": 2017
82
82
  },
83
- "gitHead": "be6e7657b1e5c54d7d648d1b52888a7297e95a17\n"
83
+ "gitHead": "824bf9047b5a10f777c5c5b4aeecf0c750a22c75\n"
84
84
  }