Skip to content

Commit b1a4cdb

Browse files
committed
actually fix the issues
1 parent a530bc7 commit b1a4cdb

File tree

2 files changed

+10
-16
lines changed

2 files changed

+10
-16
lines changed

src/components/projects/save-project.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export default {
113113
},
114114
valid() {
115115
return !!this.name.trim()
116-
&& (!this.importProject || this.file?.type === 'application/zip')
116+
&& (!this.importProject || /^application\/(x-)?zip/.test(this.file.type))
117117
&& !this.unzipError
118118
&& !this.inoError;
119119
},

yarn.lock

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2053,7 +2053,7 @@ autoprefixer@^9.8.6:
20532053

20542054
"avrgirl-arduino@https://github.com/duinoapp/avrgirl-arduino.git#browser-port-forwarding":
20552055
version "5.0.1"
2056-
resolved "https://github.com/duinoapp/avrgirl-arduino.git#18c6b1bdd2caeed3260d16a2ef8c9b9077734c5b"
2056+
resolved "https://github.com/duinoapp/avrgirl-arduino.git#5b98ed4d2da692c9f52361b9f8f77ac04ce171d1"
20572057
dependencies:
20582058
async "^2.6.3"
20592059
awty "^0.1.0"
@@ -6536,10 +6536,10 @@ no-case@^2.2.0:
65366536
dependencies:
65376537
lower-case "^1.1.1"
65386538

6539-
node-abi@^2.7.0:
6540-
version "2.21.0"
6541-
resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.21.0.tgz#c2dc9ebad6f4f53d6ea9b531e7b8faad81041d48"
6542-
integrity sha512-smhrivuPqEM3H5LmnY3KU6HfYv0u4QklgAxfFyRNujKUzbUcYZ+Jc2EhukB9SRcD2VpqhxM7n/MIcp1Ua1/JMg==
6539+
node-abi@^2.21.0:
6540+
version "2.26.0"
6541+
resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.26.0.tgz#355d5d4bc603e856f74197adbf3f5117a396ba40"
6542+
integrity sha512-ag/Vos/mXXpWLLAYWsAoQdgS+gW7IwvgMLOgqopm/DbzAjazLltzgzpVMsFlgmo9TzG5hGXeaBZx2AI731RIsQ==
65436543
dependencies:
65446544
semver "^5.4.1"
65456545

@@ -7565,25 +7565,24 @@ postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.27, postcss@^7.0.3
75657565
supports-color "^6.1.0"
75667566

75677567
prebuild-install@^6.0.1:
7568-
version "6.0.1"
7569-
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-6.0.1.tgz#5902172f7a40eb67305b96c2a695db32636ee26d"
7570-
integrity sha512-7GOJrLuow8yeiyv75rmvZyeMGzl8mdEX5gY69d6a6bHWmiPevwqFw+tQavhK0EYMaSg3/KD24cWqeQv1EWsqDQ==
7568+
version "6.1.2"
7569+
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-6.1.2.tgz#6ce5fc5978feba5d3cbffedca0682b136a0b5bff"
7570+
integrity sha512-PzYWIKZeP+967WuKYXlTOhYBgGOvTRSfaKI89XnfJ0ansRAH7hDU45X+K+FZeI1Wb/7p/NnuctPH3g0IqKUuSQ==
75717571
dependencies:
75727572
detect-libc "^1.0.3"
75737573
expand-template "^2.0.3"
75747574
github-from-package "0.0.0"
75757575
minimist "^1.2.3"
75767576
mkdirp-classic "^0.5.3"
75777577
napi-build-utils "^1.0.1"
7578-
node-abi "^2.7.0"
7578+
node-abi "^2.21.0"
75797579
noop-logger "^0.1.1"
75807580
npmlog "^4.0.1"
75817581
pump "^3.0.0"
75827582
rc "^1.2.7"
75837583
simple-get "^3.0.3"
75847584
tar-fs "^2.0.0"
75857585
tunnel-agent "^0.6.0"
7586-
which-pm-runs "^1.0.0"
75877586

75887587
prelude-ls@^1.2.1:
75897588
version "1.2.1"
@@ -9789,11 +9788,6 @@ which-module@^2.0.0:
97899788
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
97909789
integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=
97919790

9792-
which-pm-runs@^1.0.0:
9793-
version "1.0.0"
9794-
resolved "https://registry.yarnpkg.com/which-pm-runs/-/which-pm-runs-1.0.0.tgz#670b3afbc552e0b55df6b7780ca74615f23ad1cb"
9795-
integrity sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=
9796-
97979791
which@^1.2.9:
97989792
version "1.3.1"
97999793
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"

0 commit comments

Comments
 (0)