@formatjs/intl-getcanonicallocales 3.3.1 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1 -2
- package/index.js +2 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/polyfill-force.js +2 -0
- package/polyfill-force.js.map +1 -1
- package/polyfill.iife.js +9 -1
- package/polyfill.js +9 -1
- package/polyfill.js.map +1 -1
- package/should-polyfill.d.ts +1 -2
- package/should-polyfill.js +7 -1
- package/should-polyfill.js.map +1 -1
package/package.json
CHANGED
package/polyfill-force.js
CHANGED
|
@@ -9486,6 +9486,8 @@ function compareKV(t1, t2) {
|
|
|
9486
9486
|
return t1[0] < t2[0] ? -1 : t1[0] > t2[0] ? 1 : 0;
|
|
9487
9487
|
}
|
|
9488
9488
|
function compareExtension(e1, e2) {
|
|
9489
|
+
if (e1.type === "x") return e2.type === "x" ? 0 : 1;
|
|
9490
|
+
if (e2.type === "x") return -1;
|
|
9489
9491
|
return e1.type < e2.type ? -1 : e1.type > e2.type ? 1 : 0;
|
|
9490
9492
|
}
|
|
9491
9493
|
function mergeVariants(v1, v2) {
|