@financial-times/dotcom-ui-polyfill-service 9.0.0-beta.8 → 9.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
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
- exports.core = () => {
90
+ const core = () => {
91
91
  return formatURL(polyfillsCore);
92
92
  };
93
- exports.enhanced = () => {
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' });