create-polyfill-service-url 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/index.js +2 -2
package/package.json
CHANGED
package/src/index.js
CHANGED
@@ -65,7 +65,7 @@ function normaliseBrowsers(browsers) {
|
|
65
65
|
async function generatePolyfillURL(
|
66
66
|
features = [],
|
67
67
|
supportedBrowsers = [],
|
68
|
-
hostname = "
|
68
|
+
hostname = "cdnjs.cloudflare.com",
|
69
69
|
flags = null,
|
70
70
|
useComputeAtEdgeBackend = null,
|
71
71
|
unknown = null
|
@@ -73,7 +73,7 @@ async function generatePolyfillURL(
|
|
73
73
|
if (supportedBrowsers) {
|
74
74
|
supportedBrowsers = normaliseBrowsers(supportedBrowsers);
|
75
75
|
}
|
76
|
-
const polyfillUrl = new URL('/v3/polyfill.min.js', 'https://' + hostname);
|
76
|
+
const polyfillUrl = new URL('/polyfill/v3/polyfill.min.js', 'https://' + hostname);
|
77
77
|
const aliases = await polyfillLibrary.listAliases();
|
78
78
|
const polyfills = await polyfillLibrary.listAllPolyfills();
|
79
79
|
const featuresInPolyfillLibrary = new Set();
|