- Fix: IE 11 issue; fixes #363

- npm: Update devDeps
master
Brett Zamir 2019-11-16 09:29:09 +08:00
parent a09c47283e
commit cd0bdd9cce
11 changed files with 39 additions and 33 deletions

2
dist/index-es.js vendored
View File

@ -30700,7 +30700,7 @@ editor.init = function () {
var a = document.createElement('a');
a.href = 'data:image/svg+xml;base64,' + encode64(svg);
a.download = 'icon.svg';
a.style = 'display: none;';
a.style.display = 'none';
document.body.append(a); // Need to append for Firefox
a.click(); // Alert will only appear the first time saved OR the

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/index-umd.js vendored
View File

@ -30706,7 +30706,7 @@
var a = document.createElement('a');
a.href = 'data:image/svg+xml;base64,' + encode64(svg);
a.download = 'icon.svg';
a.style = 'display: none;';
a.style.display = 'none';
document.body.append(a); // Need to append for Firefox
a.click(); // Alert will only appear the first time saved OR the

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1704,7 +1704,7 @@ editor.init = function () {
const a = document.createElement('a');
a.href = 'data:image/svg+xml;base64,' + Utils.encode64(svg);
a.download = 'icon.svg';
a.style = 'display: none;';
a.style.display = 'none';
document.body.append(a); // Need to append for Firefox
a.click();

View File

@ -30703,7 +30703,7 @@
var a = document.createElement('a');
a.href = 'data:image/svg+xml;base64,' + encode64(svg);
a.download = 'icon.svg';
a.style = 'display: none;';
a.style.display = 'none';
document.body.append(a); // Need to append for Firefox
a.click(); // Alert will only appear the first time saved OR the

50
package-lock.json generated
View File

@ -4011,9 +4011,9 @@
}
},
"eslint-config-ash-nazg": {
"version": "11.4.0",
"resolved": "https://registry.npmjs.org/eslint-config-ash-nazg/-/eslint-config-ash-nazg-11.4.0.tgz",
"integrity": "sha512-5HvR9GtShur4y1+QFzpF6v3aB4juRtAA8vi+cQA1gIPd6/rq3zSVwKgjefsU1DY3LttnE68DTLgfoYPnvDgPiA==",
"version": "11.5.0",
"resolved": "https://registry.npmjs.org/eslint-config-ash-nazg/-/eslint-config-ash-nazg-11.5.0.tgz",
"integrity": "sha512-3OCqnv85foD4ewLOECFlqEgU6s8M8lqv6JcA6mi1ie05uBxV4x1z8a7D/X0K35I4qgbd0nym+LwhpoypjMFchg==",
"dev": true
},
"eslint-config-standard": {
@ -4353,15 +4353,15 @@
"dev": true
},
"eslint-plugin-unicorn": {
"version": "12.1.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-12.1.0.tgz",
"integrity": "sha512-DkPRrjaZaKa8GDjEyWGms/sqp2DcmVCcbwVi9WQXwN6+Sn0/joTC14SfA+BsCuxTaGPRm/7wa8NC8o5mNDyZpQ==",
"version": "13.0.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-13.0.0.tgz",
"integrity": "sha512-9CQk0v74vQpETMt6iqNgjf3IbWEFhrT0sjaLnjkl9SF3rJH6ZL9f7H42BXJ6LPENQR97QzhrIvB8VG0nD05wxQ==",
"dev": true,
"requires": {
"ci-info": "^2.0.0",
"clean-regexp": "^1.0.0",
"eslint-ast-utils": "^1.1.0",
"eslint-template-visitor": "^1.0.0",
"eslint-template-visitor": "^1.1.0",
"import-modules": "^2.0.0",
"lodash.camelcase": "^4.3.0",
"lodash.defaultsdeep": "^4.6.1",
@ -4372,7 +4372,7 @@
"read-pkg-up": "^7.0.0",
"regexpp": "^3.0.0",
"reserved-words": "^0.1.2",
"safe-regex": "^2.0.2",
"safe-regex": "^2.1.1",
"semver": "^6.3.0"
},
"dependencies": {
@ -4529,6 +4529,12 @@
"integrity": "sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==",
"dev": true
},
"acorn-jsx": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.1.0.tgz",
"integrity": "sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==",
"dev": true
},
"eslint-visitor-keys": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz",
@ -4536,13 +4542,13 @@
"dev": true
},
"espree": {
"version": "6.1.1",
"resolved": "https://registry.npmjs.org/espree/-/espree-6.1.1.tgz",
"integrity": "sha512-EYbr8XZUhWbYCqQRW0duU5LxzL5bETN6AjKBGy1302qqzPaCH10QbRg3Wvco79Z8x9WbiE8HYB4e75xl6qUYvQ==",
"version": "6.1.2",
"resolved": "https://registry.npmjs.org/espree/-/espree-6.1.2.tgz",
"integrity": "sha512-2iUPuuPP+yW1PZaMSDM9eyVf8D5P0Hi8h83YtZ5bPc/zHYjII5khoixIUTMO794NOY8F/ThF1Bo8ncZILarUTA==",
"dev": true,
"requires": {
"acorn": "^7.0.0",
"acorn-jsx": "^5.0.2",
"acorn": "^7.1.0",
"acorn-jsx": "^5.1.0",
"eslint-visitor-keys": "^1.1.0"
}
}
@ -6688,9 +6694,9 @@
"dev": true
},
"multimap": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/multimap/-/multimap-1.0.2.tgz",
"integrity": "sha1-aqdvwyM5BbqUi75MdNwsOgNW6zY=",
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/multimap/-/multimap-1.1.0.tgz",
"integrity": "sha512-0ZIR9PasPxGXmRsEF8jsDzndzHDj7tIav+JUmvIFB/WHswliFnquxECT/De7GR4yg99ky/NlRKJT82G1y271bw==",
"dev": true
},
"mustache": {
@ -7633,9 +7639,9 @@
}
},
"regexp-tree": {
"version": "0.1.14",
"resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.14.tgz",
"integrity": "sha512-59v5A90TAh4cAMyDQEOzcnsu4q7Wb10RsyTjngEnJIZsWYM4siVGu+JmLT1WsxHvOWhiu4YS20XiTuxWMeVoHQ==",
"version": "0.1.16",
"resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.16.tgz",
"integrity": "sha512-nXWhGJLTWLNdhWF1uqoXQgAOgv8mQGpgXTOk8BWp08YMOKCtn74VoyOJ+AXZ68Dj50Myd+msYs+aGRBzWJ5dJA==",
"dev": true
},
"regexpp": {
@ -8154,9 +8160,9 @@
"dev": true
},
"safe-regex": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-2.0.2.tgz",
"integrity": "sha512-rRALJT0mh4qVFIJ9HvfjKDN77F9vp7kltOpFFI/8e6oKyHFmmxz4aSkY/YVauRDe7U0RrHdw9Lsxdel3E19s0A==",
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-2.1.1.tgz",
"integrity": "sha512-rx+x8AMzKb5Q5lQ95Zoi6ZbJqwCLkqi3XuJXp5P3rT8OEc6sZCJG5AE5dU3lsgRr/F4Bs31jSlVN+j5KrsGu9A==",
"dev": true,
"requires": {
"regexp-tree": "~0.1.1"

View File

@ -88,7 +88,7 @@
"babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3",
"core-js-bundle": "^3.4.1",
"eslint": "6.6.0",
"eslint-config-ash-nazg": "11.4.0",
"eslint-config-ash-nazg": "11.5.0",
"eslint-config-standard": "14.1.0",
"eslint-plugin-array-func": "^3.1.3",
"eslint-plugin-compat": "^3.3.0",
@ -104,7 +104,7 @@
"eslint-plugin-sonarjs": "^0.5.0",
"eslint-plugin-standard": "4.0.1",
"eslint-plugin-testcafe": "^0.2.1",
"eslint-plugin-unicorn": "^12.1.0",
"eslint-plugin-unicorn": "^13.0.0",
"imageoptim-cli": "^3.0.2",
"jamilih": "^0.46.0",
"jsdoc": "^3.6.3",

View File

@ -30703,7 +30703,7 @@
var a = document.createElement('a');
a.href = 'data:image/svg+xml;base64,' + encode64(svg);
a.download = 'icon.svg';
a.style = 'display: none;';
a.style.display = 'none';
document.body.append(a); // Need to append for Firefox
a.click(); // Alert will only appear the first time saved OR the