@thi.ng/transducers-binary 2.1.4 → 2.1.7

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,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2021-12-13T10:26:00Z
3
+ - **Last updated**: 2022-05-07T11:33:36Z
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.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [2.1.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-binary@2.1.6) (2022-04-07)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - replace deprecated .substr() w/ .substring() ([0710509](https://github.com/thi-ng/umbrella/commit/0710509))
17
+
12
18
  ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-binary@2.1.0) (2021-11-17)
13
19
 
14
20
  #### 🚀 Features
package/README.md CHANGED
@@ -70,7 +70,7 @@ node --experimental-repl-await
70
70
  > const transducersBinary = await import("@thi.ng/transducers-binary");
71
71
  ```
72
72
 
73
- Package sizes (gzipped, pre-treeshake): ESM: 2.86 KB
73
+ Package sizes (gzipped, pre-treeshake): ESM: 2.87 KB
74
74
 
75
75
  ## Dependencies
76
76
 
@@ -321,4 +321,4 @@ If this project contributes to an academic publication, please cite it as:
321
321
 
322
322
  ## License
323
323
 
324
- © 2018 - 2021 Karsten Schmidt // Apache Software License 2.0
324
+ © 2018 - 2022 Karsten Schmidt // Apache Software License 2.0
package/base64.js CHANGED
@@ -2,7 +2,7 @@ import { compR } from "@thi.ng/transducers/compr";
2
2
  import { iterator, iterator1, __iter } from "@thi.ng/transducers/iterator";
3
3
  import { isReduced, reduced } from "@thi.ng/transducers/reduced";
4
4
  const B64_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
5
- const B64_SAFE = B64_CHARS.substr(0, 62) + "-_";
5
+ const B64_SAFE = B64_CHARS.substring(0, 62) + "-_";
6
6
  export function base64Decode(src) {
7
7
  return src
8
8
  ? new Uint8Array([...iterator1(base64Decode(), src)])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/transducers-binary",
3
- "version": "2.1.4",
3
+ "version": "2.1.7",
4
4
  "description": "Binary data related transducers & reducers",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,20 +34,20 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/binary": "^3.1.3",
38
- "@thi.ng/compose": "^2.1.3",
39
- "@thi.ng/errors": "^2.1.3",
40
- "@thi.ng/hex": "^2.1.3",
41
- "@thi.ng/random": "^3.2.3",
42
- "@thi.ng/transducers": "^8.2.0"
37
+ "@thi.ng/binary": "^3.2.2",
38
+ "@thi.ng/compose": "^2.1.6",
39
+ "@thi.ng/errors": "^2.1.6",
40
+ "@thi.ng/hex": "^2.1.6",
41
+ "@thi.ng/random": "^3.2.6",
42
+ "@thi.ng/transducers": "^8.3.2"
43
43
  },
44
44
  "devDependencies": {
45
- "@microsoft/api-extractor": "^7.19.2",
46
- "@thi.ng/testament": "^0.2.3",
45
+ "@microsoft/api-extractor": "^7.23.1",
46
+ "@thi.ng/testament": "^0.2.6",
47
47
  "rimraf": "^3.0.2",
48
48
  "tools": "^0.0.1",
49
- "typedoc": "^0.22.10",
50
- "typescript": "^4.5.3"
49
+ "typedoc": "^0.22.15",
50
+ "typescript": "^4.6.4"
51
51
  },
52
52
  "keywords": [
53
53
  "array",
@@ -76,31 +76,31 @@
76
76
  ],
77
77
  "exports": {
78
78
  ".": {
79
- "import": "./index.js"
79
+ "default": "./index.js"
80
80
  },
81
81
  "./api": {
82
- "import": "./api.js"
82
+ "default": "./api.js"
83
83
  },
84
84
  "./base64": {
85
- "import": "./base64.js"
85
+ "default": "./base64.js"
86
86
  },
87
87
  "./bits": {
88
- "import": "./bits.js"
88
+ "default": "./bits.js"
89
89
  },
90
90
  "./bytes": {
91
- "import": "./bytes.js"
91
+ "default": "./bytes.js"
92
92
  },
93
93
  "./hex-dump": {
94
- "import": "./hex-dump.js"
94
+ "default": "./hex-dump.js"
95
95
  },
96
96
  "./partition-bits": {
97
- "import": "./partition-bits.js"
97
+ "default": "./partition-bits.js"
98
98
  },
99
99
  "./random-bits": {
100
- "import": "./random-bits.js"
100
+ "default": "./random-bits.js"
101
101
  },
102
102
  "./utf8": {
103
- "import": "./utf8.js"
103
+ "default": "./utf8.js"
104
104
  }
105
105
  },
106
106
  "thi.ng": {
@@ -112,5 +112,5 @@
112
112
  ],
113
113
  "year": 2018
114
114
  },
115
- "gitHead": "1ba92c6b9509e74e509b4c0b875fc380a97bbbc1\n"
115
+ "gitHead": "cf084be5fd5932226054d2dd32bad35481379f5d\n"
116
116
  }