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

@6degrees/node-cron-utils

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@6degrees/node-cron-utils - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

4

main.js

@@ -60,3 +60,5 @@ class utils {

// do nothing
new_expression["seconds"] = `*/2`;
if(expression["minutes"] == "*"){
new_expression["seconds"] = `*/2`;
}
}

@@ -63,0 +65,0 @@ else{ // 5

{
"name": "@6degrees/node-cron-utils",
"version": "0.0.4",
"version": "0.0.5",
"description": "Utilities functions to manipulate node-cron expressions",

@@ -5,0 +5,0 @@ "main": "main.js",

@@ -17,3 +17,3 @@

test('testing * */1 * * * *', ()=>{
expect(hi.double("* */1 * * * *")).toBe("*/2 */2 * * * *") // not sure if it is correct
expect(hi.double("* */1 * * * *")).toBe("* */2 * * * *") // not sure if it is correct
})

@@ -42,3 +42,3 @@

test('testing */5 * * * *', ()=>{
expect(hi.double("*/5 * * * *")).toBe("*/2 */10 * * * *") // Not sure if this is correct
expect(hi.double("*/5 * * * *")).toBe("* */10 * * * *") // Not sure if this is correct
})
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