From 09c3e4e519a4417176f5dc063c1640b0b5a6407a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 25 Nov 2019 03:40:44 +0000 Subject: [PATCH] feat: upgrade date-fns from 1.29.0 to 2.7.0 Snyk has created this PR to upgrade date-fns from 1.29.0 to 2.7.0. See this package in NPM: https://www.npmjs.com/package/date-fns See this project in Snyk: https://app.snyk.io/org/ajesse11x/project/5a9524c3-cb70-488a-b6ee-5429aace3ee1?utm_source=github&utm_medium=upgrade-pr --- api-server/package-lock.json | 47 +++++++++++++++++++++++++----------- api-server/package.json | 2 +- 2 files changed, 34 insertions(+), 15 deletions(-) diff --git a/api-server/package-lock.json b/api-server/package-lock.json index 26af985dff526d..e6191466b38fee 100644 --- a/api-server/package-lock.json +++ b/api-server/package-lock.json @@ -3222,9 +3222,9 @@ } }, "date-fns": { - "version": "1.29.0", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-1.29.0.tgz", - "integrity": "sha512-lbTXWZ6M20cWH8N9S6afb0SBm6tMk+uUg6z3MqHPKE9atmsY3kJkTm8vKe93izJ2B2+q5MV990sM2CHgtAZaOw==" + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.7.0.tgz", + "integrity": "sha512-wxYp2PGoUDN5ZEACc61aOtYFvSsJUylIvCjpjDOqM1UDaKIIuMJ9fAnMYFHV3TQaDpfTVxhwNK/GiCaHKuemTA==" }, "debug": { "version": "2.6.9", @@ -4942,7 +4942,8 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "aproba": { "version": "1.2.0", @@ -4963,12 +4964,14 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, + "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -4983,17 +4986,20 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "core-util-is": { "version": "1.0.2", @@ -5110,7 +5116,8 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "ini": { "version": "1.3.5", @@ -5122,6 +5129,7 @@ "version": "1.0.0", "bundled": true, "dev": true, + "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -5136,6 +5144,7 @@ "version": "3.0.4", "bundled": true, "dev": true, + "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -5143,12 +5152,14 @@ "minimist": { "version": "0.0.8", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "minipass": { "version": "2.2.4", "bundled": true, "dev": true, + "optional": true, "requires": { "safe-buffer": "^5.1.1", "yallist": "^3.0.0" @@ -5167,6 +5178,7 @@ "version": "0.5.1", "bundled": true, "dev": true, + "optional": true, "requires": { "minimist": "0.0.8" } @@ -5247,7 +5259,8 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "object-assign": { "version": "4.1.1", @@ -5259,6 +5272,7 @@ "version": "1.4.0", "bundled": true, "dev": true, + "optional": true, "requires": { "wrappy": "1" } @@ -5344,7 +5358,8 @@ "safe-buffer": { "version": "5.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "safer-buffer": { "version": "2.1.2", @@ -5380,6 +5395,7 @@ "version": "1.0.2", "bundled": true, "dev": true, + "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -5399,6 +5415,7 @@ "version": "3.0.1", "bundled": true, "dev": true, + "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -5442,12 +5459,14 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "yallist": { "version": "3.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true } } }, diff --git a/api-server/package.json b/api-server/package.json index 308ba07ef57aed..741a313351bc7c 100644 --- a/api-server/package.json +++ b/api-server/package.json @@ -33,7 +33,7 @@ "cors": "^2.8.4", "csurf": "^1.8.3", "d3": "~3.5.17", - "date-fns": "^1.29.0", + "date-fns": "^2.7.0", "debug": "^2.2.0", "dedent": "~0.7.0", "dotenv": "^6.0.0",