timezone-soft 1.3.1 → 1.4.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": "timezone-soft",
3
- "version": "1.3.1",
3
+ "version": "1.4.0",
4
4
  "author": "spencermountain",
5
5
  "description": "interpret abbreviated and informal timezone names",
6
6
  "main": "builds/timezone-soft.cjs",
@@ -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-es ./test/**/*.test.js | tap-dancer",
25
- "testb": "TESTENV=prod tape-es ./test/**/*.test.js | tap-dancer"
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": "13.0.2",
47
+ "@rollup/plugin-node-resolve": "13.3.0",
48
48
  "amble": "1.3.0",
49
- "efrt": "2.3.2",
50
- "rollup": "2.53.3",
49
+ "efrt": "2.7.0",
50
+ "rollup": "2.77.3",
51
51
  "rollup-plugin-terser": "7.0.2",
52
- "spacetime": "6.16.2",
52
+ "spacetime": "7.1.4",
53
53
  "tap-dancer": "0.3.4",
54
- "tape": "5.2.2",
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
- abbrev: string;
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,44 +0,0 @@
1
- ### 1.3.1 [July 2021]
2
-
3
- - **[fix]** - path to esmodule build
4
-
5
- ### 1.3.0 [July 2021]
6
-
7
- - **[change]** - convert to esmodules (should not be breaking)
8
- - **[change]** - update IANA zones (thanks mchangrh!)
9
- - **[fix]** - mis-encoded iana codes with underscores
10
- - **[change]** - update dependencies
11
-
12
- ### 1.2.0 [March 2021]
13
-
14
- - **[change]** - return abbr instead of sometimes 'abbrev'
15
- - **[change]** - improved metazone results & abbreviations
16
- - **[change]** - shorten abbrev: 'GMT+8' instead of etc/gmt+8
17
-
18
- ### 1.0.0 [March 2021]
19
-
20
- - **[breaking]** - return an array for `.find()`
21
- - rename library to _timezone-soft_
22
-
23
- ### 0.6.1 [March 2021]
24
-
25
- - better support for GMT-X offsets
26
-
27
- ### 0.6.0 [March 2021]
28
-
29
- - add (way) more cities and provinces & compression scheme using efrt-unpack
30
- - update deps
31
-
32
- ### 0.4.0
33
-
34
- - add more formats from tzinfo db
35
- - fix case-sensitivity issue
36
- - more testing
37
-
38
- ### 0.3.0
39
-
40
- - add more zones for new zealand #3
41
-
42
- ### 0.2.0
43
-
44
- - add more abbreviations from [wikipedia](https://En.wikipedia.org/Wiki/List_Of_Time_Zone_Abbreviations)