Socket
Socket
Sign inDemoInstall

@hebcal/icalendar

Package Overview
Dependencies
20
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.18.6 to 4.19.0

6

dist/index.js

@@ -1,2 +0,2 @@

/*! @hebcal/icalendar v4.18.6 */
/*! @hebcal/icalendar v4.19.0 */
'use strict';

@@ -9,3 +9,3 @@

const version="4.18.6";
const version="4.19.0";

@@ -150,2 +150,4 @@ const VTIMEZONE = {};

return 'TRIGGER:' + evAlarm;
} else if (typeof evAlarm === 'boolean' && !evAlarm) {
return null;
} else if (core.greg.isDate(evAlarm)) {

@@ -152,0 +154,0 @@ evAlarm.setSeconds(0);

/// <reference types="node"/>
import {HebrewCalendar, Event} from '@hebcal/core';
import {Event, CalOptions} from '@hebcal/core';
declare module '@hebcal/icalendar' {

@@ -7,3 +7,3 @@ /**

*/
export function eventToIcal(e: Event, options: HebrewCalendar.Options): string;
export function eventToIcal(e: Event, options: CalOptions): string;
/**

@@ -13,3 +13,3 @@ * Renders an array of events as a full RFC 2445 iCalendar string

*/
export async function eventsToIcalendar(events: Event[], options: HebrewCalendar.Options): string;
export function eventsToIcalendar(events: Event[], options: CalOptions): Promise<string>;
/**

@@ -19,3 +19,3 @@ * Generates an RFC 2445 iCalendar string from an array of IcalEvents

*/
export async function icalEventsToString(icals: IcalEvent[], options: HebrewCalendar.Options): string;
export function icalEventsToString(icals: IcalEvent[], options: CalOptions): Promise<string>;

@@ -29,3 +29,3 @@ /**

*/
constructor(ev: Event, options: HebrewCalendar.Options);
constructor(ev: Event, options: CalOptions);
toString(): string;

@@ -32,0 +32,0 @@ getLines(): string[];

{
"name": "@hebcal/icalendar",
"version": "4.18.6",
"version": "4.19.0",
"author": "Michael J. Radwin (https://github.com/mjradwin)",

@@ -31,3 +31,3 @@ "keywords": [

"dependencies": {
"@hebcal/core": "^3.48.2",
"@hebcal/core": "^3.49.0",
"@hebcal/rest-api": "^4.3.14",

@@ -48,3 +48,3 @@ "murmurhash3": "^0.5.0"

"devDependencies": {
"@babel/core": "^7.20.5",
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",

@@ -56,8 +56,8 @@ "@babel/register": "^7.18.9",

"ava": "^5.1.0",
"eslint": "^8.30.0",
"eslint": "^8.31.0",
"eslint-config-google": "^0.14.0",
"jsdoc": "^4.0.0",
"jsdoc-to-markdown": "^8.0.0",
"rollup": "^3.7.5"
"rollup": "^3.9.1"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc