@quartz/holidays
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -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 @@ }; |
{ | ||
"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(); | ||
} ) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4905
93
1