@thi.ng/date 2.7.63 → 2.7.68

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.
Files changed (2) hide show
  1. package/package.json +137 -137
  2. package/CHANGELOG.md +0 -81
package/package.json CHANGED
@@ -1,138 +1,138 @@
1
1
  {
2
- "name": "@thi.ng/date",
3
- "version": "2.7.63",
4
- "description": "Datetime types, relative dates, math, iterators, composable formatters, locales",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
12
- },
13
- "homepage": "https://thi.ng/date",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- },
23
- {
24
- "type": "liberapay",
25
- "url": "https://liberapay.com/thi.ng"
26
- }
27
- ],
28
- "author": "Karsten Schmidt (https://thi.ng)",
29
- "license": "Apache-2.0",
30
- "scripts": {
31
- "build": "yarn build:esbuild && yarn build:decl",
32
- "build:decl": "tsc --declaration --emitDeclarationOnly",
33
- "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
- "clean": "bun ../../tools/src/clean-package.ts i18n",
35
- "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
- "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
- "pub": "yarn npm publish --access public",
38
- "test": "bun test",
39
- "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
- },
41
- "dependencies": {
42
- "@thi.ng/api": "^8.12.1",
43
- "@thi.ng/checks": "^3.7.17",
44
- "@thi.ng/strings": "^3.9.21"
45
- },
46
- "devDependencies": {
47
- "esbuild": "^0.25.8",
48
- "typedoc": "^0.28.9",
49
- "typescript": "^5.9.2"
50
- },
51
- "keywords": [
52
- "datastructure",
53
- "date",
54
- "format",
55
- "i18n",
56
- "interval",
57
- "iterator",
58
- "math",
59
- "offset",
60
- "parser",
61
- "precision",
62
- "relative",
63
- "smpte",
64
- "string",
65
- "time",
66
- "typescript",
67
- "utc"
68
- ],
69
- "publishConfig": {
70
- "access": "public"
71
- },
72
- "engines": {
73
- "node": ">=18"
74
- },
75
- "files": [
76
- "./*.js",
77
- "./*.d.ts",
78
- "i18n",
79
- "internal"
80
- ],
81
- "exports": {
82
- ".": {
83
- "default": "./index.js"
84
- },
85
- "./api": {
86
- "default": "./api.js"
87
- },
88
- "./checks": {
89
- "default": "./checks.js"
90
- },
91
- "./datetime": {
92
- "default": "./datetime.js"
93
- },
94
- "./duration": {
95
- "default": "./duration.js"
96
- },
97
- "./format": {
98
- "default": "./format.js"
99
- },
100
- "./i18n/de": {
101
- "default": "./i18n/de.js"
102
- },
103
- "./i18n/en": {
104
- "default": "./i18n/en.js"
105
- },
106
- "./i18n/es": {
107
- "default": "./i18n/es.js"
108
- },
109
- "./i18n/fr": {
110
- "default": "./i18n/fr.js"
111
- },
112
- "./i18n/it": {
113
- "default": "./i18n/it.js"
114
- },
115
- "./i18n": {
116
- "default": "./i18n.js"
117
- },
118
- "./iterators": {
119
- "default": "./iterators.js"
120
- },
121
- "./relative": {
122
- "default": "./relative.js"
123
- },
124
- "./round": {
125
- "default": "./round.js"
126
- },
127
- "./timecode": {
128
- "default": "./timecode.js"
129
- },
130
- "./units": {
131
- "default": "./units.js"
132
- }
133
- },
134
- "thi.ng": {
135
- "year": 2020
136
- },
137
- "gitHead": "f6ebc1302dc9211d588293aa0897173c6e54f4e5\n"
138
- }
2
+ "name": "@thi.ng/date",
3
+ "version": "2.7.68",
4
+ "description": "Datetime types, relative dates, math, iterators, composable formatters, locales",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://thi.ng/date",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
18
+ },
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ },
23
+ {
24
+ "type": "liberapay",
25
+ "url": "https://liberapay.com/thi.ng"
26
+ }
27
+ ],
28
+ "author": "Karsten Schmidt (https://thi.ng)",
29
+ "license": "Apache-2.0",
30
+ "scripts": {
31
+ "build": "yarn build:esbuild && yarn build:decl",
32
+ "build:decl": "tsc --declaration --emitDeclarationOnly",
33
+ "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
+ "clean": "bun ../../tools/src/clean-package.ts i18n",
35
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
+ "pub": "npm publish --access public",
38
+ "test": "bun test",
39
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
+ },
41
+ "dependencies": {
42
+ "@thi.ng/api": "^8.12.6",
43
+ "@thi.ng/checks": "^3.7.22",
44
+ "@thi.ng/strings": "^3.9.26"
45
+ },
46
+ "devDependencies": {
47
+ "esbuild": "^0.25.11",
48
+ "typedoc": "^0.28.14",
49
+ "typescript": "^5.9.3"
50
+ },
51
+ "keywords": [
52
+ "datastructure",
53
+ "date",
54
+ "format",
55
+ "i18n",
56
+ "interval",
57
+ "iterator",
58
+ "math",
59
+ "offset",
60
+ "parser",
61
+ "precision",
62
+ "relative",
63
+ "smpte",
64
+ "string",
65
+ "time",
66
+ "typescript",
67
+ "utc"
68
+ ],
69
+ "publishConfig": {
70
+ "access": "public"
71
+ },
72
+ "engines": {
73
+ "node": ">=18"
74
+ },
75
+ "files": [
76
+ "./*.js",
77
+ "./*.d.ts",
78
+ "i18n",
79
+ "internal"
80
+ ],
81
+ "exports": {
82
+ ".": {
83
+ "default": "./index.js"
84
+ },
85
+ "./api": {
86
+ "default": "./api.js"
87
+ },
88
+ "./checks": {
89
+ "default": "./checks.js"
90
+ },
91
+ "./datetime": {
92
+ "default": "./datetime.js"
93
+ },
94
+ "./duration": {
95
+ "default": "./duration.js"
96
+ },
97
+ "./format": {
98
+ "default": "./format.js"
99
+ },
100
+ "./i18n/de": {
101
+ "default": "./i18n/de.js"
102
+ },
103
+ "./i18n/en": {
104
+ "default": "./i18n/en.js"
105
+ },
106
+ "./i18n/es": {
107
+ "default": "./i18n/es.js"
108
+ },
109
+ "./i18n/fr": {
110
+ "default": "./i18n/fr.js"
111
+ },
112
+ "./i18n/it": {
113
+ "default": "./i18n/it.js"
114
+ },
115
+ "./i18n": {
116
+ "default": "./i18n.js"
117
+ },
118
+ "./iterators": {
119
+ "default": "./iterators.js"
120
+ },
121
+ "./relative": {
122
+ "default": "./relative.js"
123
+ },
124
+ "./round": {
125
+ "default": "./round.js"
126
+ },
127
+ "./timecode": {
128
+ "default": "./timecode.js"
129
+ },
130
+ "./units": {
131
+ "default": "./units.js"
132
+ }
133
+ },
134
+ "thi.ng": {
135
+ "year": 2020
136
+ },
137
+ "gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
138
+ }
package/CHANGELOG.md DELETED
@@ -1,81 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-08-04T09:13:01Z
4
- - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
-
6
- All notable changes to this project will be documented in this file.
7
- Only versions published since **2022-01-01** are listed here.
8
- Please consult the Git history for older version information.
9
- See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
10
-
11
- **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
- and/or version bumps of transitive dependencies.
13
-
14
- ### [2.7.19](https://github.com/thi-ng/umbrella/tree/@thi.ng/date@2.7.19) (2024-06-21)
15
-
16
- #### ♻️ Refactoring
17
-
18
- - rename various rest args to be more semantically meaningful ([8088a56](https://github.com/thi-ng/umbrella/commit/8088a56))
19
- - enforce uniform naming convention of internal functions ([56992b2](https://github.com/thi-ng/umbrella/commit/56992b2))
20
-
21
- ### [2.7.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/date@2.7.9) (2024-03-18)
22
-
23
- #### ♻️ Refactoring
24
-
25
- - update defFormat() internals ([cf5890c](https://github.com/thi-ng/umbrella/commit/cf5890c))
26
-
27
- ## [2.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/date@2.7.0) (2024-02-22)
28
-
29
- #### 🚀 Features
30
-
31
- - add single component formatter presets ([661a4b7](https://github.com/thi-ng/umbrella/commit/661a4b7))
32
-
33
- ## [2.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/date@2.6.0) (2024-02-22)
34
-
35
- #### 🚀 Features
36
-
37
- - add FMT_yyyyMMdd_ALT and FMT_HHmmss_ALT formatters ([658bcf9](https://github.com/thi-ng/umbrella/commit/658bcf9))
38
-
39
- ## [2.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/date@2.5.0) (2023-11-04)
40
-
41
- #### 🚀 Features
42
-
43
- - add durationAs() & asXXX() duration helpers ([ad17cee](https://github.com/thi-ng/umbrella/commit/ad17cee))
44
- - add absDifference(), add/update docs ([9b54f6c](https://github.com/thi-ng/umbrella/commit/9b54f6c))
45
-
46
- ### [2.4.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/date@2.4.10) (2023-03-27)
47
-
48
- #### ♻️ Refactoring
49
-
50
- - update imports (TS5.0) ([9ad7746](https://github.com/thi-ng/umbrella/commit/9ad7746))
51
-
52
- ## [2.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/date@2.4.0) (2022-12-29)
53
-
54
- #### 🚀 Features
55
-
56
- - add formatDuration(), internal restructure ([d610a8a](https://github.com/thi-ng/umbrella/commit/d610a8a))
57
- - add formatDuration() & formatDurationParts()
58
- - add composeDuration()
59
- - refactor formatRelativeParts()
60
- - move all formatting fns to format.ts
61
- - move decomposeDuration() to duration.ts
62
- - add tests
63
-
64
- ## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/date@2.3.0) (2022-06-15)
65
-
66
- #### 🚀 Features
67
-
68
- - update parseRelative() ([0f7ecfc](https://github.com/thi-ng/umbrella/commit/0f7ecfc))
69
- - add "mo" shorthand for months
70
-
71
- ## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/date@2.2.0) (2022-05-18)
72
-
73
- #### 🚀 Features
74
-
75
- - use current time as default for all formatters ([ee536db](https://github.com/thi-ng/umbrella/commit/ee536db))
76
-
77
- ### [2.1.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/date@2.1.6) (2022-04-07)
78
-
79
- #### ♻️ Refactoring
80
-
81
- - replace deprecated .substr() w/ .substring() ([0710509](https://github.com/thi-ng/umbrella/commit/0710509))