@formatjs/intl-listformat 6.2.2 → 6.2.6
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/lib/should-polyfill.js +1 -1
- package/package.json +2 -2
- package/polyfill.iife.js +1 -1
- package/should-polyfill.js +1 -1
package/lib/should-polyfill.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formatjs/intl-listformat",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.6",
|
|
4
4
|
"description": "Formats JS list in a i18n-safe way",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"intl",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"url": "git@github.com:formatjs/formatjs.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@formatjs/ecma402-abstract": "1.9.
|
|
22
|
+
"@formatjs/ecma402-abstract": "1.9.4",
|
|
23
23
|
"tslib": "^2.1.0"
|
|
24
24
|
},
|
|
25
25
|
"main": "index.js",
|
package/polyfill.iife.js
CHANGED
|
@@ -640,7 +640,7 @@
|
|
|
640
640
|
|
|
641
641
|
// bazel-out/darwin-fastbuild/bin/packages/intl-listformat/lib/should-polyfill.js
|
|
642
642
|
function shouldPolyfill() {
|
|
643
|
-
return
|
|
643
|
+
return !("ListFormat" in Intl);
|
|
644
644
|
}
|
|
645
645
|
|
|
646
646
|
// bazel-out/darwin-fastbuild/bin/packages/intl-listformat/lib/polyfill.js
|
package/should-polyfill.js
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.shouldPolyfill = void 0;
|
|
4
4
|
function shouldPolyfill() {
|
|
5
|
-
return
|
|
5
|
+
return !('ListFormat' in Intl);
|
|
6
6
|
}
|
|
7
7
|
exports.shouldPolyfill = shouldPolyfill;
|