New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@phensley/language-tag

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phensley/language-tag - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

9

lib-es/languagetag.js
var SEP = '-';
var UNDEFINED_VALUES = [
'und',
'Zzzz',
'ZZ',
'',
];
var UNDEFINED_VALUES = ['und', 'Zzzz', 'ZZ', ''];
var KEYS = [0 /* LANGUAGE */, 1 /* SCRIPT */, 2 /* REGION */, 3 /* VARIANT */];

@@ -42,3 +37,3 @@ var TRANSFORMS = [

canonicalize(2 /* REGION */, region),
canonicalize(3 /* VARIANT */, variant)
canonicalize(3 /* VARIANT */, variant),
];

@@ -45,0 +40,0 @@ this._extensions = extensions || {};

@@ -29,3 +29,3 @@ import { __assign } from "tslib";

'tz',
'va' // common variant type
'va',
]);

@@ -32,0 +32,0 @@ // Grandfathered irregular and regular tags from IANA registry.

@@ -11,3 +11,3 @@ import { territoryAliasRaw } from './autogen.aliases';

var TERRITORY_ALIAS_MAP;
var init = function () { return TERRITORY_ALIAS_MAP = buildTerritoryAliasMap(); };
var init = function () { return (TERRITORY_ALIAS_MAP = buildTerritoryAliasMap()); };
/**

@@ -14,0 +14,0 @@ * Helper for the language tag parser to fix overlong region fields that may

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var SEP = '-';
var UNDEFINED_VALUES = [
'und',
'Zzzz',
'ZZ',
'',
];
var UNDEFINED_VALUES = ['und', 'Zzzz', 'ZZ', ''];
var KEYS = [0 /* LANGUAGE */, 1 /* SCRIPT */, 2 /* REGION */, 3 /* VARIANT */];

@@ -44,3 +39,3 @@ var TRANSFORMS = [

canonicalize(2 /* REGION */, region),
canonicalize(3 /* VARIANT */, variant)
canonicalize(3 /* VARIANT */, variant),
];

@@ -47,0 +42,0 @@ this._extensions = extensions || {};

@@ -31,3 +31,3 @@ "use strict";

'tz',
'va' // common variant type
'va',
]);

@@ -34,0 +34,0 @@ // Grandfathered irregular and regular tags from IANA registry.

@@ -13,3 +13,3 @@ "use strict";

var TERRITORY_ALIAS_MAP;
var init = function () { return TERRITORY_ALIAS_MAP = buildTerritoryAliasMap(); };
var init = function () { return (TERRITORY_ALIAS_MAP = buildTerritoryAliasMap()); };
/**

@@ -16,0 +16,0 @@ * Helper for the language tag parser to fix overlong region fields that may

{
"name": "@phensley/language-tag",
"version": "1.2.0",
"version": "1.2.1",
"description": "Parsing and construction of BCP 47 language tags",

@@ -39,21 +39,21 @@ "main": "lib/index.js",

"dependencies": {
"tslib": "^1.11.1"
"tslib": "^1.13.0"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.7.13",
"@microsoft/api-extractor": "^7.8.0",
"@types/jest": "^25.2.1",
"@types/node": "^13.13.4",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"@types/node": "^14.0.1",
"@typescript-eslint/eslint-plugin": "^2.33.0",
"@typescript-eslint/parser": "^2.33.0",
"beautify-benchmark": "^0.2.4",
"benchmark": "^2.1.4",
"chalk": "^4.0.0",
"eslint": "^6.8.0",
"eslint": "^7.0.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"jest": "^25.4.0",
"jest": "^26.0.1",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-jest": "^25.4.0",
"typescript": "^3.8.3"
"ts-jest": "^25.5.1",
"typescript": "~3.8.3"
},

@@ -73,3 +73,3 @@ "jest": {

},
"gitHead": "42b88fa1fa672c12a88dfe4fea152d1eb614e919"
"gitHead": "b4e3308079a0bcb58a666cd94c248ffd452b2486"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc