From cc9c401cb9d9f87fe3ebc577c63683acff29e777 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 10 Jul 2020 00:25:43 +0000 Subject: [PATCH] fix: package.json & package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-I18NEXT-575536 --- package-lock.json | 23 +++++++++++++++++++---- package.json | 2 +- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index cdea760c8..e09bb374e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6032,11 +6032,26 @@ } }, "i18next": { - "version": "17.0.4", - "resolved": "https://registry.npmjs.org/i18next/-/i18next-17.0.4.tgz", - "integrity": "sha512-+lwmv3FT8Sv/HwVPjkR6rtEFhgOqt9L/CTehzyxvL/NdkeUYbFZJfE57MsBToB6LFWg3d0sZJIVgYqCpWzUyLQ==", + "version": "19.5.5", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-19.5.5.tgz", + "integrity": "sha512-0vG/cdqA83RxEJfb07zEm1dl5akQono0vs1I+p0r6l7NwnNUIN4JIB+dYoyWlIEJ30/zNTZGnQVHBqXbEwA2gA==", "requires": { - "@babel/runtime": "^7.3.1" + "@babel/runtime": "^7.10.1" + }, + "dependencies": { + "@babel/runtime": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.10.4.tgz", + "integrity": "sha512-UpTN5yUJr9b4EX2CnGNWIvER7Ab83ibv0pcvvHc4UOdrBI5jb8bj+32cCwPX6xu0mt2daFNjYhoi+X7beH0RSw==", + "requires": { + "regenerator-runtime": "^0.13.4" + } + }, + "regenerator-runtime": { + "version": "0.13.5", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz", + "integrity": "sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA==" + } } }, "i18next-electron-language-detector": { diff --git a/package.json b/package.json index 9096fff5e..87d0ce06b 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "fix-path": "^2.1.0", "fs-extra": "^8.1.0", "go-ipfs-dep": "0.4.21", - "i18next": "^17.0.4", + "i18next": "^19.5.5", "i18next-electron-language-detector": "0.0.10", "i18next-icu": "^1.1.2", "i18next-node-fs-backend": "^2.1.3",