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

@hebcal/core

Package Overview
Dependencies
Maintainers
1
Versions
277
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hebcal/core - npm Package Compare versions

Comparing version 1.0.13 to 1.0.14

47

hebcal.d.ts

@@ -15,3 +15,3 @@ declare module '@hebcal/core' {

getFlags(): number;
getAttrs(): number;
getAttrs(): any;
getDesc(): string;

@@ -110,2 +110,41 @@ getDate(): HDate;

/**
* Class representing Location
*/
export class Location {
/**
* Initialize a Location instance
* @param latitude - Latitude as a decimal, valid range -90 thru +90 (e.g. 41.85003)
* @param longitude - Longitude as a decimal, valid range -180 thru +180 (e.g. -87.65005)
* @param il - in Israel (true) or Diaspora (false)
* @param tzid - Olson timezone ID, e.g. "America/Chicago"
* @param cityName - optional descriptive city name
* @param countryCode - ISO 3166 alpha-2 country code (e.g. "FR")
* @param geoid - optional numeric geographic ID
*/
constructor(latitude: number, longitude: number, il: boolean, tzid: string, cityName?: string, countryCode?: string, geoid?: number);
suntime(hdate: HDate): suncalc.GetTimesResult;
sunrise(hdate: HDate): Date;
sunset(hdate: HDate): Date;
hour(hdate: HDate): number;
hourMins(hdate: HDate): number;
gregEve(hdate: HDate): Date;
nightHour(hdate: HDate): number;
nightHourMins(hdate: HDate): number;
hourOffset(hdate: HDate, hours: number): Date;
chatzot(hdate: HDate): Date;
chatzotNight(hdate: HDate): Date;
alotHaShachar(hdate: HDate): Date;
misheyakir(hdate: HDate): Date;
misheyakirMachmir(hdate: HDate): Date;
sofZmanShma(hdate: HDate): Date;
sofZmanTfilla(hdate: HDate): Date;
minchaGedola(hdate: HDate): Date;
minchaKetana(hdate: HDate): Date;
plagHaMincha(hdate: HDate): Date;
tzeit(hdate: HDate): Date;
neitzHaChama(hdate: HDate): Date;
shkiah(hdate: HDate): Date;
}
export namespace hebcal {

@@ -235,2 +274,8 @@ /**

export function hebrewCalendar(options: HebcalOptions): Event[];
export function makeAnchor(s: string): string;
export function getHolidayBasename(s: string): string;
export function getShortUrl(e: Event): string;
export function getEventUrl(e: Event): string;
export function reformatTimeStr(timeStr: string, suffix: string, options: HebcalOptions): string;
}

@@ -237,0 +282,0 @@

2

package.json
{
"name": "@hebcal/core",
"version": "1.0.13",
"version": "1.0.14",
"author": "Michael J. Radwin (https://github.com/mjradwin)",

@@ -5,0 +5,0 @@ "contributors": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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