@vvo/tzdb 6.199.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/package.json CHANGED
@@ -1,24 +1,45 @@
1
1
  {
2
2
  "name": "@vvo/tzdb",
3
- "version": "6.199.0",
4
- "description": "Always up to date list of time zones, with grouping and major cities",
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
- "timezones",
7
- "time zones",
6
+ "abbreviations",
7
+ "countries",
8
+ "country",
9
+ "country from timezone",
10
+ "dst",
11
+ "geonames",
12
+ "iana",
8
13
  "time zone",
9
- "timezones list",
10
- "time zones list",
11
- "IANA time zones",
12
- "geonames"
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
30
  "url": "git+https://github.com/vvo/tzdb.git"
17
31
  },
18
- "license": "MIT",
19
- "author": "Vincent Voyer <vincent@codeagain.com>",
20
- "sideEffects": false,
32
+ "files": [
33
+ "dist/",
34
+ "abbreviations.json",
35
+ "raw-time-zones.json",
36
+ "time-zones-names.json"
37
+ ],
21
38
  "type": "module",
39
+ "sideEffects": false,
40
+ "main": "./dist/index.cjs",
41
+ "module": "./dist/index.js",
42
+ "types": "./dist/index.d.ts",
22
43
  "exports": {
23
44
  ".": {
24
45
  "import": {
@@ -35,33 +56,29 @@
35
56
  "./time-zones-names.json": "./time-zones-names.json",
36
57
  "./package.json": "./package.json"
37
58
  },
38
- "main": "./dist/index.cjs",
39
- "module": "./dist/index.js",
40
- "types": "./dist/index.d.ts",
41
- "files": [
42
- "dist/",
43
- "abbreviations.json",
44
- "raw-time-zones.json",
45
- "time-zones-names.json"
46
- ],
59
+ "publishConfig": {
60
+ "access": "public"
61
+ },
47
62
  "scripts": {
48
- "build": "node scripts/build.ts",
49
- "format": "prettier --write .",
63
+ "build": "tsdown",
64
+ "format": "oxfmt",
50
65
  "generate": "node scripts/generate.ts",
51
- "lint": "prettier --check . && tsc",
66
+ "lint": "oxfmt --check && oxlint --type-aware && tsc",
52
67
  "prepublishOnly": "npm run build",
53
- "test": "node scripts/build.ts && node --test 'test/**/*.test.ts'"
68
+ "test": "tsdown && node --test \"test/**/*.test.ts\" && publint && attw --pack . && size-limit"
54
69
  },
55
- "prettier": {
56
- "trailingComma": "all",
57
- "overrides": [
58
- {
59
- "files": "*.md",
60
- "options": {
61
- "printWidth": 100
62
- }
63
- }
64
- ]
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"
65
82
  },
66
83
  "release": {
67
84
  "branches": [
@@ -69,15 +86,28 @@
69
86
  "next"
70
87
  ]
71
88
  },
72
- "devDependencies": {
73
- "@types/node": "26.6.5",
74
- "esbuild": "0.28.2",
75
- "prettier": "3.9.10",
76
- "semantic-release": "25.0.9",
77
- "typescript": "7.0.2"
78
- },
79
- "packageManager": "pnpm@12.11.2",
80
- "publishConfig": {
81
- "access": "public"
82
- }
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"
83
113
  }