New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

moment-feiertage

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moment-feiertage - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

7

moment-feiertage.js

@@ -111,3 +111,8 @@ (function (root, factory) {

'state': []
}
},
// Reformationstag is 2017 a german holiday in all states
'Reformationstag': {
'date': moment('2017-10-31'),
'state': []
}
}

@@ -114,0 +119,0 @@

2

package.json
{
"name": "moment-feiertage",
"version": "1.0.2",
"version": "1.0.3",
"description": "Moment.js Plugin for german holidays; check if a given Date is a german holiday",

@@ -5,0 +5,0 @@ "main": "moment-feiertage.js",

@@ -7,6 +7,9 @@ # moment-feiertage

2. `isHoliday()` on any moment object is returning a boolean
3. ES6: add `import ‘moment-feiertage’` after `import moment from 'moment'`
3. ES6: add `import 'moment-feiertage'` after `import moment from 'moment'`
## Examples
```javascript
const moment = require('moment');
const { isHoliday } = require('moment-feiertage');
var nowIsHoliday = moment().isHoliday();

@@ -13,0 +16,0 @@ var someDateIsHoliday = moment('2019-12-25').isHoliday();

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