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

moment-business-time

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moment-business-time - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

4

lib/business-hours.js

@@ -93,3 +93,3 @@ var moment = require('moment'),

d = incrementDays('add')(num, d);
} else {
} else if (unit) {
d = addUnit(unit)(num, d);

@@ -104,3 +104,3 @@ }

d = incrementDays('subtract')(num, d);
} else {
} else if (unit) {
d = subtractUnit(unit)(num, d);

@@ -107,0 +107,0 @@ }

{
"name": "moment-business-time",
"version": "0.3.0",
"version": "0.3.1",
"description": "Query and manipulate moment objects within the context of business/working hours",

@@ -5,0 +5,0 @@ "main": "index.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