Socket
Socket
Sign inDemoInstall

@lit-labs/ssr-dom-shim

Package Overview
Dependencies
0
Maintainers
11
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2-pre.0

2

lib/element-internals.d.ts

@@ -15,3 +15,3 @@ /**

}
declare type ARIAAttributeMap = {
type ARIAAttributeMap = {
[K in keyof ARIAMixin]: string;

@@ -18,0 +18,0 @@ };

@@ -56,2 +56,9 @@ /**

export const ElementInternalsShim = class ElementInternals {
get shadowRoot() {
// Grab the shadow root instance from the Element shim
// to ensure that the shadow root is always available
// to the internals instance even if the mode is 'closed'
return this.__host
.__shadowRoot;
}
constructor(_host) {

@@ -107,9 +114,2 @@ this.ariaAtomic = '';

}
get shadowRoot() {
// Grab the shadow root instance from the Element shim
// to ensure that the shadow root is always available
// to the internals instance even if the mode is 'closed'
return this.__host
.__shadowRoot;
}
checkValidity() {

@@ -116,0 +116,0 @@ // TODO(augustjk) Consider actually implementing logic.

{
"name": "@lit-labs/ssr-dom-shim",
"version": "1.1.1",
"version": "1.1.2-pre.0",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc