node-red-contrib-german-holidays
Advanced tools
Comparing version 1.0.2-beta2 to 1.0.3
### CHANGELOG | ||
#### 1.0.3 - maintenance release | ||
- merged pull requests by @rucksman | ||
- added "isWeekendOrHolidayOrSpecialday" #21 | ||
- Add Weltfrauentag as holiday in Berlin #22 | ||
- Dependencies update | ||
#### 1.0.2 - bug fix | ||
@@ -4,0 +11,0 @@ |
@@ -524,2 +524,3 @@ /******************************************** | ||
result.isSpecialday = ((typeof result.specialday !== 'undefined') && (result.specialday !== null)); | ||
result.isHolidayOrSpecialday = result.isHoliday || result.isSpecialday; | ||
@@ -533,3 +534,3 @@ if (offsetToday) { | ||
result.isWeekendOrHoliday = result.isSaturday || result.isSunday || result.isHoliday; | ||
result.isHolidayOrSpecialday = result.isHoliday || result.isSpecialday; | ||
result.isWeekendOrHolidayOrSpecialday = result.isSaturday || result.isSunday || result.isHoliday || result.isSpecialday; | ||
@@ -536,0 +537,0 @@ if (result.isHoliday) { |
{ | ||
"name": "node-red-contrib-german-holidays", | ||
"version": "1.0.2-beta2", | ||
"version": "1.0.3", | ||
"description": "NodeRED nodes to get holidays or special days (not even german holidays)", | ||
@@ -57,6 +57,6 @@ "keywords": [ | ||
"devDependencies": { | ||
"eslint": "^7.1.0", | ||
"eslint-plugin-html": "^6.0.2", | ||
"eslint-plugin-jsdoc": "^26.0.0", | ||
"eslint-plugin-json": "^2.1.1", | ||
"eslint": "^8.7.0", | ||
"eslint-plugin-html": "^6.2.0", | ||
"eslint-plugin-jsdoc": "^37.6.3", | ||
"eslint-plugin-json": "^3.1.0", | ||
"eslint-plugin-node": "^11.1.0" | ||
@@ -63,0 +63,0 @@ }, |
@@ -0,0 +0,0 @@ # node-red-contrib-german-holidays for NodeRED |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
301062
1051
0