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

node-red-contrib-feiertage-germany

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-feiertage-germany - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

16

feiertage-germany.js

@@ -139,4 +139,16 @@ /* eslint-disable prefer-destructuring */

currentYear = currentDate.getFullYear(); // set current year
currentMonth = currentDate.getMonth() + 1; // set current month
currentDay = currentDate.getDate(); // set current day
const mCurrentMonth = currentDate.getMonth() + 1; // set current month
if (mCurrentMonth.toString().length === 1) {
currentMonth = `0${mCurrentMonth}`;
} else {
currentMonth = mCurrentMonth;
}
const mCurrentDay = currentDate.getDate(); // set current day
if (mCurrentDay.toString().length === 1) {
currentDay = `0${mCurrentDay}`;
} else {
currentDay = mCurrentDay;
}
currentHour = currentDate.getHours(); // set current hour

@@ -143,0 +155,0 @@ currentMinute = currentDate.getMinutes(); // set current minute

2

package.json

@@ -30,3 +30,3 @@ {

},
"version": "1.4.2",
"version": "1.4.3",
"bugs": {

@@ -33,0 +33,0 @@ "url": "https://github.com/MariusLang/node-red-contrib-feiertage-germany/issues"

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