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.1 to 0.1.2

5

locales/en-US/weather.json

@@ -28,5 +28,6 @@ {

"invalid-lon": "Invalid longitude (lon) provided",
"invalid-json": "The API call returned invalid JSON",
"invalid-json": "The API call returned invalid JSON. is the API Key valid ?",
"invalid-city_country": "Invalid city/country",
"invalid-location": "Invalid location information provided"
"invalid-location": "Invalid location information provided",
"no-api-key": "No API key set"
},

@@ -33,0 +34,0 @@ "message": {

2

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

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

@@ -129,3 +129,3 @@ /**

var lon;
if ((!node.credentials) || (!node.credentials.hasOwnProperty("apikey"))) { this.error("No API Key set"); }
if ((!node.credentials) || (!node.credentials.hasOwnProperty("apikey"))) { node.error(RED._("weather.error.no-api-key")); }

@@ -175,3 +175,3 @@ this.interval_id = setInterval( function() {

var lon;
if ((!node.credentials) || (!node.credentials.hasOwnProperty("apikey"))) { this.error("No API Key set"); }
if ((!node.credentials) || (!node.credentials.hasOwnProperty("apikey"))) { node.error(RED._("weather.error.no-api-key"));; }

@@ -178,0 +178,0 @@ this.on('input', function(msg) {

Sorry, the diff of this file is not supported yet

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