yr.no-forecast
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -5,3 +5,7 @@ # CHANGELOG | ||
## 2.0.0 - 24/05/17 | ||
## 2.1.0 - 12/04/2018 | ||
* Bump momentjs to avoid vulnerability | ||
* Bump yr.no-interface to use latest api.met.no URL | ||
## 2.0.0 - 24/05/2017 | ||
* Increase performance by approximately 10x due to use of `pixl-xml` and | ||
@@ -8,0 +12,0 @@ improved algorithm for getting weather nodes. |
@@ -140,2 +140,9 @@ 'use strict'; | ||
parent.rainDetails = { | ||
minRain: 'minvalue' in node.location.precipitation ? node.location.precipitation.minvalue : null, | ||
maxRain: 'minvalue' in node.location.precipitation ? node.location.precipitation.maxvalue : null, | ||
rain: node.location.precipitation.value, | ||
unit: node.location.precipitation.unit | ||
}; | ||
/* istanbul ignore else */ | ||
@@ -142,0 +149,0 @@ if (temps) { |
{ | ||
"name": "yr.no-forecast", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "retrieve a weather forecast for a given time and location from met.no", | ||
@@ -26,6 +26,6 @@ "main": "./index.js", | ||
"lodash.foreach": "~4.5.0", | ||
"moment": "~2.18.1", | ||
"moment": "~2.22.0", | ||
"pixl-xml": "~1.0.10", | ||
"verror": "~1.9.0", | ||
"yr.no-interface": "~1.0.1" | ||
"yr.no-interface": "~1.2.0" | ||
}, | ||
@@ -32,0 +32,0 @@ "license": "MIT", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17147
257
0
+ Addedmoment@2.22.2(transitive)
+ Addedyr.no-interface@1.2.0(transitive)
- Removedmoment@2.18.1(transitive)
- Removedyr.no-interface@1.0.1(transitive)
Updatedmoment@~2.22.0
Updatedyr.no-interface@~1.2.0