@nestjs/schedule
Advanced tools
Comparing version 2.0.0 to 2.0.1
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -63,6 +63,6 @@ "use strict"; | ||
clearTimeouts() { | ||
Array.from(this.schedulerRegistry.getTimeouts()).forEach((key) => this.schedulerRegistry.deleteTimeout(key)); | ||
this.schedulerRegistry.getTimeouts().forEach((key) => this.schedulerRegistry.deleteTimeout(key)); | ||
} | ||
clearIntervals() { | ||
Array.from(this.schedulerRegistry.getIntervals()).forEach((key) => this.schedulerRegistry.deleteInterval(key)); | ||
this.schedulerRegistry.getIntervals().forEach((key) => this.schedulerRegistry.deleteInterval(key)); | ||
} | ||
@@ -69,0 +69,0 @@ closeCronJobs() { |
{ | ||
"name": "@nestjs/schedule", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@schedule)", | ||
@@ -21,33 +21,33 @@ "author": "Kamil Mysliwiec", | ||
"dependencies": { | ||
"cron": "1.8.2", | ||
"cron": "2.0.0", | ||
"uuid": "8.3.2" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "16.2.3", | ||
"@commitlint/config-angular": "16.2.3", | ||
"@nestjs/common": "8.4.3", | ||
"@nestjs/core": "8.4.3", | ||
"@nestjs/platform-express": "8.4.3", | ||
"@nestjs/testing": "8.4.3", | ||
"@types/cron": "1.7.3", | ||
"@types/jest": "27.4.1", | ||
"@types/node": "16.11.26", | ||
"@commitlint/cli": "17.0.0", | ||
"@commitlint/config-angular": "17.0.0", | ||
"@nestjs/common": "8.4.4", | ||
"@nestjs/core": "8.4.4", | ||
"@nestjs/platform-express": "8.4.5", | ||
"@nestjs/testing": "8.4.5", | ||
"@types/cron": "2.0.0", | ||
"@types/jest": "27.5.1", | ||
"@types/node": "17.0.35", | ||
"@types/sinon": "10.0.11", | ||
"@types/uuid": "8.3.4", | ||
"@typescript-eslint/eslint-plugin": "5.17.0", | ||
"@typescript-eslint/parser": "5.17.0", | ||
"eslint": "8.12.0", | ||
"@typescript-eslint/eslint-plugin": "5.25.0", | ||
"@typescript-eslint/parser": "5.25.0", | ||
"eslint": "8.15.0", | ||
"eslint-config-prettier": "8.5.0", | ||
"eslint-plugin-import": "2.25.4", | ||
"husky": "7.0.4", | ||
"jest": "27.5.1", | ||
"lint-staged": "12.3.7", | ||
"prettier": "2.6.1", | ||
"eslint-plugin-import": "2.26.0", | ||
"husky": "8.0.1", | ||
"jest": "28.1.0", | ||
"lint-staged": "12.4.1", | ||
"prettier": "2.6.2", | ||
"reflect-metadata": "0.1.13", | ||
"release-it": "14.13.1", | ||
"release-it": "15.0.0", | ||
"rimraf": "3.0.2", | ||
"rxjs": "7.5.5", | ||
"sinon": "13.0.1", | ||
"ts-jest": "27.1.4", | ||
"typescript": "4.6.3" | ||
"sinon": "14.0.0", | ||
"ts-jest": "28.0.2", | ||
"typescript": "4.6.4" | ||
}, | ||
@@ -54,0 +54,0 @@ "peerDependencies": { |
<p align="center"> | ||
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo_text.svg" width="320" alt="Nest Logo" /></a> | ||
<a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="120" alt="Nest Logo" /><a> | ||
</p> | ||
@@ -34,3 +34,4 @@ | ||
```bash | ||
$ npm i --save @nestjs/schedule | ||
$ npm install --save @nestjs/schedule | ||
$ npm install --save-dev @types/cron | ||
``` | ||
@@ -37,0 +38,0 @@ |
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
46294
844
55
+ Addedcron@2.0.0(transitive)
+ Addedluxon@1.28.1(transitive)
- Removedcron@1.8.2(transitive)
- Removedmoment@2.30.1(transitive)
- Removedmoment-timezone@0.5.46(transitive)
Updatedcron@2.0.0