Socket
Socket
Sign inDemoInstall

weathercompanyapi-node

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

weathercompanyapi-node - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

14

lib/weathercompanyapi-node.js

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

self.query = 'geocode/' + lat + '/' + lng;
self.apiVersion = 'v1';
return this;

@@ -97,2 +98,3 @@ };

self.query = 'location/' + postal.trim() + ':4:' + country.trim();
self.apiVersion = 'v1';
return this;

@@ -132,3 +134,3 @@ };

* @param method {string}
* @param callback {function}
* @param [callback] {function}
* @returns {*}

@@ -189,5 +191,9 @@ */

} catch (err) {
// console.error('Exception caught in JSON.parse', body);
err.body = body;
error = err;
/* istanbul ignore next */
(function () {
// console.error('Exception caught in JSON.parse', body);
err.body = body;
error = err;
})
}

@@ -194,0 +200,0 @@ }

{
"name": "weathercompanyapi-node",
"version": "0.0.5",
"version": "0.0.6",
"description": "Node Client to access The Weather Company API",

@@ -5,0 +5,0 @@ "main": "./lib/weathercompanyapi-node",

@@ -47,3 +47,13 @@ # weathercompanyapi-node

0.0.2 Fixed a packaging issue
0.0.3 Added hourly forecast
0.0.4 Verify ApiKey and throw error if missing
0.0.5 Allow using a promise on `call` method
0.0.6 Fixed problem with API Version getting overwritten
## License
Copyright (c) 2017 Dan Wilson & Skydrop, LLC. Licensed under the MIT license.
Copyright (c) 2017 Dan Wilson & Skydrop, LLC. Licensed under the MIT license. See LICENSE.
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