Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

resolve-accept-language

Package Overview
Dependencies
Maintainers
1
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resolve-accept-language - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

10

lib/locale-list.js

@@ -24,6 +24,8 @@ "use strict";

var localeObject = new locale_1.default(locale);
_this.objects.push(localeObject);
_this.locales.add(localeObject.identifier);
_this.languages.add(localeObject.languageCode);
_this.countries.add(localeObject.countryCode);
if (!_this.locales.has(localeObject.identifier)) {
_this.objects.push(localeObject);
_this.locales.add(localeObject.identifier);
_this.languages.add(localeObject.languageCode);
_this.countries.add(localeObject.countryCode);
}
});

@@ -30,0 +32,0 @@ }

2

package.json
{
"name": "resolve-accept-language",
"version": "1.0.6",
"version": "1.0.7",
"description": "Resolve the preferred locale based on the value of an `Accept-Language` HTTP header.",

@@ -5,0 +5,0 @@ "main": "lib/resolve-accept-language.js",

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