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

cascade

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cascade - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

13

dist/scripts/cascade/Component.d.ts

@@ -10,3 +10,3 @@ import VirtualNode from './VirtualNode';

element: Node;
context: Component<any>[];
context: Component<IVirtualNodeProps>[];
rendered: boolean;

@@ -17,7 +17,8 @@ constructor(props?: T, ...children: any[]);

toNode(oldRoot?: any): Node;
diffComponents(newRoot: Component<any>, oldRoot: Component<any>, oldElement: Node): any;
diffVirtualNodes(newRoot: VirtualNode<any>, oldRoot: VirtualNode<any>, oldElement: HTMLElement): HTMLElement;
static getContext(): Component<any>[];
static pushContext(): Component<any>[];
static popContext(): Component<any>[];
afterRender(node: Node): void;
diffComponents(newRoot: Component<IVirtualNodeProps>, oldRoot: Component<IVirtualNodeProps>, oldElement: Node): any;
diffVirtualNodes(newRoot: VirtualNode<IVirtualNodeProps>, oldRoot: VirtualNode<IVirtualNodeProps>, oldElement: HTMLElement): HTMLElement;
static getContext(): Component<IVirtualNodeProps>[];
static pushContext(): Component<IVirtualNodeProps>[];
static popContext(): Component<IVirtualNodeProps>[];
}

@@ -133,2 +133,3 @@ "use strict";

}
this.afterRender(element);
if (!element) {

@@ -141,2 +142,4 @@ element = document.createComment('Empty Component');

};
Component.prototype.afterRender = function (node) {
};
Component.prototype.diffComponents = function (newRoot, oldRoot, oldElement) {

@@ -203,2 +206,5 @@ var innerRoot = Graph_1.default.peek(newRoot, 'root');

}
if (newRoot.props.ref) {
newRoot.props.ref(oldElement);
}
return oldElement;

@@ -273,2 +279,5 @@ };

}
if (newRoot.props.ref) {
newRoot.props.ref(oldElement);
}
return oldElement;

@@ -275,0 +284,0 @@ }

{
"name": "cascade",
"version": "0.0.15",
"version": "0.0.16",
"description": "A library for creating modern user interfaces.",

@@ -5,0 +5,0 @@ "author": "Sean Johnson <sjohnson@sjohnsonaz.com>",

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