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

ranged-date

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ranged-date - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

index.js

@@ -189,3 +189,3 @@ 'use strict'

if (data instanceof Date) return data.valueOf()
if (typeof data == 'number') return check(data, back, fwd, exclude)
if (typeof data === 'number') return check(data, back, fwd, exclude)
return (

@@ -192,0 +192,0 @@ check(Date.parse(data), back, fwd, exclude)

{
"name": "ranged-date",
"version": "1.1.1",
"version": "1.1.2",
"description": "Converts a given string, number, or Date object to the number of milliseconds since the Unix epoch, provided that it can be recognized as millisecond, second, or microsecond time within a specified range from the current date.",

@@ -5,0 +5,0 @@ "engines": {

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