Socket
Socket
Sign inDemoInstall

@hebcal/core

Package Overview
Dependencies
0
Maintainers
1
Versions
254
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0-rc3 to 5.0.0-rc4

18

hebcal.d.ts

@@ -269,3 +269,3 @@ import { GeoLocation } from '@hebcal/noaa';

*/
static monthFromName(c: string): number;
static monthFromName(c: string | number): number;

@@ -439,6 +439,7 @@ /**

* Returns sunrise + `offset` minutes (either positive or negative).
* @param offset minutes
* @param roundMinute round time to nearest minute (default true)
* @param offset minutes
* @param forceSeaLevel use sea-level sunrise (default false)
*/
sunriseOffset(offset: number, roundMinute?: boolean): Date;
sunriseOffset(offset: number, roundMinute?: boolean, forceSeaLevel?: boolean): Date;
/**

@@ -448,4 +449,5 @@ * Returns sunset + `offset` minutes (either positive or negative).

* @param roundMinute round time to nearest minute (default true)
* @param forceSeaLevel use sea-level sunset (default false)
*/
sunsetOffset(offset: number, roundMinute?: boolean): Date;
sunsetOffset(offset: number, roundMinute?: boolean, forceSeaLevel?: boolean): Date;
}

@@ -572,2 +574,10 @@

fastEndDeg?: number;
/**
* useElevation - use elevation for calculations (default `false`).
* If `true`, use elevation to affect the calculation of all sunrise/sunset based zmanim.
* Note: there are some zmanim such as degree-based zmanim that are driven by the amount
* of light in the sky and are not impacted by elevation.
* These zmanim intentionally do not support elevation adjustment.
*/
useElevation?: boolean;
/** calculate parashah hashavua on Saturdays */

@@ -574,0 +584,0 @@ sedrot?: boolean;

{
"name": "@hebcal/core",
"version": "5.0.0-rc3",
"version": "5.0.0-rc4",
"author": "Michael J. Radwin (https://github.com/mjradwin)",

@@ -66,4 +66,4 @@ "contributors": [

"@babel/register": "^7.22.15",
"@hebcal/hdate": "^0.8.1",
"@hebcal/noaa": "^0.8.6",
"@hebcal/hdate": "^0.8.2",
"@hebcal/noaa": "^0.8.7",
"@rollup/plugin-babel": "^6.0.4",

@@ -81,3 +81,3 @@ "@rollup/plugin-commonjs": "^25.0.7",

"nyc": "^15.1.0",
"rollup": "^4.5.2",
"rollup": "^4.6.0",
"temporal-polyfill": "^0.1.1",

@@ -84,0 +84,0 @@ "ttag-cli": "^1.10.9"

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

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

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

Sorry, the diff of this file is not supported yet

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

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