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

suncalc3

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

suncalc3 - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

6

package.json
{
"name": "suncalc3",
"version": "2.0.1",
"version": "2.0.2",
"description": "A tiny JavaScript library for calculating sun/moon positions and phases.",

@@ -40,7 +40,7 @@ "homepage": "https://github.com/hypnos3/suncalc3",

"devDependencies": {
"eslint": ">=8.11.0",
"eslint": ">=8.12.0",
"eslint-plugin-json": ">=3.1.0",
"eslint-plugin-node": ">=11.1.0",
"tape": "^5.5.2",
"typescript":"^4.6.2"
"typescript":"^4.6.3"
},

@@ -47,0 +47,0 @@ "files": [

@@ -6,3 +6,2 @@

[![npm version](https://badge.fury.io/js/suncalc3.svg)](https://badge.fury.io/js/suncalc3)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Issues](https://img.shields.io/github/issues/hypnos3/suncalc3.svg?style=flat-square)](https://github.com/hypnos3/suncalc3/issues)

@@ -45,2 +44,3 @@ [![code style](https://img.shields.io/badge/Code%20Style-eslint-green.svg)](https://eslint.org/)

- [Changelog](#changelog)
- [2.0.2 — March 29, 2022](#202--march-29-2022)
- [2.0.1 — March 13, 2022](#201--march-13-2022)

@@ -61,9 +61,6 @@ - [2.0.0 — March 13, 2022](#200--march-13-2022)

|-------------------------------------|---------------------------|
| function names of original SunCalc | changes in this library |
|-------------------------------------|---------------------------|
| SunCalc.getTimes | SunCalc.getSunTimes |
|-------------------------------------|---------------------------|
|----------------------------------------|---------------------------|
| name of the manes of original SunCalc | changes in this library |

@@ -79,5 +76,3 @@ |----------------------------------------|---------------------------|

| goldenHourEnd | goldenHourDawnEnd |
|----------------------------------------|---------------------------|
## Usage example

@@ -102,7 +97,7 @@

```bash
$ npm install suncalc
$ npm install suncalc3
```
```js
let SunCalc = require('suncalc');
let SunCalc = require('suncalc3');
```

@@ -521,2 +516,5 @@

#### 2.0.2 — March 29, 2022
- type definitions update
#### 2.0.1 — March 13, 2022

@@ -523,0 +521,0 @@

@@ -164,2 +164,3 @@ // @ts-check

* @property {boolean} alwaysDown - is true if the moon is always _below_ the horizon
* @property {Date} [highest] - Date of the highest position, only avalΓ­lable if set and rise is not NaN
*/

@@ -166,0 +167,0 @@

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