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

dates-range-parser

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dates-range-parser - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

12

index.js

@@ -45,8 +45,4 @@ /*!

value: {
fromDate: drp.UTC
? new Date(r.start).toISOString()
: new Date(r.start).toString(),
toDate: drp.UTC
? new Date(r.end).toISOString()
: new Date(r.end).toString(),
from: r.start,
to: r.end,
timeRange: v,

@@ -119,3 +115,5 @@ },

d[1]--;
return drp.UTC ? new Date(Date.UTC(...d)) : new Date(...d);
return drp.UTC
? new Date(Date.UTC(...d)).getTime()
: new Date(...d).getTime();
}

@@ -122,0 +120,0 @@

{
"name": "dates-range-parser",
"version": "1.0.4",
"version": "1.0.5",
"author": "Xoredge <info@xoredge.com>",

@@ -5,0 +5,0 @@ "description": "A simple parser for dates range",

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