New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

btwn

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

btwn - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "btwn",
"version": "1.1.0",
"version": "1.1.1",
"description": "Check if a number or date is in your min-max bounds.",

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

@@ -43,4 +43,4 @@ # btwn [![npm](https://img.shields.io/npm/v/btwn.svg)]() [![npm](https://img.shields.io/npm/dt/btwn.svg)]() [![Build Status](https://travis-ci.org/moriczgergo/btwn.svg?branch=master)](https://travis-ci.org/moriczgergo/btwn)

var maxDate = new Date(2017, 00, 01, 09, 59, 59, 00);
var min = new btwn.BoundDate(min, false, false, false, true, true, false, false); //See the usage of these booleans in the docs below
var max = new btwn.BoundDate(max, false, false, false, true, true, true, false); //See the usage of these booleans in the docs below
var min = new btwn.BoundDate(minDate, false, false, false, true, true, false, false); //See the usage of these booleans in the docs below
var max = new btwn.BoundDate(maxDate, false, false, false, true, true, true, false); //See the usage of these booleans in the docs below

@@ -47,0 +47,0 @@ var d = new Date(); //Current date & time

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