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

this-month

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

this-month - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

README.md

11

lib/utils.js

@@ -48,8 +48,7 @@ 'use strict';

try {
var dayNumber = daysMap[dayName];
definedDaysOff.push(dayNumber);
} catch (e) {
throw new Error('Invalid day name.');
}
var dayNumber = daysMap[dayName];
if (!dayNumber) throw new Error('Invalid day name.');
definedDaysOff.push(dayNumber);
}

@@ -56,0 +55,0 @@

{
"name": "this-month",
"version": "1.0.1",
"version": "1.0.2",
"description": "Utility library to get details about an specific month.",

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