@thi.ng/strings 3.7.19 → 3.7.21

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**: 2024-03-01T15:22:50Z
3
+ - **Last updated**: 2024-03-07T20:40:47Z
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.
package/README.md CHANGED
@@ -179,6 +179,8 @@ directory are using this package:
179
179
  ### Basic usage examples
180
180
 
181
181
  ```ts
182
+ import { defFormat, float, percent } from "@thi.ng/strings";
183
+
182
184
  // create a custom string formatter
183
185
  const fmt = defFormat([
184
186
  "Price: ",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/strings",
3
- "version": "3.7.19",
3
+ "version": "3.7.21",
4
4
  "description": "Various string formatting & utility functions",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -32,13 +32,14 @@
32
32
  "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
33
33
  "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
34
34
  "pub": "yarn npm publish --access public",
35
- "test": "bun test"
35
+ "test": "bun test",
36
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
36
37
  },
37
38
  "dependencies": {
38
- "@thi.ng/api": "^8.9.27",
39
- "@thi.ng/errors": "^2.4.19",
40
- "@thi.ng/hex": "^2.3.38",
41
- "@thi.ng/memoize": "^3.1.61"
39
+ "@thi.ng/api": "^8.9.28",
40
+ "@thi.ng/errors": "^2.4.20",
41
+ "@thi.ng/hex": "^2.3.39",
42
+ "@thi.ng/memoize": "^3.1.63"
42
43
  },
43
44
  "devDependencies": {
44
45
  "@microsoft/api-extractor": "^7.40.1",
@@ -203,5 +204,5 @@
203
204
  "thi.ng": {
204
205
  "year": 2015
205
206
  },
206
- "gitHead": "d660ae8fd1bf64d919b4334f19509f1f539d70f6\n"
207
+ "gitHead": "a421058a65ba76608d94129ac29451bfedaf201c\n"
207
208
  }