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.4 to 0.1.6

3

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

@@ -14,2 +14,3 @@ "dependencies" : {

"node-red" : {
"version": ">=0.11.0",
"nodes" : {

@@ -16,0 +17,0 @@ "openweathermap": "weather.js"

/**
* Copyright 2014 IBM Corp.
* Copyright 2014.2015 IBM Corp.
*

@@ -49,2 +49,3 @@ * Licensed under the Apache License, Version 2.0 (the "License");

//If there is a value missing, the URL is not initialised.
node.credentials = node.credentials || {};
if (node.lat && node.lon) {

@@ -51,0 +52,0 @@ url = "http://api.openweathermap.org/data/2.5/weather?lat=" + node.lat + "&lon=" + node.lon + "&APPID=" + node.credentials.apikey;

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