@thi.ng/hex 2.0.2 → 2.1.0

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 +46 -38
  2. package/README.md +1 -1
  3. package/package.json +70 -65
package/CHANGELOG.md CHANGED
@@ -1,61 +1,69 @@
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.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@2.0.1...@thi.ng/hex@2.0.2) (2021-10-15)
7
-
8
- **Note:** Version bump only for package @thi.ng/hex
9
-
10
-
11
-
12
-
13
-
14
- ## [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)
15
-
16
- **Note:** Version bump only for package @thi.ng/hex
17
-
18
-
19
-
3
+ Last updated: 2021-11-17T23:24:59Z
20
4
 
5
+ All notable changes to this project will be documented in this file.
6
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
21
7
 
22
- # [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)
8
+ **Note:** Unlisted _patch_ versions only involve non-code changes and/or
9
+ version bumps of transitive dependencies.
23
10
 
11
+ ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hex@2.1.0) (2021-11-17)
24
12
 
25
- ### Build System
13
+ #### 🚀 Features
26
14
 
27
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
15
+ - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
16
+ Improving the overall build ergonomics
17
+ - introduced a tools workspaces
18
+ - imported it in all needed packages/examples
19
+ - inclusive project root
28
20
 
21
+ #### ♻️ Refactoring
29
22
 
30
- ### BREAKING CHANGES
23
+ - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
24
+ this commit reverts (partly) changes made in:
25
+ ef346d7a8753590dc9094108a3d861a8dbd5dd2c
26
+ overall purpose is better testament ergonomics:
27
+ instead of having to pass NODE_OPTIONS with every invocation
28
+ having a binary to handle this for us.
31
29
 
32
- * discontinue CommonJS & UMD versions
30
+ ### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/hex@2.0.1) (2021-10-13)
33
31
 
34
- - only ESM modules will be published from now on
35
- - CJS obsolete due to ESM support in recent versions of node:
36
- - i.e. launch NodeJS via:
37
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
38
- - in the node REPL use `await import(...)` instead of `require()`
39
- - UMD obsolete due to widespread browser support for ESM
32
+ #### ♻️ Refactoring
40
33
 
41
- Also:
42
- - normalize/restructure/reorg all package.json files
43
- - cleanup all build scripts, remove obsolete
44
- - switch from mocha to @thi.ng/testament for all tests
34
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
45
35
 
36
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hex@2.0.0) (2021-10-12)
46
37
 
38
+ #### 🛑 Breaking changes
47
39
 
40
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
41
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
42
+ - only ESM modules will be published from now on
43
+ - CJS obsolete due to ESM support in recent versions of node:
44
+ - i.e. launch NodeJS via:
45
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
46
+ - in the node REPL use `await import(...)` instead of `require()`
47
+ - UMD obsolete due to widespread browser support for ESM
48
+ Also:
49
+ - normalize/restructure/reorg all package.json files
50
+ - cleanup all build scripts, remove obsolete
51
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
48
52
 
53
+ #### ♻️ Refactoring
49
54
 
55
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
56
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
50
57
 
51
- # [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)
58
+ ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hex@0.2.0) (2021-02-20)
52
59
 
53
- ### Features
60
+ #### 🚀 Features
54
61
 
55
- - **hex:** add uuid() ([c8417b4](https://github.com/thi-ng/umbrella/commit/c8417b4c2fe3eeb664b4131aabe592d612573703))
62
+ - add uuid() ([c8417b4](https://github.com/thi-ng/umbrella/commit/c8417b4))
63
+ - 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)
56
64
 
57
- # 0.1.0 (2020-11-24)
65
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hex@0.1.0) (2020-11-24)
58
66
 
59
- ### Features
67
+ #### 🚀 Features
60
68
 
61
- - **hex:** import as new package ([1c2f331](https://github.com/thi-ng/umbrella/commit/1c2f331bfbdc01fd0153e01dcecbab79307a7598))
69
+ - 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.2",
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.0",
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 build && yarn npm publish --access public",
34
+ "test": "testament test"
35
+ },
36
+ "devDependencies": {
37
+ "@microsoft/api-extractor": "^7.18.19",
38
+ "@thi.ng/testament": "^0.2.0",
39
+ "rimraf": "^3.0.2",
40
+ "tools": "^0.0.1",
41
+ "typedoc": "^0.22.8",
42
+ "typescript": "^4.4.4"
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.2"
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": "3c5f903104da150588946a94bb118ad559ad395d"
68
- }
70
+ "year": 2020
71
+ },
72
+ "gitHead": "519eedf95c076202f3429eb8e46ccff275bfe446\n"
73
+ }