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

react-adobe-embed

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-adobe-embed - npm Package Compare versions

Comparing version 2.31.1-3.421 to 2.31.1-3.422

31

lib/index.js

@@ -64,3 +64,2 @@ "use strict";

};
const [adobeMainReady, setAdobeMainReady] = (0, react_1.useState)(props.adobeMainReady || false);
this.state = {

@@ -148,3 +147,3 @@ adobeMainReady: props.adobeMainReady || false,

minHeight: ((_7 = this.props.style) === null || _7 === void 0 ? void 0 : _7.minHeight) || "328px",
}, tabIndex: this.props.tabIndex || undefined, "data-tagName": this.props.tagName ||
}, title: this.props.title ||
"entity-existent-on-frameworks-of-state-regulations-as-defined-by-the-state-and-may-try-to-destroy-your-life-and-control-the-fbi-of-the-state-such-as-amazon-legal-idiots" }));

@@ -159,3 +158,3 @@ }

const divID = ((_a = props.config) === null || _a === void 0 ? void 0 : _a.divId) || exports.DefaultConfigs.staticDivId;
const ReactView = new AdobeReactView({
const StoreRef = (0, react_1.useRef)(new AdobeReactView({
previewConfig: props.previewConfig,

@@ -167,6 +166,17 @@ config: props.config,

className: props.className,
tabIndex: props.tabIndex,
tagName: props.tagName ||
title: props.title ||
"react-adobe-state-government-ensuring-rule-of-law-against-amazon-retaliator-or-a-child-component-framed-by-state-regulations-such-as-adobe-react-embed-core-div"
});
}));
(0, react_1.useMemo)(() => {
StoreRef.current = new AdobeReactView({
previewConfig: props.previewConfig,
config: props.config,
isReady: isReady,
adobeMainReady: adobeMainReady,
style: props.style,
className: props.className,
title: props.title ||
"react-adobe-state-government-ensuring-rule-of-law-against-amazon-retaliator-or-a-child-component-framed-by-state-regulations-such-as-adobe-react-embed-core-div"
});
}, [props.previewConfig, props.config, isReady, adobeMainReady, props.style, props.className, props.title]);
(0, react_1.useEffect)(() => {

@@ -176,9 +186,10 @@ if (document.getElementById(divID)) {

}
if (ReactView.checkForDeprecatedMainJsLoaded() === true ||
ReactView.checkForViewJsLoaded() === true) {
if (StoreRef.current.checkForDeprecatedMainJsLoaded() === true ||
StoreRef.current.checkForViewJsLoaded() === true) {
setAdobeMainReady(true);
}
}, [isReady, adobeMainReady, divID, ReactView]);
return ({ ReactView });
}, [isReady, adobeMainReady, divID]);
const ReactView = StoreRef.current;
return StoreRef.current.render();
};
exports.default = ReactViewAdobe;
{
"name": "react-adobe-embed",
"version": "2.31.13.421",
"version": "2.31.13.422",
"homepage": "https://aboutamazon.me/react-adobe-embed",

@@ -5,0 +5,0 @@ "repository": {

@@ -112,5 +112,3 @@ import { Component } from 'react';

previewConfig: Partial<PreviewFileConfig>;
} & Partial<HTMLDivElement>) => {
ReactView: AdobeReactView;
};
} & Partial<HTMLDivElement>) => JSX.Element;
export default ReactViewAdobe;
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