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

@cloudinary-util/util

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudinary-util/util - npm Package Compare versions

Comparing version 3.3.2 to 3.4.0

7

dist/index.d.ts

@@ -48,3 +48,8 @@ /**

*/
declare function pollForProcessingImage(options: PollForProcessingImageOptions): Promise<boolean>;
interface PollForProcessingImageResponse {
status: number;
success: boolean;
error?: string;
}
declare function pollForProcessingImage(options: PollForProcessingImageOptions): Promise<PollForProcessingImageResponse>;

@@ -51,0 +56,0 @@ /**

@@ -75,5 +75,19 @@ // src/lib/cloudinary.ts

}
return response.ok;
} catch {
return false;
if (!response.ok) {
return {
success: false,
status: response.status,
error: response.headers.get("x-cld-error") || "Unknown error"
};
}
return {
success: true,
status: response.status
};
} catch (error) {
return {
success: false,
status: 500,
error: error.message || "Network error"
};
}

@@ -80,0 +94,0 @@ }

2

package.json
{
"name": "@cloudinary-util/util",
"version": "3.3.2",
"version": "3.4.0",
"type": "module",

@@ -5,0 +5,0 @@ "main": "./dist/index.cjs",

Sorry, the diff of this file is not supported yet

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