diff --git a/package-lock.json b/package-lock.json index 7fcc76a..9d95c7f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "@pixi/particle-emitter": "^5.0.4", "core-js": "^3.6.5", "lodash.clonedeep": "^4.5.0", + "lz-string": "^1.4.4", "nanoevents": "^6.0.2", "pixi.js": "^6.3.0", "vue": "^3.2.26", @@ -26,6 +27,7 @@ "@jetblack/operator-overloading": "^0.2.0", "@rushstack/eslint-patch": "^1.1.0", "@types/lodash.clonedeep": "^4.5.6", + "@types/lz-string": "^1.3.34", "@vue/babel-plugin-jsx": "^1.1.1", "@vue/cli-plugin-babel": "^5.0.3", "@vue/cli-plugin-eslint": "^5.0.3", @@ -2461,6 +2463,12 @@ "@types/lodash": "*" } }, + "node_modules/@types/lz-string": { + "version": "1.3.34", + "resolved": "https://registry.npmjs.org/@types/lz-string/-/lz-string-1.3.34.tgz", + "integrity": "sha512-j6G1e8DULJx3ONf6NdR5JiR2ZY3K3PaaqiEuKYkLQO0Czfi1AzrtjfnfCROyWGeDd5IVMKCwsgSmMip9OWijow==", + "dev": true + }, "node_modules/@types/mime": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", @@ -8592,6 +8600,14 @@ "node": ">=10" } }, + "node_modules/lz-string": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.4.4.tgz", + "integrity": "sha1-wNjq82BZ9wV5bh40SBHPTEmNOiY=", + "bin": { + "lz-string": "bin/bin.js" + } + }, "node_modules/magic-string": { "version": "0.25.7", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.7.tgz", @@ -15010,6 +15026,12 @@ "@types/lodash": "*" } }, + "@types/lz-string": { + "version": "1.3.34", + "resolved": "https://registry.npmjs.org/@types/lz-string/-/lz-string-1.3.34.tgz", + "integrity": "sha512-j6G1e8DULJx3ONf6NdR5JiR2ZY3K3PaaqiEuKYkLQO0Czfi1AzrtjfnfCROyWGeDd5IVMKCwsgSmMip9OWijow==", + "dev": true + }, "@types/mime": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", @@ -19594,6 +19616,11 @@ "yallist": "^4.0.0" } }, + "lz-string": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.4.4.tgz", + "integrity": "sha1-wNjq82BZ9wV5bh40SBHPTEmNOiY=" + }, "magic-string": { "version": "0.25.7", "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.7.tgz", diff --git a/package.json b/package.json index ebb01ab..d5fb30b 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "@pixi/particle-emitter": "^5.0.4", "core-js": "^3.6.5", "lodash.clonedeep": "^4.5.0", + "lz-string": "^1.4.4", "nanoevents": "^6.0.2", "pixi.js": "^6.3.0", "vue": "^3.2.26", @@ -27,6 +28,7 @@ "@jetblack/operator-overloading": "^0.2.0", "@rushstack/eslint-patch": "^1.1.0", "@types/lodash.clonedeep": "^4.5.6", + "@types/lz-string": "^1.3.34", "@vue/babel-plugin-jsx": "^1.1.1", "@vue/cli-plugin-babel": "^5.0.3", "@vue/cli-plugin-eslint": "^5.0.3", diff --git a/src/components/SavesManager.vue b/src/components/SavesManager.vue index 6ec3128..6d5ef8f 100644 --- a/src/components/SavesManager.vue +++ b/src/components/SavesManager.vue @@ -57,23 +57,17 @@