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.3 to 1.0.4

2

moment-feiertage.js

@@ -94,3 +94,3 @@ (function (root, factory) {

'date': moment(year + '-10-31'),
'state': ['BB', 'MV', 'SN', 'ST', 'TH']
'state': ['BB', 'MV', 'SN', 'ST', 'TH', 'SH', 'HH']
},

@@ -97,0 +97,0 @@ 'Allerheiligen': {

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

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

@@ -14,5 +14,5 @@ # moment-feiertage

var nowIsHoliday = moment().isHoliday();
var someDateIsHoliday = moment('2019-12-25').isHoliday();
var isHolidayInBavaria = moment('2017-08-15').isHoliday('BY');
const nowIsHoliday = moment().isHoliday();
const someDateIsHoliday = moment('2019-12-25').isHoliday();
const isHolidayInBavaria = moment('2017-08-15').isHoliday('BY');

@@ -19,0 +19,0 @@ // state codes:

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