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

element-internals-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

element-internals-polyfill - npm Package Compare versions

Comparing version 1.1.17 to 1.1.18

2

dist/CustomStateSet.d.ts
import { ICustomElement } from "./types";
export declare type CustomState = `--${string}`;
export type CustomState = `--${string}`;
export declare class CustomStateSet extends Set<CustomState> {

@@ -4,0 +4,0 @@ static get isPolyfilled(): boolean;

@@ -10,2 +10,3 @@ import { IElementInternals, ICustomElement, LabelsList } from './types';

ariaColIndex: string;
ariaColIndexText: string;
ariaColSpan: string;

@@ -17,2 +18,3 @@ ariaCurrent: string;

ariaHidden: string;
ariaInvalid: string;
ariaKeyShortcuts: string;

@@ -35,2 +37,3 @@ ariaLabel: string;

ariaRowIndex: string;
ariaRowIndexText: string;
ariaRowSpan: string;

@@ -37,0 +40,0 @@ ariaSelected: string;

@@ -194,2 +194,3 @@ (function () {

ariaColIndex: 'aria-colindex',
ariaColIndexText: 'aria-colindextext',
ariaColSpan: 'aria-colspan',

@@ -201,2 +202,3 @@ ariaCurrent: 'aria-current',

ariaHidden: 'aria-hidden',
ariaInvalid: 'aria-invalid',
ariaKeyShortcuts: 'aria-keyshortcuts',

@@ -219,2 +221,3 @@ ariaLabel: 'aria-label',

ariaRowIndex: 'aria-rowindex',
ariaRowIndexText: 'aria-rowindextext',
ariaRowSpan: 'aria-rowspan',

@@ -417,2 +420,5 @@ ariaSelected: 'aria-selected',

class ElementInternals {
static get isPolyfilled() {
return true;
}
constructor(ref) {

@@ -436,5 +442,2 @@ if (!ref || !ref.tagName || ref.tagName.indexOf('-') === -1) {

}
static get isPolyfilled() {
return true;
}
checkValidity() {

@@ -652,2 +655,2 @@ const ref = refMap.get(this);

}());
})();

@@ -10,2 +10,3 @@ import { CustomStateSet } from "./CustomStateSet";

ariaColIndex: string;
ariaColIndexText: string;
ariaColSpan: string;

@@ -17,2 +18,3 @@ ariaCurrent: string;

ariaHidden: string;
ariaInvalid: string;
ariaKeyShortcuts: string;

@@ -35,2 +37,3 @@ ariaLabel: string;

ariaRowIndex: string;
ariaRowIndexText: string;
ariaRowSpan: string;

@@ -71,3 +74,3 @@ ariaSelected: string;

}
export declare type LabelsList = NodeListOf<HTMLLabelElement>;
export type LabelsList = NodeListOf<HTMLLabelElement>;
declare global {

@@ -74,0 +77,0 @@ interface HTMLElement {

{
"name": "element-internals-polyfill",
"version": "1.1.17",
"version": "1.1.18",
"description": "A polyfill for the element internals specification",

@@ -47,3 +47,3 @@ "main": "dist/index.js",

"@babel/preset-env": "^7.9.5",
"@open-wc/testing": "^2.5.17",
"@open-wc/testing": "^3.1.7",
"@open-wc/testing-helpers": "^1.7.1",

@@ -50,0 +50,0 @@ "@rollup/plugin-node-resolve": "^7.1.3",

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