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.2.0 to 1.3.0

5

index.js

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

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

@@ -13,0 +18,0 @@ };

2

package.json
{
"name": "@quartz/holidays",
"version": "1.2.0",
"version": "1.3.0",
"description": "Quartz holidays",

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

@@ -36,1 +36,6 @@ const test = require( 'tape' );

} );
test( 'isHoliday works for one-offs', t => {
t.ok( isHoliday( new Date( '2020-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