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

swedish-holidays

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swedish-holidays - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

32

dist/holidays.js
"use strict";
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
function _iterableToArrayLimit(arr, i) { if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }

@@ -33,3 +37,3 @@

epiphany: 'Trettondedag jul',
cuttingThursday: 'Skärtorsdagen',
maundyThursday: 'Skärtorsdagen',
goodFriday: 'Långfredagen',

@@ -41,5 +45,5 @@ holySaturday: 'Påskafton',

mayFirst: 'Första maj',
christSkyFly: 'Kristi himmelsfärdsdag',
ascensionDay: 'Kristi himmelsfärdsdag',
swedishNationalDay: 'Sveriges nationaldag',
pentecstEve: 'Pingstafton',
pentecostEve: 'Pingstafton',
whitSunday: 'Pingstdagen',

@@ -55,9 +59,3 @@ midsummerEve: 'Midsommarafton',

};
var SUNDAY = 0;
var MONDAY = 1;
var TUESDAY = 2;
var WEDNESDAY = 3;
var THURSDAY = 4;
var FRIDAY = 5;
var SAUTRDAY = 6;

@@ -127,3 +125,3 @@ var isHoliday = function isHoliday(date, language) {

if (epact === 25 && goldenNumber > 11 || epact == 24) {
if (epact === 25 && goldenNumber > 11 || epact === 24) {
epact += 1;

@@ -150,3 +148,3 @@ }

var pingst = easterSunday.plusWeeks(7);
holidays.push(getHolidayJSON(language.cuttingThursday, easterSunday.plusDays(-3)));
holidays.push(getHolidayJSON(language.maundyThursday, easterSunday.plusDays(-3)));
holidays.push(getHolidayJSON(language.goodFriday, easterSunday.plusDays(-2)));

@@ -156,4 +154,4 @@ holidays.push(getHolidayJSON(language.holySaturday, easterSunday.plusDays(-1)));

holidays.push(getHolidayJSON(language.easterMonday, easterSunday.plusDays(1)));
holidays.push(getHolidayJSON(language.christSkyFly, christSkyFly));
holidays.push(getHolidayJSON(language.pentecstEve, pingst.plusDays(-1)));
holidays.push(getHolidayJSON(language.ascensionDay, christSkyFly));
holidays.push(getHolidayJSON(language.pentecostEve, pingst.plusDays(-1)));
holidays.push(getHolidayJSON(language.whitSunday, pingst));

@@ -189,2 +187,2 @@ }

};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9ob2xpZGF5cy5qcyJdLCJuYW1lcyI6WyJEYXRlIiwicHJvdG90eXBlIiwicGx1c0RheXMiLCJkIiwiZGF0ZSIsInNldERhdGUiLCJnZXREYXRlIiwicGx1c1dlZWtzIiwicGx1c1llYXJzIiwic2V0RnVsbFllYXIiLCJnZXRGdWxsWWVhciIsInN3ZWRpc2hIb2xpZGF5TmFtZXMiLCJuZXdZZWFyc0RheSIsInR3ZWxmdGhOaWdodCIsImVwaXBoYW55IiwiY3V0dGluZ1RodXJzZGF5IiwiZ29vZEZyaWRheSIsImhvbHlTYXR1cmRheSIsImVhc3RlclN1bmRheSIsImVhc3Rlck1vbmRheSIsIndhbHB1cmdpc05pZ2h0IiwibWF5Rmlyc3QiLCJjaHJpc3RTa3lGbHkiLCJzd2VkaXNoTmF0aW9uYWxEYXkiLCJwZW50ZWNzdEV2ZSIsIndoaXRTdW5kYXkiLCJtaWRzdW1tZXJFdmUiLCJtaWRzdW1tZXJEYXkiLCJhbGxTYWludHNFdmUiLCJhbGxTYWludHNEYXkiLCJjaHJpc3RtYXNFdmUiLCJjaHJpc3RtYXNEYXkiLCJib3hpbmdEYXkiLCJuZXdZZWFyc0V2ZSIsIlNVTkRBWSIsIk1PTkRBWSIsIlRVRVNEQVkiLCJXRURORVNEQVkiLCJUSFVSU0RBWSIsIkZSSURBWSIsIlNBVVRSREFZIiwiaXNIb2xpZGF5IiwibGFuZ3VhZ2UiLCJob2xpZGF5cyIsImdldEhvbGlkYXlzRm9yWWVhciIsImZpbHRlciIsImhvbGlkYXkiLCJkYXkiLCJtb250aCIsImdldE1vbnRoIiwieWVhciIsImdldEhvbGlkYXlKU09OIiwibmFt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bGlkYXlzLnB1c2goZ2V0SG9saWRheUpTT04obGFuZ3VhZ2Uud2FscHVyZ2lzTmlnaHQsIGZpeGVkRGF0ZSh5ZWFyLCA0LCAzMCkpKTtcbiAgICBob2xpZGF5cy5wdXNoKGdldEhvbGlkYXlKU09OKGxhbmd1YWdlLm1heUZpcnN0LCBmaXhlZERhdGUoeWVhciwgNSwgMSkpKTtcbiAgICBob2xpZGF5cy5wdXNoKGdldEhvbGlkYXlKU09OKGxhbmd1YWdlLnN3ZWRpc2hOYXRpb25hbERheSwgZml4ZWREYXRlKHllYXIsIDYsIDYpKSk7XG4gICAgaG9saWRheXMucHVzaChnZXRIb2xpZGF5SlNPTihsYW5ndWFnZS5jaHJpc3RtYXNFdmUsIGZpeGVkRGF0ZSh5ZWFyLCAxMiwgMjQpKSk7XG4gICAgaG9saWRheXMucHVzaChnZXRIb2xpZGF5SlNPTihsYW5ndWFnZS5jaHJpc3RtYXNEYXksIGZpeGVkRGF0ZSh5ZWFyLCAxMiwgMjUpKSk7XG4gICAgaG9saWRheXMucHVzaChnZXRIb2xpZGF5SlNPTihsYW5ndWFnZS5ib3hpbmdEYXksIGZpeGVkRGF0ZSh5ZWFyLCAxMiwgMjYpKSk7XG4gICAgaG9saWRheXMucHVzaChnZXRIb2xpZGF5SlNPTihsYW5ndWFnZS5uZXdZZWFyc0V2ZSwgZml4ZWREYXRlKHllYXIsIDEyLCAzMSkpKTtcbiAgICByZXR1cm4gaG9saWRheXMuc29ydCgoYSxiKSA9PiBhLmRhdGUuZ2V0VGltZSgpIC0gYi5kYXRlLmdldFRpbWUoKSk7XG59XG5cbm1vZHVsZS5leHBvcnRzID0geyBnZXRIb2xpZGF5czogZ2V0SG9saWRheXNGb3JZZWFyLCBnZXRVcGNvbWluZ0hvbGlkYXlzLCBpc0hvbGlkYXkgfVxuXG4iXX0=
{
"name": "swedish-holidays",
"version": "0.1.5",
"version": "0.1.6",
"description": "Library for calculating the date of all swedish holidays for any given year.",

@@ -8,3 +8,4 @@ "main": "./dist/holidays.js",

"build": "babel ./src --out-dir ./dist -s inline --delete-dir-on-start",
"prepack": "npm run build"
"prepack": "npm run build",
"test": "npm run build && jest"
},

@@ -31,6 +32,7 @@ "repository": {

"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.3.4",
"@babel/preset-env": "^7.5.5",
"@babel/plugin-proposal-export-namespace-from": "^7.5.2",
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.1",
"@babel/preset-env": "^7.11.0",
"@babel/plugin-proposal-export-namespace-from": "^7.10.4",
"jest": "^26.3.0",
"pre-commit": "^1.2.2"

@@ -37,0 +39,0 @@ },

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