cron-converter
Advanced tools
Comparing version 2.0.0 to 2.0.1
import { Options } from "./types.js"; | ||
import { Schedule } from "./schedule.js"; | ||
export { Schedule } from "./schedule.js"; | ||
export { Unit, Options } from "./types.js"; | ||
/** | ||
@@ -4,0 +6,0 @@ * Parses a cron string |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getUnits = exports.getSchedule = exports.arrayToString = exports.stringToArray = void 0; | ||
exports.getUnits = exports.getSchedule = exports.arrayToString = exports.stringToArray = exports.Schedule = void 0; | ||
const part_js_1 = require("./part.js"); | ||
@@ -8,2 +8,4 @@ const util_js_1 = require("./util.js"); | ||
const units_js_1 = require("./units.js"); | ||
var schedule_js_2 = require("./schedule.js"); | ||
Object.defineProperty(exports, "Schedule", { enumerable: true, get: function () { return schedule_js_2.Schedule; } }); | ||
const defaultOptions = { | ||
@@ -10,0 +12,0 @@ outputHashes: false, |
import { Options } from "./types.js"; | ||
import { Schedule } from "./schedule.js"; | ||
export { Schedule } from "./schedule.js"; | ||
export { Unit, Options } from "./types.js"; | ||
/** | ||
@@ -4,0 +6,0 @@ * Parses a cron string |
@@ -5,2 +5,3 @@ import { arrayToStringPart, stringToArrayPart } from "./part.js"; | ||
import { units } from "./units.js"; | ||
export { Schedule } from "./schedule.js"; | ||
const defaultOptions = { | ||
@@ -7,0 +8,0 @@ outputHashes: false, |
{ | ||
"name": "cron-converter", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Cron string converter", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -117,3 +117,3 @@ # cron-converter | ||
let reference = new Date(2013, 2, 8, 9, 32); | ||
const schedule = getSchedule(arr, reference, "Europe/London"); | ||
schedule = getSchedule(arr, reference, "Europe/London"); | ||
@@ -120,0 +120,0 @@ // Calls to `.next()` and `.prev()` return a Luxon `DateTime` object |
@@ -6,2 +6,4 @@ import { arrayToStringPart, stringToArrayPart } from "./part.js"; | ||
import { units } from "./units.js"; | ||
export { Schedule } from "./schedule.js"; | ||
export { Unit, Options } from "./types.js"; | ||
@@ -8,0 +10,0 @@ const defaultOptions: Options = { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
78220
2499
0