Skip to content

Commit

Permalink
Version 1.36.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudinary-bot committed May 2, 2023
1 parent 54baa55 commit f57b1ed
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
1.36.3 / 2023-05-02
==================

* fix: smd number field allows both numbers and string when uploading
* fix: isRemoteUrl not working on big files sometimes

1.36.2 / 2023-04-24
==================

Expand Down
3 changes: 3 additions & 0 deletions lib-es5/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,9 @@ function encode_context(metadataObj) {
return `\"${escapeMetadataValue(innerVal)}\"`;
}).join(',');
return `${key}=[${values}]`;
// if number, convert to string
} else if (Number.isInteger(value)) {
return `${key}=${escapeMetadataValue(String(value))}`;
// if unknown, return the value as string
} else {
return value.toString();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Cloudinary <[email protected]>",
"name": "cloudinary",
"description": "Cloudinary NPM for node.js integration",
"version": "1.36.2",
"version": "1.36.3",
"homepage": "http://cloudinary.com",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit f57b1ed

Please sign in to comment.