From 7ec24d9d7794fa37825f64ca2d1575f568fb1362 Mon Sep 17 00:00:00 2001 From: Ramires Viana <59319979+ramiresviana@users.noreply.github.com> Date: Thu, 15 Apr 2021 12:28:19 +0000 Subject: [PATCH] feat: support for IE11 browser --- frontend/package-lock.json | 24 +++++++++++++++++++++++- frontend/package.json | 6 ++++-- frontend/public/index.html | 2 +- frontend/src/main.js | 4 ++++ frontend/src/views/files/Listing.vue | 5 ++++- http/data.go | 2 ++ http/static.go | 2 +- 7 files changed, 39 insertions(+), 6 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index b99bd6c3..fe28d5a2 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -11,6 +11,7 @@ "ace-builds": "^1.4.7", "clipboard": "^2.0.4", "core-js": "^3.9.1", + "css-vars-ponyfill": "^2.4.3", "js-base64": "^2.5.1", "lodash.clonedeep": "^4.5.0", "lodash.throttle": "^4.1.1", @@ -25,7 +26,8 @@ "vue-lazyload": "^1.3.3", "vue-router": "^3.1.3", "vuex": "^3.1.2", - "vuex-router-sync": "^5.0.0" + "vuex-router-sync": "^5.0.0", + "whatwg-fetch": "^3.6.2" }, "devDependencies": { "@vue/cli-plugin-babel": "^4.1.2", @@ -4663,6 +4665,11 @@ "node": ">=0.10.0" } }, + "node_modules/css-vars-ponyfill": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/css-vars-ponyfill/-/css-vars-ponyfill-2.4.3.tgz", + "integrity": "sha512-PBfIwjSu27s8kebu8taEYFM8ehVr8o2Qw4H4nSlJzHAJgcduAqxz4oPmYTJuzgauOKaWII9SHWStQ965fxsdZA==" + }, "node_modules/css-what": { "version": "3.4.2", "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.4.2.tgz", @@ -14709,6 +14716,11 @@ "node": ">=0.8.0" } }, + "node_modules/whatwg-fetch": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz", + "integrity": "sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA==" + }, "node_modules/which": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", @@ -18948,6 +18960,11 @@ } } }, + "css-vars-ponyfill": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/css-vars-ponyfill/-/css-vars-ponyfill-2.4.3.tgz", + "integrity": "sha512-PBfIwjSu27s8kebu8taEYFM8ehVr8o2Qw4H4nSlJzHAJgcduAqxz4oPmYTJuzgauOKaWII9SHWStQ965fxsdZA==" + }, "css-what": { "version": "3.4.2", "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.4.2.tgz", @@ -27088,6 +27105,11 @@ "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==", "dev": true }, + "whatwg-fetch": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz", + "integrity": "sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA==" + }, "which": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", diff --git a/frontend/package.json b/frontend/package.json index 47a3cb5d..f00e0f52 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -13,6 +13,7 @@ "ace-builds": "^1.4.7", "clipboard": "^2.0.4", "core-js": "^3.9.1", + "css-vars-ponyfill": "^2.4.3", "js-base64": "^2.5.1", "lodash.clonedeep": "^4.5.0", "lodash.throttle": "^4.1.1", @@ -27,7 +28,8 @@ "vue-lazyload": "^1.3.3", "vue-router": "^3.1.3", "vuex": "^3.1.2", - "vuex-router-sync": "^5.0.0" + "vuex-router-sync": "^5.0.0", + "whatwg-fetch": "^3.6.2" }, "devDependencies": { "@vue/cli-plugin-babel": "^4.1.2", @@ -64,6 +66,6 @@ "browserslist": [ "> 1%", "last 2 versions", - "not ie <= 8" + "not ie < 11" ] } diff --git a/frontend/public/index.html b/frontend/public/index.html index 6dd9d32a..343c14dd 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -30,7 +30,7 @@