From f81b61f05500a62fd0dde237a1248b3d8aa34bad Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 Apr 2022 09:13:10 +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-MOMENT-2440688 --- package-lock.json | 19 +++++++++++-------- package.json | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 66fa667d..6ae14631 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "foreldrepengeoversikt", "version": "1.0.0", "license": "MIT", "dependencies": { @@ -24,7 +25,7 @@ "intl-locales-supported": "^1.8.12", "loadash": "^1.0.0", "lodash.throttle": "^4.1.1", - "moment": "^2.27.0", + "moment": "^2.29.2", "mustache-express": "^1.3.0", "nav-frontend-alertstriper": "^3.0.18", "nav-frontend-chevron": "^1.0.13", @@ -14346,9 +14347,9 @@ } }, "node_modules/moment": { - "version": "2.29.1", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz", - "integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==", + "version": "2.29.2", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.2.tgz", + "integrity": "sha512-UgzG4rvxYpN15jgCmVJwac49h9ly9NurikMWGPdVxm8GZD6XjkKPxDTjQQ43gtGgnV3X0cAyWDdP2Wexoquifg==", "engines": { "node": "*" } @@ -33503,9 +33504,9 @@ } }, "moment": { - "version": "2.29.1", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz", - "integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==" + "version": "2.29.2", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.2.tgz", + "integrity": "sha512-UgzG4rvxYpN15jgCmVJwac49h9ly9NurikMWGPdVxm8GZD6XjkKPxDTjQQ43gtGgnV3X0cAyWDdP2Wexoquifg==" }, "moo": { "version": "0.5.1", @@ -33763,7 +33764,9 @@ "version": "1.0.19", "resolved": "https://registry.npmjs.org/nav-frontend-js-utils/-/nav-frontend-js-utils-1.0.19.tgz", "integrity": "sha512-Z+ZGNcghkbx0VT0AN3H5ftCWWRMpXGcMI2JnMQJGzS8CkbjIEU8nkxsU63tyzq/n1BK69z1xT/1Vju6DRROidQ==", - "requires": {} + "requires": { + "lodash.throttle": "^4.1.1" + } }, "nav-frontend-knapper": { "version": "2.1.4", diff --git a/package.json b/package.json index 0b4c017d..1b5aa6bd 100644 --- a/package.json +++ b/package.json @@ -125,7 +125,7 @@ "intl-locales-supported": "^1.8.12", "loadash": "^1.0.0", "lodash.throttle": "^4.1.1", - "moment": "^2.27.0", + "moment": "^2.29.2", "mustache-express": "^1.3.0", "nav-frontend-alertstriper": "^3.0.18", "nav-frontend-chevron": "^1.0.13",