@thi.ng/date 2.4.9 → 2.4.10
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 +7 -1
- package/datetime.d.ts +1 -1
- package/format.d.ts +1 -1
- package/package.json +9 -9
- package/relative.d.ts +2 -2
- package/relative.js +1 -1
- package/round.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2023-03-
|
|
3
|
+
- **Last updated**: 2023-03-27T19:05:48Z
|
|
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.4.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/date@2.4.10) (2023-03-27)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update imports (TS5.0) ([9ad7746](https://github.com/thi-ng/umbrella/commit/9ad7746))
|
|
17
|
+
|
|
12
18
|
## [2.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/date@2.4.0) (2022-12-29)
|
|
13
19
|
|
|
14
20
|
#### 🚀 Features
|
package/datetime.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ICompare, ICopy, IEqualsDelta, IEquiv } from "@thi.ng/api";
|
|
2
|
-
import { MaybeDate, Period, Precision } from "./api.js";
|
|
2
|
+
import { type MaybeDate, type Period, type Precision } from "./api.js";
|
|
3
3
|
export declare const dateTime: (epoch?: MaybeDate, prec?: Precision) => DateTime;
|
|
4
4
|
/**
|
|
5
5
|
* Epoch abstraction with adjustable coarseness/precision. All date fields in
|
package/format.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormatFn, MaybeDate, Precision } from "./api.js";
|
|
1
|
+
import { type FormatFn, type MaybeDate, type Precision } from "./api.js";
|
|
2
2
|
export declare const FORMATTERS: Record<string, FormatFn>;
|
|
3
3
|
/**
|
|
4
4
|
* Returns a new date formatter for given array of format strings (or
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/date",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.10",
|
|
4
4
|
"description": "Datetime types, relative dates, math, iterators, composable formatters, locales",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.7.
|
|
38
|
-
"@thi.ng/checks": "^3.3.
|
|
39
|
-
"@thi.ng/strings": "^3.4.
|
|
37
|
+
"@thi.ng/api": "^8.7.5",
|
|
38
|
+
"@thi.ng/checks": "^3.3.11",
|
|
39
|
+
"@thi.ng/strings": "^3.4.3"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@microsoft/api-extractor": "^7.34.4",
|
|
43
|
-
"@thi.ng/testament": "^0.3.
|
|
44
|
-
"rimraf": "^4.4.
|
|
43
|
+
"@thi.ng/testament": "^0.3.14",
|
|
44
|
+
"rimraf": "^4.4.1",
|
|
45
45
|
"tools": "^0.0.1",
|
|
46
|
-
"typedoc": "^0.23.
|
|
47
|
-
"typescript": "^
|
|
46
|
+
"typedoc": "^0.23.28",
|
|
47
|
+
"typescript": "^5.0.2"
|
|
48
48
|
},
|
|
49
49
|
"keywords": [
|
|
50
50
|
"datastructure",
|
|
@@ -132,5 +132,5 @@
|
|
|
132
132
|
"thi.ng": {
|
|
133
133
|
"year": 2020
|
|
134
134
|
},
|
|
135
|
-
"gitHead": "
|
|
135
|
+
"gitHead": "83b15b34326d480cbca0472b20390d4d3bbb792a\n"
|
|
136
136
|
}
|
package/relative.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MaybeDate, Period } from "./api.js";
|
|
2
|
-
import { DateTime } from "./datetime.js";
|
|
1
|
+
import { type MaybeDate, type Period } from "./api.js";
|
|
2
|
+
import { type DateTime } from "./datetime.js";
|
|
3
3
|
/**
|
|
4
4
|
* Takes a relative time `offset` string in plain english and an optional `base`
|
|
5
5
|
* date (default: now). Parses `offset` and returns new date with relative
|
package/relative.js
CHANGED
package/round.d.ts
CHANGED