@thi.ng/date 2.7.42 → 2.7.43
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 +1 -1
- package/format.d.ts +2 -2
- package/package.json +7 -7
- package/timecode.d.ts +2 -2
package/CHANGELOG.md
CHANGED
package/format.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare const FORMATTERS: Record<string, FormatFn>;
|
|
|
11
11
|
* default.
|
|
12
12
|
*
|
|
13
13
|
* See {@link FORMATTERS} for available date component format IDs. To escape a
|
|
14
|
-
* formatter and use as a string literal, prefix the term with
|
|
14
|
+
* formatter and use as a string literal, prefix the term with a backslash.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```ts tangle:../export/def-format.ts
|
|
@@ -129,7 +129,7 @@ export declare const FMT_ss: (x?: MaybeDate, utc?: boolean) => string;
|
|
|
129
129
|
* Returns {@link LOCALE.now} if absolute difference is < `eps` milliseconds
|
|
130
130
|
* (default: 100).
|
|
131
131
|
*
|
|
132
|
-
*
|
|
132
|
+
* See {@link formatRelativeParts} for alternative output.
|
|
133
133
|
*
|
|
134
134
|
*
|
|
135
135
|
* @example
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/date",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.43",
|
|
4
4
|
"description": "Datetime types, relative dates, math, iterators, composable formatters, locales",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@thi.ng/api": "^8.11.
|
|
43
|
-
"@thi.ng/checks": "^3.6.
|
|
44
|
-
"@thi.ng/strings": "^3.9.
|
|
42
|
+
"@thi.ng/api": "^8.11.20",
|
|
43
|
+
"@thi.ng/checks": "^3.6.23",
|
|
44
|
+
"@thi.ng/strings": "^3.9.5"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"esbuild": "^0.
|
|
48
|
-
"typedoc": "^0.27.
|
|
47
|
+
"esbuild": "^0.25.0",
|
|
48
|
+
"typedoc": "^0.27.7",
|
|
49
49
|
"typescript": "^5.7.3"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
@@ -134,5 +134,5 @@
|
|
|
134
134
|
"thi.ng": {
|
|
135
135
|
"year": 2020
|
|
136
136
|
},
|
|
137
|
-
"gitHead": "
|
|
137
|
+
"gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
|
|
138
138
|
}
|
package/timecode.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Returns a time formatter for given FPS (frames / second, in [1
|
|
3
|
-
* e.g. `HH:mm:ss:ff`. The returned function takes a single arg (time in
|
|
2
|
+
* Returns a time formatter for given FPS (frames / second, in `[1,1000]`
|
|
3
|
+
* range), e.g. `HH:mm:ss:ff`. The returned function takes a single arg (time in
|
|
4
4
|
* milliseconds) and returns formatted string.
|
|
5
5
|
*
|
|
6
6
|
* @remarks
|