New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@cloudinary/html

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudinary/html - npm Package Compare versions

Comparing version
1.11.0
to
1.11.1
+7
-0
CHANGELOG.md

@@ -0,1 +1,8 @@

1.11.1 / 2023-03-09
==================
Html
-------
* fix: fix placeholder plugin token
1.11.0 / 2023-02-21

@@ -2,0 +9,0 @@ ==================

+1
-1
{
"name": "@cloudinary/html",
"version": "1.11.0",
"version": "1.11.1",
"description": "An HTML wrapper for Cloudinary",

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

@@ -25,3 +25,3 @@ import cloneDeep from 'lodash.clonedeep';

* @param htmlPluginState {htmlPluginState} Holds cleanup callbacks and event subscriptions.
* @param analyticsOptions {BaseAnalyticsOptions} analytics options for the url to be created
* @param baseAnalyticsOptions {BaseAnalyticsOptions} analytics options for the url to be created
*/

@@ -93,7 +93,7 @@ function placeholderPlugin(mode, element, pluginCloudinaryImage, htmlPluginState, baseAnalyticsOptions) {

largeImage.onload = function () {
resolve();
resolve({ placeholder: true });
};
// image does not load, resolve
largeImage.onerror = function () {
resolve();
resolve({ placeholder: true });
};

@@ -100,0 +100,0 @@ });

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

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

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

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