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.53 to 1.0.54

12

internal/index.js

@@ -23,2 +23,12 @@ 'use strict';

function $$detach(node) {
if (node.parentNode) {
node.parentNode.removeChild(node);
}
}
function $$toggle_class(el, name, toggle) {
el.classList[toggle ? "add" : "remove"](name);
}
let update_scheduled = false;

@@ -63,2 +73,3 @@ const resolved_promise = Promise.resolve();

exports.$$detach = $$detach;
exports.$$element = $$element;

@@ -69,3 +80,4 @@ exports.$$invalidate = $$invalidate;

exports.$$text = $$text;
exports.$$toggle_class = $$toggle_class;
exports.flush = flush;
exports.scheduleUpdate = scheduleUpdate;

2

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

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

@@ -11,2 +11,3 @@ import { Node, Expression } from 'estree';

references: Reference[];
classReferences: Reference[];
identifiers: string[];

@@ -13,0 +14,0 @@ constructor(parsed: CompilerParams);

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

create_func_name: string;
block_arr_length: string;
unique_deps: string[];

@@ -104,5 +103,5 @@ };

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

@@ -69,2 +69,3 @@ import { AnyNode } from 'domhandler';

export interface Reference {
type?: string;
index: number;

@@ -71,0 +72,0 @@ var: string;

@@ -1,5 +0,7 @@

import { Node, Identifier } from 'estree';
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 get_associated_events(bound: string): string[];

@@ -10,1 +12,2 @@ export declare function fetchObject(node: Node): Identifier;

export declare function generateAttrStr(identifiers: string[], node: ASTNode): Node[];
export declare function render_ref_check(dirty_exp: Expression, identifiers: string[], ref: Reference): Node[];

@@ -5,1 +5,3 @@ export declare function $$element(node: any): any;

export declare function $$text(data: any): Text;
export declare function $$detach(node: any): void;
export declare function $$toggle_class(el: any, name: string, toggle: boolean): void;

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

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