resolve-accept-language 2.1.6 → 2.1.8

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.
@@ -48,15 +48,15 @@ var LookupList = /** @class */ (function () {
48
48
  directives.splice(es419DirectiveIndex, 1);
49
49
  // Replace `es-419` by the common Latin American spanish variants supported by browsers.
50
50
  var latinAmericanLocales = [
51
- 'es-AR',
52
- 'es-CL',
53
- 'es-CO',
54
- 'es-CR',
55
- 'es-HN',
56
- 'es-MX',
57
- 'es-PE',
58
- 'es-US',
59
- 'es-UY',
51
+ 'es-AR', // Spanish Argentina
52
+ 'es-CL', // Spanish Chile
53
+ 'es-CO', // Spanish Colombia
54
+ 'es-CR', // Spanish Costa Rica
55
+ 'es-HN', // Spanish Honduras
56
+ 'es-MX', // Spanish Mexico
57
+ 'es-PE', // Spanish Peru
58
+ 'es-US', // Spanish United States
59
+ 'es-UY', // Spanish Uruguay
60
60
  'es-VE', // Spanish Venezuela
61
61
  ];
62
62
  latinAmericanLocales.forEach(function (locale) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resolve-accept-language",
3
- "version": "2.1.6",
3
+ "version": "2.1.8",
4
4
  "description": "Resolve the preferred locale based on the value of an `Accept-Language` HTTP header.",
5
5
  "keywords": [
6
6
  "accept-language",
@@ -37,12 +37,12 @@
37
37
  "test": "jest --coverage"
38
38
  },
39
39
  "devDependencies": {
40
- "@release-it/conventional-changelog": "7.0.2",
41
- "@types/jest": "29.5.8",
42
- "@typescript-eslint/eslint-plugin": "6.10.0",
43
- "@typescript-eslint/parser": "6.10.0",
40
+ "@release-it/conventional-changelog": "8.0.1",
41
+ "@types/jest": "29.5.10",
42
+ "@typescript-eslint/eslint-plugin": "6.12.0",
43
+ "@typescript-eslint/parser": "6.12.0",
44
44
  "dotenv-cli": "7.3.0",
45
- "eslint": "8.53.0",
45
+ "eslint": "8.54.0",
46
46
  "eslint-config-prettier": "9.0.0",
47
47
  "eslint-import-resolver-node": "0.3.9",
48
48
  "eslint-import-resolver-typescript": "3.6.1",
@@ -54,13 +54,13 @@
54
54
  "eslint-plugin-tsdoc": "0.2.17",
55
55
  "eslint-plugin-unicorn": "49.0.0",
56
56
  "jest": "29.7.0",
57
- "prettier": "3.0.3",
57
+ "prettier": "3.1.0",
58
58
  "prettier-plugin-organize-imports": "3.2.4",
59
59
  "prettier-plugin-sh": "0.13.1",
60
- "release-it": "16.2.1",
60
+ "release-it": "17.0.0",
61
61
  "ts-jest": "29.1.1",
62
62
  "ts-node": "10.9.1",
63
- "typescript": "5.2.2"
63
+ "typescript": "5.3.2"
64
64
  },
65
65
  "engines": {
66
66
  "node": "^14.18.1 || >=16.0.0"