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

node-red-node-openweathermap

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-node-openweathermap - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

package.json
{
"name" : "node-red-node-openweathermap",
"version" : "0.0.2",
"version" : "0.0.3",
"description" : "A Node-RED node that gets the weather report from openweathermap",

@@ -11,3 +11,3 @@ "dependencies" : {

},
"license": "Apache 2.0",
"license": "Apache-2.0",
"keywords": [ "node-red", "weather", "openweathermap" ],

@@ -14,0 +14,0 @@ "node-red" : {

@@ -70,3 +70,3 @@ /**

} catch (e) {
callback("The API has returned an invalid JSON");
callback("The API call returned invalid JSON");
return;

@@ -97,3 +97,2 @@ }

msg.description = "Current weather information at coordinates: " + msg.location.lat + ", " + msg.location.lon;
msg.payload.description = ("The weather in " + jsun.name + " at coordinates: " + jsun.coord.lat + ", " + jsun.coord.lon + " is " + jsun.weather[0].main + " (" + jsun.weather[0].description + ")." );

@@ -100,0 +99,0 @@ callback();

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