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

pascua

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pascua - npm Package Compare versions

Comparing version 2.1.4 to 2.1.5

4

lib/pascua.js

@@ -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

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