@vvo/tzdb 6.198.0 → 6.200.0
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/README.md +136 -135
- package/abbreviations.json +15 -0
- package/dist/index.cjs +4654 -0
- package/dist/index.d.cts +65 -0
- package/dist/index.d.ts +45 -8
- package/dist/index.js +4647 -34
- package/package.json +89 -120
- package/raw-time-zones.json +166 -167
- package/time-zones-names.json +1 -1
- package/dist/formatTimeZone.js +0 -26
- package/dist/formatTimeZone.js.map +0 -1
- package/dist/getTimeZones.js +0 -62
- package/dist/getTimeZones.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/utils/timeZone.js +0 -99
- package/dist/utils/timeZone.js.map +0 -1
- package/index.d.ts +0 -28
- package/lib/formatTimeZone.js +0 -31
- package/lib/getTimeZones.js +0 -71
- package/lib/index.js +0 -4
- package/lib/utils/timeZone.js +0 -113
package/package.json
CHANGED
|
@@ -1,96 +1,84 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vvo/tzdb",
|
|
3
|
-
"version": "6.
|
|
4
|
-
"description": "Always up to date list of time zones, with
|
|
3
|
+
"version": "6.200.0",
|
|
4
|
+
"description": "Always up to date list of IANA time zones for time zone pickers, with major cities, current offsets, DST abbreviations and the country of any time zone",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"
|
|
7
|
-
"
|
|
6
|
+
"abbreviations",
|
|
7
|
+
"countries",
|
|
8
|
+
"country",
|
|
9
|
+
"country from timezone",
|
|
10
|
+
"dst",
|
|
11
|
+
"geonames",
|
|
12
|
+
"iana",
|
|
8
13
|
"time zone",
|
|
9
|
-
"
|
|
10
|
-
"time zones
|
|
11
|
-
"
|
|
12
|
-
"
|
|
14
|
+
"time zone list",
|
|
15
|
+
"time zones",
|
|
16
|
+
"timezone",
|
|
17
|
+
"timezone dropdown",
|
|
18
|
+
"timezone list",
|
|
19
|
+
"timezone picker",
|
|
20
|
+
"timezone select",
|
|
21
|
+
"timezones",
|
|
22
|
+
"tz database",
|
|
23
|
+
"tzdb",
|
|
24
|
+
"utc offset"
|
|
13
25
|
],
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"author": "Vincent Voyer <vincent@codeagain.com>",
|
|
14
28
|
"repository": {
|
|
15
29
|
"type": "git",
|
|
16
|
-
"url": "https://github.com/vvo/tzdb.git"
|
|
30
|
+
"url": "git+https://github.com/vvo/tzdb.git"
|
|
17
31
|
},
|
|
18
|
-
"license": "MIT",
|
|
19
|
-
"author": "Vincent Voyer <vincent@codeagain.com>",
|
|
20
|
-
"sideEffects": false,
|
|
21
|
-
"main": "dist/",
|
|
22
|
-
"module": "lib/",
|
|
23
|
-
"types": "dist/index.d.ts",
|
|
24
32
|
"files": [
|
|
25
33
|
"dist/",
|
|
26
|
-
"lib/",
|
|
27
|
-
"time-zones-names.json",
|
|
28
34
|
"abbreviations.json",
|
|
29
35
|
"raw-time-zones.json",
|
|
30
|
-
"
|
|
31
|
-
"README.md",
|
|
32
|
-
"index.d.ts"
|
|
36
|
+
"time-zones-names.json"
|
|
33
37
|
],
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
"type": "module",
|
|
39
|
+
"sideEffects": false,
|
|
40
|
+
"main": "./dist/index.cjs",
|
|
41
|
+
"module": "./dist/index.js",
|
|
42
|
+
"types": "./dist/index.d.ts",
|
|
43
|
+
"exports": {
|
|
44
|
+
".": {
|
|
45
|
+
"import": {
|
|
46
|
+
"types": "./dist/index.d.ts",
|
|
47
|
+
"default": "./dist/index.js"
|
|
48
|
+
},
|
|
49
|
+
"require": {
|
|
50
|
+
"types": "./dist/index.d.cts",
|
|
51
|
+
"default": "./dist/index.cjs"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"./abbreviations.json": "./abbreviations.json",
|
|
55
|
+
"./raw-time-zones.json": "./raw-time-zones.json",
|
|
56
|
+
"./time-zones-names.json": "./time-zones-names.json",
|
|
57
|
+
"./package.json": "./package.json"
|
|
43
58
|
},
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
[
|
|
47
|
-
"@babel/preset-env",
|
|
48
|
-
{
|
|
49
|
-
"targets": {
|
|
50
|
-
"node": "12"
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
]
|
|
54
|
-
]
|
|
59
|
+
"publishConfig": {
|
|
60
|
+
"access": "public"
|
|
55
61
|
},
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
]
|
|
62
|
+
"scripts": {
|
|
63
|
+
"build": "tsdown",
|
|
64
|
+
"format": "oxfmt",
|
|
65
|
+
"generate": "node scripts/generate.ts",
|
|
66
|
+
"lint": "oxfmt --check && oxlint --type-aware && tsc",
|
|
67
|
+
"prepublishOnly": "npm run build",
|
|
68
|
+
"test": "tsdown && node --test \"test/**/*.test.ts\" && publint && attw --pack . && size-limit"
|
|
66
69
|
},
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
"plugin:import/recommended"
|
|
80
|
-
],
|
|
81
|
-
"rules": {
|
|
82
|
-
"arrow-body-style": [
|
|
83
|
-
"error",
|
|
84
|
-
"always"
|
|
85
|
-
],
|
|
86
|
-
"curly": "error",
|
|
87
|
-
"import/order": [
|
|
88
|
-
"error",
|
|
89
|
-
{
|
|
90
|
-
"newlines-between": "always"
|
|
91
|
-
}
|
|
92
|
-
]
|
|
93
|
-
}
|
|
70
|
+
"devDependencies": {
|
|
71
|
+
"@arethetypeswrong/cli": "0.18.5",
|
|
72
|
+
"@size-limit/preset-small-lib": "14.1.0",
|
|
73
|
+
"@types/node": "26.6.4",
|
|
74
|
+
"oxfmt": "0.71.0",
|
|
75
|
+
"oxlint": "1.86.0",
|
|
76
|
+
"oxlint-tsgolint": "7.0.2003",
|
|
77
|
+
"publint": "0.3.25",
|
|
78
|
+
"semantic-release": "25.0.9",
|
|
79
|
+
"size-limit": "14.1.0",
|
|
80
|
+
"tsdown": "0.23.0",
|
|
81
|
+
"typescript": "7.0.2"
|
|
94
82
|
},
|
|
95
83
|
"release": {
|
|
96
84
|
"branches": [
|
|
@@ -98,47 +86,28 @@
|
|
|
98
86
|
"next"
|
|
99
87
|
]
|
|
100
88
|
},
|
|
101
|
-
"
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
},
|
|
126
|
-
"renovate": {
|
|
127
|
-
"extends": [
|
|
128
|
-
"config:js-lib",
|
|
129
|
-
":automergePatch",
|
|
130
|
-
":automergeBranch",
|
|
131
|
-
":automergePatch",
|
|
132
|
-
":automergeBranch",
|
|
133
|
-
":automergeLinters",
|
|
134
|
-
":automergeTesters",
|
|
135
|
-
":automergeTypes"
|
|
136
|
-
],
|
|
137
|
-
"timezone": "Europe/Paris",
|
|
138
|
-
"schedule": [
|
|
139
|
-
"before 3am on Monday"
|
|
140
|
-
],
|
|
141
|
-
"groupName": "all"
|
|
142
|
-
},
|
|
143
|
-
"packageManager": "pnpm@10.11.1+sha512.e519b9f7639869dc8d5c3c5dfef73b3f091094b0a006d7317353c72b124e80e1afd429732e28705ad6bfa1ee879c1fce46c128ccebd3192101f43dd67c667912"
|
|
89
|
+
"size-limit": [
|
|
90
|
+
{
|
|
91
|
+
"name": "getTimeZones",
|
|
92
|
+
"path": "dist/index.js",
|
|
93
|
+
"import": "{ getTimeZones }",
|
|
94
|
+
"limit": "17 kB",
|
|
95
|
+
"gzip": true
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "getCountryCode",
|
|
99
|
+
"path": "dist/index.js",
|
|
100
|
+
"import": "{ getCountryCode }",
|
|
101
|
+
"limit": "4.5 kB",
|
|
102
|
+
"gzip": true
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "timeZonesNames",
|
|
106
|
+
"path": "dist/index.js",
|
|
107
|
+
"import": "{ timeZonesNames }",
|
|
108
|
+
"limit": "3 kB",
|
|
109
|
+
"gzip": true
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"packageManager": "pnpm@12.11.2"
|
|
144
113
|
}
|