From 067225bfa966e395e99d60135bd9ac62dae93115 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 14 Sep 2024 10:32:33 +0000 Subject: [PATCH] fix: upgrade multiple dependencies with Snyk Snyk has created this PR to upgrade: - @date-io/date-fns from 2.10.0 to 2.17.0. See this package in npm: https://www.npmjs.com/package/@date-io/date-fns - @date-io/moment from 2.10.0 to 2.17.0. See this package in npm: https://www.npmjs.com/package/@date-io/moment See this project in Snyk: https://app.snyk.io/org/axrk/project/5e62d802-d6a9-4326-bf97-f8648d119bc3?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 65 ++++++++++++++++++++++++++++++----------------- package.json | 4 +-- 2 files changed, 43 insertions(+), 26 deletions(-) diff --git a/package-lock.json b/package-lock.json index fe23d6488..111dab43d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,37 +9,50 @@ "version": "0.0.1", "license": "Apache-2.0", "dependencies": { - "@date-io/date-fns": "2.10.0", - "@date-io/moment": "2.10.0", + "@date-io/date-fns": "^2.17.0", + "@date-io/moment": "^2.17.0", "commander": "2.20.3", "lodash": "4.17.21" } }, "node_modules/@date-io/core": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/@date-io/core/-/core-2.14.0.tgz", - "integrity": "sha512-qFN64hiFjmlDHJhu+9xMkdfDG2jLsggNxKXglnekUpXSq8faiqZgtHm2lsHCUuaPDTV6wuXHcCl8J1GQ5wLmPw==" + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/@date-io/core/-/core-2.17.0.tgz", + "integrity": "sha512-+EQE8xZhRM/hsY0CDTVyayMDDY5ihc4MqXCrPxooKw19yAzUIC6uUqsZeaOFNL9YKTNxYKrJP5DFgE8o5xRCOw==", + "license": "MIT" }, "node_modules/@date-io/date-fns": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@date-io/date-fns/-/date-fns-2.10.0.tgz", - "integrity": "sha512-PxskpYmDAoL4BBGanoVD4SwhpMNFcVZFB8V2W7KATxgQ4m6Koy5FK9Qe1nKp8j9BERW310GT3sdERdNCXq8vuQ==", + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/@date-io/date-fns/-/date-fns-2.17.0.tgz", + "integrity": "sha512-L0hWZ/mTpy3Gx/xXJ5tq5CzHo0L7ry6KEO9/w/JWiFWFLZgiNVo3ex92gOl3zmzjHqY/3Ev+5sehAr8UnGLEng==", + "license": "MIT", "dependencies": { - "@date-io/core": "^2.10.0" + "@date-io/core": "^2.17.0" }, "peerDependencies": { "date-fns": "^2.0.0" + }, + "peerDependenciesMeta": { + "date-fns": { + "optional": true + } } }, "node_modules/@date-io/moment": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@date-io/moment/-/moment-2.10.0.tgz", - "integrity": "sha512-RvmREFZbMBBUUPU8YqMjSkYewUk6rfxfnw5bR1mFtjyiSibfq2mR30ITo6lnqKk9SvpnorBI8fnmOu+g0hZC6g==", + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/@date-io/moment/-/moment-2.17.0.tgz", + "integrity": "sha512-e4nb4CDZU4k0WRVhz1Wvl7d+hFsedObSauDHKtZwU9kt7gdYEAzKgnrSCTHsEaXrDumdrkCYTeZ0Tmyk7uV4tw==", + "license": "MIT", "dependencies": { - "@date-io/core": "^2.10.0" + "@date-io/core": "^2.17.0" }, "peerDependencies": { "moment": "^2.24.0" + }, + "peerDependenciesMeta": { + "moment": { + "optional": true + } } }, "node_modules/commander": { @@ -51,6 +64,7 @@ "version": "2.28.0", "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.28.0.tgz", "integrity": "sha512-8d35hViGYx/QH0icHYCeLmsLmMUheMmTyV9Fcm6gvNwdw31yXXH+O85sOBJ+OLnLQMKZowvpKb6FgMIQjcpvQw==", + "optional": true, "peer": true, "engines": { "node": ">=0.11" @@ -69,6 +83,7 @@ "version": "2.29.4", "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==", + "optional": true, "peer": true, "engines": { "node": "*" @@ -77,24 +92,24 @@ }, "dependencies": { "@date-io/core": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/@date-io/core/-/core-2.14.0.tgz", - "integrity": "sha512-qFN64hiFjmlDHJhu+9xMkdfDG2jLsggNxKXglnekUpXSq8faiqZgtHm2lsHCUuaPDTV6wuXHcCl8J1GQ5wLmPw==" + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/@date-io/core/-/core-2.17.0.tgz", + "integrity": "sha512-+EQE8xZhRM/hsY0CDTVyayMDDY5ihc4MqXCrPxooKw19yAzUIC6uUqsZeaOFNL9YKTNxYKrJP5DFgE8o5xRCOw==" }, "@date-io/date-fns": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@date-io/date-fns/-/date-fns-2.10.0.tgz", - "integrity": "sha512-PxskpYmDAoL4BBGanoVD4SwhpMNFcVZFB8V2W7KATxgQ4m6Koy5FK9Qe1nKp8j9BERW310GT3sdERdNCXq8vuQ==", + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/@date-io/date-fns/-/date-fns-2.17.0.tgz", + "integrity": "sha512-L0hWZ/mTpy3Gx/xXJ5tq5CzHo0L7ry6KEO9/w/JWiFWFLZgiNVo3ex92gOl3zmzjHqY/3Ev+5sehAr8UnGLEng==", "requires": { - "@date-io/core": "^2.10.0" + "@date-io/core": "^2.17.0" } }, "@date-io/moment": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@date-io/moment/-/moment-2.10.0.tgz", - "integrity": "sha512-RvmREFZbMBBUUPU8YqMjSkYewUk6rfxfnw5bR1mFtjyiSibfq2mR30ITo6lnqKk9SvpnorBI8fnmOu+g0hZC6g==", + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/@date-io/moment/-/moment-2.17.0.tgz", + "integrity": "sha512-e4nb4CDZU4k0WRVhz1Wvl7d+hFsedObSauDHKtZwU9kt7gdYEAzKgnrSCTHsEaXrDumdrkCYTeZ0Tmyk7uV4tw==", "requires": { - "@date-io/core": "^2.10.0" + "@date-io/core": "^2.17.0" } }, "commander": { @@ -106,6 +121,7 @@ "version": "2.28.0", "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.28.0.tgz", "integrity": "sha512-8d35hViGYx/QH0icHYCeLmsLmMUheMmTyV9Fcm6gvNwdw31yXXH+O85sOBJ+OLnLQMKZowvpKb6FgMIQjcpvQw==", + "optional": true, "peer": true }, "lodash": { @@ -117,6 +133,7 @@ "version": "2.29.4", "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.4.tgz", "integrity": "sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==", + "optional": true, "peer": true } } diff --git a/package.json b/package.json index 18146d15d..0228cfef0 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "dependencies": { "commander": "2.20.3", "lodash": "4.17.21", - "@date-io/date-fns": "2.10.0", - "@date-io/moment": "2.10.0" + "@date-io/date-fns": "2.17.0", + "@date-io/moment": "2.17.0" } }