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

react-shadow-root

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-shadow-root - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

lib/index.js

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

value: function componentDidUpdate() {
ReactDOM.render(this.props.children, this.shadowRoot);
_reactDom.default.render(this.props.children, this.shadowRoot);
}

@@ -70,3 +70,3 @@ }, {

value: function componentDidMount() {
this.shadowRoot = ReactDOM.findDOMNode(this).parentNode.attachShadow({
this.shadowRoot = _reactDom.default.findDOMNode(this).parentNode.attachShadow({
mode: this.props.mode

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

{
"name": "react-shadow-root",
"version": "1.0.0",
"version": "1.0.1",
"description": "Adds a shadow root to React components",

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

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