@nestjs/schedule
Advanced tools
Comparing version 0.4.3 to 1.0.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Cron = void 0; | ||
const common_1 = require("@nestjs/common"); | ||
@@ -4,0 +5,0 @@ const scheduler_type_enum_1 = require("../enums/scheduler-type.enum"); |
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
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]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./cron.decorator")); | ||
__export(require("./interval.decorator")); | ||
__export(require("./timeout.decorator")); | ||
__exportStar(require("./cron.decorator"), exports); | ||
__exportStar(require("./interval.decorator"), exports); | ||
__exportStar(require("./timeout.decorator"), exports); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Interval = void 0; | ||
const common_1 = require("@nestjs/common"); | ||
@@ -4,0 +5,0 @@ const util_1 = require("util"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Timeout = void 0; | ||
const common_1 = require("@nestjs/common"); | ||
@@ -4,0 +5,0 @@ const util_1 = require("util"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CronExpression = void 0; | ||
var CronExpression; | ||
@@ -4,0 +5,0 @@ (function (CronExpression) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CronExpression = void 0; | ||
var cron_expression_enum_1 = require("./cron-expression.enum"); | ||
exports.CronExpression = cron_expression_enum_1.CronExpression; | ||
Object.defineProperty(exports, "CronExpression", { enumerable: true, get: function () { return cron_expression_enum_1.CronExpression; } }); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SchedulerType = void 0; | ||
var SchedulerType; | ||
@@ -4,0 +5,0 @@ (function (SchedulerType) { |
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
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]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./enums")); | ||
__export(require("./decorators")); | ||
__export(require("./schedule.module")); | ||
__export(require("./scheduler.registry")); | ||
__exportStar(require("./enums"), exports); | ||
__exportStar(require("./decorators"), exports); | ||
__exportStar(require("./schedule.module"), exports); | ||
__exportStar(require("./scheduler.registry"), exports); |
@@ -12,2 +12,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SchedulerMetadataAccessor = void 0; | ||
const common_1 = require("@nestjs/common"); | ||
@@ -14,0 +15,0 @@ const core_1 = require("@nestjs/core"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SCHEDULE_TIMEOUT_OPTIONS = exports.SCHEDULE_INTERVAL_OPTIONS = exports.SCHEDULE_CRON_OPTIONS = exports.SCHEDULER_TYPE = exports.SCHEDULER_NAME = void 0; | ||
exports.SCHEDULER_NAME = 'SCHEDULER_NAME'; | ||
@@ -4,0 +5,0 @@ exports.SCHEDULER_TYPE = 'SCHEDULER_TYPE'; |
@@ -21,2 +21,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ScheduleExplorer = void 0; | ||
const common_1 = require("@nestjs/common"); | ||
@@ -23,0 +24,0 @@ const core_1 = require("@nestjs/core"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.NO_SCHEDULER_FOUND = (schedulerName, name) => name | ||
exports.DUPLICATE_SCHEDULER = exports.NO_SCHEDULER_FOUND = void 0; | ||
const NO_SCHEDULER_FOUND = (schedulerName, name) => name | ||
? `No ${schedulerName} was found with the given name (${name}). Check that you created one with a decorator or with the create API.` | ||
: `No ${schedulerName} was found. Check your configuration.`; | ||
exports.DUPLICATE_SCHEDULER = (schedulerName, name) => `${schedulerName} with the given name (${name}) already exists. Ignored.`; | ||
exports.NO_SCHEDULER_FOUND = NO_SCHEDULER_FOUND; | ||
const DUPLICATE_SCHEDULER = (schedulerName, name) => `${schedulerName} with the given name (${name}) already exists. Ignored.`; | ||
exports.DUPLICATE_SCHEDULER = DUPLICATE_SCHEDULER; |
@@ -10,2 +10,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ScheduleModule = void 0; | ||
const common_1 = require("@nestjs/common"); | ||
@@ -12,0 +13,0 @@ const core_1 = require("@nestjs/core"); |
@@ -12,2 +12,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SchedulerOrchestrator = void 0; | ||
const common_1 = require("@nestjs/common"); | ||
@@ -14,0 +15,0 @@ const cron_1 = require("cron"); |
@@ -9,2 +9,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SchedulerRegistry = void 0; | ||
const common_1 = require("@nestjs/common"); | ||
@@ -11,0 +12,0 @@ const schedule_messages_1 = require("./schedule.messages"); |
{ | ||
"name": "@nestjs/schedule", | ||
"version": "0.4.3", | ||
"version": "1.0.0", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@schedule)", | ||
@@ -25,32 +25,32 @@ "author": "Kamil Mysliwiec", | ||
"devDependencies": { | ||
"@commitlint/cli": "12.0.1", | ||
"@commitlint/config-angular": "12.0.1", | ||
"@nestjs/common": "7.6.13", | ||
"@nestjs/core": "7.6.13", | ||
"@nestjs/platform-express": "7.6.13", | ||
"@nestjs/testing": "7.6.13", | ||
"@commitlint/cli": "12.1.4", | ||
"@commitlint/config-angular": "12.1.4", | ||
"@nestjs/common": "8.0.0", | ||
"@nestjs/core": "8.0.0", | ||
"@nestjs/platform-express": "8.0.0", | ||
"@nestjs/testing": "8.0.0", | ||
"@types/cron": "1.7.2", | ||
"@types/jest": "26.0.20", | ||
"@types/node": "7.10.14", | ||
"@types/sinon": "9.0.11", | ||
"@types/uuid": "8.3.0", | ||
"@typescript-eslint/eslint-plugin": "4.17.0", | ||
"@typescript-eslint/parser": "4.17.0", | ||
"eslint": "7.21.0", | ||
"eslint-config-prettier": "8.1.0", | ||
"eslint-plugin-import": "2.22.1", | ||
"husky": "5.1.3", | ||
"jest": "26.6.3", | ||
"lint-staged": "10.5.4", | ||
"prettier": "2.2.1", | ||
"@types/jest": "26.0.24", | ||
"@types/node": "14.17.4", | ||
"@types/sinon": "10.0.2", | ||
"@types/uuid": "8.3.1", | ||
"@typescript-eslint/eslint-plugin": "4.28.2", | ||
"@typescript-eslint/parser": "4.28.2", | ||
"eslint": "7.30.0", | ||
"eslint-config-prettier": "8.3.0", | ||
"eslint-plugin-import": "2.23.4", | ||
"husky": "7.0.1", | ||
"jest": "27.0.6", | ||
"lint-staged": "11.0.0", | ||
"prettier": "2.3.2", | ||
"reflect-metadata": "0.1.13", | ||
"release-it": "14.4.1", | ||
"release-it": "14.10.0", | ||
"rimraf": "3.0.2", | ||
"rxjs": "6.6.6", | ||
"sinon": "9.2.4", | ||
"ts-jest": "26.5.3", | ||
"typescript": "4.2.3" | ||
"rxjs": "7.2.0", | ||
"sinon": "11.1.1", | ||
"ts-jest": "27.0.3", | ||
"typescript": "4.3.5" | ||
}, | ||
"peerDependencies": { | ||
"@nestjs/common": "^6.10.11 || ^7.0.0", | ||
"@nestjs/common": "^6.10.11 || ^7.0.0 || ^8.0.0", | ||
"reflect-metadata": "^0.1.12" | ||
@@ -57,0 +57,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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
42485
764
1