resolve-accept-language
Advanced tools
Comparing version 1.0.7 to 1.0.8
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
25079