Comparing version 3.0.0-beta.3 to 3.0.0-beta.4
@@ -0,1 +1,33 @@ | ||
## [3.0.0-beta.4](https://github.com/kelektiv/node-cron/compare/v3.0.0-beta.3...v3.0.0-beta.4) (2023-09-10) | ||
### 🐛 Bug Fixes | ||
* **deps:** update dependency luxon to v3.3.0 & add [@types](https://github.com/types)/luxon ([#689](https://github.com/kelektiv/node-cron/issues/689)) ([c95a449](https://github.com/kelektiv/node-cron/commit/c95a449121e440b82d391fc11f8dc148748f93ec)), closes [#688](https://github.com/kelektiv/node-cron/issues/688) | ||
* fix range parsing when upper limit = 0 ([#687](https://github.com/kelektiv/node-cron/issues/687)) ([d96746f](https://github.com/kelektiv/node-cron/commit/d96746f7b8f357e565d1fad48c9f70d3d646da64)) | ||
### 🚨 Tests | ||
* add TS types check ([#690](https://github.com/kelektiv/node-cron/issues/690)) ([f046016](https://github.com/kelektiv/node-cron/commit/f046016dc64438c4a12a4615a919b046d3a846de)) | ||
## [2.4.3](https://github.com/kelektiv/node-cron/compare/v2.4.2...v2.4.3) (2023-08-26) | ||
### 🐛 Bug Fixes | ||
* fix range parsing when upper limit = 0 ([#687](https://github.com/kelektiv/node-cron/issues/687)) ([d96746f](https://github.com/kelektiv/node-cron/commit/d96746f7b8f357e565d1fad48c9f70d3d646da64)) | ||
### 🚨 Tests | ||
* add TS types check ([#690](https://github.com/kelektiv/node-cron/issues/690)) ([f046016](https://github.com/kelektiv/node-cron/commit/f046016dc64438c4a12a4615a919b046d3a846de)) | ||
## [2.4.2](https://github.com/kelektiv/node-cron/compare/v2.4.1...v2.4.2) (2023-08-26) | ||
### 🐛 Bug Fixes | ||
* **deps:** update dependency luxon to v3.3.0 & add [@types](https://github.com/types)/luxon ([#689](https://github.com/kelektiv/node-cron/issues/689)) ([c95a449](https://github.com/kelektiv/node-cron/commit/c95a449121e440b82d391fc11f8dc148748f93ec)), closes [#688](https://github.com/kelektiv/node-cron/issues/688) | ||
## [3.0.0-beta.3](https://github.com/kelektiv/node-cron/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2023-08-15) | ||
@@ -29,13 +61,2 @@ | ||
## [3.0.0-beta.1](https://github.com/kelektiv/node-cron/compare/v2.3.1...v3.0.0-beta.1) (2023-07-23) | ||
### ⚠ Breaking changes | ||
* UNIX standard alignments (#667) | ||
### ✨ Features | ||
* UNIX standard alignments ([#667](https://github.com/kelektiv/node-cron/issues/667)) ([96ef954](https://github.com/kelektiv/node-cron/commit/96ef954998f9c109cc2a969296568b1b56bbbd79)) | ||
## [2.4.1](https://github.com/kelektiv/node-cron/compare/v2.4.0...v2.4.1) (2023-08-14) | ||
@@ -88,2 +109,13 @@ | ||
## [3.0.0-beta.1](https://github.com/kelektiv/node-cron/compare/v2.3.1...v3.0.0-beta.1) (2023-07-23) | ||
### ⚠ Breaking changes | ||
* UNIX standard alignments (#667) | ||
### ✨ Features | ||
* UNIX standard alignments ([#667](https://github.com/kelektiv/node-cron/issues/667)) ([96ef954](https://github.com/kelektiv/node-cron/commit/96ef954998f9c109cc2a969296568b1b56bbbd79)) | ||
## [v2.3.1](https://github.com/kelektiv/node-cron/compare/v2.3.0...v2.3.1) (2023-05-25) | ||
@@ -90,0 +122,0 @@ |
@@ -777,3 +777,3 @@ const CONSTRAINTS = [ | ||
lower = parseInt(lower, 10); | ||
upper = parseInt(upper, 10) || undefined; | ||
upper = upper !== undefined ? parseInt(upper, 10) : undefined; | ||
@@ -786,3 +786,3 @@ const wasStepDefined = !isNaN(parseInt(step, 10)); | ||
if (upper && lower > upper) { | ||
if (upper !== undefined && lower > upper) { | ||
throw new Error(`Field (${type}) has an invalid range`); | ||
@@ -793,4 +793,4 @@ } | ||
lower < low || | ||
(upper && upper > high) || | ||
(!upper && lower > high); | ||
(upper !== undefined && upper > high) || | ||
(upper === undefined && lower > high); | ||
@@ -805,3 +805,3 @@ if (outOfRangeError) { | ||
// Positive integer lower than constraints[1] | ||
if (upper) { | ||
if (upper !== undefined) { | ||
upper = Math.min(high, ~~Math.abs(upper)); | ||
@@ -808,0 +808,0 @@ } else { |
{ | ||
"name": "cron", | ||
"description": "Cron jobs for your node", | ||
"version": "3.0.0-beta.3", | ||
"version": "3.0.0-beta.4", | ||
"author": "Nick Campbell <nicholas.j.campbell@gmail.com> (https://github.com/ncb000gt)", | ||
@@ -18,2 +18,3 @@ "bugs": { | ||
"test:watch": "jest --watch --coverage", | ||
"test:types": "tsd", | ||
"prepare": "husky install", | ||
@@ -24,3 +25,4 @@ "release": "semantic-release" | ||
"dependencies": { | ||
"luxon": "^3.2.1" | ||
"@types/luxon": "~3.3.0", | ||
"luxon": "~3.3.0" | ||
}, | ||
@@ -50,3 +52,4 @@ "devDependencies": { | ||
"semantic-release": "~21.0.x", | ||
"sinon": "^15.0.x" | ||
"sinon": "^15.0.x", | ||
"tsd": "^0.28.1" | ||
}, | ||
@@ -53,0 +56,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65453
9
1202
2
24
+ Added@types/luxon@~3.3.0
+ Added@types/luxon@3.3.8(transitive)
+ Addedluxon@3.3.0(transitive)
- Removedluxon@3.5.0(transitive)
Updatedluxon@~3.3.0