@fluent/langneg
Advanced tools
Comparing version 0.6.0 to 0.6.1
# Changelog | ||
## [@fluent/langneg 0.6.1](https://github.com/projectfluent/fluent.js/compare/@fluent/langneg@0.6.0...@fluent/langneg@0.6.1) (2021-12-21) | ||
- Add zh-mo and zh-tw to likely subtags | ||
([#570](https://github.com/projectfluent/fluent.js/pull/570)) | ||
- Add `.js` extension to imports | ||
([#581](https://github.com/projectfluent/fluent.js/pull/581)) | ||
## @fluent/langneg 0.6.0 (September 13, 2021) | ||
@@ -4,0 +11,0 @@ |
@@ -1,3 +0,3 @@ | ||
export { negotiateLanguages, NegotiateLanguagesOptions } from "./negotiate_languages"; | ||
export { acceptedLanguages } from "./accepted_languages"; | ||
export { filterMatches } from "./matches"; | ||
export { negotiateLanguages, NegotiateLanguagesOptions, } from "./negotiate_languages.js"; | ||
export { acceptedLanguages } from "./accepted_languages.js"; | ||
export { filterMatches } from "./matches.js"; |
@@ -9,4 +9,4 @@ /* | ||
*/ | ||
export { negotiateLanguages } from "./negotiate_languages"; | ||
export { acceptedLanguages } from "./accepted_languages"; | ||
export { filterMatches } from "./matches"; | ||
export { negotiateLanguages, } from "./negotiate_languages.js"; | ||
export { acceptedLanguages } from "./accepted_languages.js"; | ||
export { filterMatches } from "./matches.js"; |
@@ -120,2 +120,4 @@ /* eslint no-magic-numbers: 0 */ | ||
"zh-hk": "zh-hant-hk", | ||
"zh-mo": "zh-hant-mo", | ||
"zh-tw": "zh-hant-tw", | ||
"zh-gb": "zh-hant-gb", | ||
@@ -122,0 +124,0 @@ "zh-us": "zh-hant-us", |
10
index.js
@@ -1,7 +0,7 @@ | ||
/* @fluent/langneg@0.6.0 */ | ||
/* @fluent/langneg@0.6.1 */ | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | ||
typeof define === 'function' && define.amd ? define('@fluent/langneg', ['exports'], factory) : | ||
(global = global || self, factory(global.FluentLangNeg = {})); | ||
}(this, (function (exports) { 'use strict'; | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.FluentLangNeg = {})); | ||
})(this, (function (exports) { 'use strict'; | ||
@@ -127,2 +127,4 @@ /* eslint no-magic-numbers: 0 */ | ||
"zh-hk": "zh-hant-hk", | ||
"zh-mo": "zh-hant-mo", | ||
"zh-tw": "zh-hant-tw", | ||
"zh-gb": "zh-hant-gb", | ||
@@ -439,2 +441,2 @@ "zh-us": "zh-hant-us", | ||
}))); | ||
})); |
{ | ||
"name": "@fluent/langneg", | ||
"description": "Language Negotiation API for Fluent", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"homepage": "https://projectfluent.org", | ||
@@ -6,0 +6,0 @@ "author": "Mozilla <l10n-drivers@mozilla.org>", |
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
46138
1014
0