From b6713651f194fde8861b65d31de4b5703904272f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 13:15:05 +0000 Subject: [PATCH 1/2] build(deps): bump cron from 2.4.4 to 3.1.6 Bumps [cron](https://github.com/kelektiv/node-cron) from 2.4.4 to 3.1.6. - [Release notes](https://github.com/kelektiv/node-cron/releases) - [Changelog](https://github.com/kelektiv/node-cron/blob/main/CHANGELOG.md) - [Commits](https://github.com/kelektiv/node-cron/compare/v2.4.4...v3.1.6) --- updated-dependencies: - dependency-name: cron dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- yarn.lock | 15 ++++++++++----- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 3dffcdce..28ba5833 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "@nestjs/typeorm": "^10.0.0", "axios": "^1.6.2", "bowser": "^2.11.0", - "cron": "^2.4.4", + "cron": "^3.1.6", "cron-validator": "^1.3.1", "crypto": "^1.0.1", "fs": "^0.0.2", diff --git a/yarn.lock b/yarn.lock index d07cf3f2..41b61c9c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4395,13 +4395,13 @@ cron@2.4.3: "@types/luxon" "~3.3.0" luxon "~3.3.0" -cron@^2.4.4: - version "2.4.4" - resolved "https://registry.yarnpkg.com/cron/-/cron-2.4.4.tgz#988c1757b3f288d1dfcc360ee6d80087448916dc" - integrity sha512-MHlPImXJj3K7x7lyUHjtKEOl69CSlTOWxS89jiFgNkzXfvhVjhMz/nc7/EIfN9vgooZp8XTtXJ1FREdmbyXOiQ== +cron@^3.1.6: + version "3.1.6" + resolved "https://registry.yarnpkg.com/cron/-/cron-3.1.6.tgz#e7e1798a468e017c8d31459ecd7c2d088f97346c" + integrity sha512-cvFiQCeVzsA+QPM6fhjBtlKGij7tLLISnTSvFxVdnFGLdz+ZdXN37kNe0i2gefmdD17XuZA6n2uPVwzl4FxW/w== dependencies: "@types/luxon" "~3.3.0" - luxon "~3.3.0" + luxon "~3.4.0" cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" @@ -7739,6 +7739,11 @@ luxon@~3.3.0: resolved "https://registry.yarnpkg.com/luxon/-/luxon-3.3.0.tgz#d73ab5b5d2b49a461c47cedbc7e73309b4805b48" integrity sha512-An0UCfG/rSiqtAIiBPO0Y9/zAnHUZxAMiCpTd5h2smgsj7GGmcenvrvww2cqNA8/4A5ZrD1gJpHN2mIHZQF+Mg== +luxon@~3.4.0: + version "3.4.4" + resolved "https://registry.yarnpkg.com/luxon/-/luxon-3.4.4.tgz#cf20dc27dc532ba41a169c43fdcc0063601577af" + integrity sha512-zobTr7akeGHnv7eBOXcRgMeCP6+uyYsczwmeRCauvpvaAltgNyTbLH/+VaEAPUeWBT+1GuNmz4wC/6jtQzbbVA== + macos-release@^2.5.0: version "2.5.1" resolved "https://registry.yarnpkg.com/macos-release/-/macos-release-2.5.1.tgz#bccac4a8f7b93163a8d163b8ebf385b3c5f55bf9" From 3a1bc5761ac8533cb309b463f7db1a1d635c1f55 Mon Sep 17 00:00:00 2001 From: jorenn92 Date: Mon, 8 Jan 2024 14:43:14 +0100 Subject: [PATCH 2/2] build: revert cron to 3.1.3. Nestjs/scheduly is currently incompatible with versions > 3.1.3 --- package.json | 6 +++--- yarn.lock | 28 ++++++++++++++-------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index 28ba5833..9cd55658 100644 --- a/package.json +++ b/package.json @@ -34,11 +34,11 @@ "@nestjs/common": "^10.2.7", "@nestjs/core": "^10.2.7", "@nestjs/platform-express": "^10.2.7", - "@nestjs/schedule": "^3.0.4", + "@nestjs/schedule": "^4.0.0", "@nestjs/typeorm": "^10.0.0", "axios": "^1.6.2", "bowser": "^2.11.0", - "cron": "^3.1.6", + "cron": "^3.1.3", "cron-validator": "^1.3.1", "crypto": "^1.0.1", "fs": "^0.0.2", @@ -166,4 +166,4 @@ "@semantic-release/github" ] } -} +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 41b61c9c..085b37c3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1598,12 +1598,12 @@ multer "1.4.4-lts.1" tslib "2.6.2" -"@nestjs/schedule@^3.0.4": - version "3.0.4" - resolved "https://registry.yarnpkg.com/@nestjs/schedule/-/schedule-3.0.4.tgz#c2a3d96bb2cb7d562349f030823080b8513b34c3" - integrity sha512-uFJpuZsXfpvgx2y7/KrIZW9e1L68TLiwRodZ6+Gc8xqQiHSUzAVn+9F4YMxWFlHITZvvkjWziUFgRNCitDcTZQ== +"@nestjs/schedule@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@nestjs/schedule/-/schedule-4.0.0.tgz#522fa0c79a2b44a66aab16a46bdf4c11ae73f3c3" + integrity sha512-zz4h54m/F/1qyQKvMJCRphmuwGqJltDAkFxUXCVqJBXEs5kbPt93Pza3heCQOcMH22MZNhGlc9DmDMLXVHmgVQ== dependencies: - cron "2.4.3" + cron "3.1.3" uuid "9.0.1" "@nestjs/schematics@^10.0.1": @@ -4387,18 +4387,18 @@ cron-validator@^1.3.1: resolved "https://registry.yarnpkg.com/cron-validator/-/cron-validator-1.3.1.tgz#8f2fe430f92140df77f91178ae31fc1e3a48a20e" integrity sha512-C1HsxuPCY/5opR55G5/WNzyEGDWFVG+6GLrA+fW/sCTcP6A6NTjUP2AK7B8n2PyFs90kDG2qzwm8LMheADku6A== -cron@2.4.3: - version "2.4.3" - resolved "https://registry.yarnpkg.com/cron/-/cron-2.4.3.tgz#4e43d8d9a6373b8f28d876c4e9a47c14422d8652" - integrity sha512-YBvExkQYF7w0PxyeFLRyr817YVDhGxaCi5/uRRMqa4aWD3IFKRd+uNbpW1VWMdqQy8PZ7CElc+accXJcauPKzQ== +cron@3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/cron/-/cron-3.1.3.tgz#4eac8f6691ce7e24c8e89b5317b8097d6f2d0053" + integrity sha512-KVxeKTKYj2eNzN4ElnT6nRSbjbfhyxR92O/Jdp6SH3pc05CDJws59jBrZWEMQlxevCiE6QUTrXy+Im3vC3oD3A== dependencies: "@types/luxon" "~3.3.0" - luxon "~3.3.0" + luxon "~3.4.0" -cron@^3.1.6: - version "3.1.6" - resolved "https://registry.yarnpkg.com/cron/-/cron-3.1.6.tgz#e7e1798a468e017c8d31459ecd7c2d088f97346c" - integrity sha512-cvFiQCeVzsA+QPM6fhjBtlKGij7tLLISnTSvFxVdnFGLdz+ZdXN37kNe0i2gefmdD17XuZA6n2uPVwzl4FxW/w== +cron@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/cron/-/cron-3.1.3.tgz#4eac8f6691ce7e24c8e89b5317b8097d6f2d0053" + integrity sha512-KVxeKTKYj2eNzN4ElnT6nRSbjbfhyxR92O/Jdp6SH3pc05CDJws59jBrZWEMQlxevCiE6QUTrXy+Im3vC3oD3A== dependencies: "@types/luxon" "~3.3.0" luxon "~3.4.0"