Socket
Socket
Sign inDemoInstall

@quartz/holidays

Package Overview
Dependencies
1
Maintainers
6
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0 to 1.3.1

4

index.js

@@ -13,4 +13,4 @@ const { allForYear } = require( '@18f/us-federal-holidays' );

name: 'Monday after Good Friday',
date: new Date( '2020-04-05' ),
dateString: '2020-4-5',
date: new Date( '2021-04-05' ),
dateString: '2021-4-5',
},

@@ -17,0 +17,0 @@ ],

{
"name": "@quartz/holidays",
"version": "1.3.0",
"version": "1.3.1",
"description": "Quartz holidays",

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

@@ -38,4 +38,4 @@ const test = require( 'tape' );

test( 'isHoliday works for one-offs', t => {
t.ok( isHoliday( new Date( '2020-4-5' ) ), 'COVID bonus' );
t.ok( isHoliday( new Date( '2021-4-5' ) ), 'COVID bonus' );
t.end();
} )
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc