Use @babel/polyfill for IE11 testing, drop polyfill.io
This commit is contained in:
Родитель
e6a0f22919
Коммит
e67835a098
|
@ -26,7 +26,8 @@ module.exports = function(config) {
|
|||
// list of files / patterns to load in the browser
|
||||
files: [
|
||||
// polyfill service supporting IE11 missing features
|
||||
"https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise,String.prototype.startsWith,String.prototype.endsWith,String.prototype.repeat,String.prototype.includes",
|
||||
// Promise,String.prototype.startsWith,String.prototype.endsWith,String.prototype.repeat,String.prototype.includes&flags=always
|
||||
"./node_modules/@babel/polyfill/dist/polyfill.js",
|
||||
"dist-test/index.browser.js"
|
||||
],
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@azure/storage-blob",
|
||||
"version": "10.2.0-preview",
|
||||
"version": "10.3.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -85,6 +85,16 @@
|
|||
"integrity": "sha512-UNTmQ5cSLDeBGBl+s7JeowkqIHgmFAGBnLDdIzFmUNSuS5JF0XBcN59jsh/vJO/YjfsBqMxhMjoFGmNExmf0FA==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/polyfill": {
|
||||
"version": "7.2.5",
|
||||
"resolved": "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.2.5.tgz",
|
||||
"integrity": "sha512-8Y/t3MWThtMLYr0YNC/Q76tqN1w30+b0uQMeFUYauG2UGTR19zyUtFrAzT23zNtBxPp+LbE5E/nwV/q/r3y6ug==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"core-js": "^2.5.7",
|
||||
"regenerator-runtime": "^0.12.0"
|
||||
}
|
||||
},
|
||||
"@babel/template": {
|
||||
"version": "7.2.2",
|
||||
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.2.2.tgz",
|
||||
|
@ -5992,6 +6002,12 @@
|
|||
"strip-indent": "^1.0.1"
|
||||
}
|
||||
},
|
||||
"regenerator-runtime": {
|
||||
"version": "0.12.1",
|
||||
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz",
|
||||
"integrity": "sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg==",
|
||||
"dev": true
|
||||
},
|
||||
"regex-cache": {
|
||||
"version": "0.4.4",
|
||||
"resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz",
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
"tslib": "^1.9.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/polyfill": "^7.2.5",
|
||||
"@types/mocha": "^5.2.5",
|
||||
"@types/node": "^10.12.3",
|
||||
"assert": "^1.4.1",
|
||||
|
@ -92,4 +93,4 @@
|
|||
},
|
||||
"homepage": "https://github.com/Azure/azure-storage-js#readme",
|
||||
"sideEffects": false
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче