@financial-times/dotcom-ui-polyfill-service 9.0.0-beta.9 → 9.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/node/index.js +1 -1
- package/dist/node/polyfillServiceURLs.js +4 -2
- package/dist/tsconfig.tsbuildinfo +1382 -552
- package/package.json +2 -2
package/dist/node/index.js
CHANGED
@@ -7,7 +7,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
7
7
|
o[k2] = m[k];
|
8
8
|
}));
|
9
9
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
10
|
-
for (var p in m) if (p !== "default" && !
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
11
11
|
};
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
13
13
|
__exportStar(require("./polyfillServiceURLs"), exports);
|
@@ -87,12 +87,14 @@ const polyfillsEnhanced = [
|
|
87
87
|
'IntersectionObserver',
|
88
88
|
'NodeList.prototype.forEach'
|
89
89
|
];
|
90
|
-
|
90
|
+
const core = () => {
|
91
91
|
return formatURL(polyfillsCore);
|
92
92
|
};
|
93
|
-
exports.
|
93
|
+
exports.core = core;
|
94
|
+
const enhanced = () => {
|
94
95
|
return formatURL(polyfillsEnhanced);
|
95
96
|
};
|
97
|
+
exports.enhanced = enhanced;
|
96
98
|
function formatURL(features) {
|
97
99
|
const serviceURL = 'https://polyfill.io/v3/polyfill.min.js';
|
98
100
|
const queryString = querystring_1.default.stringify({ features: features.join(','), source: 'next' });
|