@thi.ng/args 2.3.0 → 2.3.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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2023-12-18T13:41:19Z
3
+ - **Last updated**: 2023-12-26T14:10:51Z
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.0",
3
+ "version": "2.3.2",
4
4
  "description": "Declarative, functional & typechecked CLI argument/options parser, value coercions etc.",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -35,18 +35,17 @@
35
35
  "test": "bun test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/api": "^8.9.13",
39
- "@thi.ng/checks": "^3.4.13",
40
- "@thi.ng/errors": "^2.4.7",
41
- "@thi.ng/logger": "^2.1.0",
42
- "@thi.ng/strings": "^3.7.4",
43
- "@thi.ng/text-format": "^2.0.0"
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"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@microsoft/api-extractor": "^7.38.3",
47
47
  "esbuild": "^0.19.8",
48
48
  "rimraf": "^5.0.5",
49
- "tools": "^0.0.1",
50
49
  "typedoc": "^0.25.4",
51
50
  "typescript": "^5.3.2"
52
51
  },
@@ -103,5 +102,5 @@
103
102
  "thi.ng": {
104
103
  "year": 2018
105
104
  },
106
- "gitHead": "25a42a81fac8603a1e440a7aa8bc343276211ff4\n"
105
+ "gitHead": "f156d361a652cce316c36e0b7df7d2ac5c2dbbf8\n"
107
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