@vvo/tzdb 6.197.0 → 6.199.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@vvo/tzdb",
3
- "version": "6.197.0",
3
+ "version": "6.199.0",
4
4
  "description": "Always up to date list of time zones, with grouping and major cities",
5
5
  "keywords": [
6
6
  "timezones",
@@ -13,45 +13,44 @@
13
13
  ],
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "https://github.com/vvo/tzdb.git"
16
+ "url": "git+https://github.com/vvo/tzdb.git"
17
17
  },
18
18
  "license": "MIT",
19
19
  "author": "Vincent Voyer <vincent@codeagain.com>",
20
20
  "sideEffects": false,
21
- "main": "dist/",
22
- "module": "lib/",
23
- "types": "dist/index.d.ts",
21
+ "type": "module",
22
+ "exports": {
23
+ ".": {
24
+ "import": {
25
+ "types": "./dist/index.d.ts",
26
+ "default": "./dist/index.js"
27
+ },
28
+ "require": {
29
+ "types": "./dist/index.d.cts",
30
+ "default": "./dist/index.cjs"
31
+ }
32
+ },
33
+ "./abbreviations.json": "./abbreviations.json",
34
+ "./raw-time-zones.json": "./raw-time-zones.json",
35
+ "./time-zones-names.json": "./time-zones-names.json",
36
+ "./package.json": "./package.json"
37
+ },
38
+ "main": "./dist/index.cjs",
39
+ "module": "./dist/index.js",
40
+ "types": "./dist/index.d.ts",
24
41
  "files": [
25
42
  "dist/",
26
- "lib/",
27
- "time-zones-names.json",
28
43
  "abbreviations.json",
29
44
  "raw-time-zones.json",
30
- "LICENSE",
31
- "README.md",
32
- "index.d.ts"
45
+ "time-zones-names.json"
33
46
  ],
34
47
  "scripts": {
35
- "build": "babel lib/ -d dist/ --source-maps --ignore '**/*.test.js' --delete-dir-on-start",
36
- "postbuild": "cp index.d.ts dist/",
37
- "format": "prettier --write '**/*.*' && eslint . --fix",
38
- "generate": "babel-node generate.js",
39
- "generate-abbreviations": "babel-node generate-abbreviations.js",
40
- "lint": "prettier --check '**/*.*' && eslint .",
48
+ "build": "node scripts/build.ts",
49
+ "format": "prettier --write .",
50
+ "generate": "node scripts/generate.ts",
51
+ "lint": "prettier --check . && tsc",
41
52
  "prepublishOnly": "npm run build",
42
- "test": "npm run lint && npm run build"
43
- },
44
- "babel": {
45
- "presets": [
46
- [
47
- "@babel/preset-env",
48
- {
49
- "targets": {
50
- "node": "12"
51
- }
52
- }
53
- ]
54
- ]
53
+ "test": "node scripts/build.ts && node --test 'test/**/*.test.ts'"
55
54
  },
56
55
  "prettier": {
57
56
  "trailingComma": "all",
@@ -64,34 +63,6 @@
64
63
  }
65
64
  ]
66
65
  },
67
- "eslintConfig": {
68
- "env": {
69
- "es6": true,
70
- "node": true
71
- },
72
- "parser": "babel-eslint",
73
- "parserOptions": {
74
- "ecmaVersion": 2019,
75
- "sourceType": "module"
76
- },
77
- "extends": [
78
- "eslint:recommended",
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
- }
94
- },
95
66
  "release": {
96
67
  "branches": [
97
68
  "main",
@@ -99,46 +70,14 @@
99
70
  ]
100
71
  },
101
72
  "devDependencies": {
102
- "@babel/cli": "7.27.2",
103
- "@babel/core": "7.27.7",
104
- "@babel/node": "7.27.1",
105
- "@babel/preset-env": "7.27.2",
106
- "babel-eslint": "10.1.0",
107
- "cheerio": "1.0.0",
108
- "csv-parse": "5.6.0",
109
- "eslint": "7.32.0",
110
- "eslint-plugin-import": "2.25.4",
111
- "got": "11.8.6",
112
- "lodash": "4.17.21",
113
- "luxon": "2.3.0",
114
- "p-each-series": "2.2.0",
115
- "prettier": "2.5.1",
116
- "prettier-plugin-packagejson": "2.5.19",
117
- "semantic-release": "18.0.1",
118
- "semantic-release-cli": "5.4.6",
119
- "sort-keys": "4.2.0",
120
- "tzdata": "1.0.46",
121
- "unzipper": "0.12.3"
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"
122
78
  },
79
+ "packageManager": "pnpm@12.11.2",
123
80
  "publishConfig": {
124
81
  "access": "public"
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"
82
+ }
144
83
  }