albio
Advanced tools
Comparing version 1.0.18 to 1.0.19
{ | ||
"name": "albio", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"description": "🚀 Tiny compiler-powered reactivity library for sensible web apps", | ||
@@ -5,0 +5,0 @@ "main": "index", |
@@ -1,5 +0,4 @@ | ||
import { ChildNode, Element } from 'parse5/dist/tree-adapters/default'; | ||
export declare const extractFragment: (path: string) => { | ||
script: Element[]; | ||
tags: ChildNode[]; | ||
script: any[]; | ||
tags: any[]; | ||
}; |
import { Props } from '../interfaces'; | ||
import { Node, Statement, Program } from 'estree'; | ||
import { Element } from 'parse5/dist/tree-adapters/default'; | ||
import { Element } from 'domhandler'; | ||
export declare function parseCode(scripts: Element[]): { | ||
@@ -5,0 +5,0 @@ source: string; |
import { Listener, type ASTNode } from '../interfaces'; | ||
import { ChildNode, TextNode, Element, CommentNode } from 'parse5/dist/tree-adapters/default'; | ||
import { ChildNode, Text, Element, Comment } from 'domhandler'; | ||
export declare function parseTags(nodes: ASTNode[], listeners: Listener[], index: number, tags: ChildNode[], parent?: ASTNode): number; | ||
export declare function parseText(nodes: ASTNode[], index: number, tag: TextNode, parent?: ASTNode): number; | ||
export declare function parseText(nodes: ASTNode[], index: number, tag: Text, parent?: ASTNode): number; | ||
export declare function addText(nodes: ASTNode[], index: number, value: string, parent?: ASTNode): number; | ||
export declare function addBinding(nodes: ASTNode[], index: number, data: string, parent?: ASTNode): number; | ||
export declare function parseElement(nodes: ASTNode[], listeners: Listener[], index: number, parent: ASTNode | undefined, tag: Element): number; | ||
export declare function parseComment(nodes: ASTNode[], index: number, tag: CommentNode, parent?: ASTNode): number; | ||
export declare function parseComment(nodes: ASTNode[], index: number, tag: Comment, parent?: ASTNode): number; | ||
export declare function pruneTrailingWhitespace(nodes: ASTNode[]): void; | ||
@@ -10,0 +10,0 @@ export declare function parseHtml(tags: ChildNode[]): { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3847813
33142