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

next-biz-date

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-biz-date - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

package.json
{
"name": "next-biz-date",
"version": "1.1.0",
"version": "1.1.1",
"description": "Returns the next business date (future or past based on direction as FORWARD or BACKWARDS) for a given reference date (initialDate), offset value, direction and given array of holidays",

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

@@ -39,4 +39,2 @@ const assert = require("assert");

let results = [];
happyPathCases.forEach((caseItem, i) => {

@@ -48,3 +46,2 @@ let candidateDate = moment(caseItem.candidateDate);

assert.equal(result.isSame(moment(caseItem.expectedResult)), true);
results.push({candidateDate, result});
});

@@ -51,0 +48,0 @@ });

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