Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flickr-sdk

Package Overview
Dependencies
Maintainers
4
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flickr-sdk - npm Package Compare versions

Comparing version 3.7.0 to 3.8.0

13

CHANGELOG.md

@@ -12,2 +12,9 @@ # Changelog

## [v3.8.0] - 2018-12-12
### Fixed
- [#122] Dedupe items in the "extras" param if passed as a string, array, or set. ([@pdokas])
- [#129] Clean `undefined` oauth params from the base string. ([@jeremyruppel])
## [v3.7.0] - 2018-02-14

@@ -163,3 +170,5 @@

[v3.6.0]: https://github.com/flickr/flickr-sdk/compare/v3.5.0...v3.6.0
[Unreleased]: https://github.com/flickr/flickr-sdk/compare/v3.6.0...master
[v3.7.0]: https://github.com/flickr/flickr-sdk/compare/v3.6.0...v3.7.0
[v3.8.0]: https://github.com/flickr/flickr-sdk/compare/v3.7.0...v3.8.0
[Unreleased]: https://github.com/flickr/flickr-sdk/compare/v3.8.0...master

@@ -190,2 +199,4 @@ <!-- pull requests -->

[#121]: https://github.com/flickr/flickr-sdk/pull/121
[#122]: https://github.com/flickr/flickr-sdk/pull/122
[#129]: https://github.com/flickr/flickr-sdk/pull/129

@@ -192,0 +203,0 @@ <!-- other links -->

@@ -88,2 +88,20 @@ /*!

/**
* Returns a copy of `obj` with all undefined key/value pairs removed.
* @param {Object} obj
* @returns {Object}
*/
function cleanParams(obj) {
var tmp = {};
Object.keys(obj).forEach(function (key) {
if (typeof obj[key] !== 'undefined') {
tmp[key] = obj[key];
}
});
return tmp;
}
/**
* @constructor

@@ -178,3 +196,3 @@ * @param {String} consumerKey The application's API key

OAuth.prototype.baseString = function (method, url, params) {
return join([ method, url, sortParams(params) ]);
return join([ method, url, sortParams(cleanParams(params)) ]);
};

@@ -181,0 +199,0 @@

2

package.json
{
"name": "flickr-sdk",
"version": "3.7.0",
"version": "3.8.0",
"description": "Almost certainly the best Flickr API client in the world for node and the browser",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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