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.0.5 to 1.0.6

index.js

1

docs/API.md

@@ -13,2 +13,3 @@ ## Module

| up | <code>number</code> | <code>&#60;optional&#62;</code> | <code>0.5</code> | Years after current date as upper bound. |
> Source: [index.js](https://github.com/jpcx/ranged-date/blob/master/index.js), [line 69](https://github.com/jpcx/ranged-date/blob/master/index.js#L69)

@@ -15,0 +16,0 @@ **Example**

@@ -31,2 +31,4 @@ ## Global Functions

> Source: [index.js](https://github.com/jpcx/ranged-date/blob/master/index.js), [line 17](https://github.com/jpcx/ranged-date/blob/master/index.js#L17)
**Example**

@@ -54,2 +56,4 @@ ```js

> Source: [index.js](https://github.com/jpcx/ranged-date/blob/master/index.js), [line 30](https://github.com/jpcx/ranged-date/blob/master/index.js#L30)
**Example**

@@ -78,2 +82,4 @@ ```js

> Source: [index.js](https://github.com/jpcx/ranged-date/blob/master/index.js), [line 45](https://github.com/jpcx/ranged-date/blob/master/index.js#L45)
**Example**

@@ -102,2 +108,4 @@ ```js

> Source: [index.js](https://github.com/jpcx/ranged-date/blob/master/index.js), [line 66](https://github.com/jpcx/ranged-date/blob/master/index.js#L66)
**Example**

@@ -104,0 +112,0 @@ ```js

4

package.json
{
"name": "ranged-date",
"version": "1.0.5",
"version": "1.0.6",
"description": "Converts a given string, number, or date to the number of milliseconds since the Unix epoch, provided that it can be recognized as seconds, milliseconds, or microseconds within a specified range in years from the current date.",

@@ -8,3 +8,3 @@ "engines": {

},
"main": "rangedDate.js",
"main": "index.js",
"scripts": {

@@ -11,0 +11,0 @@ "test": "node test.js"

@@ -7,2 +7,4 @@ # ranged-date

[![NPM](https://nodei.co/npm/ranged-date.png)](https://nodei.co/npm/ranged-date/)
## Getting Started

@@ -63,4 +65,7 @@

Please refer to the [API docs](https://github.com/jpcx/ranged-date/blob/master/docs/API.md) for more detailed usage examples.
Global functions are documented [here](https://github.com/jpcx/ranged-date/blob/master/docs/global.md).
#### Source:
* [index.js](https://github.com/jpcx/ranged-date/blob/master/index.js)
#### Documentation:
* [API](https://github.com/jpcx/ranged-date/blob/master/docs/API.md)
* [Global](https://github.com/jpcx/ranged-date/blob/master/docs/global.md).

@@ -67,0 +72,0 @@ ## Versioning

'use strict'
process.env.TZ = 'UTC'
const rangedDate = require('./rangedDate.js')
const rangedDate = require('./index.js')

@@ -6,0 +6,0 @@ const ANSI_RED = '\x1b[31m'

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