Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-datocms

Package Overview
Dependencies
Maintainers
6
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 6.0.1 to 6.0.2

2

dist/cjs/Image/index.js

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

// so the edges overflow the container
position: 'absolute', left: '-5%', top: '-5%', width: '110%', height: '110%', maxWidth: 'none', maxHeight: 'none' }, placeholderStyle);
position: 'absolute', left: '-5%', top: '-5%', width: '110%', height: 'auto', maxWidth: 'none', maxHeight: 'none' }, placeholderStyle);
const placeholder = usePlaceholder && data.base64 ? (react_1.default.createElement("img", { "aria-hidden": "true", alt: "", src: data.base64, className: placeholderClassName, style: Object.assign({ objectFit,

@@ -62,0 +62,0 @@ objectPosition }, basePlaceholderStyle) })) : usePlaceholder && data.bgColor ? (react_1.default.createElement("div", { className: placeholderClassName, style: Object.assign({ backgroundColor: data.bgColor }, basePlaceholderStyle) })) : null;

@@ -53,3 +53,3 @@ 'use client';

// so the edges overflow the container
position: 'absolute', left: '-5%', top: '-5%', width: '110%', height: '110%', maxWidth: 'none', maxHeight: 'none' }, placeholderStyle);
position: 'absolute', left: '-5%', top: '-5%', width: '110%', height: 'auto', maxWidth: 'none', maxHeight: 'none' }, placeholderStyle);
const placeholder = usePlaceholder && data.base64 ? (React.createElement("img", { "aria-hidden": "true", alt: "", src: data.base64, className: placeholderClassName, style: Object.assign({ objectFit,

@@ -56,0 +56,0 @@ objectPosition }, basePlaceholderStyle) })) : usePlaceholder && data.bgColor ? (React.createElement("div", { className: placeholderClassName, style: Object.assign({ backgroundColor: data.bgColor }, basePlaceholderStyle) })) : null;

{
"name": "react-datocms",
"version": "6.0.1",
"version": "6.0.2",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=8.0.0"

@@ -34,3 +34,3 @@ <!--datocms-autoinclude-header start-->

Live demo: [https://react-datocms-example.netlify.com/](https://react-datocms-example.netlify.com/)
Live demo: [https://react-datocms-example.netlify.app/](https://react-datocms-example.netlify.app/)

@@ -37,0 +37,0 @@ # Development

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