Socket
Socket
Sign inDemoInstall

yr.no-forecast

Package Overview
Dependencies
74
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.1.0

6

CHANGELOG.md

@@ -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) {

6

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc