@thi.ng/hex 2.0.4 → 2.1.2

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 -54
  2. package/README.md +1 -1
  3. package/package.json +70 -65
package/CHANGELOG.md CHANGED
@@ -1,77 +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.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@2.0.3...@thi.ng/hex@2.0.4) (2021-10-25)
7
-
8
- **Note:** Version bump only for package @thi.ng/hex
9
-
10
-
11
-
12
-
13
-
14
- ## [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)
15
-
16
- **Note:** Version bump only for package @thi.ng/hex
17
-
18
-
19
-
20
-
21
-
22
- ## [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)
23
-
24
- **Note:** Version bump only for package @thi.ng/hex
25
-
26
-
27
-
28
-
29
-
30
- ## [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)
31
-
32
- **Note:** Version bump only for package @thi.ng/hex
33
-
34
-
35
-
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
36
5
 
6
+ All notable changes to this project will be documented in this file.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
37
8
 
38
- # [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.
39
11
 
12
+ ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hex@2.1.0) (2021-11-17)
40
13
 
41
- ### Build System
14
+ #### 🚀 Features
42
15
 
43
- * 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
44
21
 
22
+ #### ♻️ Refactoring
45
23
 
46
- ### 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.
47
30
 
48
- * discontinue CommonJS & UMD versions
31
+ ### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/hex@2.0.1) (2021-10-13)
49
32
 
50
- - only ESM modules will be published from now on
51
- - CJS obsolete due to ESM support in recent versions of node:
52
- - i.e. launch NodeJS via:
53
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
54
- - in the node REPL use `await import(...)` instead of `require()`
55
- - UMD obsolete due to widespread browser support for ESM
33
+ #### ♻️ Refactoring
56
34
 
57
- Also:
58
- - normalize/restructure/reorg all package.json files
59
- - cleanup all build scripts, remove obsolete
60
- - 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))
61
36
 
37
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/hex@2.0.0) (2021-10-12)
62
38
 
39
+ #### 🛑 Breaking changes
63
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
64
53
 
54
+ #### ♻️ Refactoring
65
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)
66
58
 
67
- # [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)
68
60
 
69
- ### Features
61
+ #### 🚀 Features
70
62
 
71
- - **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)
72
65
 
73
- # 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)
74
67
 
75
- ### Features
68
+ #### 🚀 Features
76
69
 
77
- - **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.4",
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.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"
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.18.19",
38
+ "@thi.ng/testament": "^0.2.2",
39
+ "rimraf": "^3.0.2",
40
+ "tools": "^0.0.1",
41
+ "typedoc": "^0.22.9",
42
+ "typescript": "^4.5.2"
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.4"
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": "9ff00a103f76cc4917ef3f244132e218f2300a05"
68
- }
70
+ "year": 2020
71
+ },
72
+ "gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
73
+ }