node-red-node-openweathermap
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"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
52756
323
80
+ Addedajv@6.12.6(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedhar-validator@5.1.5(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedoauth-sign@0.9.0(transitive)
+ Addedpsl@1.15.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedrequest@2.88.2(transitive)
+ Addedtough-cookie@2.5.0(transitive)
+ Addeduri-js@4.4.1(transitive)
- Removedajv@5.5.2(transitive)
- Removedboom@4.3.15.3.3(transitive)
- Removedco@4.6.0(transitive)
- Removedcryptiles@3.2.1(transitive)
- Removedfast-deep-equal@1.1.0(transitive)
- Removedhar-validator@5.0.3(transitive)
- Removedhawk@6.0.2(transitive)
- Removedhoek@4.3.1(transitive)
- Removedjson-schema-traverse@0.3.1(transitive)
- Removedoauth-sign@0.8.2(transitive)
- Removedpunycode@1.4.1(transitive)
- Removedrequest@2.83.0(transitive)
- Removedsntp@2.1.0(transitive)
- Removedstringstream@0.0.6(transitive)
- Removedtough-cookie@2.3.4(transitive)
Updatedrequest@~2.88.2