New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

select-dom

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

select-dom - npm Package Compare versions

Comparing version 4.2.0-2 to 4.2.0-3

13

index.d.ts
// https://github.com/Microsoft/TypeScript/blob/9d3707d671592d030386956c9ce39e539b8d0972/src/lib/dom.generated.d.ts#L10581
type BaseElement = Element | DocumentFragment;
type BaseElements = Element | Element[] | NodeList | DocumentFragment;

@@ -8,23 +9,23 @@

selectors: K,
baseElement?: Element
baseElement?: BaseElement
): HTMLElementTagNameMap[K] | null;
<K extends keyof SVGElementTagNameMap>(
selectors: K,
baseElement?: Element
baseElement?: BaseElement
): SVGElementTagNameMap[K] | null;
<E extends Element = Element>(
selectors: string,
baseElement?: Element
baseElement?: BaseElement
): E | null;
exists<K extends keyof HTMLElementTagNameMap>(
selectors: K,
baseElement?: Element
baseElement?: BaseElement
): boolean;
exists<K extends keyof SVGElementTagNameMap>(
selectors: K,
baseElement?: Element
baseElement?: BaseElement
): boolean;
exists<E extends Element = Element>(
selectors: string,
baseElement?: Element
baseElement?: BaseElement
): boolean;

@@ -31,0 +32,0 @@ all<K extends keyof HTMLElementTagNameMap>(

{
"name": "select-dom",
"version": "4.2.0-2",
"version": "4.2.0-3",
"description": "Extra lightweight DOM selector helper",

@@ -5,0 +5,0 @@ "main": "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