New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cron-converter

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cron-converter - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

dist/cjs/index.d.ts
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

4

dist/cjs/index.js
"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 = {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc