Skip to content

Commit f57b1ed

Browse files
author
cloudinary-bot
committed
Version 1.36.3
1 parent 54baa55 commit f57b1ed

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
1.36.3 / 2023-05-02
2+
==================
3+
4+
* fix: smd number field allows both numbers and string when uploading
5+
* fix: isRemoteUrl not working on big files sometimes
6+
17
1.36.2 / 2023-04-24
28
==================
39

lib-es5/utils/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,9 @@ function encode_context(metadataObj) {
449449
return `\"${escapeMetadataValue(innerVal)}\"`;
450450
}).join(',');
451451
return `${key}=[${values}]`;
452+
// if number, convert to string
453+
} else if (Number.isInteger(value)) {
454+
return `${key}=${escapeMetadataValue(String(value))}`;
452455
// if unknown, return the value as string
453456
} else {
454457
return value.toString();

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Cloudinary <[email protected]>",
33
"name": "cloudinary",
44
"description": "Cloudinary NPM for node.js integration",
5-
"version": "1.36.2",
5+
"version": "1.36.3",
66
"homepage": "http://cloudinary.com",
77
"license": "MIT",
88
"repository": {

0 commit comments

Comments
 (0)