Socket
Socket
Sign inDemoInstall

albio

Package Overview
Dependencies
0
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.55 to 1.0.56

2

package.json
{
"name": "albio",
"version": "1.0.55",
"version": "1.0.56",
"description": "๐Ÿš€ Tiny compiler-powered reactivity library for sensible web apps",

@@ -5,0 +5,0 @@ "main": "index",

@@ -6,4 +6,4 @@ import { Node } from 'estree';

type: BlockType;
startNode: ASTNode;
endNode: ASTNode;
start_node: ASTNode;
end_node: ASTNode;
index: number;

@@ -10,0 +10,0 @@ constructor(block: Block);

@@ -5,14 +5,14 @@ import { Node, Expression } from 'estree';

export default abstract class Component {
allEntities: ASTNode[];
rootEntities: ASTNode[];
childEntities: ASTNode[];
all_entities: ASTNode[];
root_entities: ASTNode[];
child_entities: ASTNode[];
bindings: Binding[];
listeners: Listener[];
references: Reference[];
classReferences: Reference[];
class_references: Reference[];
identifiers: string[];
constructor(parsed: CompilerParams);
abstract populateDeps(...args: any): void;
abstract populate_deps(...args: any): void;
abstract render_handler_func(...args: any): Node[];
dirty(names: string[], props: string[]): Expression;
}

@@ -104,3 +104,3 @@ import { ASTNode, Binding, EachBlock, IterableKey, Props, Reference } from '../interfaces';

render(props: string[]): Node;
populateDeps(bindings: Binding[] | Reference[], keys: IterableKey[], iterable: string): void;
populate_deps(bindings: Binding[] | Reference[], keys: IterableKey[], iterable: string): void;
}

@@ -14,3 +14,3 @@ import { Node, Statement } from 'estree';

render_handler_func(identifier: string, ref: Reference, event: string[]): Node[];
populateDeps(bindings: Binding[] | Reference[]): void;
populate_deps(bindings: Binding[] | Reference[]): void;
}

@@ -26,4 +26,4 @@ import { AnyNode } from 'domhandler';

parent: AnyNode;
startNode: AnyNode;
endNode: AnyNode | null;
start_node: AnyNode;
end_node: AnyNode | null;
chunk: AnyNode[];

@@ -30,0 +30,0 @@ }

import { Element, type AnyNode } from 'domhandler';
import { Block } from '../interfaces';
export declare const extractFragment: (path: string) => {
export declare const extract_fragment: (path: string) => {
script: Element[];

@@ -5,0 +5,0 @@ tags: AnyNode[];

import { Props } from '../interfaces';
import { Node, Statement, Program } from 'estree';
import { Element } from 'domhandler';
export declare function parseCode(scripts: Element[]): {
export declare function parse_code(scripts: Element[]): {
source: string;
linkedModules: Element[];
};
export declare function getProgram(source: string): Program;
export declare function extractScripts(ast: Program): {
export declare function get_program(source: string): Program;
export declare function extract_scripts(ast: Program): {
props: Props;

@@ -11,0 +11,0 @@ reactives: Statement[];

import { Listener, type ASTNode, Reference } from '../interfaces';
import { Text, Element, Comment, type AnyNode } from 'domhandler';
export declare function parseTags(nodes: ASTNode[], listeners: Listener[], references: Reference[], index: number, tags: AnyNode[], 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, tag: Text, parent?: ASTNode): number;
export declare function addBinding(nodes: ASTNode[], index: number, data: string, tag: AnyNode, parent?: ASTNode): number;
export declare function parseElement(nodes: ASTNode[], listeners: Listener[], references: Reference[], index: number, tag: Element, parent?: ASTNode): number;
export declare function parseComment(nodes: ASTNode[], index: number, tag: Comment, parent?: ASTNode): number;
export declare function pruneTrailingWhitespace(nodes: ASTNode[]): void;
export declare function parseHtml(tags: AnyNode[]): {
export declare function parse_tags(nodes: ASTNode[], listeners: Listener[], references: Reference[], index: number, tags: AnyNode[], parent?: ASTNode): number;
export declare function parse_text(nodes: ASTNode[], index: number, tag: Text, parent?: ASTNode): number;
export declare function add_text(nodes: ASTNode[], index: number, value: string, tag: Text, parent?: ASTNode): number;
export declare function add_binding(nodes: ASTNode[], index: number, data: string, tag: AnyNode, parent?: ASTNode): number;
export declare function parse_element(nodes: ASTNode[], listeners: Listener[], references: Reference[], index: number, tag: Element, parent?: ASTNode): number;
export declare function parse_comment(nodes: ASTNode[], index: number, tag: Comment, parent?: ASTNode): number;
export declare function prune_trailing_whitespace(nodes: ASTNode[]): void;
export declare function parse_html(tags: AnyNode[]): {
nodes: ASTNode[];

@@ -12,0 +12,0 @@ listeners: Listener[];

@@ -9,3 +9,3 @@ import { Node } from 'estree';

render_instance(): Node[];
astToString(): string;
ast_to_string(): string;
}
import { Node, Identifier, Expression } from 'estree';
import { ASTNode, Binding, Reference } from './interfaces';
export declare const parse: (source: string) => Node;
export declare function isReference(item: Reference | Binding): item is Reference;
export declare function hasArguments(call: string): boolean;
export declare function generateToggleClassStr(identifiers: string[], ref: Reference): Node;
export declare function is_reference(item: Reference | Binding): item is Reference;
export declare function has_arguments(call: string): boolean;
export declare function generate_toggle_class_str(identifiers: string[], ref: Reference): Node;
export declare function get_associated_events(bound: string): string[];
export declare function fetchObject(node: Node): Identifier;
export declare function fetch_object(node: Node): Identifier;
export declare function destringify(str: string): string;
export declare function generateNodeStr(identifiers: string[], node: ASTNode): Node[];
export declare function generateAttrStr(identifiers: string[], node: ASTNode): Node[];
export declare function generate_node_str(identifiers: string[], node: ASTNode): Node[];
export declare function generate_attr_str(identifiers: string[], node: ASTNode): Node[];
export declare function render_ref_check(dirty_exp: Expression, identifiers: string[], ref: Reference): Node[];

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc