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

react-datocms

Package Overview
Dependencies
Maintainers
5
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-datocms - npm Package Compare versions

Comparing version 3.0.8 to 3.0.9

4

dist/cjs/Image/index.js

@@ -106,3 +106,3 @@ "use strict";

var transition = fadeInDuration > 0 ? "opacity ".concat(fadeInDuration, "ms") : undefined;
var placeholder = usePlaceholder ? (react_1["default"].createElement("img", { role: "presentation", "aria-hidden": "true", src: data.base64, style: {
var placeholder = usePlaceholder ? (react_1["default"].createElement("img", { role: "presentation", "aria-hidden": "true", alt: "", src: data.base64, style: {
backgroundColor: data.bgColor,

@@ -124,3 +124,3 @@ opacity: showImage ? 0 : 1,

width: '100%'
}, src: "data:image/svg+xml;base64,".concat((0, universal_base64_1.encode)(svg)), "aria-hidden": "true" })) : null;
}, src: "data:image/svg+xml;base64,".concat((0, universal_base64_1.encode)(svg)), "aria-hidden": "true", alt: "" })) : null;
return (react_1["default"].createElement("div", { ref: callbackRef, className: className, style: __assign(__assign({ overflow: 'hidden' }, (layout === 'fill'

@@ -127,0 +127,0 @@ ? absolutePositioning

@@ -84,3 +84,3 @@ var __assign = (this && this.__assign) || function () {

var transition = fadeInDuration > 0 ? "opacity ".concat(fadeInDuration, "ms") : undefined;
var placeholder = usePlaceholder ? (React.createElement("img", { role: "presentation", "aria-hidden": "true", src: data.base64, style: {
var placeholder = usePlaceholder ? (React.createElement("img", { role: "presentation", "aria-hidden": "true", alt: "", src: data.base64, style: {
backgroundColor: data.bgColor,

@@ -102,3 +102,3 @@ opacity: showImage ? 0 : 1,

width: '100%'
}, src: "data:image/svg+xml;base64,".concat(encode(svg)), "aria-hidden": "true" })) : null;
}, src: "data:image/svg+xml;base64,".concat(encode(svg)), "aria-hidden": "true", alt: "" })) : null;
return (React.createElement("div", { ref: callbackRef, className: className, style: __assign(__assign({ overflow: 'hidden' }, (layout === 'fill'

@@ -105,0 +105,0 @@ ? absolutePositioning

{
"name": "react-datocms",
"version": "3.0.8",
"version": "3.0.9",
"types": "dist/types/index.d.ts",

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

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