@yext/phonenumber-util 0.4.2 → 0.4.3

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": "@yext/phonenumber-util",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "author": "bajohnson@hearsaycorp.com",
5
5
  "license": "BSD-3-Clause",
6
6
  "description": "Utility for extracting and validating phone numbers",
@@ -32,16 +32,16 @@
32
32
  "release": "npm run test && npm run lint && git push && git push --tags"
33
33
  },
34
34
  "devDependencies": {
35
- "@eslint/js": "^9.38.0",
36
- "@vitest/coverage-v8": "^4.0.2",
37
- "eslint": "^9.38.0",
38
- "generate-license-file": "^4.1.0",
39
- "globals": "^16.4.0",
35
+ "@eslint/js": "^10.0.1",
36
+ "@vitest/coverage-v8": "^4.0.18",
37
+ "eslint": "^10.0.3",
38
+ "generate-license-file": "^4.1.1",
39
+ "globals": "^17.4.0",
40
40
  "husky": "^9.1.7",
41
41
  "istanbul-badges-readme": "^1.9.0",
42
- "lint-staged": "^16.2.6",
43
- "prettier": "^3.6.2",
44
- "vitest": "^4.0.2"
42
+ "lint-staged": "^16.3.2",
43
+ "prettier": "^3.8.1",
44
+ "vitest": "^4.0.18"
45
45
  },
46
46
  "eslintConfig": {},
47
47
  "lint-staged": {
package/src/phoneCodes.js CHANGED
@@ -578,7 +578,7 @@ export const AREA_CODES = {
578
578
  },
579
579
  902: {
580
580
  name: 'Nova Scotia and Prince Edward Island',
581
- state: 'NS/PE',
581
+ code: 'NS/PE',
582
582
  region: CANADA,
583
583
  },
584
584
  226: { name: 'Ontario', code: 'ON', region: CANADA },
package/src/timezones.js CHANGED
@@ -55,7 +55,7 @@ export const STATE_TIMEZONES = {
55
55
  'Virgin Islands': '-04:00',
56
56
  Virginia: '-05:00',
57
57
  Washington: '-08:00',
58
- 'Washington, DC': '-04:00',
58
+ 'Washington, DC': '-05:00',
59
59
  'West Virginia': '-05:00',
60
60
  Wisconsin: '-06:00',
61
61
  Wyoming: '-07:00',