@thi.ng/strings 3.3.4 → 3.3.5

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**: 2022-05-07T11:33:35Z
3
+ - **Last updated**: 2022-06-09T16:14:01Z
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/currency.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { Stringer } from "./api.js";
2
- export declare const currency: (sym: string, pre?: boolean | undefined, prec?: number | undefined) => Stringer<number>;
2
+ export declare const currency: (sym: string, pre?: boolean, prec?: number) => Stringer<number>;
3
3
  export declare const chf: Stringer<number>;
4
4
  export declare const eur: Stringer<number>;
5
5
  export declare const gbp: Stringer<number>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/strings",
3
- "version": "3.3.4",
3
+ "version": "3.3.5",
4
4
  "description": "Various string formatting & utility functions",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,18 +34,18 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.3.6",
38
- "@thi.ng/errors": "^2.1.6",
39
- "@thi.ng/hex": "^2.1.6",
40
- "@thi.ng/memoize": "^3.1.6"
37
+ "@thi.ng/api": "^8.3.7",
38
+ "@thi.ng/errors": "^2.1.7",
39
+ "@thi.ng/hex": "^2.1.7",
40
+ "@thi.ng/memoize": "^3.1.7"
41
41
  },
42
42
  "devDependencies": {
43
- "@microsoft/api-extractor": "^7.23.1",
44
- "@thi.ng/testament": "^0.2.6",
43
+ "@microsoft/api-extractor": "^7.25.0",
44
+ "@thi.ng/testament": "^0.2.8",
45
45
  "rimraf": "^3.0.2",
46
46
  "tools": "^0.0.1",
47
- "typedoc": "^0.22.15",
48
- "typescript": "^4.6.4"
47
+ "typedoc": "^0.22.17",
48
+ "typescript": "^4.7.3"
49
49
  },
50
50
  "keywords": [
51
51
  "ansi",
@@ -200,5 +200,5 @@
200
200
  "thi.ng": {
201
201
  "year": 2015
202
202
  },
203
- "gitHead": "cf084be5fd5932226054d2dd32bad35481379f5d\n"
203
+ "gitHead": "9e516d30a1a537e027a6b3d78bf9121bc5831d31\n"
204
204
  }
package/pad-left.d.ts CHANGED
@@ -6,13 +6,13 @@ export declare const padLeft: (n: number, ch?: string | number) => (x: any, leng
6
6
  /**
7
7
  * Zero-padded 2 digit formatter.
8
8
  */
9
- export declare const Z2: (x: any, length?: number | undefined) => string;
9
+ export declare const Z2: (x: any, length?: number) => string;
10
10
  /**
11
11
  * Zero-padded 3 digit formatter.
12
12
  */
13
- export declare const Z3: (x: any, length?: number | undefined) => string;
13
+ export declare const Z3: (x: any, length?: number) => string;
14
14
  /**
15
15
  * Zero-padded 4 digit formatter.
16
16
  */
17
- export declare const Z4: (x: any, length?: number | undefined) => string;
17
+ export declare const Z4: (x: any, length?: number) => string;
18
18
  //# sourceMappingURL=pad-left.d.ts.map
package/stringify.d.ts CHANGED
@@ -8,5 +8,5 @@ import type { Stringer } from "./api.js";
8
8
  * @param all -
9
9
  * @param indent -
10
10
  */
11
- export declare const stringify: (all?: boolean, indent?: number | undefined) => Stringer<any>;
11
+ export declare const stringify: (all?: boolean, indent?: number) => Stringer<any>;
12
12
  //# sourceMappingURL=stringify.d.ts.map
package/truncate.d.ts CHANGED
@@ -3,5 +3,5 @@ export declare const truncate: (n: number, suffix?: string) => Stringer<string>;
3
3
  /**
4
4
  * Alias for {@link truncate}
5
5
  */
6
- export declare const truncateRight: (n: number, suffix?: string | undefined) => Stringer<string>;
6
+ export declare const truncateRight: (n: number, suffix?: string) => Stringer<string>;
7
7
  //# sourceMappingURL=truncate.d.ts.map