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

dark-sky

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dark-sky - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

5

dark-sky-api.js

@@ -61,3 +61,6 @@ 'use strict';

req({ url: this.url, json: true }, (err, res, body) => {
err ? reject(`Forecast cannot be retrieved. ERROR: ${err}`) : null;
if (err) {
reject(`Forecast cannot be retrieved. ERROR: ${err}`)
return
}
res.statusCode !== 200 ? reject(`Forecast cannot be retrieved. Response: ${res.statusCode} ${res.statusMessage}`) : null;

@@ -64,0 +67,0 @@ resolve(body)

2

package.json
{
"name": "dark-sky",
"version": "1.0.9",
"version": "1.0.10",
"description": "A dead simple Dark Sky API wrapper for Nodejs using method chaining and promises.",

@@ -5,0 +5,0 @@ "main": "dark-sky-api.js",

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