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

aurumjs

Package Overview
Dependencies
Maintainers
1
Versions
244
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurumjs - npm Package Compare versions

Comparing version 0.3.20 to 0.3.21

prebuilt_minified/aurumjs.js

3

dist/nodes/a.d.ts

@@ -10,2 +10,5 @@ import { Callback, AttributeValue } from '../utilities/common';

}
/**
* @internal
*/
export declare class A extends AurumElement {

@@ -12,0 +15,0 @@ readonly node: HTMLAnchorElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class A extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class Abbr extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Abbr extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class Address extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Address extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { Callback } from '../utilities/common';

}
/**
* @internal
*/
export declare class Area extends AurumElement {

@@ -10,0 +13,0 @@ readonly node: HTMLAreaElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Area extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class Article extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Article extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, ChildNode, AurumElementProps } from './special/aurum_element';
/**
* @internal
*/
export declare class Aside extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Aside extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -14,2 +14,5 @@ import { Callback, AttributeValue } from '../utilities/common';

}
/**
* @internal
*/
export declare class Audio extends AurumElement {

@@ -16,0 +19,0 @@ readonly node: HTMLAudioElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Audio extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class B extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class B extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Body extends AurumElement {

@@ -10,0 +13,0 @@ readonly node: HTMLBodyElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Body extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, ChildNode, AurumElementProps } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Br extends AurumElement {

@@ -10,0 +13,0 @@ readonly node: HTMLBRElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Br extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -9,2 +9,5 @@ import { AurumElement, ChildNode, AurumElementProps } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Button extends AurumElement {

@@ -11,0 +14,0 @@ readonly node: HTMLButtonElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Button extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -10,2 +10,5 @@ import { AurumElement, ChildNode, AurumElementProps } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Canvas extends AurumElement {

@@ -12,0 +15,0 @@ readonly node: HTMLCanvasElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Canvas extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -9,2 +9,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Data extends AurumElement {

@@ -11,0 +14,0 @@ node: HTMLDataElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Data extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Details extends AurumElement {

@@ -10,0 +13,0 @@ readonly node: HTMLDetailsElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Details extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Div extends AurumElement {

@@ -10,0 +13,0 @@ readonly node: HTMLDivElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Div extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class Em extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Em extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class Footer extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Footer extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Form extends AurumElement {

@@ -10,0 +13,0 @@ readonly node: HTMLFormElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Form extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class H1 extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class H1 extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class H2 extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class H2 extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class H3 extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class H3 extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class H4 extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class H4 extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class H5 extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class H5 extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class H6 extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class H6 extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Head extends AurumElement {

@@ -10,0 +13,0 @@ readonly node: HTMLHeadElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Head extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class Header extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Header extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Heading extends AurumElement {

@@ -10,0 +13,0 @@ readonly node: HTMLHeadingElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Heading extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Hr extends AurumElement {

@@ -10,0 +13,0 @@ readonly node: HTMLHRElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Hr extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class I extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class I extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -15,2 +15,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class IFrame extends AurumElement {

@@ -17,0 +20,0 @@ readonly node: HTMLIFrameElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class IFrame extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -16,2 +16,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Img extends AurumElement {

@@ -18,0 +21,0 @@ readonly node: HTMLImageElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Img extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -35,2 +35,5 @@ import { AttributeValue, Callback, DataDrain } from '../utilities/common';

}
/**
* @internal
*/
export declare class Input extends AurumElement {

@@ -37,0 +40,0 @@ node: HTMLInputElement;

import { AurumElement } from './special/aurum_element';
import { DataSource } from '../stream/data_source';
import { DuplexDataSource } from '../stream/duplex_data_source';
/**
* @internal
*/
const inputEvents = { input: 'onInput', change: 'onChange' };
/**
* @internal
*/
const inputProps = [

@@ -29,2 +35,5 @@ 'placeholder',

];
/**
* @internal
*/
export class Input extends AurumElement {

@@ -31,0 +40,0 @@ constructor(props, children) {

@@ -9,2 +9,5 @@ import { AurumElement, ChildNode, AurumElementProps } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Label extends AurumElement {

@@ -11,0 +14,0 @@ node: HTMLLabelElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Label extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Li extends AurumElement {

@@ -10,0 +13,0 @@ node: HTMLLIElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Li extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -14,2 +14,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Link extends AurumElement {

@@ -16,0 +19,0 @@ node: HTMLLinkElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Link extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class Nav extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Nav extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class NoScript extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class NoScript extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Ol extends AurumElement {

@@ -10,0 +13,0 @@ node: HTMLOListElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Ol extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { Callback } from '../utilities/common';

}
/**
* @internal
*/
export declare class Option extends AurumElement {

@@ -10,0 +13,0 @@ readonly node: HTMLOptionElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Option extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class P extends AurumElement {

@@ -10,0 +13,0 @@ node: HTMLParagraphElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class P extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Pre extends AurumElement {

@@ -10,0 +13,0 @@ node: HTMLPreElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Pre extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -10,2 +10,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Progress extends AurumElement {

@@ -12,0 +15,0 @@ node: HTMLProgressElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Progress extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Q extends AurumElement {

@@ -10,0 +13,0 @@ node: HTMLQuoteElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Q extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -14,2 +14,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Script extends AurumElement {

@@ -16,0 +19,0 @@ node: HTMLScriptElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Script extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -12,2 +12,5 @@ import { DataSource } from '../stream/data_source';

}
/**
* @internal
*/
export declare class Select extends AurumElement {

@@ -14,0 +17,0 @@ readonly node: HTMLSelectElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
const selectEvents = { change: 'onChange' };
/**
* @internal
*/
export class Select extends AurumElement {

@@ -4,0 +10,0 @@ constructor(props, children) {

@@ -13,2 +13,5 @@ import { Callback, AttributeValue } from '../utilities/common';

}
/**
* @internal
*/
export declare class Source extends AurumElement {

@@ -15,0 +18,0 @@ readonly node: HTMLSourceElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Source extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Span extends AurumElement {

@@ -10,0 +13,0 @@ node: HTMLSpanElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Span extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -5,2 +5,5 @@ import { ArrayDataSource, DataSource } from '../../stream/data_source';

import { EventEmitter } from '../../utilities/event_emitter';
/**
* @inernal
*/
export declare const aurumElementModelIdentitiy: unique symbol;

@@ -85,5 +88,11 @@ export interface AurumElementModel {

}
/**
* @internal
*/
export interface AurumFragmentProps {
repeatModel?: ArrayDataSource<AurumElementModel>;
}
/**
* @internal
*/
export declare class AurumFragment {

@@ -90,0 +99,0 @@ children: Array<AurumElement | AurumTextElement | AurumFragment>;

@@ -6,3 +6,9 @@ import { ArrayDataSource, DataSource } from '../../stream/data_source';

import { DuplexDataSource } from '../../stream/duplex_data_source';
/**
* @inernal
*/
export const aurumElementModelIdentitiy = Symbol('AurumElementModel');
/**
* @internal
*/
const defaultEvents = {

@@ -32,2 +38,5 @@ drag: 'onDrag',

};
/**
* @internal
*/
const defaultProps = ['id', 'name', 'draggable', 'tabindex', 'style', 'role', 'contentEditable'];

@@ -183,2 +192,3 @@ export function prerender(model) {

}
//@ts-ignore
handleDetach() {

@@ -350,2 +360,3 @@ var _a, _b, _c, _d;

if (child[aurumElementModelIdentitiy]) {
//@ts-ignore
child = prerender(child);

@@ -371,2 +382,3 @@ if (child === undefined) {

const result = new AurumFragment({});
//@ts-ignore
child.then((value) => {

@@ -379,2 +391,3 @@ result.addChildren([value]);

else if (child instanceof ArrayDataSource) {
//@ts-ignore
const result = new AurumFragment({ repeatModel: child });

@@ -388,2 +401,3 @@ result.onChange.subscribe(() => this.render());

else if (child instanceof DataSource) {
//@ts-ignore
const result = new AurumFragment({}, [child]);

@@ -410,2 +424,5 @@ result.onChange.subscribe(() => this.render());

}
/**
* @internal
*/
export class AurumFragment {

@@ -553,2 +570,4 @@ constructor(props, children) {

case 'replace':
//TODO:FIX THIS
//@ts-ignore
this.children[change.index] = prerender(change.items[0]);

@@ -563,5 +582,7 @@ break;

case 'append':
//@ts-ignore
this.children = this.children.concat(change.items.map(prerender));
break;
case 'prepend':
//@ts-ignore
this.children.unshift(...change.items.map(prerender));

@@ -568,0 +589,0 @@ break;

import { StringSource } from '../../utilities/common';
/**
* @internal
*/
export declare class AurumTextElement {

@@ -3,0 +6,0 @@ node: Text;

import { DataSource } from '../../stream/data_source';
import { ownerSymbol } from '../../utilities/owner_symbol';
/**
* @internal
*/
export class AurumTextElement {

@@ -4,0 +7,0 @@ constructor(text) {

@@ -9,2 +9,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Style extends AurumElement {

@@ -11,0 +14,0 @@ node: HTMLStyleElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Style extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class Sub extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Sub extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class Summary extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Summary extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class Sup extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Sup extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -10,2 +10,5 @@ import { Callback, AttributeValue } from '../utilities/common';

}
/**
* @internal
*/
export declare class Svg extends AurumElement {

@@ -12,0 +15,0 @@ constructor(props: SvgProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Svg extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Table extends AurumElement {

@@ -10,0 +13,0 @@ node: HTMLTableElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Table extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class Tbody extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Tbody extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Td extends AurumElement {

@@ -10,0 +13,0 @@ node: HTMLTableColElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Td extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Template extends AurumElement {

@@ -10,0 +13,0 @@ constructor(props: TemplateProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Template extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -26,2 +26,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class TextArea extends AurumElement {

@@ -28,0 +31,0 @@ node: HTMLTextAreaElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
const textAreaEvents = { input: 'onInput', change: 'onChange' };
/**
* @internal
*/
const textAreaProps = [

@@ -18,2 +24,5 @@ 'placeholder',

];
/**
* @internal
*/
export class TextArea extends AurumElement {

@@ -20,0 +29,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class Tfoot extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Tfoot extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Th extends AurumElement {

@@ -10,0 +13,0 @@ node: HTMLTableHeaderCellElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Th extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';
/**
* @internal
*/
export declare class Thead extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props: AurumElementProps, children: ChildNode[]);

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Thead extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -9,2 +9,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Time extends AurumElement {

@@ -11,0 +14,0 @@ node: HTMLTimeElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Time extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Title extends AurumElement {

@@ -10,0 +13,0 @@ node: HTMLTitleElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Title extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Tr extends AurumElement {

@@ -10,0 +13,0 @@ node: HTMLTableRowElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Tr extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -8,2 +8,5 @@ import { AurumElement, AurumElementProps, ChildNode } from './special/aurum_element';

}
/**
* @internal
*/
export declare class Ul extends AurumElement {

@@ -10,0 +13,0 @@ node: HTMLUListElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Ul extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

@@ -17,2 +17,5 @@ import { Callback, AttributeValue } from '../utilities/common';

}
/**
* @internal
*/
export declare class Video extends AurumElement {

@@ -19,0 +22,0 @@ readonly node: HTMLVideoElement;

import { AurumElement } from './special/aurum_element';
/**
* @internal
*/
export class Video extends AurumElement {

@@ -3,0 +6,0 @@ constructor(props, children) {

import { CancellationToken } from '../utilities/cancellation_token';
import { Callback, ThenArg, Predicate } from '../utilities/common';
/**
* Datasources wrap a value and allow you to update it in an observable way. Datasources can be manipulated like streams and can be bound directly in the JSX syntax and will update the html whenever the value changes
*/
export declare class DataSource<T> {
/**
* The current value of this data source, can be changed through update
*/
value: T;

@@ -8,13 +14,72 @@ private updating;

constructor(initialValue?: T);
/**
* Updates the value in the data source and calls the listen callback for all listeners
* @param newValue new value for the data source
*/
update(newValue: T): void;
/**
* Same as listen but will immediately call the callback with the current value first
* @param callback Callback to call when value is updated
* @param cancellationToken Optional token to control the cancellation of the subscription
* @returns Cancellation callback, can be used to cancel subscription without a cancellation token
*/
listenAndRepeat(callback: Callback<T>, cancellationToken?: CancellationToken): Callback<void>;
/**
* Subscribes to the updates of the data stream
* @param callback Callback to call when value is updated
* @param cancellationToken Optional token to control the cancellation of the subscription
* @returns Cancellation callback, can be used to cancel subscription without a cancellation token
*/
listen(callback: Callback<T>, cancellationToken?: CancellationToken): Callback<void>;
/**
* Creates a new datasource that listenes to updates of this datasource but only propagates the updates from this source if they pass a predicate check
* @param callback predicate check to decide if the update from the parent data source is passed down or not
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
filter(callback: (newValue: T, oldValue: T) => boolean, cancellationToken?: CancellationToken): DataSource<T>;
/**
* Creates a new datasource that listenes to updates of this datasource but only propagates the updates from this source if they are larger than the previous value
* In case of strings it checks alphabetical order when deciding what is bigger or smaller
* @param callback predicate check to decide if the update from the parent data source is passed down or not
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
max(cancellationToken?: CancellationToken): DataSource<T>;
/**
* Creates a new datasource that listenes to updates of this datasource but only propagates the updates from this source if they are smaller than the previous value
* In case of strings it checks alphabetical order when deciding what is bigger or smaller
* @param callback predicate check to decide if the update from the parent data source is passed down or not
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
min(cancellationToken?: CancellationToken): DataSource<T>;
/**
* Forwards all updates from this source to another
* @param targetDataSource datasource to pipe the updates to
* @param cancellationToken Cancellation token to cancel the subscription the target datasource has to this datasource
*/
pipe(targetDataSource: DataSource<T>, cancellationToken?: CancellationToken): void;
/**
* Creates a new datasource that is listening to updates from this datasource and transforms them with a mapper function before fowarding them to itself
* @param callback mapper function that transforms the updates of this source
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
map<D>(callback: (value: T) => D, cancellationToken?: CancellationToken): DataSource<D>;
/**
* Allows tapping into the stream and calls a function for each value.
*/
tap(callback: (value: T) => void, cancellationToken?: CancellationToken): DataSource<T>;
/**
* Creates a new datasource that is listening to updates from this datasource and transforms them with a mapper function before fowarding them to itself
* @param callback mapper function that transforms the updates of this source
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
await<R extends ThenArg<T>>(cancellationToken?: CancellationToken): DataSource<R>;
/**
* Creates a new datasource that listens to this one and forwards updates if they are not the same as the last update
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
unique(cancellationToken?: CancellationToken): DataSource<T>;
/**
* Creates a new datasource that listens to this one and forwards updates revealing the previous value on each update
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
diff(cancellationToken?: CancellationToken): DataSource<{

@@ -24,14 +89,84 @@ new: T;

}>;
/**
* Creates a new datasource that listens to this source and combines all updates into a single value
* @param reducer function that aggregates an update with the previous result of aggregation
* @param initialValue initial value given to the new source
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
reduce(reducer: (p: T, c: T) => T, initialValue: T, cancellationToken?: CancellationToken): DataSource<T>;
/**
* Combines two sources into a third source that listens to updates from both parent sources.
* @param otherSource Second parent for the new source
* @param combinator Method allowing you to combine the data from both parents on update. Called each time a parent is updated with the latest values of both parents
* @param cancellationToken Cancellation token to cancel the subscriptions the new datasource has to the two parent datasources
*/
aggregate<D, E>(otherSource: DataSource<D>, combinator: (self: T, other: D) => E, cancellationToken?: CancellationToken): DataSource<E>;
/**
* Combines three sources into a fourth source that listens to updates from all parent sources.
* @param second Second parent for the new source
* @param third Third parent for the new source
* @param combinator Method allowing you to combine the data from all parents on update. Called each time a parent is updated with the latest values of all parents
* @param cancellationToken Cancellation token to cancel the subscriptions the new datasource has to the parent datasources
*/
aggregateThree<D, E, F>(second: DataSource<D>, third: DataSource<E>, combinator: (self: T, second: D, third: E) => F, cancellationToken?: CancellationToken): DataSource<F>;
/**
* Combines four sources into a fifth source that listens to updates from all parent sources.
* @param second Second parent for the new source
* @param third Third parent for the new source
* @param fourth Fourth parent for the new source
* @param combinator Method allowing you to combine the data from all parents on update. Called each time a parent is updated with the latest values of all parents
* @param cancellationToken Cancellation token to cancel the subscriptions the new datasource has to the parent datasources
*/
aggregateFour<D, E, F, G>(second: DataSource<D>, third: DataSource<E>, fourth: DataSource<F>, combinator: (self: T, second: D, third: E, fourth: F) => G, cancellationToken?: CancellationToken): DataSource<G>;
/**
* Creates a new datasource that listens to this source and creates a string that contains all the updates with a seperator
* @param seperator string to be placed between all the values
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
stringJoin(seperator: string, cancellationToken?: CancellationToken): DataSource<string>;
/**
* Like aggregate except that no combination method is needed as a result both parents must have the same type and the new stream just exposes the last update recieved from either parent
* @param otherSource Second parent for the new source
* @param cancellationToken Cancellation token to cancel the subscriptions the new datasource has to the two parent datasources
*/
combine(otherSources: DataSource<T>[], cancellationToken?: CancellationToken): DataSource<T>;
/**
* Creates a datasource that forwards all the updates after a certain time has passed, useful to introduce a delay before something triggers. Does not debounce
* @param time
* @param cancellationToken
*/
delay(time: number, cancellationToken?: CancellationToken): DataSource<T>;
/**
* Creates a new source that listens to the updates of this source and forwards them to itself with a delay, in case many updates happen during this delay only the last update will be taken into account, effectively allowing to skip short lived values. Useful for optimizations
* @param time Milliseconds to wait before updating
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
debounce(time: number, cancellationToken?: CancellationToken): DataSource<T>;
/**
* Creates a new source that listens to the updates of this source and forwards them to itself at most once per <time> milliseconds. In case many updates happen during the delay time only at most one update per delay will be taken into account,
* effectively allowing to reduce load on the next stream. Useful for optimizations
* @param time Milliseconds of cooldown after an update before another update can happen
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
throttle(time: number, cancellationToken?: CancellationToken): DataSource<T>;
/**
* Creates a new source that listens to the updates of this source. The updates are collected in an array for a period of time and then the new source updates with an array of all the updates collected in the timespan. Useful to take a rapidly changing source and process it a buffered manner. Can be used for things like batching network requests
* @param time Milliseconds to wait before updating the returned source
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
buffer(time: number, cancellationToken?: CancellationToken): DataSource<T[]>;
/**
* Creates a new datasource that listens to the updates of this one. The datasource will accumulate all the updates from this source in form of an array data source. Useful to keep a history of all values from a source
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
accumulate(cancellationToken?: CancellationToken): ArrayDataSource<T>;
/**
* Creates a new datasource that listens to the updates of this source and forwards only a single key from the object that is held by this data source
* @param key key to take from the object
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
pick(key: keyof T, cancellationToken?: CancellationToken): DataSource<T[typeof key]>;
/**
* Remove all listeners
*/
cancelAll(): void;

@@ -54,2 +189,5 @@ }

constructor(initialData?: T[]);
/**
* Same as listen but will immediately call the callback with an append of all existing elements first
*/
listenAndRepeat(callback: Callback<CollectionChange<T>>, cancellationToken?: CancellationToken): Callback<void>;

@@ -92,5 +230,13 @@ listen(callback: Callback<CollectionChange<T>>, cancellationToken?: CancellationToken): Callback<void>;

constructor(parent: ArrayDataSource<T> | T[], filter?: Predicate<T>, cancellationToken?: CancellationToken);
/**
* Replaces the filter function
* @param filter
* @returns returns new size of array view after applying filter
*/
updateFilter(filter: Predicate<T>): number;
/**
* Recalculates the filter. Only needed if your filter function isn't pure and you know the result would be different if run again compared to before
*/
refresh(): void;
}
//# sourceMappingURL=data_source.d.ts.map
import { EventEmitter } from '../utilities/event_emitter';
/**
* Datasources wrap a value and allow you to update it in an observable way. Datasources can be manipulated like streams and can be bound directly in the JSX syntax and will update the html whenever the value changes
*/
export class DataSource {

@@ -7,2 +10,6 @@ constructor(initialValue) {

}
/**
* Updates the value in the data source and calls the listen callback for all listeners
* @param newValue new value for the data source
*/
update(newValue) {

@@ -17,2 +24,8 @@ if (this.updating) {

}
/**
* Same as listen but will immediately call the callback with the current value first
* @param callback Callback to call when value is updated
* @param cancellationToken Optional token to control the cancellation of the subscription
* @returns Cancellation callback, can be used to cancel subscription without a cancellation token
*/
listenAndRepeat(callback, cancellationToken) {

@@ -22,5 +35,16 @@ callback(this.value);

}
/**
* Subscribes to the updates of the data stream
* @param callback Callback to call when value is updated
* @param cancellationToken Optional token to control the cancellation of the subscription
* @returns Cancellation callback, can be used to cancel subscription without a cancellation token
*/
listen(callback, cancellationToken) {
return this.updateEvent.subscribe(callback, cancellationToken).cancel;
}
/**
* Creates a new datasource that listenes to updates of this datasource but only propagates the updates from this source if they pass a predicate check
* @param callback predicate check to decide if the update from the parent data source is passed down or not
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
filter(callback, cancellationToken) {

@@ -35,2 +59,8 @@ const filteredSource = new DataSource();

}
/**
* Creates a new datasource that listenes to updates of this datasource but only propagates the updates from this source if they are larger than the previous value
* In case of strings it checks alphabetical order when deciding what is bigger or smaller
* @param callback predicate check to decide if the update from the parent data source is passed down or not
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
max(cancellationToken) {

@@ -46,2 +76,8 @@ return this.filter((newValue, oldValue) => {

}
/**
* Creates a new datasource that listenes to updates of this datasource but only propagates the updates from this source if they are smaller than the previous value
* In case of strings it checks alphabetical order when deciding what is bigger or smaller
* @param callback predicate check to decide if the update from the parent data source is passed down or not
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
min(cancellationToken) {

@@ -57,5 +93,15 @@ return this.filter((newValue, oldValue) => {

}
/**
* Forwards all updates from this source to another
* @param targetDataSource datasource to pipe the updates to
* @param cancellationToken Cancellation token to cancel the subscription the target datasource has to this datasource
*/
pipe(targetDataSource, cancellationToken) {
this.listen((v) => targetDataSource.update(v), cancellationToken);
}
/**
* Creates a new datasource that is listening to updates from this datasource and transforms them with a mapper function before fowarding them to itself
* @param callback mapper function that transforms the updates of this source
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
map(callback, cancellationToken) {

@@ -68,2 +114,5 @@ const mappedSource = new DataSource(callback(this.value));

}
/**
* Allows tapping into the stream and calls a function for each value.
*/
tap(callback, cancellationToken) {

@@ -77,2 +126,7 @@ const tapSource = new DataSource(this.value);

}
/**
* Creates a new datasource that is listening to updates from this datasource and transforms them with a mapper function before fowarding them to itself
* @param callback mapper function that transforms the updates of this source
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
await(cancellationToken) {

@@ -85,2 +139,6 @@ const mappedSource = new DataSource();

}
/**
* Creates a new datasource that listens to this one and forwards updates if they are not the same as the last update
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
unique(cancellationToken) {

@@ -95,2 +153,6 @@ const uniqueSource = new DataSource(this.value);

}
/**
* Creates a new datasource that listens to this one and forwards updates revealing the previous value on each update
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
diff(cancellationToken) {

@@ -109,2 +171,8 @@ const diffingSource = new DataSource({

}
/**
* Creates a new datasource that listens to this source and combines all updates into a single value
* @param reducer function that aggregates an update with the previous result of aggregation
* @param initialValue initial value given to the new source
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
reduce(reducer, initialValue, cancellationToken) {

@@ -115,2 +183,8 @@ const reduceSource = new DataSource(initialValue);

}
/**
* Combines two sources into a third source that listens to updates from both parent sources.
* @param otherSource Second parent for the new source
* @param combinator Method allowing you to combine the data from both parents on update. Called each time a parent is updated with the latest values of both parents
* @param cancellationToken Cancellation token to cancel the subscriptions the new datasource has to the two parent datasources
*/
aggregate(otherSource, combinator, cancellationToken) {

@@ -122,2 +196,9 @@ const aggregatedSource = new DataSource(combinator(this.value, otherSource.value));

}
/**
* Combines three sources into a fourth source that listens to updates from all parent sources.
* @param second Second parent for the new source
* @param third Third parent for the new source
* @param combinator Method allowing you to combine the data from all parents on update. Called each time a parent is updated with the latest values of all parents
* @param cancellationToken Cancellation token to cancel the subscriptions the new datasource has to the parent datasources
*/
aggregateThree(second, third, combinator, cancellationToken) {

@@ -130,2 +211,10 @@ const aggregatedSource = new DataSource(combinator(this.value, second.value, third.value));

}
/**
* Combines four sources into a fifth source that listens to updates from all parent sources.
* @param second Second parent for the new source
* @param third Third parent for the new source
* @param fourth Fourth parent for the new source
* @param combinator Method allowing you to combine the data from all parents on update. Called each time a parent is updated with the latest values of all parents
* @param cancellationToken Cancellation token to cancel the subscriptions the new datasource has to the parent datasources
*/
aggregateFour(second, third, fourth, combinator, cancellationToken) {

@@ -139,2 +228,7 @@ const aggregatedSource = new DataSource(combinator(this.value, second.value, third.value, fourth.value));

}
/**
* Creates a new datasource that listens to this source and creates a string that contains all the updates with a seperator
* @param seperator string to be placed between all the values
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
stringJoin(seperator, cancellationToken) {

@@ -145,2 +239,7 @@ const joinSource = new DataSource('');

}
/**
* Like aggregate except that no combination method is needed as a result both parents must have the same type and the new stream just exposes the last update recieved from either parent
* @param otherSource Second parent for the new source
* @param cancellationToken Cancellation token to cancel the subscriptions the new datasource has to the two parent datasources
*/
combine(otherSources, cancellationToken) {

@@ -154,2 +253,7 @@ const combinedDataSource = new DataSource();

}
/**
* Creates a datasource that forwards all the updates after a certain time has passed, useful to introduce a delay before something triggers. Does not debounce
* @param time
* @param cancellationToken
*/
delay(time, cancellationToken) {

@@ -164,2 +268,7 @@ const delayedDataSource = new DataSource(this.value);

}
/**
* Creates a new source that listens to the updates of this source and forwards them to itself with a delay, in case many updates happen during this delay only the last update will be taken into account, effectively allowing to skip short lived values. Useful for optimizations
* @param time Milliseconds to wait before updating
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
debounce(time, cancellationToken) {

@@ -176,2 +285,8 @@ const debouncedDataSource = new DataSource(this.value);

}
/**
* Creates a new source that listens to the updates of this source and forwards them to itself at most once per <time> milliseconds. In case many updates happen during the delay time only at most one update per delay will be taken into account,
* effectively allowing to reduce load on the next stream. Useful for optimizations
* @param time Milliseconds of cooldown after an update before another update can happen
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
throttle(time, cancellationToken) {

@@ -191,2 +306,7 @@ const throttledDataSource = new DataSource(this.value);

}
/**
* Creates a new source that listens to the updates of this source. The updates are collected in an array for a period of time and then the new source updates with an array of all the updates collected in the timespan. Useful to take a rapidly changing source and process it a buffered manner. Can be used for things like batching network requests
* @param time Milliseconds to wait before updating the returned source
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
buffer(time, cancellationToken) {

@@ -208,2 +328,6 @@ const bufferedDataSource = new DataSource();

}
/**
* Creates a new datasource that listens to the updates of this one. The datasource will accumulate all the updates from this source in form of an array data source. Useful to keep a history of all values from a source
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
accumulate(cancellationToken) {

@@ -216,2 +340,7 @@ const queueDataSource = new ArrayDataSource();

}
/**
* Creates a new datasource that listens to the updates of this source and forwards only a single key from the object that is held by this data source
* @param key key to take from the object
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
pick(key, cancellationToken) {

@@ -230,2 +359,5 @@ var _a;

}
/**
* Remove all listeners
*/
cancelAll() {

@@ -246,2 +378,5 @@ this.updateEvent.cancelAll();

}
/**
* Same as listen but will immediately call the callback with an append of all existing elements first
*/
listenAndRepeat(callback, cancellationToken) {

@@ -547,2 +682,7 @@ callback({

}
/**
* Replaces the filter function
* @param filter
* @returns returns new size of array view after applying filter
*/
updateFilter(filter) {

@@ -556,2 +696,5 @@ if (this.viewFilter === filter) {

}
/**
* Recalculates the filter. Only needed if your filter function isn't pure and you know the result would be different if run again compared to before
*/
refresh() {

@@ -558,0 +701,0 @@ this.clear();

@@ -8,3 +8,9 @@ import { CancellationToken } from '../utilities/cancellation_token';

}
/**
* Same as DataSource except data can flow in both directions
*/
export declare class DuplexDataSource<T> {
/**
* The current value of this data source, can be changed through update
*/
value: T;

@@ -15,17 +21,86 @@ private updating;

constructor(initialValue?: T);
/**
* Makes it possible to have 2 completely separate data flow pipelines for each direction
* @param downStream stream to pipe downstream data to
* @param upstream stream to pipe upstream data to
*/
static fromTwoDataSource<T>(downStream: DataSource<T>, upstream: DataSource<T>, initialValue?: T): void;
/**
* Allows creating a duplex stream that blocks data in one direction. Useful for plugging into code that uses two way flow but only one way is desired
* @param direction direction of the dataflow that is allowed
*/
static createOneWay<T>(direction?: DataFlow, initialValue?: T): DuplexDataSource<T>;
/**
* Updates the value in the data source and calls the listen callback for all listeners
* @param newValue new value for the data source
*/
updateDownstream(newValue: T): void;
/**
* Updates the value in the data source and calls the listen callback for all listeners
* @param newValue new value for the data source
*/
updateUpstream(newValue: T): void;
/**
* Same as listen but will immediately call the callback with the current value first
* @param callback Callback to call when value is updated
* @param cancellationToken Optional token to control the cancellation of the subscription
* @returns Cancellation callback, can be used to cancel subscription without a cancellation token
*/
listenAndRepeat(callback: Callback<T>, cancellationToken?: CancellationToken): Callback<void>;
/**
* Subscribes to the updates of the data stream
* @param callback Callback to call when value is updated
* @param cancellationToken Optional token to control the cancellation of the subscription
* @returns Cancellation callback, can be used to cancel subscription without a cancellation token
*/
listen(callback: Callback<T>, cancellationToken?: CancellationToken): Callback<void>;
/**
* Subscribes exclusively to updates of the data stream that occur due to an update flowing upstream
* @param callback Callback to call when value is updated
* @param cancellationToken Optional token to control the cancellation of the subscription
* @returns Cancellation callback, can be used to cancel subscription without a cancellation token
*/
listenUpstream(callback: Callback<T>, cancellationToken?: CancellationToken): Callback<void>;
/**
* Subscribes exclusively to updates of the data stream that occur due to an update flowing downstream
* @param callback Callback to call when value is updated
* @param cancellationToken Optional token to control the cancellation of the subscription
* @returns Cancellation callback, can be used to cancel subscription without a cancellation token
*/
listenDownstream(callback: Callback<T>, cancellationToken?: CancellationToken): Callback<void>;
/**
* Creates a new datasource that listenes to updates of this datasource but only propagates the updates from this source if they pass a predicate check
* @param callback predicate check to decide if the update from the parent data source is passed down or not
* @param cancellationToken Cancellation token to cancel the subscriptions added to the datasources by this operation
*/
filter(downStreamFilter: (value: T) => boolean, upstreamFilter?: (value: T) => boolean, cancellationToken?: CancellationToken): DuplexDataSource<T>;
/**
* Forwards all updates from this source to another
* @param targetDataSource datasource to pipe the updates to
* @param cancellationToken Cancellation token to cancel the subscriptions added to the datasources by this operation
*/
pipe(targetDataSource: DuplexDataSource<T>, cancellationToken?: CancellationToken): void;
/**
* Creates a new datasource that is listening to updates from this datasource and transforms them with a mapper function before fowarding them to itself
* @param mapper mapper function that transforms the data when it flows downwards
* @param reverseMapper mapper function that transforms the data when it flows upwards
* @param cancellationToken Cancellation token to cancel the subscriptions added to the datasources by this operation
*/
map<D>(mapper: (value: T) => D, reverseMapper: (value: D) => T, cancellationToken?: CancellationToken): DuplexDataSource<D>;
/**
* Creates a new datasource that listens to this one and forwards updates if they are not the same as the last update
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
unique(cancellationToken?: CancellationToken): DuplexDataSource<T>;
/**
* Allows flow of data only in one direction
* @param direction direction of the dataflow that is allowed
* @param cancellationToken Cancellation token to cancel the subscriptions the new datasource has to the two parent datasources
*/
oneWayFlow(direction?: DataFlow, cancellationToken?: CancellationToken): DuplexDataSource<T>;
/**
* Remove all listeners
*/
cancelAll(): void;
}
//# sourceMappingURL=duplex_data_source.d.ts.map

@@ -7,2 +7,5 @@ import { EventEmitter } from '../utilities/event_emitter';

})(DataFlow || (DataFlow = {}));
/**
* Same as DataSource except data can flow in both directions
*/
export class DuplexDataSource {

@@ -14,10 +17,25 @@ constructor(initialValue) {

}
/**
* Makes it possible to have 2 completely separate data flow pipelines for each direction
* @param downStream stream to pipe downstream data to
* @param upstream stream to pipe upstream data to
*/
static fromTwoDataSource(downStream, upstream, initialValue) {
const result = new DuplexDataSource(initialValue);
//@ts-ignore
result.updateDownstreamEvent = downStream.updateEvent;
//@ts-ignore
result.updateUpstreamEvent = upstream.updateEvent;
}
/**
* Allows creating a duplex stream that blocks data in one direction. Useful for plugging into code that uses two way flow but only one way is desired
* @param direction direction of the dataflow that is allowed
*/
static createOneWay(direction = DataFlow.DOWNSTREAM, initialValue) {
return new DuplexDataSource(initialValue).oneWayFlow(direction);
}
/**
* Updates the value in the data source and calls the listen callback for all listeners
* @param newValue new value for the data source
*/
updateDownstream(newValue) {

@@ -32,2 +50,6 @@ if (this.updating) {

}
/**
* Updates the value in the data source and calls the listen callback for all listeners
* @param newValue new value for the data source
*/
updateUpstream(newValue) {

@@ -42,2 +64,8 @@ if (this.updating) {

}
/**
* Same as listen but will immediately call the callback with the current value first
* @param callback Callback to call when value is updated
* @param cancellationToken Optional token to control the cancellation of the subscription
* @returns Cancellation callback, can be used to cancel subscription without a cancellation token
*/
listenAndRepeat(callback, cancellationToken) {

@@ -47,2 +75,8 @@ callback(this.value);

}
/**
* Subscribes to the updates of the data stream
* @param callback Callback to call when value is updated
* @param cancellationToken Optional token to control the cancellation of the subscription
* @returns Cancellation callback, can be used to cancel subscription without a cancellation token
*/
listen(callback, cancellationToken) {

@@ -52,8 +86,25 @@ this.updateDownstreamEvent.subscribe(callback, cancellationToken).cancel;

}
/**
* Subscribes exclusively to updates of the data stream that occur due to an update flowing upstream
* @param callback Callback to call when value is updated
* @param cancellationToken Optional token to control the cancellation of the subscription
* @returns Cancellation callback, can be used to cancel subscription without a cancellation token
*/
listenUpstream(callback, cancellationToken) {
return this.updateUpstreamEvent.subscribe(callback, cancellationToken).cancel;
}
/**
* Subscribes exclusively to updates of the data stream that occur due to an update flowing downstream
* @param callback Callback to call when value is updated
* @param cancellationToken Optional token to control the cancellation of the subscription
* @returns Cancellation callback, can be used to cancel subscription without a cancellation token
*/
listenDownstream(callback, cancellationToken) {
return this.updateDownstreamEvent.subscribe(callback, cancellationToken).cancel;
}
/**
* Creates a new datasource that listenes to updates of this datasource but only propagates the updates from this source if they pass a predicate check
* @param callback predicate check to decide if the update from the parent data source is passed down or not
* @param cancellationToken Cancellation token to cancel the subscriptions added to the datasources by this operation
*/
filter(downStreamFilter, upstreamFilter, cancellationToken) {

@@ -76,2 +127,7 @@ if (!upstreamFilter) {

}
/**
* Forwards all updates from this source to another
* @param targetDataSource datasource to pipe the updates to
* @param cancellationToken Cancellation token to cancel the subscriptions added to the datasources by this operation
*/
pipe(targetDataSource, cancellationToken) {

@@ -81,2 +137,8 @@ this.listenDownstream((newVal) => targetDataSource.updateDownstream(newVal), cancellationToken);

}
/**
* Creates a new datasource that is listening to updates from this datasource and transforms them with a mapper function before fowarding them to itself
* @param mapper mapper function that transforms the data when it flows downwards
* @param reverseMapper mapper function that transforms the data when it flows upwards
* @param cancellationToken Cancellation token to cancel the subscriptions added to the datasources by this operation
*/
map(mapper, reverseMapper, cancellationToken) {

@@ -88,2 +150,6 @@ const mappedSource = new DuplexDataSource(mapper(this.value));

}
/**
* Creates a new datasource that listens to this one and forwards updates if they are not the same as the last update
* @param cancellationToken Cancellation token to cancel the subscription the new datasource has to this datasource
*/
unique(cancellationToken) {

@@ -103,2 +169,7 @@ const uniqueSource = new DuplexDataSource(this.value);

}
/**
* Allows flow of data only in one direction
* @param direction direction of the dataflow that is allowed
* @param cancellationToken Cancellation token to cancel the subscriptions the new datasource has to the two parent datasources
*/
oneWayFlow(direction = DataFlow.DOWNSTREAM, cancellationToken) {

@@ -116,2 +187,5 @@ const oneWaySource = new DuplexDataSource(this.value);

}
/**
* Remove all listeners
*/
cancelAll() {

@@ -118,0 +192,0 @@ this.updateDownstreamEvent.cancelAll();

@@ -15,15 +15,59 @@ import { DataSource } from './data_source';

constructor(initialData: T);
/**
* Creates a datasource for a single key of the object
* @param key
* @param cancellationToken
*/
pick(key: keyof T, cancellationToken?: CancellationToken): DataSource<T[typeof key]>;
/**
* Listen to changes of the object
*/
listen(callback: Callback<ObjectChange<T, keyof T>>, cancellationToken?: CancellationToken): Callback<void>;
/**
* Same as listenOnKey but will immediately call the callback with the current value first
*/
listenOnKeyAndRepeat<K extends keyof T>(key: K, callback: Callback<ObjectChange<T, K>>, cancellationToken?: CancellationToken): Callback<void>;
/**
* Listen to changes of a single key of the object
*/
listenOnKey<K extends keyof T>(key: K, callback: Callback<ObjectChange<T, K>>, cancellationToken?: CancellationToken): Callback<void>;
/**
* Returns all the keys of the object in the source
*/
keys(): string[];
/**
* Returns all the values of the object in the source
*/
values(): any;
/**
* get the current value of a key of the object
* @param key
*/
get<K extends keyof T>(key: K): T[K];
/**
* delete a key from the object
* @param key
* @param value
*/
delete<K extends keyof T>(key: K, value: T[K]): void;
/**
* set the value for a key of the object
* @param key
* @param value
*/
set<K extends keyof T>(key: K, value: T[K]): void;
assign(newData: Partial<T>): void;
/**
* Merge the key value pairs of an object into this object non recursively
* @param newData
*/
assign(newData: Partial<T> | ObjectDataSource<T>): void;
/**
* Returns a shallow copy of the object
*/
toObject(): T;
/**
* Returns a simplified version of this datasource
*/
toDataSource(): DataSource<T>;
}
//# sourceMappingURL=object_data_source.d.ts.map

@@ -11,2 +11,7 @@ import { DataSource } from './data_source';

}
/**
* Creates a datasource for a single key of the object
* @param key
* @param cancellationToken
*/
pick(key, cancellationToken) {

@@ -20,5 +25,11 @@ var _a;

}
/**
* Listen to changes of the object
*/
listen(callback, cancellationToken) {
return this.updateEvent.subscribe(callback, cancellationToken).cancel;
}
/**
* Same as listenOnKey but will immediately call the callback with the current value first
*/
listenOnKeyAndRepeat(key, callback, cancellationToken) {

@@ -32,2 +43,5 @@ callback({

}
/**
* Listen to changes of a single key of the object
*/
listenOnKey(key, callback, cancellationToken) {

@@ -40,11 +54,26 @@ if (!this.updateEventOnKey.has(key)) {

}
/**
* Returns all the keys of the object in the source
*/
keys() {
return Object.keys(this.data);
}
/**
* Returns all the values of the object in the source
*/
values() {
return Object.values(this.data);
}
/**
* get the current value of a key of the object
* @param key
*/
get(key) {
return this.data[key];
}
/**
* delete a key from the object
* @param key
* @param value
*/
delete(key, value) {

@@ -55,2 +84,7 @@ const old = this.data[key];

}
/**
* set the value for a key of the object
* @param key
* @param value
*/
set(key, value) {

@@ -67,10 +101,27 @@ if (this.data[key] === value) {

}
/**
* Merge the key value pairs of an object into this object non recursively
* @param newData
*/
assign(newData) {
for (const key of Object.keys(newData)) {
this.set(key, newData[key]);
if (newData instanceof ObjectDataSource) {
for (const key of newData.keys()) {
this.set(key, newData.data[key]);
}
}
else {
for (const key of Object.keys(newData)) {
this.set(key, newData[key]);
}
}
}
/**
* Returns a shallow copy of the object
*/
toObject() {
return Object.assign({}, this.data);
}
/**
* Returns a simplified version of this datasource
*/
toDataSource() {

@@ -77,0 +128,0 @@ const stream = new DataSource(this.data);

@@ -163,2 +163,3 @@ import { AurumElement, prerender, aurumElementModelIdentitiy } from '../nodes/special/aurum_element';

[aurumElementModelIdentitiy]: true,
//@ts-ignore
constructor: (args, innerNodes) => new node(args, innerNodes),

@@ -172,2 +173,3 @@ props: args,

[aurumElementModelIdentitiy]: true,
//@ts-ignore
constructor: node,

@@ -174,0 +176,0 @@ props: args,

@@ -7,2 +7,6 @@ import { Delegate, Callback } from './common';

constructor(...cancellables: Delegate[]);
/**
* Attaches a new cancelable to this token
* @param delegate
*/
addCancelable(delegate: Delegate): this;

@@ -20,5 +24,11 @@ removeCancelable(delegate: Delegate): this;

chain(target: CancellationToken, twoWays?: boolean): CancellationToken;
/**
* Registers an event using addEventListener and if you cancel the token the event will be canceled as well
*/
registerDomEvent(eventEmitter: HTMLElement | Document, event: string, callback: (e: Event) => void): this;
/**
* Cancels everything attached to this token
*/
cancel(): void;
}
//# sourceMappingURL=cancellation_token.d.ts.map

@@ -10,2 +10,6 @@ import { LinkedList } from './linkedlist/linked_list';

}
/**
* Attaches a new cancelable to this token
* @param delegate
*/
addCancelable(delegate) {

@@ -72,2 +76,5 @@ this.throwIfCancelled('attempting to add cancellable to token that is already cancelled');

}
/**
* Registers an event using addEventListener and if you cancel the token the event will be canceled as well
*/
registerDomEvent(eventEmitter, event, callback) {

@@ -78,2 +85,5 @@ eventEmitter.addEventListener(event, callback);

}
/**
* Cancels everything attached to this token
*/
cancel() {

@@ -80,0 +90,0 @@ if (this.isCanceled) {

@@ -6,2 +6,5 @@ import { DataSource } from '../stream/data_source';

export declare type ClassType = string | DataSource<string> | DataSource<string[]> | Array<string | DataSource<string>>;
/**
* Type alias for a generic calback taking a parameter and not returning anything
*/
export declare type Callback<T> = (data?: T) => void;

@@ -8,0 +11,0 @@ export declare type Delegate = () => void;

import { CancellationToken } from '../utilities/cancellation_token';
/**
* @internal
*/
export interface EventSubscriptionFacade {
cancel(): void;
}
/**
* @internal
*/
export declare type EventCallback<T> = (data: T) => void;
/**
* @internal
*/
export declare class EventEmitter<T> {

@@ -7,0 +16,0 @@ private isFiring;

@@ -0,1 +1,4 @@

/**
* @internal
*/
export class EventEmitter {

@@ -2,0 +5,0 @@ constructor() {

@@ -0,1 +1,4 @@

/**
* @internal
*/
export declare class LinkedListNode<T> {

@@ -2,0 +5,0 @@ next: LinkedListNode<T>;

@@ -0,1 +1,4 @@

/**
* @internal
*/
export class LinkedListNode {

@@ -2,0 +5,0 @@ constructor(data) {

import { LinkedListNode } from './linked_list_node';
import { Predicate } from '../common';
/**
* @internal
*/
export declare class LinkedList<T> {

@@ -4,0 +7,0 @@ rootNode: LinkedListNode<T>;

import { LinkedListNode } from './linked_list_node';
/**
* @internal
*/
export class LinkedList {

@@ -3,0 +6,0 @@ constructor(data = []) {

@@ -0,2 +1,5 @@

/**
* @internal
*/
export declare const ownerSymbol: unique symbol;
//# sourceMappingURL=owner_symbol.d.ts.map

@@ -0,2 +1,5 @@

/**
* @internal
*/
export const ownerSymbol = Symbol('owner');
//# sourceMappingURL=owner_symbol.js.map

4

package.json
{
"name": "aurumjs",
"version": "0.3.20",
"version": "0.3.21",
"description": "Fast and concise declarative DOM rendering library for javascript",

@@ -12,3 +12,3 @@ "main": "dist/aurum.js",

"generateDocs": "typedoc --json docs/docs.json --mode modules --excludePrivate --excludeProtected",
"deploy": "npm run build && npm run generateDocs && microbundle --entry dist/aurum.js --output prebuilt --name aurum"
"deploy": "npm run build && npm run generateDocs && microbundle --no-compress --entry dist/aurum.js --output prebuilt --name aurum && microbundle --entry dist/aurum.js --output prebuilt_minified --name aurum"
},

@@ -15,0 +15,0 @@ "homepage": "https://aurumjs.org/",

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Sorry, the diff of this file is too big to display

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 too big to display

Sorry, the diff of this file is not supported yet

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