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

@marcoms/make-element

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marcoms/make-element - npm Package Compare versions

Comparing version 4.1.6 to 4.1.7

6

build/src/index.d.ts

@@ -46,3 +46,3 @@ export interface ArbitraryFn {

export interface IdMap {
[index: string]: HTMLElement;
[index: string]: IdentifiedElement;
}

@@ -53,6 +53,8 @@ export interface CustomElementClass extends Function {

export interface CustomElement extends HTMLElement {
$: IdMap;
$?: IdMap;
[index: string]: any;
}
export interface IdentifiedElement extends CustomElement {
}
declare function makeElement(def?: ElementDef): CustomElementClass;
export default makeElement;
{
"name": "@marcoms/make-element",
"version": "4.1.6",
"version": "4.1.7",
"description": "Create custom elements without boilerplate",

@@ -5,0 +5,0 @@ "main": "build/make-element.js",

@@ -40,3 +40,3 @@ export interface ArbitraryFn { (this: CustomElement, ...args: any[]): any; }

export interface IdMap {
[index: string]: HTMLElement;
[index: string]: IdentifiedElement;
}

@@ -49,6 +49,11 @@

export interface CustomElement extends HTMLElement {
$: IdMap;
$?: IdMap;
[index: string]: any;
}
// includes HTMLElement and CustomElement possibilities
// `interface` is used instead of `type` so that the interface alias is used
// by code intelligence tools
export interface IdentifiedElement extends CustomElement {}
// private interfaces

@@ -55,0 +60,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