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

bianco.attr

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bianco.attr - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

30

index.d.ts

@@ -1,20 +0,18 @@

export declare function get<T extends Element>(el: T, prop: string): string | null
export declare function get<T extends Element>(el: T, prop: string[]): string[] | null
export declare function get<T extends Element>(el: T[], prop: string): string[] | null
export declare function get<T extends Element>(el: T[], prop: string[]): string[][] | null
export declare function get<T extends Element>(el: T, attr: string): string | null
export declare function get<T extends Element>(el: T, attrs: string[]): string[] | null
export declare function get<T extends Element>(els: T[], attr: string): string[] | null
export declare function get<T extends Element>(els: T[], attrs: string[]): string[][] | null
export declare function set<T extends Element>(el: T, prop: string): T
export declare function set<T extends Element>(el: T, prop: string[]): T
export declare function set<T extends Element>(el: T[], prop: string): T[]
export declare function set<T extends Element>(el: T[], prop: string[]): T[]
export declare function set<T extends Element>(el: T, attr: string, val: unknown): T
export declare function set<T extends Element>(el: T, attrs: Record<string, unknown>): T
export declare function set<T extends Element>(els: T[], attr: string, val: unknown): T[]
export declare function set<T extends Element>(els: T[], attrs: Record<string, unknown>): T[]
export declare function remove<T extends Element>(el: T, prop: string): void
export declare function remove<T extends Element>(el: T, prop: string[]): void
export declare function remove<T extends Element>(el: T[], prop: string): void
export declare function remove<T extends Element>(el: T[], prop: string[]): void
export declare function remove<T extends Element>(el: T, attr: string | string[]): void
export declare function remove<T extends Element>(els: T[], attr: string | string[]): void
export declare function has<T extends Element>(el: T, prop: string): boolean | null
export declare function has<T extends Element>(el: T, prop: string[]): boolean[] | null
export declare function has<T extends Element>(el: T[], prop: string): boolean[] | null
export declare function has<T extends Element>(el: T[], prop: string[]): boolean[][] | null
export declare function has<T extends Element>(el: T, attr: string): boolean | null
export declare function has<T extends Element>(el: T, attrs: string[]): boolean[] | null
export declare function has<T extends Element>(els: T[], attr: string): boolean[] | null
export declare function has<T extends Element>(els: T[], attrs: string[]): boolean[][] | null

@@ -21,0 +19,0 @@ export default {

{
"name": "bianco.attr",
"version": "1.1.0",
"version": "1.1.1",
"description": "Helper to set/get/remove DOM attributes on a list of nodes",

@@ -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