New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.2.1 to 0.2.2

26

package.json
{
"name" : "node-red-node-openweathermap",
"version" : "0.2.1",
"description" : "A Node-RED node that gets the weather report from openweathermap",
"dependencies" : {
"request": "~2.83.0"
"name": "node-red-node-openweathermap",
"version": "0.2.2",
"description": "A Node-RED node that gets the weather report from openweathermap",
"dependencies": {
"request": "~2.88.2"
},
"repository" : {
"type":"git",
"url":"https://github.com/node-red/node-red-web-nodes/tree/master/openweathermap"
"repository": {
"type": "git",
"url": "https://github.com/node-red/node-red-web-nodes/tree/master/openweathermap"
},
"license": "Apache-2.0",
"keywords": [ "node-red", "weather", "openweathermap" ],
"node-red" : {
"keywords": [
"node-red",
"weather",
"openweathermap"
],
"node-red": {
"version": ">=0.11.0",
"nodes" : {
"nodes": {
"openweathermap": "weather.js"

@@ -18,0 +22,0 @@ }

@@ -44,2 +44,3 @@ node-red-node-openweathermap

- **icon** - the weather icon code for the current conditions.
- **id** - the id given to the current weather by OpenWeatherMap
- **tempc** - the current ground temperature at that location in Celsius.

@@ -46,0 +47,0 @@ - **tempk** - the current ground temperature at that location in Kelvin.

@@ -90,2 +90,3 @@ /**

if (jsun.hasOwnProperty("weather") && jsun.hasOwnProperty("main")) {
msg.payload.id = jsun.weather[0].id;
msg.payload.weather = jsun.weather[0].main;

@@ -92,0 +93,0 @@ msg.payload.detail = jsun.weather[0].description;

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