From 799942794b6cff0966fe4977260728c4f9721385 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 19 Dec 2024 02:38:53 +0000 Subject: [PATCH 01/12] chore(deps): update dependency @commitlint/cli to v19.6.1 --- package-lock.json | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index d9b64e26..e197e57e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "luxon": "~3.5.0" }, "devDependencies": { - "@commitlint/cli": "19.6.0", + "@commitlint/cli": "19.6.1", "@eslint/js": "^9.14.0", "@fast-check/jest": "2.0.3", "@insurgent/commitlint-config": "20.0.0", @@ -585,15 +585,15 @@ } }, "node_modules/@commitlint/cli": { - "version": "19.6.0", - "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-19.6.0.tgz", - "integrity": "sha512-v17BgGD9w5KnthaKxXnEg6KLq6DYiAxyiN44TpiRtqyW8NSq+Kx99mkEG8Qo6uu6cI5eMzMojW2muJxjmPnF8w==", + "version": "19.6.1", + "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-19.6.1.tgz", + "integrity": "sha512-8hcyA6ZoHwWXC76BoC8qVOSr8xHy00LZhZpauiD0iO0VYbVhMnED0da85lTfIULxl7Lj4c6vZgF0Wu/ed1+jlQ==", "dev": true, "license": "MIT", "dependencies": { "@commitlint/format": "^19.5.0", "@commitlint/lint": "^19.6.0", - "@commitlint/load": "^19.5.0", + "@commitlint/load": "^19.6.1", "@commitlint/read": "^19.5.0", "@commitlint/types": "^19.5.0", "tinyexec": "^0.3.0", diff --git a/package.json b/package.json index be96d71a..3a194631 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "luxon": "~3.5.0" }, "devDependencies": { - "@commitlint/cli": "19.6.0", + "@commitlint/cli": "19.6.1", "@eslint/js": "^9.14.0", "@fast-check/jest": "2.0.3", "@insurgent/commitlint-config": "20.0.0", From 93c9373ae020e535683d6c65bff9e1eeabe20d4a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 20 Dec 2024 01:50:32 +0000 Subject: [PATCH 02/12] chore(deps): update dependency @semantic-release/release-notes-generator to v14.0.2 --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index e197e57e..64f27ef8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "@semantic-release/git": "10.0.1", "@semantic-release/github": "11.0.1", "@semantic-release/npm": "12.0.1", - "@semantic-release/release-notes-generator": "14.0.1", + "@semantic-release/release-notes-generator": "14.0.2", "@types/jest": "29.5.14", "@types/node": "20.17.10", "@types/sinon": "17.0.3", @@ -2440,9 +2440,9 @@ } }, "node_modules/@semantic-release/release-notes-generator": { - "version": "14.0.1", - "resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-14.0.1.tgz", - "integrity": "sha512-K0w+5220TM4HZTthE5dDpIuFrnkN1NfTGPidJFm04ULT1DEZ9WG89VNXN7F0c+6nMEpWgqmPvb7vY7JkB2jyyA==", + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@semantic-release/release-notes-generator/-/release-notes-generator-14.0.2.tgz", + "integrity": "sha512-ur2l2tVLBfX3fSEO2rCy2X6Kzg5S7BHGqdwTHvJrpWp4mOEN7W4K/2kWAjvfAlwMenEKjMnDIhBbxxjnP0S9hw==", "dev": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 3a194631..8c5c1658 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "@semantic-release/git": "10.0.1", "@semantic-release/github": "11.0.1", "@semantic-release/npm": "12.0.1", - "@semantic-release/release-notes-generator": "14.0.1", + "@semantic-release/release-notes-generator": "14.0.2", "@types/jest": "29.5.14", "@types/node": "20.17.10", "@types/sinon": "17.0.3", From afad454e5e4f52e3da54965a0e10540e035c4f58 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 00:25:04 +0000 Subject: [PATCH 03/12] chore(deps): lock file maintenance --- package-lock.json | 70 +++++++++++++++++++++++++++++------------------ 1 file changed, 43 insertions(+), 27 deletions(-) diff --git a/package-lock.json b/package-lock.json index 64f27ef8..bb2aa8c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3954,9 +3954,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001688", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001688.tgz", - "integrity": "sha512-Nmqpru91cuABu/DTCXbM2NSRHzM2uVHfPnhJ/1zEAJx/ILBRVmz3pzH4N7DZqbdG0gWClsCC05Oj0mJ/1AWMbA==", + "version": "1.0.30001690", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001690.tgz", + "integrity": "sha512-5ExiE3qQN6oF8Clf8ifIDcMRCRE/dMGcETG/XGMD8/XiXm6HXQgQTh1yZYLXXpSOsEUlJm1Xr7kGULZTuGtP/w==", "dev": true, "funding": [ { @@ -4004,9 +4004,9 @@ } }, "node_modules/chalk": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", - "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.4.1.tgz", + "integrity": "sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==", "dev": true, "license": "MIT", "engines": { @@ -4912,9 +4912,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.73", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.73.tgz", - "integrity": "sha512-8wGNxG9tAG5KhGd3eeA0o6ixhiNdgr0DcHWm85XPCphwZgD1lIEoi6t3VERayWao7SF7AAZTw6oARGJeVjH8Kg==", + "version": "1.5.75", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.75.tgz", + "integrity": "sha512-Lf3++DumRE/QmweGjU+ZcKqQ+3bKkU/qjaKYhIJKEOhgIO9Xs6IiAQFkfFoj+RhgDk4LUeNsLo6plExHqSyu6Q==", "dev": true, "license": "ISC" }, @@ -6469,9 +6469,9 @@ "license": "MIT" }, "node_modules/is-core-module": { - "version": "2.16.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.0.tgz", - "integrity": "sha512-urTSINYfAYgcbLb0yDQ6egFm6h3Mo1DcF9EkyXSRjjzdHbsulg01qhwWuXdOoUBuTkbQ80KDboXa0vFJ+BDH+g==", + "version": "2.16.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", + "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", "dev": true, "license": "MIT", "dependencies": { @@ -7872,9 +7872,9 @@ } }, "node_modules/jiti": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.4.1.tgz", - "integrity": "sha512-yPBThwecp1wS9DmoA4x4KR2h3QoslacnDR8ypuFM962kI4/456Iy1oHx2RAgh4jfZNdn0bctsdadceiBUgpU1g==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.4.2.tgz", + "integrity": "sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==", "dev": true, "license": "MIT", "bin": { @@ -8101,6 +8101,19 @@ "url": "https://opencollective.com/lint-staged" } }, + "node_modules/lint-staged/node_modules/chalk": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz", + "integrity": "sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.17.0 || ^14.13 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, "node_modules/lint-staged/node_modules/execa": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", @@ -8694,9 +8707,9 @@ } }, "node_modules/mime": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.4.tgz", - "integrity": "sha512-v8yqInVjhXyqP6+Kw4fV3ZzeMRqEW6FotRsKXjRS5VMTNIuXsdRoAvklpoRgSqXm6o9VNH4/C0mgedko9DdLsQ==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/mime/-/mime-4.0.6.tgz", + "integrity": "sha512-4rGt7rvQHBbaSOF9POGkk1ocRP16Md1x36Xma8sz8h8/vfCUI2OtEIeCqe4Ofes853x4xDoPiFLIT47J5fI/7A==", "dev": true, "funding": [ "https://github.com/sponsors/broofa" @@ -12405,9 +12418,9 @@ } }, "node_modules/read-package-up/node_modules/type-fest": { - "version": "4.30.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.30.1.tgz", - "integrity": "sha512-ojFL7eDMX2NF0xMbDwPZJ8sb7ckqtlAi1GsmgsFXvErT9kFTk1r0DuQKvrCh73M6D4nngeHJmvogF9OluXs7Hw==", + "version": "4.30.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.30.2.tgz", + "integrity": "sha512-UJShLPYi1aWqCdq9HycOL/gwsuqda1OISdBO3t8RlXQC4QvtuIz4b5FCfe2dQIWEpmlRExKmcTBfP1r9bhY7ig==", "dev": true, "license": "(MIT OR CC0-1.0)", "engines": { @@ -12456,9 +12469,9 @@ } }, "node_modules/read-pkg/node_modules/type-fest": { - "version": "4.30.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.30.1.tgz", - "integrity": "sha512-ojFL7eDMX2NF0xMbDwPZJ8sb7ckqtlAi1GsmgsFXvErT9kFTk1r0DuQKvrCh73M6D4nngeHJmvogF9OluXs7Hw==", + "version": "4.30.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.30.2.tgz", + "integrity": "sha512-UJShLPYi1aWqCdq9HycOL/gwsuqda1OISdBO3t8RlXQC4QvtuIz4b5FCfe2dQIWEpmlRExKmcTBfP1r9bhY7ig==", "dev": true, "license": "(MIT OR CC0-1.0)", "engines": { @@ -12518,9 +12531,9 @@ } }, "node_modules/resolve": { - "version": "1.22.9", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.9.tgz", - "integrity": "sha512-QxrmX1DzraFIi9PxdG5VkRfRwIgjwyud+z/iBwfRRrVmHc+P9Q7u2lSSpQ6bjr2gy5lrqIiU9vb6iAeGf2400A==", + "version": "1.22.10", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", + "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", "dev": true, "license": "MIT", "dependencies": { @@ -12531,6 +12544,9 @@ "bin": { "resolve": "bin/resolve" }, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } From dfcbd3cf7d901415bda5b4929566bd4ad527af62 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 13:15:32 +0100 Subject: [PATCH 04/12] chore(deps): pin dependencies (#915) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 12 ++++++------ package.json | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index bb2aa8c9..6ff2c08a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ }, "devDependencies": { "@commitlint/cli": "19.6.1", - "@eslint/js": "^9.14.0", + "@eslint/js": "9.17.0", "@fast-check/jest": "2.0.3", "@insurgent/commitlint-config": "20.0.0", "@insurgent/conventional-changelog-preset": "10.0.0", @@ -35,12 +35,12 @@ "husky": "9.1.7", "jest": "29.7.0", "lint-staged": "15.2.11", - "prettier": "3.3.3", + "prettier": "3.4.2", "semantic-release": "24.2.0", "sinon": "17.0.2", "ts-jest": "29.2.5", "typescript": "5.7.2", - "typescript-eslint": "^7.2.0" + "typescript-eslint": "7.18.0" } }, "node_modules/@ampproject/remapping": { @@ -12224,9 +12224,9 @@ } }, "node_modules/prettier": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", - "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", "dev": true, "license": "MIT", "bin": { diff --git a/package.json b/package.json index 8c5c1658..5ac87cf8 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ }, "devDependencies": { "@commitlint/cli": "19.6.1", - "@eslint/js": "^9.14.0", + "@eslint/js": "9.17.0", "@fast-check/jest": "2.0.3", "@insurgent/commitlint-config": "20.0.0", "@insurgent/conventional-changelog-preset": "10.0.0", @@ -50,12 +50,12 @@ "husky": "9.1.7", "jest": "29.7.0", "lint-staged": "15.2.11", - "prettier": "3.3.3", + "prettier": "3.4.2", "semantic-release": "24.2.0", "sinon": "17.0.2", "ts-jest": "29.2.5", "typescript": "5.7.2", - "typescript-eslint": "^7.2.0" + "typescript-eslint": "7.18.0" }, "keywords": [ "cron", From 70c333955612d39b692ab9535b36fe33423eb593 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 Dec 2024 01:22:54 +0000 Subject: [PATCH 05/12] chore(deps): lock file maintenance --- package-lock.json | 54 +++++++++++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6ff2c08a..1ff6b1b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1886,15 +1886,16 @@ } }, "node_modules/@octokit/request": { - "version": "9.1.3", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.1.3.tgz", - "integrity": "sha512-V+TFhu5fdF3K58rs1pGUJIDH5RZLbZm5BI+MNF+6o/ssFNT4vWlCh/tVpF3NxGtP15HUxTTMUbsG5llAuU2CZA==", + "version": "9.1.4", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.1.4.tgz", + "integrity": "sha512-tMbOwGm6wDII6vygP3wUVqFTw3Aoo0FnVQyhihh8vVq12uO3P+vQZeo2CKMpWtPSogpACD0yyZAlVlQnjW71DA==", "dev": true, "license": "MIT", "dependencies": { "@octokit/endpoint": "^10.0.0", "@octokit/request-error": "^6.0.1", - "@octokit/types": "^13.1.0", + "@octokit/types": "^13.6.2", + "fast-content-type-parse": "^2.0.0", "universal-user-agent": "^7.0.2" }, "engines": { @@ -1902,13 +1903,13 @@ } }, "node_modules/@octokit/request-error": { - "version": "6.1.5", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.5.tgz", - "integrity": "sha512-IlBTfGX8Yn/oFPMwSfvugfncK2EwRLjzbrpifNaMY8o/HTEAFqCA1FZxjD9cWvSKBHgrIhc4CSBIzMxiLsbzFQ==", + "version": "6.1.6", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-6.1.6.tgz", + "integrity": "sha512-pqnVKYo/at0NuOjinrgcQYpEbv4snvP3bKMRqHaD9kIsk9u1LCpb2smHZi8/qJfgeNqLo5hNW4Z7FezNdEo0xg==", "dev": true, "license": "MIT", "dependencies": { - "@octokit/types": "^13.0.0" + "@octokit/types": "^13.6.2" }, "engines": { "node": ">= 18" @@ -4912,9 +4913,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.75", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.75.tgz", - "integrity": "sha512-Lf3++DumRE/QmweGjU+ZcKqQ+3bKkU/qjaKYhIJKEOhgIO9Xs6IiAQFkfFoj+RhgDk4LUeNsLo6plExHqSyu6Q==", + "version": "1.5.76", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.76.tgz", + "integrity": "sha512-CjVQyG7n7Sr+eBXE86HIulnL5N8xZY1sgmOPGuq/F0Rr0FJq63lg0kEtOIDfZBk44FnDLf6FUJ+dsJcuiUDdDQ==", "dev": true, "license": "ISC" }, @@ -5613,6 +5614,13 @@ "node": ">=8.0.0" } }, + "node_modules/fast-content-type-parse": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fast-content-type-parse/-/fast-content-type-parse-2.0.0.tgz", + "integrity": "sha512-fCqg/6Sps8tqk8p+kqyKqYfOF0VjPNYrqpLiqNl0RBKmD80B080AJWVV6EkSkscjToNExcXg1+Mfzftrx6+iSA==", + "dev": true, + "license": "MIT" + }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -5679,9 +5687,9 @@ "license": "BSD-3-Clause" }, "node_modules/fastq": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", - "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.18.0.tgz", + "integrity": "sha512-QKHXPW0hD8g4UET03SdOdunzSouc9N4AuHdsX8XNcTsuz+yYFILVNIX4l9yHABMhiEI9Db0JTTIpu0wB+Y1QQw==", "dev": true, "license": "ISC", "dependencies": { @@ -12418,9 +12426,9 @@ } }, "node_modules/read-package-up/node_modules/type-fest": { - "version": "4.30.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.30.2.tgz", - "integrity": "sha512-UJShLPYi1aWqCdq9HycOL/gwsuqda1OISdBO3t8RlXQC4QvtuIz4b5FCfe2dQIWEpmlRExKmcTBfP1r9bhY7ig==", + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.31.0.tgz", + "integrity": "sha512-yCxltHW07Nkhv/1F6wWBr8kz+5BGMfP+RbRSYFnegVb0qV/UMT0G0ElBloPVerqn4M2ZV80Ir1FtCcYv1cT6vQ==", "dev": true, "license": "(MIT OR CC0-1.0)", "engines": { @@ -12469,9 +12477,9 @@ } }, "node_modules/read-pkg/node_modules/type-fest": { - "version": "4.30.2", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.30.2.tgz", - "integrity": "sha512-UJShLPYi1aWqCdq9HycOL/gwsuqda1OISdBO3t8RlXQC4QvtuIz4b5FCfe2dQIWEpmlRExKmcTBfP1r9bhY7ig==", + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.31.0.tgz", + "integrity": "sha512-yCxltHW07Nkhv/1F6wWBr8kz+5BGMfP+RbRSYFnegVb0qV/UMT0G0ElBloPVerqn4M2ZV80Ir1FtCcYv1cT6vQ==", "dev": true, "license": "(MIT OR CC0-1.0)", "engines": { @@ -13739,9 +13747,9 @@ } }, "node_modules/tinyexec": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.1.tgz", - "integrity": "sha512-WiCJLEECkO18gwqIp6+hJg0//p23HXp4S+gGtAKu3mI2F2/sXC4FvHvXvB0zJVVaTPhx1/tOwdbRsa1sOBIKqQ==", + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz", + "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==", "dev": true, "license": "MIT" }, From efb8df53405b4ce2ea2e70be9e4d90c124616a51 Mon Sep 17 00:00:00 2001 From: Pierre Cavin Date: Mon, 30 Dec 2024 17:37:51 +0100 Subject: [PATCH 06/12] fix: fix infinite loop on expressions resolving only inside a DST forward jump (#938) ## Description Removes a superfluous `+ 1` modifying the behavior unexpectedly. Using the debugger I've located the bug to this instruction, and it can easily be confirmed that this `+ 1` is the issue, since `date.month` & `this.month` are both indexed starting from `1` (and not `0`). Not sure how long this bug has been around, but it was [already present when we aligned with the UNIX standard](https://github.com/kelektiv/node-cron/pull/667/files#diff-c14c2dca8456f15417b39cfbd9758009f8eb4f3a190a415768d6e4ae6ae9dceeL473-L477). ## Related Issue Fixes #919. ## Motivation and Context Fixes an infinite loop when a cron expression only resolves to inside a DST jump. See #919 for more. ## How Has This Been Tested? Added two new test cases, and [made sure they triggered the infinite loop](https://github.com/kelektiv/node-cron/actions/runs/12539141178/attempts/1?pr=938) before writing the fix. ## Screenshots (if appropriate): ## Types of changes - [X] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Checklist: - [X] My code follows the code style of this project. - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. - [X] I have added tests to cover my changes. - [X] All new and existing tests passed. - [ ] If my change introduces a breaking change, I have added a `!` after the type/scope in the title (see the Conventional Commits standard). --- .vscode/launch.json | 2 +- src/time.ts | 2 +- tests/cron.test.ts | 49 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 2 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 953f3bbc..afb06b98 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -7,7 +7,7 @@ "name": "Jest Debug", "env": { "NODE_ENV": "test" }, "program": "${workspaceFolder}/node_modules/.bin/jest", - "args": [], + "args": ["--runInBand"], "console": "integratedTerminal", "windows": { "program": "${workspaceFolder}/node_modules/jest/bin/jest" diff --git a/src/time.ts b/src/time.ts index 3f4e74a3..0c8cb8b2 100644 --- a/src/time.ts +++ b/src/time.ts @@ -465,7 +465,7 @@ export class CronTime { const beforeJumpingPoint = afterJumpingPoint.minus({ second: 1 }); if ( - date.month + 1 in this.month && + date.month in this.month && date.day in this.dayOfMonth && this._getWeekDay(date) in this.dayOfWeek ) { diff --git a/tests/cron.test.ts b/tests/cron.test.ts index 6202521a..be722241 100644 --- a/tests/cron.test.ts +++ b/tests/cron.test.ts @@ -1299,4 +1299,53 @@ describe('cron', () => { expect(job.running).toBe(false); }); }); + + describe('Daylight Saving Time', () => { + // https://github.com/kelektiv/node-cron/issues/919 + it('should not get into an infinite loop on Lisbon DST forward jump', () => { + const d = DateTime.fromISO('2024-03-30T00:59:59', { + zone: 'Europe/Lisbon' + }).toJSDate(); + const clock = sinon.useFakeTimers(d.getTime()); + + console.debug({ d }); + + const job = new CronJob( + '0 1 30 3 *', + callback, + null, + true, + 'Europe/Lisbon' + ); + + clock.tick(1000); + expect(callback).toHaveBeenCalledTimes(1); + + clock.restore(); + job.stop(); + }); + + it('should not get into an infinite loop on Paris DST forward jump', () => { + const d = DateTime.fromISO('2024-03-31T01:59:59', { + zone: 'Europe/Paris' + }).toJSDate(); + const clock = sinon.useFakeTimers(d.getTime()); + + console.debug({ d }); + + const job = new CronJob( + '0 2 31 3 *', + callback, + null, + true, + 'Europe/Paris' + ); + + clock.tick(1000); + expect(callback).toHaveBeenCalledTimes(1); + + clock.restore(); + job.stop(); + }); + }); }); From 7ed34cbb5180b507a64f29a92cdbec64c7d2ccd2 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 30 Dec 2024 16:42:30 +0000 Subject: [PATCH 07/12] Release v3.3.2 [skip ci] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [3.3.2](https://github.com/kelektiv/node-cron/compare/v3.3.1...v3.3.2) (2024-12-30) ### πŸ› Bug Fixes * fix infinite loop on expressions resolving only inside a DST forward jump ([#938](https://github.com/kelektiv/node-cron/issues/938)) ([efb8df5](https://github.com/kelektiv/node-cron/commit/efb8df53405b4ce2ea2e70be9e4d90c124616a51)), closes [/github.com/kelektiv/node-cron/pull/667/files#diff-c14c2dca8456f15417b39cfbd9758009f8eb4f3a190a415768d6e4ae6ae9dceeL473-L477](https://github.com/kelektiv//github.com/kelektiv/node-cron/pull/667/files/issues/diff-c14c2dca8456f15417b39cfbd9758009f8eb4f3a190a415768d6e4ae6ae9dceeL473-L477) [#919](https://github.com/kelektiv/node-cron/issues/919) [#919](https://github.com/kelektiv/node-cron/issues/919) ### βš™οΈ Continuous Integrations * **action:** update marocchino/sticky-pull-request-comment action to v2.9.0 ([#930](https://github.com/kelektiv/node-cron/issues/930)) ([1e7bce9](https://github.com/kelektiv/node-cron/commit/1e7bce9d12a774104f39c1d75b37bdb134e4b270)) * **renovate:** pin GitHub action digests to semver ([#926](https://github.com/kelektiv/node-cron/issues/926)) ([6541167](https://github.com/kelektiv/node-cron/commit/654116766a299bc5ac5d21a99e2abd7ccc4f43fe)) ### ♻️ Chores * **deps:** lock file maintenance ([70c3339](https://github.com/kelektiv/node-cron/commit/70c333955612d39b692ab9535b36fe33423eb593)) * **deps:** lock file maintenance ([afad454](https://github.com/kelektiv/node-cron/commit/afad454e5e4f52e3da54965a0e10540e035c4f58)) * **deps:** lock file maintenance ([b1dbf69](https://github.com/kelektiv/node-cron/commit/b1dbf69104a58022a638d5b68b59f85089fae7c6)) * **deps:** pin dependencies ([#915](https://github.com/kelektiv/node-cron/issues/915)) ([dfcbd3c](https://github.com/kelektiv/node-cron/commit/dfcbd3cf7d901415bda5b4929566bd4ad527af62)) * **deps:** update dependency [@commitlint](https://github.com/commitlint)/cli to v19.6.1 ([7999427](https://github.com/kelektiv/node-cron/commit/799942794b6cff0966fe4977260728c4f9721385)) * **deps:** update dependency [@semantic-release](https://github.com/semantic-release)/release-notes-generator to v14.0.2 ([93c9373](https://github.com/kelektiv/node-cron/commit/93c9373ae020e535683d6c65bff9e1eeabe20d4a)) * **deps:** update dependency [@types](https://github.com/types)/node to v20.17.10 ([9313ffd](https://github.com/kelektiv/node-cron/commit/9313ffd148e88d68251b13e3b7ec5028d372a9d2)) * **deps:** update dependency lint-staged to v15.2.11 ([100c9ff](https://github.com/kelektiv/node-cron/commit/100c9ff2f67246b73e6cf053aa581e87a31aed0a)) --- CHANGELOG.md | 22 ++++++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92dd6244..ba0a6c9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,25 @@ +## [3.3.2](https://github.com/kelektiv/node-cron/compare/v3.3.1...v3.3.2) (2024-12-30) + +### πŸ› Bug Fixes + +* fix infinite loop on expressions resolving only inside a DST forward jump ([#938](https://github.com/kelektiv/node-cron/issues/938)) ([efb8df5](https://github.com/kelektiv/node-cron/commit/efb8df53405b4ce2ea2e70be9e4d90c124616a51)), closes [/github.com/kelektiv/node-cron/pull/667/files#diff-c14c2dca8456f15417b39cfbd9758009f8eb4f3a190a415768d6e4ae6ae9dceeL473-L477](https://github.com/kelektiv//github.com/kelektiv/node-cron/pull/667/files/issues/diff-c14c2dca8456f15417b39cfbd9758009f8eb4f3a190a415768d6e4ae6ae9dceeL473-L477) [#919](https://github.com/kelektiv/node-cron/issues/919) [#919](https://github.com/kelektiv/node-cron/issues/919) + +### βš™οΈ Continuous Integrations + +* **action:** update marocchino/sticky-pull-request-comment action to v2.9.0 ([#930](https://github.com/kelektiv/node-cron/issues/930)) ([1e7bce9](https://github.com/kelektiv/node-cron/commit/1e7bce9d12a774104f39c1d75b37bdb134e4b270)) +* **renovate:** pin GitHub action digests to semver ([#926](https://github.com/kelektiv/node-cron/issues/926)) ([6541167](https://github.com/kelektiv/node-cron/commit/654116766a299bc5ac5d21a99e2abd7ccc4f43fe)) + +### ♻️ Chores + +* **deps:** lock file maintenance ([70c3339](https://github.com/kelektiv/node-cron/commit/70c333955612d39b692ab9535b36fe33423eb593)) +* **deps:** lock file maintenance ([afad454](https://github.com/kelektiv/node-cron/commit/afad454e5e4f52e3da54965a0e10540e035c4f58)) +* **deps:** lock file maintenance ([b1dbf69](https://github.com/kelektiv/node-cron/commit/b1dbf69104a58022a638d5b68b59f85089fae7c6)) +* **deps:** pin dependencies ([#915](https://github.com/kelektiv/node-cron/issues/915)) ([dfcbd3c](https://github.com/kelektiv/node-cron/commit/dfcbd3cf7d901415bda5b4929566bd4ad527af62)) +* **deps:** update dependency [@commitlint](https://github.com/commitlint)/cli to v19.6.1 ([7999427](https://github.com/kelektiv/node-cron/commit/799942794b6cff0966fe4977260728c4f9721385)) +* **deps:** update dependency [@semantic-release](https://github.com/semantic-release)/release-notes-generator to v14.0.2 ([93c9373](https://github.com/kelektiv/node-cron/commit/93c9373ae020e535683d6c65bff9e1eeabe20d4a)) +* **deps:** update dependency [@types](https://github.com/types)/node to v20.17.10 ([9313ffd](https://github.com/kelektiv/node-cron/commit/9313ffd148e88d68251b13e3b7ec5028d372a9d2)) +* **deps:** update dependency lint-staged to v15.2.11 ([100c9ff](https://github.com/kelektiv/node-cron/commit/100c9ff2f67246b73e6cf053aa581e87a31aed0a)) + ## [3.3.1](https://github.com/kelektiv/node-cron/compare/v3.3.0...v3.3.1) (2024-12-12) ### πŸ› Bug Fixes diff --git a/package-lock.json b/package-lock.json index 1ff6b1b9..f024a4a2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cron", - "version": "3.3.1", + "version": "3.3.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cron", - "version": "3.3.1", + "version": "3.3.2", "license": "MIT", "dependencies": { "@types/luxon": "~3.4.0", diff --git a/package.json b/package.json index 5ac87cf8..6927e6d3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cron", "description": "Cron jobs for your node", - "version": "3.3.1", + "version": "3.3.2", "author": "Nick Campbell (https://github.com/ncb000gt)", "bugs": { "url": "https://github.com/kelektiv/node-cron/issues" From ddd89881bcb2f3737e1ea50296fe25294d112bdd Mon Sep 17 00:00:00 2001 From: Pierre Cavin Date: Mon, 30 Dec 2024 18:14:47 +0100 Subject: [PATCH 08/12] docs(contributing): add "Submitting a Pull Request" & "Coding Rules" sections (#936) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description Initially just wanted to update the broken "Working with the code" link, but you know, once you've opened a file ... :smiling_face_with_tear: ## Related Issue ## Motivation and Context Missing useful sections. ## How Has This Been Tested? Manually tested all self-referencing links. ## Screenshots (if appropriate): ## Types of changes - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Checklist: - [X] My code follows the code style of this project. - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. - [ ] I have added tests to cover my changes. - [ ] All new and existing tests passed. - [ ] If my change introduces a breaking change, I have added a `!` after the type/scope in the title (see the Conventional Commits standard). --------- Co-authored-by: Brandon der BlΓ€tter --- CONTRIBUTING.md | 233 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 220 insertions(+), 13 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index db5b0d23..e9f9f663 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,24 +6,30 @@ All types of contributions are encouraged and valued. See the [Table of Contents > And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about: -> - Join the [Discord community](https://discord.gg/yyKns29zch) > - Star the project -> - Tweet about it > - Refer this project in your project's readme > - Mention the project at local meetups and tell your friends/colleagues +> - Share the project on forums or social medias +> - Join the [Discord community](https://discord.gg/yyKns29zch) ## Table of Contents +- [Code of conduct](#code-of-conduct) - [I Have a Question](#i-have-a-question) - [I Want To Contribute](#i-want-to-contribute) - [Reporting Bugs](#reporting-bugs) - [Suggesting Enhancements](#suggesting-enhancements) - - [Your First Code Contribution](#your-first-code-contribution) - - [Improving The Documentation](#improving-the-documentation) -- [Styleguides](#styleguides) + - [Submitting a Pull Request](#submitting-a-pull-request) + - [Working With The Code](#working-with-the-code) +- [Coding Rules](#coding-rules) + - [Source Code](#source-code) - [Commit Messages](#commit-messages) - [Join The Project Team](#join-the-project-team) +## Code of Conduct + +Help us keep `cron` open and inclusive. Please read and follow our [Code of conduct](CODE_OF_CONDUCT.md). + ## I Have a Question > If you want to ask a question, we assume that you have read the available [Documentation](https://github.com/kelektiv/node-cron#readme). @@ -67,8 +73,8 @@ We use GitHub issues to track bugs and errors. If you run into an issue with the Once it's filed: - The project team will label the issue accordingly. -- A team member will try to reproduce the issue with your provided steps. If there are no reproduction steps or no obvious way to reproduce the issue, the team will ask you for those steps and mark the issue as `needs-repro`. Bugs with the `needs-repro` tag will not be addressed until they are reproduced. -- If the team is able to reproduce the issue, it will be marked `needs-fix`, as well as possibly other tags (such as `critical`), and the issue will be left to be [implemented by someone](#your-first-code-contribution). +- A team member will try to reproduce the issue with your provided steps. If there are no reproduction steps or no obvious way to reproduce the issue, the team will ask you for those steps and mark the issue as `cannot reproduce`. Bugs with the `cannot reproduce` tag will not be addressed until they are reproduced. +- If the team is able to reproduce the issue, it will be marked `bug`, as well as possibly other tags, and the issue will be left to be [implemented by someone](#your-first-code-contribution). ### Suggesting Enhancements @@ -91,24 +97,121 @@ Enhancement suggestions are tracked as [GitHub issues](https://github.com/kelekt - **Describe the current behavior** and **explain which behavior you expected to see instead** and why. At this point you can also tell which alternatives do not work for you. - **Explain why this enhancement would be useful** to most cron users. You may also want to point out the other projects that solved it better and which could serve as inspiration. -## Working with the code +### Submitting a Pull Request + +Good pull requests, whether patches, improvements, or new features, are a fantastic help. +They should remain focused in scope and avoid containing unrelated commits. + +**Please ask first** before embarking on any significant pull requests (e.g. implementing features, refactoring code), otherwise you risk spending a lot of time working on something that the project's maintainers might not want to merge into the project. + +For ambitious tasks, open a [**draft** Pull Request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#converting-a-pull-request-to-a-draft) as soon as possible, in order to get feedback and help from the maintainers and the community. + +If you have never created a pull request before, welcome πŸŽ‰ πŸ˜„. +[Here is a great tutorial](https://opensource.guide/how-to-contribute/#opening-a-pull-request) on how to send one :) + +Here is a summary of the steps to follow: + +1. [Set up the workspace](#set-up-the-workspace) +2. If you cloned a while ago, get the latest changes from upstream and update dependencies: + +```bash +$ git checkout main +$ git pull upstream main +$ rm -rf node_modules +$ nvm use +$ npm install +``` + +3. Create a new topic branch (off the main project development branch) to contain your feature, change, or fix: + +```bash +$ git checkout -b +``` + +4. Make your code changes, following the [Coding Rules](#coding-rules) +5. Push your topic branch up to your fork: + +```bash +$ git push origin +``` + +6. [Open a Pull Request](https://help.github.com/articles/creating-a-pull-request/#creating-the-pull-request) with a clear title and description. + +#### Do not force push to your pull request branch + +Please do not force push to your PR's branch after you have created your PR, as doing so forces us to review the whole PR again. +This makes it harder for us to review your work because we don't know what has changed. +PRs will always be squashed by us when we merge your work. +Commit as many times as you need in your pull request branch, but please batch apply review suggestions. + +If you're updating your PR branch from within the GitHub PR interface, use the default "Update branch" button. +This is the "Update with merge commit" option in the dropdown. + +Force pushing a PR, or using the "Update with rebase" button is OK when you: + +- make large changes on a PR which require a full review anyway +- bring the branch up-to-date with the target branch and incorporating the changes is more work than to create a new PR + +#### Apply maintainer provided review suggestions + +Maintainers can suggest changes while reviewing your pull request. +To apply these suggestions, please: + +1. Batch the suggestions into a logical group by selecting the **Add suggestion to batch** button +1. Select the **Commit suggestions** button + +Read the [GitHub docs, Applying suggested changes](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/incorporating-feedback-in-your-pull-request#applying-suggested-changes) to learn more. + +#### Resolve review comments instead of commenting + +A maintainer can ask you to make changes, without giving you a _suggestion_ that you can apply. +In this case you should make the necessary changes. + +Once you've done the work, resolve the conversation by selecting the **Resolve conversation** button in the PR overview. +Avoid posting comments like "I've done the work", or "Done". + +Read the [GitHub Docs, resolving conversations](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/commenting-on-a-pull-request#resolving-conversations) to learn more. + +#### Re-requesting a review + +Please do not ping your reviewer(s) by mentioning them in a new comment. +Instead, use the re-request review functionality. +Read more about this in the [GitHub docs, Re-requesting a review](https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/incorporating-feedback-in-your-pull-request#re-requesting-a-review). + +#### Discord collaboration with maintainers + +The codebase can be difficult to navigate, especially for a first-time contributor. +We don't want you spending an hour trying to work out something that would take us only a minute to explain. + +For that reason, you'll find a `#development` channel on our [Discord community](https://discord.gg/yyKns29zch), +dedicated to helping anyone who's working on or considering Pull Requests for `cron`. + +### Working With The Code -### Set up the workspace +#### Set up the workspace [Fork](https://docs.github.com/en/get-started/quickstart/contributing-to-projects#forking-a-repository) the project, [clone](https://docs.github.com/en/get-started/quickstart/contributing-to-projects#cloning-a-fork) your fork, configure the remotes and install the dependencies: ```bash # Clone your fork of the repo into the current directory $ git clone git@github.com:/node-cron.git # or https://github.com//node-cron.git for HTTPS + # Navigate to the newly cloned directory $ cd node-cron + # Assign the original repo to a remote called "upstream" $ git remote add upstream git@github.com:kelektiv/node-cron.git # or https://github.com/kelektiv/node-cron.git for HTTPS + +# Switch your node version to the version defined by the project as the development version +# This step assumes you have already installed and configured https://github.com/nvm-sh/nvm +# You may need to run `nvm install` if you have not already installed the development node version +$ nvm use + # Install the dependencies $ npm install ``` -### Lint +#### Lint This repository uses [ESLint](https://eslint.org) and [Prettier](https://prettier.io) for linting and formatting. @@ -119,7 +222,7 @@ Before pushing your code changes make sure there are no linting errors with `npm - Most linting errors can be automatically fixed with `npm run lint:fix`. - Install the [ESLint plugin](https://eslint.org/docs/latest/use/integrations) for your editor to see linting errors directly in your editor and automatically fix them on save. -### Tests +#### Tests This repository uses [Jest](https://jestjs.io) for writing and running tests. @@ -129,17 +232,121 @@ Before pushing your code changes make sure all **tests pass** and the **coverage $ npm run test ``` -**Tips:** During development you can: +**Tips:** - run a single test file with `npm run test -- `, for example `npm run test -- tests/crontime.test.ts` - run a subset of test files with `npm run test -- `, for example `npm run test -- tests/*.test.ts` - run a single test case with `npm run test -- -t ''`, for example `npm run test -- -t 'should parse .*'` - run in watch mode with `npm run test:watch` to automatically run a test case when you modify it or the associated source code (above tips also work with this command) +## Coding Rules + +### Source Code + +To ensure consistency and quality throughout the source code, all code modifications must have: + +- No [linting](#lint) errors +- A [test](#tests) for every possible case introduced by your code change +- [Valid commit message(s)](#commit-messages) +- Documentation for new features +- Updated documentation for modified features + +### Commit Messages + +#### Atomic commits + +If possible, make [atomic commits](https://en.wikipedia.org/wiki/Atomic_commit), which means: + +- a commit should contain exactly one self-contained functional change +- a functional change should be contained in exactly one commit +- a commit should not create an inconsistent state (such as test errors, linting errors, partial fix, feature without documentation, etc...) + +A complex feature can be broken down into multiple commits as long as each one maintains a consistent state and consists of a self-contained change. + +#### Commit message format + +Each commit message consists of a **header**, a **body** and a **footer**. +The header has a special format that includes a **type**, a **scope** and a **subject**: + +```commit +(): + + + +