Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

node-cron

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-cron - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

test/pattern-validation/validate-day-test.js

4

package.json
{
"name": "node-cron",
"version": "1.2.0",
"version": "1.2.1",
"description": "A simple cron-like task scheduler for Node.js",

@@ -34,4 +34,4 @@ "author": "Lucas Merencia",

"mocha": "^3.0.2",
"sinon": "^1.17.3"
"sinon": "^3.1.0"
}
}

@@ -44,2 +44,6 @@ 'use strict';

function validate(pattern){
if (typeof pattern !== 'string'){
throw 'pattern must be a string!';
}
var patterns = pattern.split(' ');

@@ -46,0 +50,0 @@ var executablePattern = convertExpression(pattern);

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