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 3.1.0 to 4.0.0

2

lib/ShadowRoot.js

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

delegatesFocus: false,
mode: 'closed'
mode: 'open'
});

@@ -106,0 +106,0 @@

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

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

@@ -69,3 +69,3 @@ # react-shadow-root

| `delegatesFocus` | `Boolean` | `true` or `false` | `false` | Expands the focus behavior of elements within the shadow DOM. Click [here](https://apearce.github.io/react-shadow-root/#delegates-focus) for more information. |
| `mode` | `String` | `open` or `closed` | `closed` | Sets the mode of the shadow root. |
| `mode` | `String` | `open` or `closed` | `open` | Sets the mode of the shadow root. |
| `stylesheets` | `Array` | `arrayOf(CSSStyleSheet)` | optional | Takes an array of CSSStyleSheet objects for constructable stylesheets. |

@@ -72,0 +72,0 @@

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