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

us-holidays

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

us-holidays - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

index.js

@@ -21,3 +21,3 @@ "use strict";

Holidays.newYearsDay = new Holiday("New Year's Day", function (year) { return new year_1.default(year).newYearsDay; }, 1871);
Holidays.martinLutherKingJrDay = new Holiday('Martin Luther King Jr. Day', function (year) { return new year_1.default(year).martinLutherKingJrDay; }, 1986);
Holidays.martinLutherKingJrDay = new Holiday('Martin Luther King Jr. Day', function (year) { return new year_1.default(year).martinLutherKingJrDay; }, 1998);
Holidays.washingtonsBirthday = new Holiday("Washington's Birthday", function (year) { return new year_1.default(year).washingtonsBirthday; }, 1885);

@@ -24,0 +24,0 @@ Holidays.goodFriday = new Holiday('Good Friday', function (year) { return new year_1.default(year).goodFriday; }, 1920);

{
"name": "us-holidays",
"version": "0.3.0",
"version": "0.3.1",
"license": "MIT",

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

@@ -9,2 +9,4 @@ # United States Holidays

Martin Luther King Jr. Day started in 1986. However, the stock market only started observing it in 1998. This library uses the 1998 date.
## Install

@@ -11,0 +13,0 @@

@@ -20,3 +20,3 @@ import Year from './year';

(year: number) => new Year(year).martinLutherKingJrDay,
1986,
1998,
);

@@ -23,0 +23,0 @@ public static washingtonsBirthday = new Holiday(

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