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

react-icalendar-link

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-icalendar-link - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

16

dist/index.es.js

@@ -79,2 +79,18 @@ import * as React from 'react';

body.push("SUMMARY:" + event.title);
event.attendees && event.attendees.forEach(function (attendee) {
var regExp = /^([^<]+)\s*<(.+)>/;
var matches = attendee.match(regExp);
if (matches) {
var name_1 = matches[1];
var email = matches[2];
body.push([
'ATTENDEE',
"CN=" + name_1,
'CUTYPE=INDIVIDUAL',
'PARTSTAT=NEEDS-ACTION',
'ROLE=REQ-PARTICIPANT',
"RSVP=TRUE:mailto:" + email
].join(';'));
}
});
event.endTime && body.push("DTEND:" + formatDate(event.endTime));

@@ -81,0 +97,0 @@ event.description && body.push("DESCRIPTION:" + event.description);

@@ -105,2 +105,18 @@ 'use strict';

body.push("SUMMARY:" + event.title);
event.attendees && event.attendees.forEach(function (attendee) {
var regExp = /^([^<]+)\s*<(.+)>/;
var matches = attendee.match(regExp);
if (matches) {
var name_1 = matches[1];
var email = matches[2];
body.push([
'ATTENDEE',
"CN=" + name_1,
'CUTYPE=INDIVIDUAL',
'PARTSTAT=NEEDS-ACTION',
'ROLE=REQ-PARTICIPANT',
"RSVP=TRUE:mailto:" + email
].join(';'));
}
});
event.endTime && body.push("DTEND:" + formatDate(event.endTime));

@@ -107,0 +123,0 @@ event.description && body.push("DESCRIPTION:" + event.description);

1

dist/utils.d.ts

@@ -7,2 +7,3 @@ export interface ICalEvent {

location?: string;
attendees?: string[];
url?: string;

@@ -9,0 +10,0 @@ }

2

package.json
{
"name": "react-icalendar-link",
"version": "3.0.0",
"version": "3.0.1",
"description": "Ability to create link for downloading ics file",

@@ -5,0 +5,0 @@ "author": "josephj",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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