@fluent/langneg
Advanced tools
Comparing version 0.5.1 to 0.5.2
# Changelog | ||
## @fluent/langneg 0.5.2 (April 17, 2021) | ||
- Documentation fix. (#547) | ||
## @fluent/langneg 0.5.1 (April 9, 2021) | ||
@@ -4,0 +8,0 @@ |
@@ -1,2 +0,2 @@ | ||
/* @fluent/langneg@0.5.1 */ | ||
/* @fluent/langneg@0.5.2 */ | ||
(function (global, factory) { | ||
@@ -3,0 +3,0 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : |
{ | ||
"name": "@fluent/langneg", | ||
"description": "Language Negotiation API for Fluent", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"homepage": "https://projectfluent.org", | ||
@@ -6,0 +6,0 @@ "author": "Mozilla <l10n-drivers@mozilla.org>", |
@@ -41,4 +41,4 @@ # @fluent/langneg ![](https://github.com/projectfluent/fluent.js/workflows/@fluent/langneg/badge.svg) | ||
In this strategy the algorithm will look for the best matching available | ||
locale for each requested locale. | ||
In this strategy the algorithm will try to match as many available locales | ||
as possible for each of the requested locale. | ||
@@ -50,8 +50,8 @@ Example: | ||
supported: ['de-DE', 'fr'] | ||
supported: ['de-DE', 'de', 'fr', 'fr-CA'] | ||
### matching | ||
In this strategy the algorithm will try to match as many available locales | ||
as possible for each of the requested locale. | ||
In this strategy the algorithm will look for the best matching available | ||
locale for each requested locale. | ||
@@ -63,3 +63,3 @@ Example: | ||
supported: ['de-DE', 'de', 'fr', 'fr-CA'] | ||
supported: ['de-DE', 'fr'] | ||
@@ -66,0 +66,0 @@ ### lookup |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
45081
0