@thi.ng/args 2.3.1 → 2.3.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 +7 -1
  2. package/package.json +11 -11
  3. package/usage.js +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2023-12-19T11:01:47Z
3
+ - **Last updated**: 2023-12-28T23:24:38Z
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.3.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/args@2.3.2) (2023-12-26)
13
+
14
+ #### 🩹 Bug fixes
15
+
16
+ - update word wrap behavior in usage() ([60b1580](https://github.com/thi-ng/umbrella/commit/60b1580))
17
+
12
18
  ## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/args@2.3.0) (2023-12-18)
13
19
 
14
20
  #### 🚀 Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/args",
3
- "version": "2.3.1",
3
+ "version": "2.3.3",
4
4
  "description": "Declarative, functional & typechecked CLI argument/options parser, value coercions etc.",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -35,19 +35,19 @@
35
35
  "test": "bun test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/api": "^8.9.14",
39
- "@thi.ng/checks": "^3.4.14",
40
- "@thi.ng/errors": "^2.4.8",
41
- "@thi.ng/logger": "^2.1.1",
42
- "@thi.ng/strings": "^3.7.5",
43
- "@thi.ng/text-format": "^2.0.1"
38
+ "@thi.ng/api": "^8.9.15",
39
+ "@thi.ng/checks": "^3.4.15",
40
+ "@thi.ng/errors": "^2.4.9",
41
+ "@thi.ng/logger": "^2.1.2",
42
+ "@thi.ng/strings": "^3.7.6",
43
+ "@thi.ng/text-format": "^2.0.2"
44
44
  },
45
45
  "devDependencies": {
46
- "@microsoft/api-extractor": "^7.38.3",
47
- "esbuild": "^0.19.8",
46
+ "@microsoft/api-extractor": "^7.39.0",
47
+ "esbuild": "^0.19.10",
48
48
  "rimraf": "^5.0.5",
49
49
  "typedoc": "^0.25.4",
50
- "typescript": "^5.3.2"
50
+ "typescript": "^5.3.3"
51
51
  },
52
52
  "keywords": [
53
53
  "argument",
@@ -102,5 +102,5 @@
102
102
  "thi.ng": {
103
103
  "year": 2018
104
104
  },
105
- "gitHead": "0d9265be7be13eccf0ef75eaedbfd42626339279\n"
105
+ "gitHead": "775c664723cd87d6ac5909cedf91195317add287\n"
106
106
  }
package/usage.js CHANGED
@@ -69,7 +69,7 @@ const ansi = (x, col) => col != null ? `\x1B[${col}m${x}\x1B[0m` : x;
69
69
  const wrap = (str, width) => str ? wordWrapLines(str, {
70
70
  width,
71
71
  splitter: SPLIT_ANSI,
72
- hard: true
72
+ hard: false
73
73
  }) : [];
74
74
  export {
75
75
  usage