node-schedule 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Master (Unreleased)
2
2
 
3
+ # 2.1.1 - 11 January, 2023
4
+
5
+ ### Bug fixes:
6
+
7
+ - Bump cron-parser from 3.5.0 to 4.2.0 - security fix #642
8
+
3
9
  # 2.1.0 - 28 November, 2021
4
10
 
5
11
  ### New features:
package/README.md CHANGED
@@ -183,6 +183,7 @@ Timezones are also supported. Here is an example of executing at the start of ev
183
183
  ```js
184
184
  const rule = new schedule.RecurrenceRule();
185
185
  rule.hour = 0;
186
+ rule.minute = 0;
186
187
  rule.tz = 'Etc/UTC';
187
188
 
188
189
  const job = schedule.scheduleJob(rule, function(){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-schedule",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "A cron-like and not-cron-like job scheduler for Node.",
5
5
  "keywords": [
6
6
  "schedule",
@@ -36,7 +36,7 @@
36
36
  "url": "https://github.com/node-schedule/node-schedule.git"
37
37
  },
38
38
  "dependencies": {
39
- "cron-parser": "^3.5.0",
39
+ "cron-parser": "^4.2.0",
40
40
  "long-timeout": "0.1.1",
41
41
  "sorted-array-functions": "^1.3.0"
42
42
  },