@optique/temporal 1.1.0-dev.2096 → 1.1.0-dev.2146
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/dist/index.cjs +0 -8
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +0 -8
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -14,7 +14,7 @@ import { NonEmptyString } from "@optique/core/nonempty";
|
|
|
14
14
|
* - Three-level: `"America/Argentina/Buenos_Aires"`,
|
|
15
15
|
* `"America/Kentucky/Louisville"`
|
|
16
16
|
* - Standard single-segment: `"UTC"`, `"GMT"`, `"Universal"`
|
|
17
|
-
* -
|
|
17
|
+
* - Fixed-offset abbreviations: `"EST"`, `"MST"`, `"HST"`
|
|
18
18
|
* - Deprecated aliases: `"Japan"`, `"Singapore"`, `"Cuba"`
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
@@ -361,7 +361,7 @@ declare function plainMonthDay(options?: PlainMonthDayOptions): ValueParser<"syn
|
|
|
361
361
|
* {@link SingleSegmentTimeZone} is derived from it, and the runtime lookup
|
|
362
362
|
* {@link singleSegmentTimeZoneLookup} is built from it.
|
|
363
363
|
*/
|
|
364
|
-
declare const singleSegmentTimeZoneList: readonly ["UTC", "GMT", "GMT0", "GMT+0", "GMT-0", "UCT", "Universal", "Greenwich", "Zulu", "EST", "MST", "HST", "
|
|
364
|
+
declare const singleSegmentTimeZoneList: readonly ["UTC", "GMT", "GMT0", "GMT+0", "GMT-0", "UCT", "Universal", "Greenwich", "Zulu", "EST", "MST", "HST", "Cuba", "Egypt", "Eire", "GB", "GB-Eire", "Hongkong", "Iceland", "Iran", "Israel", "Jamaica", "Japan", "Kwajalein", "Libya", "Navajo", "NZ", "NZ-CHAT", "Poland", "Portugal", "PRC", "ROC", "ROK", "Singapore", "Turkey", "W-SU"];
|
|
365
365
|
type SingleSegmentTimeZone = typeof singleSegmentTimeZoneList[number];
|
|
366
366
|
/**
|
|
367
367
|
* Creates a ValueParser for parsing IANA Time Zone Database identifiers.
|
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import { ValueParser } from "@optique/core/valueparser";
|
|
|
15
15
|
* - Three-level: `"America/Argentina/Buenos_Aires"`,
|
|
16
16
|
* `"America/Kentucky/Louisville"`
|
|
17
17
|
* - Standard single-segment: `"UTC"`, `"GMT"`, `"Universal"`
|
|
18
|
-
* -
|
|
18
|
+
* - Fixed-offset abbreviations: `"EST"`, `"MST"`, `"HST"`
|
|
19
19
|
* - Deprecated aliases: `"Japan"`, `"Singapore"`, `"Cuba"`
|
|
20
20
|
*
|
|
21
21
|
* @example
|
|
@@ -362,7 +362,7 @@ declare function plainMonthDay(options?: PlainMonthDayOptions): ValueParser<"syn
|
|
|
362
362
|
* {@link SingleSegmentTimeZone} is derived from it, and the runtime lookup
|
|
363
363
|
* {@link singleSegmentTimeZoneLookup} is built from it.
|
|
364
364
|
*/
|
|
365
|
-
declare const singleSegmentTimeZoneList: readonly ["UTC", "GMT", "GMT0", "GMT+0", "GMT-0", "UCT", "Universal", "Greenwich", "Zulu", "EST", "MST", "HST", "
|
|
365
|
+
declare const singleSegmentTimeZoneList: readonly ["UTC", "GMT", "GMT0", "GMT+0", "GMT-0", "UCT", "Universal", "Greenwich", "Zulu", "EST", "MST", "HST", "Cuba", "Egypt", "Eire", "GB", "GB-Eire", "Hongkong", "Iceland", "Iran", "Israel", "Jamaica", "Japan", "Kwajalein", "Libya", "Navajo", "NZ", "NZ-CHAT", "Poland", "Portugal", "PRC", "ROC", "ROK", "Singapore", "Turkey", "W-SU"];
|
|
366
366
|
type SingleSegmentTimeZone = typeof singleSegmentTimeZoneList[number];
|
|
367
367
|
/**
|
|
368
368
|
* Creates a ValueParser for parsing IANA Time Zone Database identifiers.
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/temporal",
|
|
3
|
-
"version": "1.1.0-dev.
|
|
3
|
+
"version": "1.1.0-dev.2146",
|
|
4
4
|
"description": "Temporal value parsers for Optique",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"sideEffects": false,
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@js-temporal/polyfill": "^0.5.1",
|
|
59
|
-
"@optique/core": "1.1.0-dev.
|
|
59
|
+
"@optique/core": "1.1.0-dev.2146+5fd0a75e"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@types/node": "^24.0.0",
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "tsdown",
|
|
68
68
|
"prepublish": "tsdown",
|
|
69
|
-
"test": "node --
|
|
69
|
+
"test": "node --test",
|
|
70
70
|
"test:bun": "bun test",
|
|
71
71
|
"test:deno": "deno test",
|
|
72
|
-
"test-all": "tsdown && node --
|
|
72
|
+
"test-all": "tsdown && node --test && bun test && deno test"
|
|
73
73
|
}
|
|
74
74
|
}
|