From 742ad083e51cca7b912f4712c0154be968b933fb Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Thu, 3 Feb 2022 12:26:50 +0800 Subject: [PATCH] Fix security vulnerabilities --- package-lock.json | 126 +++++++++++----------------------------------- package.json | 2 +- 2 files changed, 30 insertions(+), 98 deletions(-) diff --git a/package-lock.json b/package-lock.json index ccbbfded..f533145f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -52,7 +52,7 @@ "timezones-list": "~3.0.1", "v-pagination-3": "~0.1.7", "vue": "next", - "vue-chart-3": "~0.5.11", + "vue-chart-3": "3.0.9", "vue-confirm-dialog": "~1.0.2", "vue-contenteditable": "~3.0.4", "vue-i18n": "~9.1.9", @@ -10111,9 +10111,9 @@ "integrity": "sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA==" }, "node_modules/nanoid": { - "version": "3.1.30", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.30.tgz", - "integrity": "sha512-zJpuPDwOv8D2zq2WRoMe1HsfZthVewpel9CAvTfc/2mBD1uUT/agc5f7GHGWXlYkFvi1mVxe4IjvP2HNrop7nQ==", + "version": "3.1.31", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.31.tgz", + "integrity": "sha512-ZivnJm0o9bb13p2Ot5CpgC2rQdzB9Uxm/mFZweqm5eMViqOJe3PV6LU2E30SiLgheesmcPrjquqraoolONSA0A==", "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -13072,26 +13072,19 @@ } }, "node_modules/vue-chart-3": { - "version": "0.5.11", - "resolved": "https://registry.npmjs.org/vue-chart-3/-/vue-chart-3-0.5.11.tgz", - "integrity": "sha512-sYUBU0N9V9a1Bv9kVIgLkQDWdKxd61Z+5+mvJaXC6lTZvvZ2BShEThD8NkSxtwbpqNLxdKZ+ORlUEEnsNnpkDQ==", + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/vue-chart-3/-/vue-chart-3-3.0.9.tgz", + "integrity": "sha512-RyVaOhSem0v4v645zAkdi1mgZjuD3KMQr11KrEZGFupoHzV2qn/sBpEDvplR9i57YnRxZ3KDnKqw/1rx2CkOZA==", "dependencies": { - "@vue/runtime-core": "3.2.20", - "@vue/runtime-dom": "3.2.20", - "csstype": "3.0.9", + "@vue/runtime-core": "latest", + "@vue/runtime-dom": "latest", + "csstype": "3.0.10", "lodash": "latest", - "nanoid": "3.1.30", - "vue-demi": "^0.10.1" + "nanoid": "3.1.31" }, "peerDependencies": { - "@vue/composition-api": "^1.0.4", - "chart.js": "^3.1.0", - "vue": "^2.0.0 || >=3.0.0-rc.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - } + "chart.js": "=> ^3.1.0", + "vue": ">= 3" } }, "node_modules/vue-chart-3/node_modules/@vue/reactivity": { @@ -13111,30 +13104,15 @@ "@vue/shared": "3.2.20" } }, - "node_modules/vue-chart-3/node_modules/@vue/runtime-dom": { - "version": "3.2.20", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.20.tgz", - "integrity": "sha512-4TCvZMLhESWCFHFYgqN4QmMA/onnINAlUovhopjlS8ST27G1A8Z0tyxPzLoXLa+b5JrOpbMPheEMPvdKExTJig==", - "dependencies": { - "@vue/runtime-core": "3.2.20", - "@vue/shared": "3.2.20", - "csstype": "^2.6.8" - } - }, - "node_modules/vue-chart-3/node_modules/@vue/runtime-dom/node_modules/csstype": { - "version": "2.6.19", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.19.tgz", - "integrity": "sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ==" - }, "node_modules/vue-chart-3/node_modules/@vue/shared": { "version": "3.2.20", "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.20.tgz", "integrity": "sha512-FbpX+hD5BvXCQerEYO7jtAGHlhAkhTQ4KIV73kmLWNlawWhTiVuQxizgVb0BOkX5oG9cIRZ42EG++d/k/Efp0w==" }, "node_modules/vue-chart-3/node_modules/csstype": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.9.tgz", - "integrity": "sha512-rpw6JPxK6Rfg1zLOYCSwle2GFOOsnjmDYDaBwEcwoOg4qlsIVCN789VkBZDJAGi4T07gI4YSutR43t9Zz4Lzuw==" + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.10.tgz", + "integrity": "sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA==" }, "node_modules/vue-confirm-dialog": { "version": "1.0.2", @@ -13152,28 +13130,6 @@ "vue": "^3.0.0" } }, - "node_modules/vue-demi": { - "version": "0.10.1", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.10.1.tgz", - "integrity": "sha512-L6Oi+BvmMv6YXvqv5rJNCFHEKSVu7llpWWJczqmAQYOdmPPw5PNYoz1KKS//Fxhi+4QP64dsPjtmvnYGo1jemA==", - "hasInstallScript": true, - "bin": { - "vue-demi-fix": "bin/vue-demi-fix.js", - "vue-demi-switch": "bin/vue-demi-switch.js" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "@vue/composition-api": "^1.0.0-rc.1", - "vue": "^2.6.0 || >=3.0.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - } - } - }, "node_modules/vue-eslint-parser": { "version": "7.11.0", "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-7.11.0.tgz", @@ -21281,9 +21237,9 @@ "integrity": "sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA==" }, "nanoid": { - "version": "3.1.30", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.30.tgz", - "integrity": "sha512-zJpuPDwOv8D2zq2WRoMe1HsfZthVewpel9CAvTfc/2mBD1uUT/agc5f7GHGWXlYkFvi1mVxe4IjvP2HNrop7nQ==" + "version": "3.1.31", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.31.tgz", + "integrity": "sha512-ZivnJm0o9bb13p2Ot5CpgC2rQdzB9Uxm/mFZweqm5eMViqOJe3PV6LU2E30SiLgheesmcPrjquqraoolONSA0A==" }, "natural-compare": { "version": "1.4.0", @@ -23535,16 +23491,15 @@ } }, "vue-chart-3": { - "version": "0.5.11", - "resolved": "https://registry.npmjs.org/vue-chart-3/-/vue-chart-3-0.5.11.tgz", - "integrity": "sha512-sYUBU0N9V9a1Bv9kVIgLkQDWdKxd61Z+5+mvJaXC6lTZvvZ2BShEThD8NkSxtwbpqNLxdKZ+ORlUEEnsNnpkDQ==", + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/vue-chart-3/-/vue-chart-3-3.0.9.tgz", + "integrity": "sha512-RyVaOhSem0v4v645zAkdi1mgZjuD3KMQr11KrEZGFupoHzV2qn/sBpEDvplR9i57YnRxZ3KDnKqw/1rx2CkOZA==", "requires": { - "@vue/runtime-core": "3.2.20", - "@vue/runtime-dom": "3.2.20", - "csstype": "3.0.9", + "@vue/runtime-core": "latest", + "@vue/runtime-dom": "latest", + "csstype": "3.0.10", "lodash": "latest", - "nanoid": "3.1.30", - "vue-demi": "^0.10.1" + "nanoid": "3.1.31" }, "dependencies": { "@vue/reactivity": { @@ -23564,32 +23519,15 @@ "@vue/shared": "3.2.20" } }, - "@vue/runtime-dom": { - "version": "3.2.20", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.20.tgz", - "integrity": "sha512-4TCvZMLhESWCFHFYgqN4QmMA/onnINAlUovhopjlS8ST27G1A8Z0tyxPzLoXLa+b5JrOpbMPheEMPvdKExTJig==", - "requires": { - "@vue/runtime-core": "3.2.20", - "@vue/shared": "3.2.20", - "csstype": "^2.6.8" - }, - "dependencies": { - "csstype": { - "version": "2.6.19", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.19.tgz", - "integrity": "sha512-ZVxXaNy28/k3kJg0Fou5MiYpp88j7H9hLZp8PDC3jV0WFjfH5E9xHb56L0W59cPbKbcHXeP4qyT8PrHp8t6LcQ==" - } - } - }, "@vue/shared": { "version": "3.2.20", "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.20.tgz", "integrity": "sha512-FbpX+hD5BvXCQerEYO7jtAGHlhAkhTQ4KIV73kmLWNlawWhTiVuQxizgVb0BOkX5oG9cIRZ42EG++d/k/Efp0w==" }, "csstype": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.9.tgz", - "integrity": "sha512-rpw6JPxK6Rfg1zLOYCSwle2GFOOsnjmDYDaBwEcwoOg4qlsIVCN789VkBZDJAGi4T07gI4YSutR43t9Zz4Lzuw==" + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.10.tgz", + "integrity": "sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA==" } } }, @@ -23605,12 +23543,6 @@ "integrity": "sha512-CmtqT4zHQwLoJEyNVaXUjjUFPUVYlXXBHfSbRCHCUjODMqrn6L293LM1nc1ELx8epitZZvecTfIqOLlSzB3d+w==", "requires": {} }, - "vue-demi": { - "version": "0.10.1", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.10.1.tgz", - "integrity": "sha512-L6Oi+BvmMv6YXvqv5rJNCFHEKSVu7llpWWJczqmAQYOdmPPw5PNYoz1KKS//Fxhi+4QP64dsPjtmvnYGo1jemA==", - "requires": {} - }, "vue-eslint-parser": { "version": "7.11.0", "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-7.11.0.tgz", diff --git a/package.json b/package.json index aa682cff..0f617234 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "timezones-list": "~3.0.1", "v-pagination-3": "~0.1.7", "vue": "next", - "vue-chart-3": "~0.5.11", + "vue-chart-3": "3.0.9", "vue-confirm-dialog": "~1.0.2", "vue-contenteditable": "~3.0.4", "vue-i18n": "~9.1.9",