New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

addcal

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

addcal - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

package.json
{
"name": "addcal",
"version": "2.0.1",
"version": "2.0.2",
"description": "Open-source web application utility for adding calendar events via certain platform API's (Google, etc.)",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -17,3 +17,4 @@ export default class EventParams {

this.url = params.url || '';
this.location = params.location || '';
}
}

@@ -9,3 +9,3 @@ import { createEvent } from 'ics-browser-es';

const _dur = eventParams.duration / 60;
const durHours = Math.floor(_dur / 60);
const durHours = Math.floor(_dur);
const durMinutes = (_dur - durHours) * 60;

@@ -16,3 +16,3 @@

eventParams.start.getFullYear(),
eventParams.start.getMonth(),
eventParams.start.getMonth() + 1,
eventParams.start.getDate(),

@@ -19,0 +19,0 @@ eventParams.start.getHours(),

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