From e8a5b2c6b54c9c23117262da08bc54873518d3ed Mon Sep 17 00:00:00 2001 From: MattIPv4 Date: Fri, 5 Jun 2020 20:54:44 +0100 Subject: [PATCH] Replace pako with gzip-js --- package-lock.json | 19 +++++++++++++++++++ package.json | 2 +- src/nginxconfig/templates/setup.vue | 6 +++--- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 51a2928..cc1b28e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3577,6 +3577,11 @@ "parse-json": "^4.0.0" } }, + "crc32": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/crc32/-/crc32-0.2.2.tgz", + "integrity": "sha1-etIg1v/c0Rn5/BJ6d3LKzqOQpLo=" + }, "create-ecdh": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz", @@ -4217,6 +4222,11 @@ } } }, + "deflate-js": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/deflate-js/-/deflate-js-0.2.3.tgz", + "integrity": "sha1-+Fq7WOvFFRowYUdHPVfD5PfkQms=" + }, "del": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/del/-/del-4.1.1.tgz", @@ -5944,6 +5954,15 @@ "unicode-trie": "^0.3.1" } }, + "gzip-js": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/gzip-js/-/gzip-js-0.3.2.tgz", + "integrity": "sha1-IxF+/usozzhSSN7/Df+tiUg22Ws=", + "requires": { + "crc32": ">= 0.2.2", + "deflate-js": ">= 0.2.2" + } + }, "gzip-size": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-5.1.1.tgz", diff --git a/package.json b/package.json index 3c89c38..dbe0df7 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "do-bulma": "git+https://github.com/do-community/do-bulma.git", "do-vue": "git+https://github.com/do-community/do-vue.git", "escape-html": "^1.0.3", - "pako": "^1.0.11", + "gzip-js": "^0.3.2", "pretty-checkbox-vue": "^1.1.9", "prismjs": "^1.20.0", "qs": "^6.9.4", diff --git a/src/nginxconfig/templates/setup.vue b/src/nginxconfig/templates/setup.vue index 1dcc40c..9b5ecd0 100644 --- a/src/nginxconfig/templates/setup.vue +++ b/src/nginxconfig/templates/setup.vue @@ -62,7 +62,7 @@ THE SOFTWARE.