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.0.6 to 1.1.0

9

main.js

@@ -58,2 +58,7 @@ (() => {

return _scanForBizDate(mCandidateDate, holidaysArray, direction);
}
function _scanForBizDate(mCandidateDate, holidaysArray, direction){
let directionLogic = getDirectionLogic(direction, holidaysArray);

@@ -77,4 +82,4 @@

}
}
}
return mCandidateDate;

@@ -81,0 +86,0 @@ }

{
"name": "next-biz-date",
"version": "1.0.6",
"version": "1.1.0",
"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",

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