Comparing version 2.1.4 to 2.1.5
@@ -9,3 +9,3 @@ "use strict"; | ||
if (year < 1583 || year > 4099) { | ||
throw new Error('The year should be between 1583 and 4099'); | ||
throw new Error("The year should be between 1583 and 4099"); | ||
} | ||
@@ -34,3 +34,3 @@ var a = year % 19; | ||
var day = String(this.day); | ||
return this.year + "-" + month.padStart(2, '0') + "-" + day.padStart(2, '0'); | ||
return this.year + "-" + month.padStart(2, "0") + "-" + day.padStart(2, "0"); | ||
}, | ||
@@ -37,0 +37,0 @@ }; |
{ | ||
"name": "pascua", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"description": "Calculate Easter date for a given year", | ||
@@ -57,5 +57,2 @@ "main": "lib/pascua.js", | ||
}, | ||
"prettier": { | ||
"singleQuote": true | ||
}, | ||
"commitlint": { | ||
@@ -62,0 +59,0 @@ "extends": [ |
@@ -23,3 +23,3 @@ # Pascua 🙏 | ||
```js | ||
import pascua from 'pascua'; | ||
import pascua from "pascua"; | ||
@@ -26,0 +26,0 @@ // Easter date for the current year |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6090