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.7 to 1.0.8

2

package.json
{
"name": "resolve-accept-language",
"version": "1.0.7",
"version": "1.0.8",
"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",

@@ -57,3 +57,3 @@ # resolve-accept-language

3. Otherwise, if that result is a language, find the first supported locale with that language (the default locale is always checked first).
4. Otherwise, if no locale or language as direct matches, check if there is a match with an unsupported locales that had a supported language (the default locale is always checked first).
4. Otherwise, if no locale or language matches, check if there is a match with an unsupported locale that had a supported language (the default locale is always checked first).
5. When all fails, return the default locale.

@@ -60,0 +60,0 @@

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