timezone-soft 1.3.0 → 1.4.1
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/builds/timezone-soft.cjs +1009 -2941
- package/builds/timezone-soft.min.cjs +1 -1
- package/builds/timezone-soft.mjs +1008 -2940
- package/package.json +10 -11
- package/types/index.d.ts +2 -2
- package/changelog.md +0 -40
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "timezone-soft",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"author": "spencermountain",
|
|
5
5
|
"description": "interpret abbreviated and informal timezone names",
|
|
6
6
|
"main": "builds/timezone-soft.cjs",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
14
|
"require": "./builds/timezone-soft.cjs",
|
|
15
|
-
"import": "./
|
|
15
|
+
"import": "./builds/timezone-soft.mjs",
|
|
16
16
|
"default": "./builds/timezone-soft.cjs"
|
|
17
17
|
}
|
|
18
18
|
},
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"pack": "node ./scripts/pack.js",
|
|
22
22
|
"build": "npm run pack && node ./scripts/version.js && rollup -c && npm run filesize",
|
|
23
23
|
"filesize": "node ./scripts/filesize.js",
|
|
24
|
-
"test": "TESTENV=dev tape
|
|
25
|
-
"testb": "TESTENV=prod tape
|
|
24
|
+
"test": "TESTENV=dev tape ./test/**/*.test.js | tap-dancer",
|
|
25
|
+
"testb": "TESTENV=prod tape ./test/**/*.test.js | tap-dancer"
|
|
26
26
|
},
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|
|
@@ -44,15 +44,14 @@
|
|
|
44
44
|
"printWidth": 120
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@rollup/plugin-node-resolve": "
|
|
47
|
+
"@rollup/plugin-node-resolve": "13.3.0",
|
|
48
48
|
"amble": "1.3.0",
|
|
49
|
-
"efrt": "2.
|
|
50
|
-
"rollup": "2.
|
|
49
|
+
"efrt": "2.7.0",
|
|
50
|
+
"rollup": "2.77.3",
|
|
51
51
|
"rollup-plugin-terser": "7.0.2",
|
|
52
|
-
"spacetime": "
|
|
52
|
+
"spacetime": "7.1.4",
|
|
53
53
|
"tap-dancer": "0.3.4",
|
|
54
|
-
"tape": "5.
|
|
55
|
-
"tape-es": "1.2.15"
|
|
54
|
+
"tape": "5.5.3"
|
|
56
55
|
},
|
|
57
56
|
"license": "MIT"
|
|
58
|
-
}
|
|
57
|
+
}
|
package/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
export interface TimeZoneInfo {
|
|
3
3
|
name: string;
|
|
4
|
-
|
|
4
|
+
abbr: string;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
export interface DisplayFormat {
|
|
@@ -11,4 +11,4 @@ export interface DisplayFormat {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
/** interpret timezone names */
|
|
14
|
-
export default function timezoneSoft(tz:string): DisplayFormat[]
|
|
14
|
+
export default function timezoneSoft(tz:string): DisplayFormat[]
|
package/changelog.md
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
### 1.3.0 [July 2021]
|
|
2
|
-
|
|
3
|
-
- **[change]** - convert to esmodules (should not be breaking)
|
|
4
|
-
- **[change]** - update IANA zones (thanks mchangrh!)
|
|
5
|
-
- **[fix]** - mis-encoded iana codes with underscores
|
|
6
|
-
- **[change]** - update dependencies
|
|
7
|
-
|
|
8
|
-
### 1.2.0 [March 2021]
|
|
9
|
-
|
|
10
|
-
- **[change]** - return abbr instead of sometimes 'abbrev'
|
|
11
|
-
- **[change]** - improved metazone results & abbreviations
|
|
12
|
-
- **[change]** - shorten abbrev: 'GMT+8' instead of etc/gmt+8
|
|
13
|
-
|
|
14
|
-
### 1.0.0 [March 2021]
|
|
15
|
-
|
|
16
|
-
- **[breaking]** - return an array for `.find()`
|
|
17
|
-
- rename library to _timezone-soft_
|
|
18
|
-
|
|
19
|
-
### 0.6.1 [March 2021]
|
|
20
|
-
|
|
21
|
-
- better support for GMT-X offsets
|
|
22
|
-
|
|
23
|
-
### 0.6.0 [March 2021]
|
|
24
|
-
|
|
25
|
-
- add (way) more cities and provinces & compression scheme using efrt-unpack
|
|
26
|
-
- update deps
|
|
27
|
-
|
|
28
|
-
### 0.4.0
|
|
29
|
-
|
|
30
|
-
- add more formats from tzinfo db
|
|
31
|
-
- fix case-sensitivity issue
|
|
32
|
-
- more testing
|
|
33
|
-
|
|
34
|
-
### 0.3.0
|
|
35
|
-
|
|
36
|
-
- add more zones for new zealand #3
|
|
37
|
-
|
|
38
|
-
### 0.2.0
|
|
39
|
-
|
|
40
|
-
- add more abbreviations from [wikipedia](https://En.wikipedia.org/Wiki/List_Of_Time_Zone_Abbreviations)
|