New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cloudinary

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudinary - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

7

CHANGELOG.md

@@ -0,2 +1,9 @@

1.4.1 / 2016-06-22
==================
Other changes
-------------
* Fix #105 #106 - url generation broken width numeric width parameter
1.4.0 / 2016-06-22

@@ -3,0 +10,0 @@ ==================

6

lib/utils.js

@@ -24,3 +24,3 @@ // Generated by CoffeeScript 1.10.0

exports.VERSION = "1.4.0";
exports.VERSION = "1.4.1";

@@ -342,3 +342,3 @@ exports.USER_AGENT = "CloudinaryNodeJS/" + exports.VERSION;

no_html_sizes = has_layer || utils.present(angle) || crop === "fit" || crop === "limit" || responsive_width;
if (width && (width.startsWith("auto") || no_html_sizes || parseFloat(width) < 1)) {
if (width && (width.toString().indexOf("auto") === 0 || no_html_sizes || parseFloat(width) < 1)) {
delete options["width"];

@@ -464,3 +464,3 @@ }

}
if ((width != null ? width.startsWith("auto") : void 0) || responsive_width) {
if ((width != null ? width.toString().indexOf("auto") : void 0) === 0 || responsive_width) {
options.responsive = true;

@@ -467,0 +467,0 @@ }

@@ -5,3 +5,3 @@ {

"description": "Cloudinary NPM for node.js integration",
"version": "1.4.0",
"version": "1.4.1",
"homepage": "http://cloudinary.com",

@@ -8,0 +8,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

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