@thi.ng/hex 2.0.6 → 2.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 (3) hide show
  1. package/CHANGELOG.md +47 -70
  2. package/README.md +1 -1
  3. package/package.json +70 -65
package/CHANGELOG.md CHANGED
@@ -1,93 +1,70 @@
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.
5
-
6
- ## [2.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@2.0.5...@thi.ng/hex@2.0.6) (2021-10-28)
7
-
8
- **Note:** Version bump only for package @thi.ng/hex
9
-
10
-
11
-
12
-
13
-
14
- ## [2.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@2.0.4...@thi.ng/hex@2.0.5) (2021-10-28)
15
-
16
- **Note:** Version bump only for package @thi.ng/hex
17
-
18
-
19
-
20
-
21
-
22
- ## [2.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@2.0.3...@thi.ng/hex@2.0.4) (2021-10-25)
23
-
24
- **Note:** Version bump only for package @thi.ng/hex
25
-
26
-
27
-
28
-
29
-
30
- ## [2.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@2.0.2...@thi.ng/hex@2.0.3) (2021-10-15)
31
-
32
- **Note:** Version bump only for package @thi.ng/hex
33
-
34
-
35
-
36
-
37
-
38
- ## [2.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@2.0.1...@thi.ng/hex@2.0.2) (2021-10-15)
39
-
40
- **Note:** Version bump only for package @thi.ng/hex
41
-
42
-
43
-
44
-
45
-
46
- ## [2.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@2.0.0...@thi.ng/hex@2.0.1) (2021-10-13)
47
-
48
- **Note:** Version bump only for package @thi.ng/hex
49
-
50
-
51
-
3
+ - **Last updated**: 2021-12-13T10:26:00Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
52
5
 
6
+ All notable changes to this project will be documented in this file.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
53
8
 
54
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@1.0.4...@thi.ng/hex@2.0.0) (2021-10-12)
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
55
11
 
12
+ ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hex@2.1.0) (2021-11-17)
56
13
 
57
- ### Build System
14
+ #### 🚀 Features
58
15
 
59
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
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
60
21
 
22
+ #### ♻️ Refactoring
61
23
 
62
- ### BREAKING CHANGES
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.
63
30
 
64
- * discontinue CommonJS & UMD versions
31
+ ### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/hex@2.0.1) (2021-10-13)
65
32
 
66
- - only ESM modules will be published from now on
67
- - CJS obsolete due to ESM support in recent versions of node:
68
- - i.e. launch NodeJS via:
69
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
70
- - in the node REPL use `await import(...)` instead of `require()`
71
- - UMD obsolete due to widespread browser support for ESM
33
+ #### ♻️ Refactoring
72
34
 
73
- Also:
74
- - normalize/restructure/reorg all package.json files
75
- - cleanup all build scripts, remove obsolete
76
- - switch from mocha to @thi.ng/testament for all tests
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
77
36
 
37
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hex@2.0.0) (2021-10-12)
78
38
 
39
+ #### 🛑 Breaking changes
79
40
 
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
80
53
 
54
+ #### ♻️ Refactoring
81
55
 
56
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
57
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
82
58
 
83
- # [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@0.1.3...@thi.ng/hex@0.2.0) (2021-02-20)
59
+ ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hex@0.2.0) (2021-02-20)
84
60
 
85
- ### Features
61
+ #### 🚀 Features
86
62
 
87
- - **hex:** add uuid() ([c8417b4](https://github.com/thi-ng/umbrella/commit/c8417b4c2fe3eeb664b4131aabe592d612573703))
63
+ - add uuid() ([c8417b4](https://github.com/thi-ng/umbrella/commit/c8417b4))
64
+ - migrate/dedupe from [@thi.ng/random](https://github.com/thi-ng/umbrella/tree/main/packages/random) & [@thi.ng/strings](https://github.com/thi-ng/umbrella/tree/main/packages/strings)
88
65
 
89
- # 0.1.0 (2020-11-24)
66
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hex@0.1.0) (2020-11-24)
90
67
 
91
- ### Features
68
+ #### 🚀 Features
92
69
 
93
- - **hex:** import as new package ([1c2f331](https://github.com/thi-ng/umbrella/commit/1c2f331bfbdc01fd0153e01dcecbab79307a7598))
70
+ - import as new package ([1c2f331](https://github.com/thi-ng/umbrella/commit/1c2f331))
package/README.md CHANGED
@@ -55,7 +55,7 @@ node --experimental-repl-await
55
55
  > const hex = await import("@thi.ng/hex");
56
56
  ```
57
57
 
58
- Package sizes (gzipped, pre-treeshake): ESM: 358 bytes
58
+ Package sizes (gzipped, pre-treeshake): ESM: 368 bytes
59
59
 
60
60
  ## Dependencies
61
61
 
package/package.json CHANGED
@@ -1,68 +1,73 @@
1
1
  {
2
- "name": "@thi.ng/hex",
3
- "version": "2.0.6",
4
- "description": "Hex string formatters for 4/8/16/24/32/48/64bit words",
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/hex",
3
+ "version": "2.1.3",
4
+ "description": "Hex string formatters for 4/8/16/24/32/48/64bit words",
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/master/packages/hex#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/master/packages/hex#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
+ "devDependencies": {
37
+ "@microsoft/api-extractor": "^7.19.2",
38
+ "@thi.ng/testament": "^0.2.3",
39
+ "rimraf": "^3.0.2",
40
+ "tools": "^0.0.1",
41
+ "typedoc": "^0.22.10",
42
+ "typescript": "^4.5.3"
43
+ },
44
+ "keywords": [
45
+ "binary",
46
+ "format",
47
+ "hex",
48
+ "string",
49
+ "typescript"
50
+ ],
51
+ "publishConfig": {
52
+ "access": "public"
53
+ },
54
+ "engines": {
55
+ "node": ">=12.7"
56
+ },
57
+ "files": [
58
+ "*.js",
59
+ "*.d.ts"
60
+ ],
61
+ "exports": {
62
+ ".": {
63
+ "import": "./index.js"
64
+ }
65
+ },
66
+ "thi.ng": {
67
+ "related": [
68
+ "base-n"
23
69
  ],
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
- "devDependencies": {
37
- "@thi.ng/testament": "^0.1.6"
38
- },
39
- "keywords": [
40
- "binary",
41
- "format",
42
- "hex",
43
- "string",
44
- "typescript"
45
- ],
46
- "publishConfig": {
47
- "access": "public"
48
- },
49
- "engines": {
50
- "node": ">=12.7"
51
- },
52
- "files": [
53
- "*.js",
54
- "*.d.ts"
55
- ],
56
- "exports": {
57
- ".": {
58
- "import": "./index.js"
59
- }
60
- },
61
- "thi.ng": {
62
- "related": [
63
- "base-n"
64
- ],
65
- "year": 2020
66
- },
67
- "gitHead": "c17a556ad25f6882dfa8f806a1d9e8ed7ac7cd71"
68
- }
70
+ "year": 2020
71
+ },
72
+ "gitHead": "2db9dd34c0c2c60cbfde3dad0bca352b20292f5c\n"
73
+ }