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

date-holidays

Package Overview
Dependencies
Maintainers
1
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

date-holidays - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

package-lock.json

16

lib/Holidays.js

@@ -165,2 +165,18 @@ /**

})
.map(function (a, i) {
var b = arr[i + 1]
if (b && (a.name === b.name) && (+a.start) === (+b.start)) {
for (var type of TYPES) {
if (type === a.type || type === b.type) {
a.filter = true
b.type = type
break
}
}
}
return a
})
.filter(function (a) {
if (!a.filter) return a
})

@@ -167,0 +183,0 @@ return arr

2

package.json
{
"name": "date-holidays",
"version": "0.2.0",
"version": "0.2.1",
"description": "worldwide holidays",

@@ -5,0 +5,0 @@ "keywords": [

@@ -66,2 +66,4 @@ #!/usr/bin/env node

obj.version = new Date().toISOString().replace(/^(.*)T.*$/, '$1')
this.holidays = obj

@@ -98,5 +100,5 @@ return this

'',
'-p|--pick comma seperated list of countries to pick',
'-p|--pick comma separated list of countries to pick',
' from holidays.json file',
'-o|--omit comma seperated list of countries to omit',
'-o|--omit comma separated list of countries to omit',
' from holidays.json file',

@@ -103,0 +105,0 @@ '',

Sorry, the diff of this file is too big to display

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