Socket
Socket
Sign inDemoInstall

language-tags

Package Overview
Dependencies
1
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

2

lib/Subtag.js

@@ -41,3 +41,3 @@ /**

i = types[type];
if (!i) {
if (!i && 0 !== i) {
error(Subtag.ERR_NONEXISTENT, 'Non-existent subtag \'' + subtag + '\' of type \'' + type + '\'.');

@@ -44,0 +44,0 @@ }

{
"name": "language-tags",
"version": "1.0.2",
"version": "1.0.3",
"implements": ["CommonJS/Modules/1.0"],

@@ -5,0 +5,0 @@ "description": "Work with IANA language tags.",

@@ -250,2 +250,3 @@ # IANA Language Tags for JavaScript #

- [Python version by the Flanders Heritage Agency](https://github.com/OnroerendErfgoed/language-tags)
- [Language Subtag Lookup tool by Richard Ishida](http://rishida.net/utils/subtags/)

@@ -252,0 +253,0 @@ - [W3C Internationalization Checker](http://validator.w3.org/i18n-checker/)

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc