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.1.3 to 0.1.4

3

locales/en-US/weather.json

@@ -28,3 +28,4 @@ {

"invalid-lon": "Invalid longitude (lon) provided",
"invalid-json": "The API call returned invalid JSON. Is the API Key valid ?",
"invalid-json": "The API call returned invalid JSON",
"invalid-key": "Invalid API Key provided",
"invalid-city_country": "Invalid city/country",

@@ -31,0 +32,0 @@ "invalid-location": "Invalid location information provided",

{
"name" : "node-red-node-openweathermap",
"version" : "0.1.3",
"version" : "0.1.4",
"description" : "A Node-RED node that gets the weather report from openweathermap",

@@ -5,0 +5,0 @@ "dependencies" : {

@@ -67,2 +67,6 @@ /**

var jsun;
if (weather.indexOf("Invalid API key") > -1) {
callback(RED._("weather.error.invalid-key"));
return;
}
try {

@@ -69,0 +73,0 @@ jsun = JSON.parse(weather);

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