@pushrocks/smarttime
Advanced tools
Comparing version 3.0.7 to 3.0.8
export * from './smarttime.classes.cronmanager'; | ||
export * from './smarttime.classes.date'; | ||
export * from './smarttime.classes.extendeddate'; | ||
export * from './smarttime.classes.hrtmeasurement'; | ||
@@ -4,0 +4,0 @@ export * from './smarttime.classes.timer'; |
@@ -7,3 +7,3 @@ "use strict"; | ||
__export(require("./smarttime.classes.cronmanager")); | ||
__export(require("./smarttime.classes.date")); | ||
__export(require("./smarttime.classes.extendeddate")); | ||
__export(require("./smarttime.classes.hrtmeasurement")); | ||
@@ -15,2 +15,2 @@ __export(require("./smarttime.classes.timer")); | ||
exports.luxon = smarttime_plugins_1.luxon; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLHFEQUFnRDtBQUNoRCw4Q0FBeUM7QUFDekMsd0RBQW1EO0FBQ25ELCtDQUEwQztBQUMxQyxtREFBOEM7QUFDOUMsdUNBQWtDO0FBRWxDLHlEQUE0QztBQUFuQyxvQ0FBQSxLQUFLLENBQUEifQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUVBLHFEQUFnRDtBQUNoRCxzREFBaUQ7QUFDakQsd0RBQW1EO0FBQ25ELCtDQUEwQztBQUMxQyxtREFBOEM7QUFDOUMsdUNBQWtDO0FBRWxDLHlEQUE0QztBQUFuQyxvQ0FBQSxLQUFLLENBQUEifQ== |
"use strict"; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const plugins = require("./smarttime.plugins"); | ||
const plugins = __importStar(require("./smarttime.plugins")); | ||
class CronManager { | ||
@@ -16,3 +23,2 @@ constructor() { | ||
} | ||
; | ||
/** | ||
@@ -38,2 +44,2 @@ * starts the cronjob | ||
exports.CronManager = CronManager; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnR0aW1lLmNsYXNzZXMuY3Jvbm1hbmFnZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9zbWFydHRpbWUuY2xhc3Nlcy5jcm9ubWFuYWdlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLCtDQUErQztBQUUvQyxNQUFhLFdBQVc7SUFBeEI7UUFDUyxXQUFNLEdBQTBCLFNBQVMsQ0FBQztRQUUxQyxhQUFRLEdBQTJCLEVBQUUsQ0FBQztJQTZCL0MsQ0FBQztJQTNCUSxVQUFVLENBQUMsaUJBQXlCLEVBQUUsZUFBeUM7UUFDcEYsTUFBTSxVQUFVLEdBQUcsSUFBSSxPQUFPLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxpQkFBaUIsRUFBQyxlQUFlLENBQUMsQ0FBQztRQUMvRSxJQUFJLElBQUksQ0FBQyxNQUFNLEtBQUssU0FBUyxFQUFFO1lBQzdCLFVBQVUsQ0FBQyxLQUFLLEVBQUUsQ0FBQztTQUNwQjtRQUNELElBQUksQ0FBQyxRQUFRLENBQUMsSUFBSSxDQUFDLFVBQVUsQ0FBQyxDQUFDO0lBQ2pDLENBQUM7SUFBQSxDQUFDO0lBRUY7O09BRUc7SUFDSSxLQUFLO1FBQ1YsSUFBSSxDQUFDLE1BQU0sR0FBRyxTQUFTLENBQUM7UUFDeEIsS0FBSyxN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SSxLQUFLO1FBQ1YsSUFBSSxDQUFDLE1BQU0sR0FBRyxTQUFTLENBQUM7UUFDeEIsS0FBSyxNQUFNLElBQUksSUFBSSxJQUFJLENBQUMsUUFBUSxFQUFFO1lBQ2hDLElBQUksQ0FBQyxLQUFLLEVBQUUsQ0FBQztTQUNkO0lBQ0gsQ0FBQztJQUVEOztPQUVHO0lBQ0ksSUFBSTtRQUNULElBQUksQ0FBQyxNQUFNLEdBQUcsU0FBUyxDQUFDO1FBQ3hCLEtBQUssTUFBTSxJQUFJLElBQUksSUFBSSxDQUFDLFFBQVEsRUFBRTtZQUNoQyxJQUFJLENBQUMsSUFBSSxFQUFFLENBQUM7U0FDYjtJQUNILENBQUM7Q0FDRjtBQWhDRCxrQ0FnQ0MifQ== |
"use strict"; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const process = require("process"); | ||
const process = __importStar(require("process")); | ||
/** | ||
@@ -47,2 +54,2 @@ * easy high resolution time measurement | ||
exports.HrtMeasurement = HrtMeasurement; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnR0aW1lLmNsYXNzZXMuaHJ0bWVhc3VyZW1lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9zbWFydHRpbWUuY2xhc3Nlcy5ocnRtZWFzdXJlbWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLG1DQUFtQztBQUVuQzs7R0FFRztBQUNILE1BQWEsY0FBYztJQUEzQjtRQUNFLGdCQUFXLEdBQVcsSUFBSSxDQUFDO1FBQzNCLGlCQUFZLEdBQVcsSUFBSSxDQUFDO1FBQ3BCLGlCQUFZLEd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BQWUsQ0FBQyxDQUFDLENBQUMsQ0FBQztRQUMzRSxJQUFJLENBQUMsWUFBWSxHQUFHLElBQUksQ0FBQyxXQUFXLEdBQUcsT0FBTyxDQUFDO1FBQy9DLE9BQU8sSUFBSSxDQUFDO0lBQ2QsQ0FBQztJQUVEOztPQUVHO0lBQ0ksS0FBSztRQUNWLElBQUksQ0FBQyxXQUFXLEdBQUcsSUFBSSxDQUFDO1FBQ3hCLElBQUksQ0FBQyxZQUFZLEdBQUcsSUFBSSxDQUFDO1FBQ3pCLElBQUksQ0FBQyxZQUFZLEdBQUcsSUFBSSxDQUFDO1FBQ3pCLElBQUksQ0FBQyxlQUFlLEdBQUcsSUFBSSxDQUFDO1FBQzVCLElBQUksQ0FBQyxRQUFRLEdBQUcsS0FBSyxDQUFDO0lBQ3hCLENBQUM7Q0FDRjtBQXZDRCx3Q0F1Q0MifQ== |
"use strict"; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const plugins = require("./smarttime.plugins"); | ||
const plugins = __importStar(require("./smarttime.plugins")); | ||
const smarttime_classes_timestamp_1 = require("./smarttime.classes.timestamp"); | ||
@@ -57,2 +64,2 @@ class Timer { | ||
exports.Timer = Timer; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnR0aW1lLmNsYXNzZXMudGltZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9zbWFydHRpbWUuY2xhc3Nlcy50aW1lci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLCtDQUErQztBQUUvQywrRUFBMEQ7QUFJMUQsTUFBYSxLQUFLO0lBcUNoQixZQUFZLHFCQUE2QjtR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UM7WUFDbkMsQ0FBQyxFQUFFLElBQUksQ0FBQyxRQUFRLENBQUMsQ0FBQztTQUNuQjthQUFNO1lBQ0wsTUFBTSxJQUFJLEtBQUssQ0FBQyxnRUFBZ0UsQ0FBQyxDQUFDO1NBQ25GO0lBQ0gsQ0FBQztJQUVNLEtBQUs7UUFDVixJQUFJLENBQUMsS0FBSyxFQUFFLENBQUM7UUFDYixJQUFJLENBQUMsU0FBUyxHQUFHLElBQUksQ0FBQztRQUN0QixJQUFJLENBQUMsUUFBUSxHQUFHLElBQUksQ0FBQztJQUN2QixDQUFDO0NBQ0Y7QUEvRUQsc0JBK0VDIn0= |
"use strict"; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
// @pushrocks scope | ||
const smartpromise = require("@pushrocks/smartpromise"); | ||
const smartpromise = __importStar(require("@pushrocks/smartpromise")); | ||
exports.smartpromise = smartpromise; | ||
// third parties | ||
const luxon = require("luxon"); | ||
const luxon = __importStar(require("luxon")); | ||
exports.luxon = luxon; | ||
const cron = require("cron"); | ||
const cron = __importStar(require("cron")); | ||
exports.cron = cron; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnR0aW1lLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9zbWFydHRpbWUucGx1Z2lucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLG1CQUFtQjtBQUNuQix3REFBd0Q7QUFFL0Msb0NBQVk7QUFFckIsZ0JBQWdCO0FBQ2hCLCtCQUErQjtBQUd0QixzQkFBSztBQUZkLDZCQUE2QjtBQUViLG9CQUFJIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnR0aW1lLnBsdWdpbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9zbWFydHRpbWUucGx1Z2lucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBQSxtQkFBbUI7QUFDbkIsc0VBQXdEO0FBRS9DLG9DQUFZO0FBRXJCLGdCQUFnQjtBQUNoQiw2Q0FBK0I7QUFHdEIsc0JBQUs7QUFGZCwyQ0FBNkI7QUFFYixvQkFBSSJ9 |
{ | ||
"name": "@pushrocks/smarttime", | ||
"private": false, | ||
"version": "3.0.7", | ||
"version": "3.0.8", | ||
"description": "handle time in smart ways", | ||
@@ -15,8 +15,8 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@gitzone/tsbuild": "^2.1.8", | ||
"@gitzone/tsrun": "^1.2.5", | ||
"@gitzone/tstest": "^1.0.20", | ||
"@gitzone/tsbuild": "^2.1.11", | ||
"@gitzone/tsrun": "^1.2.6", | ||
"@gitzone/tstest": "^1.0.24", | ||
"@pushrocks/tapbundle": "^3.0.9", | ||
"@types/node": "^11.13.2", | ||
"tslint": "^5.15.0", | ||
"@types/node": "^12.0.8", | ||
"tslint": "^5.17.0", | ||
"tslint-config-prettier": "^1.18.0" | ||
@@ -26,7 +26,17 @@ }, | ||
"@pushrocks/smartpromise": "^3.0.2", | ||
"@types/cron": "^1.7.0", | ||
"@types/luxon": "^1.12.0", | ||
"cron": "^1.7.0", | ||
"luxon": "^1.12.1" | ||
} | ||
"@types/cron": "^1.7.1", | ||
"@types/luxon": "^1.15.1", | ||
"cron": "^1.7.1", | ||
"luxon": "^1.16.0" | ||
}, | ||
"files": [ | ||
"ts/*", | ||
"ts_web/*", | ||
"dist/*", | ||
"dist_web/*", | ||
"assets/*", | ||
"cli.js", | ||
"npmextra.json", | ||
"readme.md" | ||
] | ||
} |
@@ -25,6 +25,17 @@ # @pushrocks/smarttime | ||
### class CronManager | ||
This class provides scheduling of functions with a cron syntax | ||
```typescript | ||
import { CronManager } from '@pushrocks/smarrtime'; | ||
const cronManagerInstance = new CronManager(); | ||
cronManagerInstance.addConrjob('* * * * * *', async () => { | ||
console.log('hello'); // will log 'hello' to console once every second; | ||
}) | ||
cronManagerInstance.start(); | ||
``` | ||
### class ExtendedDate | ||
This class offers static functions to create zone specific JavaScript dates from European formated time strings. | ||
This class offers static functions to create zone speicific JavaScript dates from European formated time strings. | ||
```TypeScript | ||
@@ -31,0 +42,0 @@ import { ExtendedDate } from '@pushrocks/smarttime' |
import * as plugins from './smarttime.plugins'; | ||
export * from './smarttime.classes.cronmanager'; | ||
export * from './smarttime.classes.date'; | ||
export * from './smarttime.classes.extendeddate'; | ||
export * from './smarttime.classes.hrtmeasurement'; | ||
@@ -6,0 +6,0 @@ export * from './smarttime.classes.timer'; |
@@ -9,3 +9,3 @@ import * as plugins from './smarttime.plugins'; | ||
public addCronjob(cronIdentifierArg: string, cronFunctionArg: plugins.cron.CronCommand) { | ||
const newCronJob = new plugins.cron.CronJob(cronIdentifierArg,cronFunctionArg); | ||
const newCronJob = new plugins.cron.CronJob(cronIdentifierArg, cronFunctionArg); | ||
if (this.status === 'started') { | ||
@@ -15,3 +15,3 @@ newCronJob.start(); | ||
this.cronjobs.push(newCronJob); | ||
}; | ||
} | ||
@@ -18,0 +18,0 @@ /** |
@@ -7,4 +7,4 @@ import * as process from 'process'; | ||
export class HrtMeasurement { | ||
nanoSeconds: number = null; | ||
milliSeconds: number = null; | ||
public nanoSeconds: number = null; | ||
public milliSeconds: number = null; | ||
private _hrTimeStart = null; | ||
@@ -17,3 +17,3 @@ private _hrTimeStopDiff = null; | ||
*/ | ||
start() { | ||
public start() { | ||
this._started = true; | ||
@@ -26,3 +26,3 @@ this._hrTimeStart = process.hrtime(); | ||
*/ | ||
stop() { | ||
public stop() { | ||
if (this._started === false) { | ||
@@ -41,3 +41,3 @@ console.log("Hasn't started yet"); | ||
*/ | ||
reset() { | ||
public reset() { | ||
this.nanoSeconds = null; | ||
@@ -44,0 +44,0 @@ this.milliSeconds = null; |
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
51
39269
27
836
Updated@types/cron@^1.7.1
Updated@types/luxon@^1.15.1
Updatedcron@^1.7.1
Updatedluxon@^1.16.0