From 28559c1e01cb6fba980e9d835e025e9181042884 Mon Sep 17 00:00:00 2001 From: Rafael Araujo Lehmkuhl Date: Mon, 13 Mar 2023 15:46:57 -0300 Subject: [PATCH] packages: Add `file-saver` Used to perform data downloading on client browser. --- package.json | 2 ++ yarn.lock | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/package.json b/package.json index 09abb29ac..75e26f873 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "browser-or-node": "^2.0.0", "colord": "^2.9.3", "date-fns": "^2.29.3", + "file-saver": "^2.0.5", "floating-vue": "^2.0.0-beta.20", "gamepad.js": "^1.0.4", "gsap": "^3.11.3", @@ -43,6 +44,7 @@ "devDependencies": { "@pinia/testing": "^0.0.12", "@rushstack/eslint-patch": "^1.1.0", + "@types/file-saver": "^2.0.5", "@types/jsdom": "^16.2.14", "@types/leaflet": "^1.9.0", "@types/node": "^16.11.27", diff --git a/yarn.lock b/yarn.lock index e130b209d..8755266aa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1256,6 +1256,11 @@ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.0.tgz#5fb2e536c1ae9bf35366eed879e827fa59ca41c2" integrity sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ== +"@types/file-saver@^2.0.5": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@types/file-saver/-/file-saver-2.0.5.tgz#9ee342a5d1314bb0928375424a2f162f97c310c7" + integrity sha512-zv9kNf3keYegP5oThGLaPk8E081DFDuwfqjtiTzm6PoxChdJ1raSuADf2YGCVIyrSynLrgc8JWv296s7Q7pQSQ== + "@types/fs-extra@^9.0.11": version "9.0.13" resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-9.0.13.tgz#7594fbae04fe7f1918ce8b3d213f74ff44ac1f45" @@ -3418,6 +3423,11 @@ file-loader@^6.2.0: loader-utils "^2.0.0" schema-utils "^3.0.0" +file-saver@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/file-saver/-/file-saver-2.0.5.tgz#d61cfe2ce059f414d899e9dd6d4107ee25670c38" + integrity sha512-P9bmyZ3h/PRG+Nzga+rbdI4OEpNDzAVyy74uVO9ATgzLK6VtAsYybF/+TOCvrc0MO793d6+42lLyZTw7/ArVzA== + filelist@^1.0.1: version "1.0.4" resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.4.tgz#f78978a1e944775ff9e62e744424f215e58352b5"