From 8ac3b7abbd84ae1468a8ebf23b363282ab206cfe Mon Sep 17 00:00:00 2001 From: Ryo Ota Date: Thu, 13 Feb 2020 09:16:57 +0900 Subject: [PATCH 01/19] bump: 0.6.6-SNAPSHOT --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7fb86f902..7fca7c463 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "piping-ui", - "version": "0.6.5", + "version": "0.6.6-SNAPSHOT", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2159361eb..818fc1e7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "piping-ui", - "version": "0.6.5", + "version": "0.6.6-SNAPSHOT", "private": true, "author": "Ryo Ota (https://github.com/nwtgck)", "scripts": { From 06601656031aa940d0c0c608aad708caf52db613 Mon Sep 17 00:00:00 2001 From: Ryo Ota Date: Thu, 13 Feb 2020 09:38:47 +0900 Subject: [PATCH 02/19] refactor: remove @babel/plugin-proposal-nullish-coalescing-operator --- package-lock.json | 35 ++++++++++++++++++++++++++++++++++- package.json | 1 - 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7fca7c463..e648615ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11505,7 +11505,8 @@ "lodash": { "version": "4.17.15", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "dev": true }, "lodash._reinterpolate": { "version": "3.0.0", @@ -12917,6 +12918,11 @@ "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" + }, + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" } } }, @@ -13038,6 +13044,11 @@ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" }, + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -13055,6 +13066,11 @@ "to-fast-properties": "^2.0.0" }, "dependencies": { + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + }, "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", @@ -16759,6 +16775,13 @@ "lodash": "^4.17.15", "nyc": "^14.1.0", "simple-cli": "^5.0.3" + }, + "dependencies": { + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + } } }, "grunt-terser": { @@ -17555,6 +17578,11 @@ } } }, + "lodash": { + "version": "4.17.10", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", + "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==" + }, "lodash.cond": { "version": "4.5.2", "resolved": "https://registry.npmjs.org/lodash.cond/-/lodash.cond-4.5.2.tgz", @@ -19137,6 +19165,11 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + }, "shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", diff --git a/package.json b/package.json index 818fc1e7d..a27cf595a 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,6 @@ "vuetify": "^2.2.12" }, "devDependencies": { - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3", "@mdi/js": "^4.9.95", "@types/chai": "^4.2.9", "@types/clipboard": "^2.0.1", From 5f772c5ce878ae4084ee78b132280ea184b9addf Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 13 Feb 2020 09:50:08 +0900 Subject: [PATCH 03/19] build(deps): bump jwk-thumbprint from 0.1.2 to 0.1.3 (#252) Bumps [jwk-thumbprint](https://github.com/nwtgck/jwk-thumbprint-npm) from 0.1.2 to 0.1.3. - [Release notes](https://github.com/nwtgck/jwk-thumbprint-npm/releases) - [Commits](https://github.com/nwtgck/jwk-thumbprint-npm/compare/v0.1.2...v0.1.3) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 12 ++++++------ package.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index e648615ae..f7c548017 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11095,9 +11095,9 @@ "optional": true }, "js-base64": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.5.1.tgz", - "integrity": "sha512-M7kLczedRMYX4L8Mdh4MzyAMM9O5osx+4FcOQuTvr3A9F2D9S5JXheN0ewNbrvK2UatkTRhL5ejGmGSjNMiZuw==" + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.5.2.tgz", + "integrity": "sha512-Vg8czh0Q7sFBSUMWWArX/miJeBWYBPpdU/3M/DKSaekLMqrqVPaedp+5mZhie/r0lgrcaYBfwXatEew6gwgiQQ==" }, "js-beautify": { "version": "1.10.3", @@ -11306,9 +11306,9 @@ } }, "jwk-thumbprint": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/jwk-thumbprint/-/jwk-thumbprint-0.1.2.tgz", - "integrity": "sha512-cEicF4Rx30k4/ylddKrR+PdWBbE+Il537iPwUemsbkzz+HAW956pZ/U53vRyZD4NkGP9SGszVNA+yEvDmGp1WA==", + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/jwk-thumbprint/-/jwk-thumbprint-0.1.3.tgz", + "integrity": "sha512-PwMPjlWmArkOVLPClHs/B62xa0aXBIiXSMkcW+4yglnMWlvQTkMyemMlpGQlXCT4r5afuzSCqyfQLARi/apiUw==", "requires": { "hash.js": "^1.1.7", "js-base64": "^2.5.1" diff --git a/package.json b/package.json index a27cf595a..f03912b69 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "file-type": "^14.1.2", "filepond": "^4.11.0", "jszip": "^3.2.2", - "jwk-thumbprint": "^0.1.2", + "jwk-thumbprint": "^0.1.3", "linkifyjs": "^2.1.8", "openpgp": "^4.9.0", "register-service-worker": "^1.6.2", From 340b5d3a35c6fcf75f2264e98675c9d2713e3731 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 13 Feb 2020 17:31:23 +0900 Subject: [PATCH 04/19] build(deps): [security] bump lodash from 4.17.10 to 4.17.15 (#253) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.15. **This update includes security fixes.** - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.15) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 35 +---------------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/package-lock.json b/package-lock.json index f7c548017..87a20b6d2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11505,8 +11505,7 @@ "lodash": { "version": "4.17.15", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", - "dev": true + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" }, "lodash._reinterpolate": { "version": "3.0.0", @@ -12918,11 +12917,6 @@ "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" - }, - "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" } } }, @@ -13044,11 +13038,6 @@ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" }, - "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" - }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -13066,11 +13055,6 @@ "to-fast-properties": "^2.0.0" }, "dependencies": { - "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" - }, "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", @@ -16775,13 +16759,6 @@ "lodash": "^4.17.15", "nyc": "^14.1.0", "simple-cli": "^5.0.3" - }, - "dependencies": { - "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" - } } }, "grunt-terser": { @@ -17578,11 +17555,6 @@ } } }, - "lodash": { - "version": "4.17.10", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", - "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==" - }, "lodash.cond": { "version": "4.5.2", "resolved": "https://registry.npmjs.org/lodash.cond/-/lodash.cond-4.5.2.tgz", @@ -19165,11 +19137,6 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, - "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" - }, "shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", From 1bb0a8e4ea8f351e07dc44ddd216e9abc95b5639 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 13 Feb 2020 22:29:00 +0900 Subject: [PATCH 05/19] build(deps): bump vue-class-component from 7.2.2 to 7.2.3 (#254) Bumps [vue-class-component](https://github.com/vuejs/vue-class-component) from 7.2.2 to 7.2.3. - [Release notes](https://github.com/vuejs/vue-class-component/releases) - [Commits](https://github.com/vuejs/vue-class-component/compare/v7.2.2...v7.2.3) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 87a20b6d2..7b7a81b56 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24033,9 +24033,9 @@ } }, "vue-class-component": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/vue-class-component/-/vue-class-component-7.2.2.tgz", - "integrity": "sha512-QjVfjRffux0rUBNtxr1hvUxDrfifDvk9q/OSdB/sKIlfxAudDF2E1YTeiEC+qOYIOOBGWkgSKQSnast6H+S38w==" + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/vue-class-component/-/vue-class-component-7.2.3.tgz", + "integrity": "sha512-oEqYpXKaFN+TaXU+mRLEx8dX0ah85aAJEe61mpdoUrq0Bhe/6sWhyZX1JjMQLhVsHAkncyhedhmCdDVSasUtDw==" }, "vue-cli-plugin-vuetify": { "version": "2.0.5", diff --git a/package.json b/package.json index f03912b69..acda94439 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "vue": "^2.6.11", "vue-async-computed": "^3.8.2", "vue-async-computed-decorator": "0.0.4", - "vue-class-component": "^7.2.2", + "vue-class-component": "^7.2.3", "vue-filepond": "^6.0.2", "vue-property-decorator": "^8.4.0", "vuetify": "^2.2.12" From 1d64f2adec6bccb98ea1c892a1abca8257086db6 Mon Sep 17 00:00:00 2001 From: Ryo Ota Date: Thu, 13 Feb 2020 18:33:42 +0900 Subject: [PATCH 06/19] add: Blob URL manager for preventing memory leak --- src/blob-url-manager.ts | 21 +++++++++++++++++++++ src/components/DataViewer.vue | 22 +++++++++++----------- 2 files changed, 32 insertions(+), 11 deletions(-) create mode 100644 src/blob-url-manager.ts diff --git a/src/blob-url-manager.ts b/src/blob-url-manager.ts new file mode 100644 index 000000000..69a6ac4a2 --- /dev/null +++ b/src/blob-url-manager.ts @@ -0,0 +1,21 @@ +/** + * Blob URL manager for preventing memory leak + */ +export class BlobUrlManager { + private blobUrl: string | undefined = undefined; + + set(blob: Blob) { + this.clearIfNeed(); + this.blobUrl = URL.createObjectURL(blob); + } + + clearIfNeed() { + if (this.blobUrl !== undefined) { + URL.revokeObjectURL(this.blobUrl); + } + } + + get url(): string | undefined { + return this.blobUrl; + } +} diff --git a/src/components/DataViewer.vue b/src/components/DataViewer.vue index e27cdbb13..85b10445c 100644 --- a/src/components/DataViewer.vue +++ b/src/components/DataViewer.vue @@ -91,14 +91,14 @@ -
- +
-
-
@@ -175,6 +175,7 @@ import * as pipingUiUtils from "@/piping-ui-utils"; import AsyncComputed from 'vue-async-computed-decorator'; import {Protection, VerificationStep, VerifiedParcel, verifiedParcelFormat} from "@/datatypes"; import VerificationCode from "@/components/VerificationCode.vue"; +import {BlobUrlManager} from "@/blob-url-manager"; export type DataViewerProps = { @@ -205,8 +206,8 @@ export default class DataViewer extends Vue { private xhr: XMLHttpRequest; private isDoneDownload: boolean = false; private canceled: boolean = false; - private imgSrc: string = ''; - private videoSrc: string = ''; + private imgSrc: BlobUrlManager= new BlobUrlManager(); + private videoSrc: BlobUrlManager= new BlobUrlManager(); private text: string = ''; private enablePasswordReinput: boolean = false; private showsPassword: boolean = false; @@ -368,8 +369,8 @@ export default class DataViewer extends Vue { private async viewBlob() { // Reset viewers - this.imgSrc = ''; - this.videoSrc = ''; + this.imgSrc.clearIfNeed(); + this.videoSrc.clearIfNeed(); this.text = ''; const isText: boolean = await (async () => { @@ -388,11 +389,10 @@ export default class DataViewer extends Vue { // Detect type of blob const fileTypeResult = await fileType.fromStream(blobToReadableStream(this.blob)); if (fileTypeResult !== undefined) { - const blobUrl = URL.createObjectURL(this.blob); if (fileTypeResult.mime.startsWith("image/")) { - this.imgSrc = blobUrl; + this.imgSrc.set(this.blob); } else if (fileTypeResult.mime.startsWith("video/")) { - this.videoSrc = blobUrl; + this.videoSrc.set(this.blob); } else if (fileTypeResult.mime.startsWith("text/")) { // Set text this.text = await utils.readBlobAsText(this.blob); From 4354f74340fd981585b90731b60761aa7703ab0d Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2020 00:05:10 +0900 Subject: [PATCH 07/19] build(deps-dev): bump eslint-plugin-vue from 6.1.2 to 6.2.0 (#255) Bumps [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) from 6.1.2 to 6.2.0. - [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases) - [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v6.1.2...v6.2.0) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 24 ++++-------------------- package.json | 2 +- 2 files changed, 5 insertions(+), 21 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7b7a81b56..92c628b05 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8439,11 +8439,12 @@ } }, "eslint-plugin-vue": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-6.1.2.tgz", - "integrity": "sha512-M75oAB+2a/LNkLKRbeEaS07EjzjIUaV7/hYoHAfRFeeF8ZMmCbahUn8nQLsLP85mkar24+zDU3QW2iT1JRsACw==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-6.2.0.tgz", + "integrity": "sha512-6AnZKycVWbwQtL/RyX77Rytm9r16bfYsd5oy65eoSkNFzWQ5qAisdmqUG08v1InTmAh6mbR24X1HMEvoI24wGQ==", "dev": true, "requires": { + "natural-compare": "^1.4.0", "semver": "^5.6.0", "vue-eslint-parser": "^7.0.0" } @@ -24069,12 +24070,6 @@ "lodash": "^4.17.15" }, "dependencies": { - "acorn": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz", - "integrity": "sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==", - "dev": true - }, "eslint-scope": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz", @@ -24084,17 +24079,6 @@ "esrecurse": "^4.1.0", "estraverse": "^4.1.1" } - }, - "espree": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/espree/-/espree-6.1.2.tgz", - "integrity": "sha512-2iUPuuPP+yW1PZaMSDM9eyVf8D5P0Hi8h83YtZ5bPc/zHYjII5khoixIUTMO794NOY8F/ThF1Bo8ncZILarUTA==", - "dev": true, - "requires": { - "acorn": "^7.1.0", - "acorn-jsx": "^5.1.0", - "eslint-visitor-keys": "^1.1.0" - } } } }, diff --git a/package.json b/package.json index acda94439..3a27f1819 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "copyfiles": "^2.2.0", "cross-var": "^1.1.0", "eslint": "^6.7.2", - "eslint-plugin-vue": "^6.1.2", + "eslint-plugin-vue": "^6.2.0", "license-checker": "^25.0.1", "material-design-icons-iconfont": "^5.0.1", "react": "^16.12.0", From 75dc4e83299926748e1b1f3e6ad50dea5e204b89 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 18 Feb 2020 08:00:23 +0900 Subject: [PATCH 08/19] build(deps): bump openpgp from 4.9.0 to 4.9.1 (#256) Bumps [openpgp](https://github.com/openpgpjs/openpgpjs) from 4.9.0 to 4.9.1. - [Release notes](https://github.com/openpgpjs/openpgpjs/releases) - [Commits](https://github.com/openpgpjs/openpgpjs/compare/v4.9.0...v4.9.1) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 41 +++++++++++++++++++++++++++++++++++++---- package.json | 2 +- 2 files changed, 38 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 92c628b05..478435f73 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11506,7 +11506,8 @@ "lodash": { "version": "4.17.15", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "dev": true }, "lodash._reinterpolate": { "version": "3.0.0", @@ -12886,9 +12887,9 @@ "dev": true }, "openpgp": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/openpgp/-/openpgp-4.9.0.tgz", - "integrity": "sha512-Yr5CMDjjSWwim+xOPkTS4W5H9Zri2vlxO506a+jlXo1cNqUJA2MfvEgslr7wxcJMZ0m+Io3r8TTAHSEXgDvYSA==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/openpgp/-/openpgp-4.9.1.tgz", + "integrity": "sha512-pq5SEgVmi/fnl+AlbUGoTjkKwzibKT1+oA9B2gO6+n9F2Yh6Z/ouQeSXhcrQbBS8YqBErhMMbINuLuWC3EABCg==", "requires": { "asn1.js": "^5.0.0", "node-fetch": "^2.1.2", @@ -12918,6 +12919,11 @@ "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" + }, + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" } } }, @@ -13039,6 +13045,11 @@ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" }, + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -13056,6 +13067,11 @@ "to-fast-properties": "^2.0.0" }, "dependencies": { + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + }, "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", @@ -16760,6 +16776,13 @@ "lodash": "^4.17.15", "nyc": "^14.1.0", "simple-cli": "^5.0.3" + }, + "dependencies": { + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + } } }, "grunt-terser": { @@ -17556,6 +17579,11 @@ } } }, + "lodash": { + "version": "4.17.10", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", + "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==" + }, "lodash.cond": { "version": "4.5.2", "resolved": "https://registry.npmjs.org/lodash.cond/-/lodash.cond-4.5.2.tgz", @@ -19138,6 +19166,11 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + }, "shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", diff --git a/package.json b/package.json index 3a27f1819..c01e2be64 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "jszip": "^3.2.2", "jwk-thumbprint": "^0.1.3", "linkifyjs": "^2.1.8", - "openpgp": "^4.9.0", + "openpgp": "^4.9.1", "register-service-worker": "^1.6.2", "sanitize-html": "^1.21.1", "smoothscroll-polyfill": "^0.4.4", From 4cfbbd3a316848fa01c95492112710aa3246a961 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 18 Feb 2020 08:14:37 +0900 Subject: [PATCH 09/19] build(deps-dev): bump @typescript-eslint/eslint-plugin (#259) Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 2.19.2 to 2.20.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.20.0/packages/eslint-plugin) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 50 +++++++++++++++++++++++++++++++++++++++++++---- package.json | 2 +- 2 files changed, 47 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 478435f73..fc054a793 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2754,18 +2754,60 @@ } }, "@typescript-eslint/eslint-plugin": { - "version": "2.19.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.19.2.tgz", - "integrity": "sha512-HX2qOq2GOV04HNrmKnTpSIpHjfl7iwdXe3u/Nvt+/cpmdvzYvY0NHSiTkYN257jHnq4OM/yo+OsFgati+7LqJA==", + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.20.0.tgz", + "integrity": "sha512-cimIdVDV3MakiGJqMXw51Xci6oEDEoPkvh8ggJe2IIzcc0fYqAxOXN6Vbeanahz6dLZq64W+40iUEc9g32FLDQ==", "dev": true, "requires": { - "@typescript-eslint/experimental-utils": "2.19.2", + "@typescript-eslint/experimental-utils": "2.20.0", "eslint-utils": "^1.4.3", "functional-red-black-tree": "^1.0.1", "regexpp": "^3.0.0", "tsutils": "^3.17.1" }, "dependencies": { + "@typescript-eslint/experimental-utils": { + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.20.0.tgz", + "integrity": "sha512-fEBy9xYrwG9hfBLFEwGW2lKwDRTmYzH3DwTmYbT+SMycmxAoPl0eGretnBFj/s+NfYBG63w/5c3lsvqqz5mYag==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.3", + "@typescript-eslint/typescript-estree": "2.20.0", + "eslint-scope": "^5.0.0" + } + }, + "@typescript-eslint/typescript-estree": { + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.20.0.tgz", + "integrity": "sha512-WlFk8QtI8pPaE7JGQGxU7nGcnk1ccKAJkhbVookv94ZcAef3m6oCE/jEDL6dGte3JcD7reKrA0o55XhBRiVT3A==", + "dev": true, + "requires": { + "debug": "^4.1.1", + "eslint-visitor-keys": "^1.1.0", + "glob": "^7.1.6", + "is-glob": "^4.0.1", + "lodash": "^4.17.15", + "semver": "^6.3.0", + "tsutils": "^3.17.1" + } + }, + "eslint-scope": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz", + "integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==", + "dev": true, + "requires": { + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" + } + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + }, "tsutils": { "version": "3.17.1", "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.17.1.tgz", diff --git a/package.json b/package.json index c01e2be64..dd7d0a274 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "@types/smoothscroll-polyfill": "^0.3.1", "@types/url-join": "^4.0.0", "@types/workbox-sw": "^4.3.0", - "@typescript-eslint/eslint-plugin": "^2.19.2", + "@typescript-eslint/eslint-plugin": "^2.20.0", "@typescript-eslint/parser": "^2.19.2", "@vue/cli-plugin-babel": "~4.2.2", "@vue/cli-plugin-eslint": "~4.2.2", From 2a28b52d566003ef14a9435810dd6197bdc5ae12 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 18 Feb 2020 08:21:38 +0900 Subject: [PATCH 10/19] build(deps-dev): bump @typescript-eslint/parser from 2.19.2 to 2.20.0 (#258) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.19.2 to 2.20.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.20.0/packages/parser) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 24 ++++++++++++------------ package.json | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index fc054a793..e39f2e1dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2820,13 +2820,13 @@ } }, "@typescript-eslint/experimental-utils": { - "version": "2.19.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.19.2.tgz", - "integrity": "sha512-B88QuwT1wMJR750YvTJBNjMZwmiPpbmKYLm1yI7PCc3x0NariqPwqaPsoJRwU9DmUi0cd9dkhz1IqEnwfD+P1A==", + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.20.0.tgz", + "integrity": "sha512-fEBy9xYrwG9hfBLFEwGW2lKwDRTmYzH3DwTmYbT+SMycmxAoPl0eGretnBFj/s+NfYBG63w/5c3lsvqqz5mYag==", "dev": true, "requires": { "@types/json-schema": "^7.0.3", - "@typescript-eslint/typescript-estree": "2.19.2", + "@typescript-eslint/typescript-estree": "2.20.0", "eslint-scope": "^5.0.0" }, "dependencies": { @@ -2843,21 +2843,21 @@ } }, "@typescript-eslint/parser": { - "version": "2.19.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-2.19.2.tgz", - "integrity": "sha512-8uwnYGKqX9wWHGPGdLB9sk9+12sjcdqEEYKGgbS8A0IvYX59h01o8os5qXUHMq2na8vpDRaV0suTLM7S8wraTA==", + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-2.20.0.tgz", + "integrity": "sha512-o8qsKaosLh2qhMZiHNtaHKTHyCHc3Triq6aMnwnWj7budm3xAY9owSZzV1uon5T9cWmJRJGzTFa90aex4m77Lw==", "dev": true, "requires": { "@types/eslint-visitor-keys": "^1.0.0", - "@typescript-eslint/experimental-utils": "2.19.2", - "@typescript-eslint/typescript-estree": "2.19.2", + "@typescript-eslint/experimental-utils": "2.20.0", + "@typescript-eslint/typescript-estree": "2.20.0", "eslint-visitor-keys": "^1.1.0" } }, "@typescript-eslint/typescript-estree": { - "version": "2.19.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.19.2.tgz", - "integrity": "sha512-Xu/qa0MDk6upQWqE4Qy2X16Xg8Vi32tQS2PR0AvnT/ZYS4YGDvtn2MStOh5y8Zy2mg4NuL06KUHlvCh95j9C6Q==", + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.20.0.tgz", + "integrity": "sha512-WlFk8QtI8pPaE7JGQGxU7nGcnk1ccKAJkhbVookv94ZcAef3m6oCE/jEDL6dGte3JcD7reKrA0o55XhBRiVT3A==", "dev": true, "requires": { "debug": "^4.1.1", diff --git a/package.json b/package.json index dd7d0a274..f84b4ca8b 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "@types/url-join": "^4.0.0", "@types/workbox-sw": "^4.3.0", "@typescript-eslint/eslint-plugin": "^2.20.0", - "@typescript-eslint/parser": "^2.19.2", + "@typescript-eslint/parser": "^2.20.0", "@vue/cli-plugin-babel": "~4.2.2", "@vue/cli-plugin-eslint": "~4.2.2", "@vue/cli-plugin-pwa": "~4.2.2", From 2530a087667b52cdf5c707bc4a5de1f38bb04b2f Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 18 Feb 2020 08:28:11 +0900 Subject: [PATCH 11/19] build(deps-dev): bump eslint-plugin-vue from 6.2.0 to 6.2.1 (#257) Bumps [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) from 6.2.0 to 6.2.1. - [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases) - [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v6.2.0...v6.2.1) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index e39f2e1dd..90b6d9476 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8481,9 +8481,9 @@ } }, "eslint-plugin-vue": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-6.2.0.tgz", - "integrity": "sha512-6AnZKycVWbwQtL/RyX77Rytm9r16bfYsd5oy65eoSkNFzWQ5qAisdmqUG08v1InTmAh6mbR24X1HMEvoI24wGQ==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-6.2.1.tgz", + "integrity": "sha512-MiIDOotoWseIfLIfGeDzF6sDvHkVvGd2JgkvjyHtN3q4RoxdAXrAMuI3SXTOKatljgacKwpNAYShmcKZa4yZzw==", "dev": true, "requires": { "natural-compare": "^1.4.0", diff --git a/package.json b/package.json index f84b4ca8b..49b9cdd43 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "copyfiles": "^2.2.0", "cross-var": "^1.1.0", "eslint": "^6.7.2", - "eslint-plugin-vue": "^6.2.0", + "eslint-plugin-vue": "^6.2.1", "license-checker": "^25.0.1", "material-design-icons-iconfont": "^5.0.1", "react": "^16.12.0", From 85f45c2ae37e1d2db33e10a11a57019470e3f0fb Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 18 Feb 2020 08:40:19 +0900 Subject: [PATCH 12/19] build(deps): [security] bump lodash from 4.17.10 to 4.17.15 (#260) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.15. **This update includes security fixes.** - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.15) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 35 +---------------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/package-lock.json b/package-lock.json index 90b6d9476..3d16adee5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11548,8 +11548,7 @@ "lodash": { "version": "4.17.15", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", - "dev": true + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" }, "lodash._reinterpolate": { "version": "3.0.0", @@ -12961,11 +12960,6 @@ "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" - }, - "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" } } }, @@ -13087,11 +13081,6 @@ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" }, - "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" - }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -13109,11 +13098,6 @@ "to-fast-properties": "^2.0.0" }, "dependencies": { - "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" - }, "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", @@ -16818,13 +16802,6 @@ "lodash": "^4.17.15", "nyc": "^14.1.0", "simple-cli": "^5.0.3" - }, - "dependencies": { - "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" - } } }, "grunt-terser": { @@ -17621,11 +17598,6 @@ } } }, - "lodash": { - "version": "4.17.10", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", - "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==" - }, "lodash.cond": { "version": "4.5.2", "resolved": "https://registry.npmjs.org/lodash.cond/-/lodash.cond-4.5.2.tgz", @@ -19208,11 +19180,6 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, - "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" - }, "shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", From 2d67e449a7ea81b4fbc38f08e8b28044f366123e Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 18 Feb 2020 11:41:11 +0900 Subject: [PATCH 13/19] build(deps-dev): bump @types/react from 16.9.19 to 16.9.20 (#261) Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.19 to 16.9.20. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 12 ++++++------ package.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3d16adee5..8d88b61bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2591,9 +2591,9 @@ "dev": true }, "@types/react": { - "version": "16.9.19", - "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.19.tgz", - "integrity": "sha512-LJV97//H+zqKWMms0kvxaKYJDG05U2TtQB3chRLF8MPNs+MQh/H1aGlyDUxjaHvu08EAGerdX2z4LTBc7ns77A==", + "version": "16.9.20", + "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.20.tgz", + "integrity": "sha512-jRrWBr25zzEVNa4QbESKLPluvrZ3W6Odfwrfe2F5vzbrDuNvlpnHa/xbZcXg8RH5D4CE181J5VxrRrLvzRH+5A==", "dev": true, "requires": { "@types/prop-types": "*", @@ -7271,9 +7271,9 @@ } }, "csstype": { - "version": "2.6.8", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.8.tgz", - "integrity": "sha512-msVS9qTuMT5zwAGCVm4mxfrZ18BNc6Csd0oJAtiFMZ1FAx1CCvy2+5MDmYoix63LM/6NDbNtodCiGYGmFgO0dA==", + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.9.tgz", + "integrity": "sha512-xz39Sb4+OaTsULgUERcCk+TJj8ylkL4aSVDQiX/ksxbELSqwkgt4d4RD7fovIdgJGSuNYqwZEiVjYY5l0ask+Q==", "dev": true }, "current-script-polyfill": { diff --git a/package.json b/package.json index 49b9cdd43..03f820920 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "@types/jszip": "^3.1.7", "@types/mocha": "^7.0.1", "@types/openpgp": "^4.4.8", - "@types/react": "^16.9.19", + "@types/react": "^16.9.20", "@types/react-dom": "^16.9.5", "@types/sanitize-html": "^1.20.2", "@types/smoothscroll-polyfill": "^0.3.1", From 29b37bd2131f8421c2c4c136de4f3fd38877375e Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 20 Feb 2020 22:12:14 +0900 Subject: [PATCH 14/19] build(deps-dev): bump @types/react from 16.9.20 to 16.9.21 (#263) Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.20 to 16.9.21. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8d88b61bc..b4554a827 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2591,9 +2591,9 @@ "dev": true }, "@types/react": { - "version": "16.9.20", - "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.20.tgz", - "integrity": "sha512-jRrWBr25zzEVNa4QbESKLPluvrZ3W6Odfwrfe2F5vzbrDuNvlpnHa/xbZcXg8RH5D4CE181J5VxrRrLvzRH+5A==", + "version": "16.9.21", + "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.21.tgz", + "integrity": "sha512-xpmenCMeBwJRct8vmIfczlgdOXWIWASoOM857kxKfHlVQvDltRh7IFRVfGws79iO2jkNPXOeWREyKoClzhBaQA==", "dev": true, "requires": { "@types/prop-types": "*", diff --git a/package.json b/package.json index 03f820920..4117876e6 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "@types/jszip": "^3.1.7", "@types/mocha": "^7.0.1", "@types/openpgp": "^4.4.8", - "@types/react": "^16.9.20", + "@types/react": "^16.9.21", "@types/react-dom": "^16.9.5", "@types/sanitize-html": "^1.20.2", "@types/smoothscroll-polyfill": "^0.3.1", From 90b5ae053409543da910090b051eaccb975deedf Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 20 Feb 2020 22:20:48 +0900 Subject: [PATCH 15/19] build(deps): bump vuetify from 2.2.12 to 2.2.14 (#264) Bumps [vuetify](https://github.com/vuetifyjs/vuetify/tree/HEAD/packages/vuetify) from 2.2.12 to 2.2.14. - [Release notes](https://github.com/vuetifyjs/vuetify/releases) - [Commits](https://github.com/vuetifyjs/vuetify/commits/v2.2.14/packages/vuetify) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index b4554a827..a1d3285ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24199,9 +24199,9 @@ "dev": true }, "vuetify": { - "version": "2.2.12", - "resolved": "https://registry.npmjs.org/vuetify/-/vuetify-2.2.12.tgz", - "integrity": "sha512-rtNug+2I45p/ahEeY54nWM/8UyJ1LouS5CpwWjb6JaaMusE3GHD3FBwvb/FMyR+vWZkCxJpLIRfRT0cRpr/QJA==" + "version": "2.2.14", + "resolved": "https://registry.npmjs.org/vuetify/-/vuetify-2.2.14.tgz", + "integrity": "sha512-oaWbhWe6qilAhMMzmqZ+EnSht1UsP9EyW1gKwAipl+89Bwb0ZFjcJBNXNoVJ6INN3vP9cVrLsQjbxHOMFYrI/Q==" }, "vuetify-loader": { "version": "1.4.3", diff --git a/package.json b/package.json index 4117876e6..e306bdf36 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "vue-class-component": "^7.2.3", "vue-filepond": "^6.0.2", "vue-property-decorator": "^8.4.0", - "vuetify": "^2.2.12" + "vuetify": "^2.2.14" }, "devDependencies": { "@mdi/js": "^4.9.95", From a3fe4cd600401136cd0ee05ad53fc392641a9ae1 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Fri, 21 Feb 2020 12:40:23 +0900 Subject: [PATCH 16/19] build(deps-dev): bump typescript from 3.7.5 to 3.8.2 (#265) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.7.5 to 3.8.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/commits) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index a1d3285ee..d34ccd0ee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23624,9 +23624,9 @@ } }, "typescript": { - "version": "3.7.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.5.tgz", - "integrity": "sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==", + "version": "3.8.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.8.2.tgz", + "integrity": "sha512-EgOVgL/4xfVrCMbhYKUQTdF37SQn4Iw73H5BgCrF1Abdun7Kwy/QZsE/ssAy0y4LxBbvua3PIbFsbRczWWnDdQ==", "dev": true }, "uglify-js": { diff --git a/package.json b/package.json index e306bdf36..ecd0cc8e4 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "react": "^16.12.0", "sass": "^1.25.0", "sass-loader": "^8.0.2", - "typescript": "~3.7.5", + "typescript": "~3.8.2", "vue-cli-plugin-vuetify": "^2.0.5", "vue-template-compiler": "^2.6.11", "vuetify-loader": "^1.4.3", From 88e53a402320afd6ac7b9384e03ce9c0f5d4c85f Mon Sep 17 00:00:00 2001 From: Ryo Ota Date: Fri, 21 Feb 2020 12:57:41 +0900 Subject: [PATCH 17/19] refactor: use type-only import --- src/components/DataDownloader.vue | 2 +- src/components/DataUploader.vue | 2 +- src/components/DataViewer.vue | 2 +- src/components/PipingUI.vue | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/DataDownloader.vue b/src/components/DataDownloader.vue index f386838e9..1b22526ab 100644 --- a/src/components/DataDownloader.vue +++ b/src/components/DataDownloader.vue @@ -43,7 +43,7 @@ import {mdiAlert, mdiChevronDown} from "@mdi/js"; import {globalStore} from "@/vue-global"; import {strings} from "@/strings"; import * as pipingUiUtils from "@/piping-ui-utils"; -import {Protection, VerificationStep} from "@/datatypes"; +import type {Protection, VerificationStep} from "@/datatypes"; import VerificationCode from "@/components/VerificationCode.vue"; diff --git a/src/components/DataUploader.vue b/src/components/DataUploader.vue index f36b2bb7c..771adf361 100644 --- a/src/components/DataUploader.vue +++ b/src/components/DataUploader.vue @@ -111,7 +111,7 @@ import {globalStore} from "@/vue-global"; import {strings} from "@/strings"; import {mdiAlert, mdiCancel, mdiCheck, mdiChevronDown, mdiCloseCircle} from "@mdi/js"; import AsyncComputed from 'vue-async-computed-decorator'; -import {Protection, VerificationStep, VerifiedParcel} from "@/datatypes"; +import type {Protection, VerificationStep, VerifiedParcel} from "@/datatypes"; import VerificationCode from "@/components/VerificationCode.vue"; diff --git a/src/components/DataViewer.vue b/src/components/DataViewer.vue index 85b10445c..dae292de3 100644 --- a/src/components/DataViewer.vue +++ b/src/components/DataViewer.vue @@ -173,7 +173,7 @@ import {strings} from "@/strings"; import * as utils from '@/utils'; import * as pipingUiUtils from "@/piping-ui-utils"; import AsyncComputed from 'vue-async-computed-decorator'; -import {Protection, VerificationStep, VerifiedParcel, verifiedParcelFormat} from "@/datatypes"; +import type {Protection, VerificationStep, VerifiedParcel, verifiedParcelFormat} from "@/datatypes"; import VerificationCode from "@/components/VerificationCode.vue"; import {BlobUrlManager} from "@/blob-url-manager"; diff --git a/src/components/PipingUI.vue b/src/components/PipingUI.vue index ddd96906d..4e724e29c 100644 --- a/src/components/PipingUI.vue +++ b/src/components/PipingUI.vue @@ -214,7 +214,7 @@ import {globalStore} from "@/vue-global"; import {strings} from "@/strings"; import {File as FilePondFile} from "filepond"; import {baseAndExt} from "@/utils"; -import {Protection} from "@/datatypes"; +import type {Protection} from "@/datatypes"; import buildConstants from "@/build-constants"; (async () => require('filepond/dist/filepond.min.css'))(); From b1398f729ad430caeb3f3d29b4a1611d2ceea98a Mon Sep 17 00:00:00 2001 From: Ryo Ota Date: Fri, 21 Feb 2020 13:04:40 +0900 Subject: [PATCH 18/19] refactor: improve typing of symbol in memorizeFunc() --- src/memorize-func.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/memorize-func.ts b/src/memorize-func.ts index a3afb9cbd..23b661801 100644 --- a/src/memorize-func.ts +++ b/src/memorize-func.ts @@ -1,11 +1,11 @@ -const NOT_MEMORIZED: Symbol = Symbol('NOT_MEMORIZED'); +const NOT_MEMORIZED: unique symbol = Symbol('NOT_MEMORIZED'); export function memorizeFunc(func: () => T) { - let memo: T | Symbol = NOT_MEMORIZED; + let memo: T | typeof NOT_MEMORIZED = NOT_MEMORIZED; return (): T => { // If no memo if (memo === NOT_MEMORIZED) { memo = func(); } - return memo as T; + return memo; }; } From 522841de5fbc0441cdda007560c67af51426303c Mon Sep 17 00:00:00 2001 From: Ryo Ota Date: Fri, 21 Feb 2020 13:10:27 +0900 Subject: [PATCH 19/19] bump: 0.6.6 --- CHANGELOG.md | 9 ++++++++- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f99e1acd4..5a3bc0d8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) ## [Unreleased] +## [0.6.6] - 2020-02-21 +### Changed +- Update dependencies +- Improve Blob URL management in DataViewer +- Use type-only import + ## [0.6.5] - 2020-02-13 ### Changed - Update dependencies @@ -249,7 +255,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) ### Added - First release -[Unreleased]: https://github.com/nwtgck/piping-ui-web/compare/v0.6.5...HEAD +[Unreleased]: https://github.com/nwtgck/piping-ui-web/compare/v0.6.6...HEAD +[0.6.6]: https://github.com/nwtgck/piping-ui-web/compare/v0.6.5...v0.6.6 [0.6.5]: https://github.com/nwtgck/piping-ui-web/compare/v0.6.4...v0.6.5 [0.6.4]: https://github.com/nwtgck/piping-ui-web/compare/v0.6.3...v0.6.4 [0.6.3]: https://github.com/nwtgck/piping-ui-web/compare/v0.6.2...v0.6.3 diff --git a/package-lock.json b/package-lock.json index d34ccd0ee..64e9ac126 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "piping-ui", - "version": "0.6.6-SNAPSHOT", + "version": "0.6.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index ecd0cc8e4..6540a5493 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "piping-ui", - "version": "0.6.6-SNAPSHOT", + "version": "0.6.6", "private": true, "author": "Ryo Ota (https://github.com/nwtgck)", "scripts": {