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

skatejs

Package Overview
Dependencies
Maintainers
7
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skatejs - npm Package Compare versions

Comparing version 4.1.1 to 4.1.2

2

package.json

@@ -46,3 +46,3 @@ {

},
"version": "4.1.1"
"version": "4.1.2"
}

@@ -7,6 +7,35 @@ export const vdom: any;

export const emit: (elem: any, eventName: string, eventOptions?:any) => boolean;
export const emit: (elem: any, eventName: string, eventOptions?: any) => boolean;
export class Component extends HTMLElement {}
export class Component extends HTMLElement {
// Custom Elements v1
connectedCallback(): void;
disconnectedCallback(): void;
attributeChangedCallback(name: string, oldValue: null | string, newValue: null | string): void;
adoptedCallback?(): void;
// SkateJS
static readonly props: { [nameOrSymbol: string]: PropOptions };
static readonly observedAttributes: string[];
updatedCallback(previousProps: { [nameOrSymbol: string]: any }): boolean;
renderCallback(): any;
renderedCallback(): void;
// DEPRECATED
static created?(elem: Component): void;
// DEPRECATED
static attached?(elem: Component): void;
// DEPRECATED
static detached?(elem: Component): void;
// DEPRECATED
static attributeChanged?(elem: Component, data: { name: string, oldValue: null | string, newValue: null | string }): void;
// DEPRECATED
static updated(elem: Component, prevProps: { [nameOrSymbol: string]: any }): boolean;
// DEPRECATED
static render?(elem: Component): any | undefined;
// DEPRECATED
static rendered(elem: Component): void;
}
export function define<C>(name: string, component: C): C;

@@ -18,3 +47,3 @@

constructor?(elem: Component & Proto & Props): any;
updatedCallback?(elem: Component & Proto & Props, prevProps: { [name: string]: any }): boolean | undefined;
updatedCallback?(elem: Component & Proto & Props, prevProps: { [name: string]: any }): boolean;
renderCallback?(elem: Component & Proto & Props): () => any | undefined;

@@ -24,3 +53,3 @@ renderedCallback?(elem: Component & Proto & Props): any;

disconnectedCallback?(elem: Component & Proto & Props): any;
attributeChangedCallback?(elem: Component & Proto & Props, data: { name: string, oldValue: any, newValue: any }): any;
attributeChangedCallback?(elem: Component & Proto & Props, data: { name: string, oldValue: null | string, newValue: null | string }): any;
observedAttributes?: string[];

@@ -27,0 +56,0 @@ }): { new(...args: any[]): Component & Proto & Props };

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