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

typed-dom

Package Overview
Dependencies
Maintainers
1
Versions
350
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typed-dom - npm Package Compare versions

Comparing version 0.0.295 to 0.0.296

12

dist/dom.js

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

/*! typed-dom v0.0.295 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.296 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
(function webpackUniversalModuleDefinition(root, factory) {

@@ -227,6 +227,6 @@ if(typeof exports === 'object' && typeof module === 'object')

exports.html = element(global_1.document, "HTML"
/* HTML */
/* NS.HTML */
);
exports.svg = element(global_1.document, "SVG"
/* SVG */
/* NS.SVG */
);

@@ -255,3 +255,3 @@

case "HTML"
/* HTML */
/* NS.HTML */
:

@@ -261,3 +261,3 @@ return context.createElement(tag);

case "SVG"
/* SVG */
/* NS.SVG */
:

@@ -267,3 +267,3 @@ return context.createElementNS('http://www.w3.org/2000/svg', tag);

case "MathML"
/* MathML */
/* NS.MathML */
:

@@ -270,0 +270,0 @@ return context.createElementNS('http://www.w3.org/1998/Math/MathML', tag);

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

/*! typed-dom v0.0.295 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.296 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
(function webpackUniversalModuleDefinition(root, factory) {

@@ -3,0 +3,0 @@ if(typeof exports === 'object' && typeof module === 'object')

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

/*! typed-dom v0.0.295 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.296 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
(function webpackUniversalModuleDefinition(root, factory) {

@@ -79,3 +79,3 @@ if(typeof exports === 'object' && typeof module === 'object')

}));
exports.join = exports.splice = exports.pop = exports.push = exports.shift = exports.unshift = exports.indexOf = void 0;
exports.splice = exports.pop = exports.push = exports.shift = exports.unshift = exports.indexOf = void 0;

@@ -178,14 +178,2 @@ const global_1 = __webpack_require__(128);

function join(as, sep = '') {
let acc = '';
for (let i = 0; i < as.length; ++i) {
acc += i === 0 ? as[i] : sep + as[i];
}
return acc;
}
exports.join = join;
/***/ }),

@@ -405,3 +393,3 @@

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -413,3 +401,3 @@ results[i] = status.value;

case 3
/* rejected */
/* State.rejected */
:

@@ -452,3 +440,3 @@ return reject(status.reason);

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -458,3 +446,3 @@ return resolve(status.value);

case 3
/* rejected */
/* State.rejected */
:

@@ -506,3 +494,3 @@ return reject(status.reason);

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -517,3 +505,3 @@ results[i] = {

case 3
/* rejected */
/* State.rejected */
:

@@ -571,3 +559,3 @@ results[i] = {

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -577,3 +565,3 @@ return resolve(status.value);

case 3
/* rejected */
/* State.rejected */
:

@@ -629,3 +617,3 @@ reasons[i] = status.reason;

state: 0
/* pending */
/* State.pending */

@@ -639,3 +627,3 @@ };

return this.status.state === 0
/* pending */
/* State.pending */
;

@@ -646,3 +634,3 @@ }

if (this.status.state !== 0
/* pending */
/* State.pending */
) return;

@@ -653,3 +641,3 @@

state: 2
/* fulfilled */
/* State.fulfilled */
,

@@ -666,6 +654,6 @@ value: value

case 2
/* fulfilled */
/* State.fulfilled */
:
case 3
/* rejected */
/* State.rejected */
:

@@ -682,3 +670,3 @@ this.status = core.status;

state: 1
/* resolved */
/* State.resolved */
,

@@ -690,3 +678,3 @@ promise: value

state: 2
/* fulfilled */
/* State.fulfilled */
,

@@ -699,3 +687,3 @@ value

state: 3
/* rejected */
/* State.rejected */
,

@@ -710,7 +698,7 @@ reason

if (this.status.state !== 0
/* pending */
/* State.pending */
) return;
this.status = {
state: 3
/* rejected */
/* State.rejected */
,

@@ -731,3 +719,3 @@ reason

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -738,3 +726,3 @@ if (fulfillReactions.length !== 0) break;

case 3
/* rejected */
/* State.rejected */
:

@@ -758,6 +746,6 @@ if (rejectReactions.length !== 0) break;

case 0
/* pending */
/* State.pending */
:
case 1
/* resolved */
/* State.resolved */
:

@@ -767,3 +755,3 @@ return;

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -780,3 +768,3 @@ if (rejectReactions.length !== 0) {

case 3
/* rejected */
/* State.rejected */
:

@@ -1065,3 +1053,3 @@ if (fulfillReactions.length !== 0) {

this.type = 0
/* Void */
/* ElChildType.Void */
;

@@ -1072,3 +1060,3 @@ break;

this.type = 1
/* Text */
/* ElChildType.Text */
;

@@ -1079,3 +1067,3 @@ break;

this.type = 2
/* Node */
/* ElChildType.Node */
;

@@ -1086,3 +1074,3 @@ break;

this.type = 3
/* Array */
/* ElChildType.Array */
;

@@ -1093,3 +1081,3 @@ break;

this.type = 4
/* Struct */
/* ElChildType.Struct */
;

@@ -1107,3 +1095,3 @@ break;

case 0
/* Void */
/* ElChildType.Void */
:

@@ -1114,6 +1102,6 @@ this.isInit = false;

case 1
/* Text */
/* ElChildType.Text */
:
case 2
/* Node */
/* ElChildType.Node */
:

@@ -1125,3 +1113,3 @@ this.children = children;

case 3
/* Array */
/* ElChildType.Array */
:

@@ -1134,3 +1122,3 @@ this.$children = [];

case 4
/* Struct */
/* ElChildType.Struct */
:

@@ -1217,3 +1205,3 @@ this.$children = this.observe(children);

case 1
/* Text */
/* ElChildType.Text */
:

@@ -1235,3 +1223,3 @@ return this.container.textContent;

case 0
/* Void */
/* ElChildType.Void */
:

@@ -1241,3 +1229,3 @@ return;

case 2
/* Node */
/* ElChildType.Node */
:

@@ -1249,3 +1237,3 @@ this.$children = children;

case 1
/* Text */
/* ElChildType.Text */
:

@@ -1268,3 +1256,3 @@ {

case 3
/* Array */
/* ElChildType.Array */
:

@@ -1311,3 +1299,3 @@ {

case 4
/* Struct */
/* ElChildType.Struct */
:

@@ -1453,3 +1441,3 @@ {

if (!oldParent || oldParent === newParent || !(symbols.proxy in oldParent)) return;
throw new Error(`TypedDOM: Typed DOM children cannot be used to another typed DOM.`);
throw new Error(`TypedDOM: Proxy children must be removed from the old parent proxy before assigning to the new parent proxy.`);
}

@@ -1501,6 +1489,6 @@

exports.html = element(global_1.document, "HTML"
/* HTML */
/* NS.HTML */
);
exports.svg = element(global_1.document, "SVG"
/* SVG */
/* NS.SVG */
);

@@ -1529,3 +1517,3 @@

case "HTML"
/* HTML */
/* NS.HTML */
:

@@ -1535,3 +1523,3 @@ return context.createElement(tag);

case "SVG"
/* SVG */
/* NS.SVG */
:

@@ -1541,3 +1529,3 @@ return context.createElementNS('http://www.w3.org/2000/svg', tag);

case "MathML"
/* MathML */
/* NS.MathML */
:

@@ -1544,0 +1532,0 @@ return context.createElementNS('http://www.w3.org/1998/Math/MathML', tag);

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

/*! typed-dom v0.0.295 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.296 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
(function webpackUniversalModuleDefinition(root, factory) {

@@ -194,3 +194,3 @@ if(typeof exports === 'object' && typeof module === 'object')

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -202,3 +202,3 @@ results[i] = status.value;

case 3
/* rejected */
/* State.rejected */
:

@@ -241,3 +241,3 @@ return reject(status.reason);

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -247,3 +247,3 @@ return resolve(status.value);

case 3
/* rejected */
/* State.rejected */
:

@@ -295,3 +295,3 @@ return reject(status.reason);

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -306,3 +306,3 @@ results[i] = {

case 3
/* rejected */
/* State.rejected */
:

@@ -360,3 +360,3 @@ results[i] = {

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -366,3 +366,3 @@ return resolve(status.value);

case 3
/* rejected */
/* State.rejected */
:

@@ -418,3 +418,3 @@ reasons[i] = status.reason;

state: 0
/* pending */
/* State.pending */

@@ -428,3 +428,3 @@ };

return this.status.state === 0
/* pending */
/* State.pending */
;

@@ -435,3 +435,3 @@ }

if (this.status.state !== 0
/* pending */
/* State.pending */
) return;

@@ -442,3 +442,3 @@

state: 2
/* fulfilled */
/* State.fulfilled */
,

@@ -455,6 +455,6 @@ value: value

case 2
/* fulfilled */
/* State.fulfilled */
:
case 3
/* rejected */
/* State.rejected */
:

@@ -471,3 +471,3 @@ this.status = core.status;

state: 1
/* resolved */
/* State.resolved */
,

@@ -479,3 +479,3 @@ promise: value

state: 2
/* fulfilled */
/* State.fulfilled */
,

@@ -488,3 +488,3 @@ value

state: 3
/* rejected */
/* State.rejected */
,

@@ -499,7 +499,7 @@ reason

if (this.status.state !== 0
/* pending */
/* State.pending */
) return;
this.status = {
state: 3
/* rejected */
/* State.rejected */
,

@@ -520,3 +520,3 @@ reason

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -527,3 +527,3 @@ if (fulfillReactions.length !== 0) break;

case 3
/* rejected */
/* State.rejected */
:

@@ -547,6 +547,6 @@ if (rejectReactions.length !== 0) break;

case 0
/* pending */
/* State.pending */
:
case 1
/* resolved */
/* State.resolved */
:

@@ -556,3 +556,3 @@ return;

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -569,3 +569,3 @@ if (rejectReactions.length !== 0) {

case 3
/* rejected */
/* State.rejected */
:

@@ -572,0 +572,0 @@ if (fulfillReactions.length !== 0) {

@@ -10,5 +10,5 @@ export declare const NaN: number, isFinite: (number: unknown) => boolean, isInteger: (number: unknown) => boolean, isNaN: (number: unknown) => boolean, isSafeInteger: (number: unknown) => boolean, parseFloat: (string: string) => number, parseInt: (string: string, radix?: number | undefined) => number;

export declare const ObjectAssign: {
<T, U>(target: T, source: U): T & U;
<T_1, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
<T_2, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
<T extends {}, U>(target: T, source: U): T & U;
<T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
<T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
(target: object, ...sources: any[]): any;

@@ -31,3 +31,6 @@ };

<T_1 extends Function>(f: T_1): T_1;
<T_2>(o: T_2): Readonly<T_2>;
<T_2 extends {
[idx: string]: object | U | null | undefined;
}, U extends string | number | bigint | boolean | symbol>(o: T_2): Readonly<T_2>;
<T_3>(o: T_3): Readonly<T_3>;
};

@@ -34,0 +37,0 @@ export declare const ObjectFromEntries: {

@@ -14,2 +14,1 @@ export declare function indexOf<a>(as: readonly a[], a: a): number;

export declare function splice<a>(as: a[], index: number, count: number, ...inserts: a[]): a[];
export declare function join(as: readonly (string | number)[], sep?: string): string;

@@ -6,8 +6,8 @@ import { Set } from './global';

export declare const rnd64: () => number;
export declare const rnd0f: (len?: number | undefined) => string;
export declare const rnd0v: (len?: number | undefined) => string;
export declare const rnd0Z: (len?: number | undefined) => string;
export declare const rnd0_: (len?: number | undefined) => string;
export declare const rndAP: (len?: number | undefined) => string;
export declare const rndAf: (len?: number | undefined) => string;
export declare const rnd0f: (len?: number) => string;
export declare const rnd0v: (len?: number) => string;
export declare const rnd0Z: (len?: number) => string;
export declare const rnd0_: (len?: number) => string;
export declare const rndAP: (len?: number) => string;
export declare const rndAf: (len?: number) => string;
export declare function unique(rnd: (len: number) => string, len: number, mem?: Set<string>): () => string;

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

/*! typed-dom v0.0.295 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.296 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
(function webpackUniversalModuleDefinition(root, factory) {

@@ -3,0 +3,0 @@ if(typeof exports === 'object' && typeof module === 'object')

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

/*! typed-dom v0.0.295 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.296 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
(function webpackUniversalModuleDefinition(root, factory) {

@@ -227,6 +227,6 @@ if(typeof exports === 'object' && typeof module === 'object')

exports.html = element(global_1.document, "HTML"
/* HTML */
/* NS.HTML */
);
exports.svg = element(global_1.document, "SVG"
/* SVG */
/* NS.SVG */
);

@@ -255,3 +255,3 @@

case "HTML"
/* HTML */
/* NS.HTML */
:

@@ -261,3 +261,3 @@ return context.createElement(tag);

case "SVG"
/* SVG */
/* NS.SVG */
:

@@ -267,3 +267,3 @@ return context.createElementNS('http://www.w3.org/2000/svg', tag);

case "MathML"
/* MathML */
/* NS.MathML */
:

@@ -270,0 +270,0 @@ return context.createElementNS('http://www.w3.org/1998/Math/MathML', tag);

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

/*! typed-dom v0.0.295 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.296 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
(function webpackUniversalModuleDefinition(root, factory) {

@@ -3,0 +3,0 @@ if(typeof exports === 'object' && typeof module === 'object')

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

/*! typed-dom v0.0.295 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.296 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
(function webpackUniversalModuleDefinition(root, factory) {

@@ -79,3 +79,3 @@ if(typeof exports === 'object' && typeof module === 'object')

}));
exports.join = exports.splice = exports.pop = exports.push = exports.shift = exports.unshift = exports.indexOf = void 0;
exports.splice = exports.pop = exports.push = exports.shift = exports.unshift = exports.indexOf = void 0;

@@ -178,14 +178,2 @@ const global_1 = __webpack_require__(128);

function join(as, sep = '') {
let acc = '';
for (let i = 0; i < as.length; ++i) {
acc += i === 0 ? as[i] : sep + as[i];
}
return acc;
}
exports.join = join;
/***/ }),

@@ -405,3 +393,3 @@

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -413,3 +401,3 @@ results[i] = status.value;

case 3
/* rejected */
/* State.rejected */
:

@@ -452,3 +440,3 @@ return reject(status.reason);

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -458,3 +446,3 @@ return resolve(status.value);

case 3
/* rejected */
/* State.rejected */
:

@@ -506,3 +494,3 @@ return reject(status.reason);

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -517,3 +505,3 @@ results[i] = {

case 3
/* rejected */
/* State.rejected */
:

@@ -571,3 +559,3 @@ results[i] = {

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -577,3 +565,3 @@ return resolve(status.value);

case 3
/* rejected */
/* State.rejected */
:

@@ -629,3 +617,3 @@ reasons[i] = status.reason;

state: 0
/* pending */
/* State.pending */

@@ -639,3 +627,3 @@ };

return this.status.state === 0
/* pending */
/* State.pending */
;

@@ -646,3 +634,3 @@ }

if (this.status.state !== 0
/* pending */
/* State.pending */
) return;

@@ -653,3 +641,3 @@

state: 2
/* fulfilled */
/* State.fulfilled */
,

@@ -666,6 +654,6 @@ value: value

case 2
/* fulfilled */
/* State.fulfilled */
:
case 3
/* rejected */
/* State.rejected */
:

@@ -682,3 +670,3 @@ this.status = core.status;

state: 1
/* resolved */
/* State.resolved */
,

@@ -690,3 +678,3 @@ promise: value

state: 2
/* fulfilled */
/* State.fulfilled */
,

@@ -699,3 +687,3 @@ value

state: 3
/* rejected */
/* State.rejected */
,

@@ -710,7 +698,7 @@ reason

if (this.status.state !== 0
/* pending */
/* State.pending */
) return;
this.status = {
state: 3
/* rejected */
/* State.rejected */
,

@@ -731,3 +719,3 @@ reason

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -738,3 +726,3 @@ if (fulfillReactions.length !== 0) break;

case 3
/* rejected */
/* State.rejected */
:

@@ -758,6 +746,6 @@ if (rejectReactions.length !== 0) break;

case 0
/* pending */
/* State.pending */
:
case 1
/* resolved */
/* State.resolved */
:

@@ -767,3 +755,3 @@ return;

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -780,3 +768,3 @@ if (rejectReactions.length !== 0) {

case 3
/* rejected */
/* State.rejected */
:

@@ -1065,3 +1053,3 @@ if (fulfillReactions.length !== 0) {

this.type = 0
/* Void */
/* ElChildType.Void */
;

@@ -1072,3 +1060,3 @@ break;

this.type = 1
/* Text */
/* ElChildType.Text */
;

@@ -1079,3 +1067,3 @@ break;

this.type = 2
/* Node */
/* ElChildType.Node */
;

@@ -1086,3 +1074,3 @@ break;

this.type = 3
/* Array */
/* ElChildType.Array */
;

@@ -1093,3 +1081,3 @@ break;

this.type = 4
/* Struct */
/* ElChildType.Struct */
;

@@ -1107,3 +1095,3 @@ break;

case 0
/* Void */
/* ElChildType.Void */
:

@@ -1114,6 +1102,6 @@ this.isInit = false;

case 1
/* Text */
/* ElChildType.Text */
:
case 2
/* Node */
/* ElChildType.Node */
:

@@ -1125,3 +1113,3 @@ this.children = children;

case 3
/* Array */
/* ElChildType.Array */
:

@@ -1134,3 +1122,3 @@ this.$children = [];

case 4
/* Struct */
/* ElChildType.Struct */
:

@@ -1217,3 +1205,3 @@ this.$children = this.observe(children);

case 1
/* Text */
/* ElChildType.Text */
:

@@ -1235,3 +1223,3 @@ return this.container.textContent;

case 0
/* Void */
/* ElChildType.Void */
:

@@ -1241,3 +1229,3 @@ return;

case 2
/* Node */
/* ElChildType.Node */
:

@@ -1249,3 +1237,3 @@ this.$children = children;

case 1
/* Text */
/* ElChildType.Text */
:

@@ -1268,3 +1256,3 @@ {

case 3
/* Array */
/* ElChildType.Array */
:

@@ -1311,3 +1299,3 @@ {

case 4
/* Struct */
/* ElChildType.Struct */
:

@@ -1453,3 +1441,3 @@ {

if (!oldParent || oldParent === newParent || !(symbols.proxy in oldParent)) return;
throw new Error(`TypedDOM: Typed DOM children cannot be used to another typed DOM.`);
throw new Error(`TypedDOM: Proxy children must be removed from the old parent proxy before assigning to the new parent proxy.`);
}

@@ -1501,6 +1489,6 @@

exports.html = element(global_1.document, "HTML"
/* HTML */
/* NS.HTML */
);
exports.svg = element(global_1.document, "SVG"
/* SVG */
/* NS.SVG */
);

@@ -1529,3 +1517,3 @@

case "HTML"
/* HTML */
/* NS.HTML */
:

@@ -1535,3 +1523,3 @@ return context.createElement(tag);

case "SVG"
/* SVG */
/* NS.SVG */
:

@@ -1541,3 +1529,3 @@ return context.createElementNS('http://www.w3.org/2000/svg', tag);

case "MathML"
/* MathML */
/* NS.MathML */
:

@@ -1544,0 +1532,0 @@ return context.createElementNS('http://www.w3.org/1998/Math/MathML', tag);

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

/*! typed-dom v0.0.295 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.296 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
(function webpackUniversalModuleDefinition(root, factory) {

@@ -194,3 +194,3 @@ if(typeof exports === 'object' && typeof module === 'object')

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -202,3 +202,3 @@ results[i] = status.value;

case 3
/* rejected */
/* State.rejected */
:

@@ -241,3 +241,3 @@ return reject(status.reason);

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -247,3 +247,3 @@ return resolve(status.value);

case 3
/* rejected */
/* State.rejected */
:

@@ -295,3 +295,3 @@ return reject(status.reason);

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -306,3 +306,3 @@ results[i] = {

case 3
/* rejected */
/* State.rejected */
:

@@ -360,3 +360,3 @@ results[i] = {

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -366,3 +366,3 @@ return resolve(status.value);

case 3
/* rejected */
/* State.rejected */
:

@@ -418,3 +418,3 @@ reasons[i] = status.reason;

state: 0
/* pending */
/* State.pending */

@@ -428,3 +428,3 @@ };

return this.status.state === 0
/* pending */
/* State.pending */
;

@@ -435,3 +435,3 @@ }

if (this.status.state !== 0
/* pending */
/* State.pending */
) return;

@@ -442,3 +442,3 @@

state: 2
/* fulfilled */
/* State.fulfilled */
,

@@ -455,6 +455,6 @@ value: value

case 2
/* fulfilled */
/* State.fulfilled */
:
case 3
/* rejected */
/* State.rejected */
:

@@ -471,3 +471,3 @@ this.status = core.status;

state: 1
/* resolved */
/* State.resolved */
,

@@ -479,3 +479,3 @@ promise: value

state: 2
/* fulfilled */
/* State.fulfilled */
,

@@ -488,3 +488,3 @@ value

state: 3
/* rejected */
/* State.rejected */
,

@@ -499,7 +499,7 @@ reason

if (this.status.state !== 0
/* pending */
/* State.pending */
) return;
this.status = {
state: 3
/* rejected */
/* State.rejected */
,

@@ -520,3 +520,3 @@ reason

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -527,3 +527,3 @@ if (fulfillReactions.length !== 0) break;

case 3
/* rejected */
/* State.rejected */
:

@@ -547,6 +547,6 @@ if (rejectReactions.length !== 0) break;

case 0
/* pending */
/* State.pending */
:
case 1
/* resolved */
/* State.resolved */
:

@@ -556,3 +556,3 @@ return;

case 2
/* fulfilled */
/* State.fulfilled */
:

@@ -569,3 +569,3 @@ if (rejectReactions.length !== 0) {

case 3
/* rejected */
/* State.rejected */
:

@@ -572,0 +572,0 @@ if (fulfillReactions.length !== 0) {

{
"name": "typed-dom",
"version": "0.0.295",
"version": "0.0.296",
"description": "A value-level and type-level DOM builder.",

@@ -43,7 +43,7 @@ "private": false,

"@types/power-assert": "1.5.8",
"@typescript-eslint/parser": "^5.25.0",
"@typescript-eslint/parser": "^5.26.0",
"babel-loader": "^8.2.5",
"babel-plugin-unassert": "^3.2.0",
"concurrently": "^7.2.0",
"eslint": "^8.15.0",
"concurrently": "^7.2.1",
"eslint": "^8.16.0",
"eslint-plugin-redos": "^4.4.0",

@@ -59,6 +59,6 @@ "eslint-webpack-plugin": "^3.1.1",

"mocha": "^10.0.0",
"npm-check-updates": "^13.0.1",
"spica": "0.0.551",
"npm-check-updates": "^13.0.3",
"spica": "0.0.553",
"ts-loader": "^9.3.0",
"typescript": "4.6.4",
"typescript": "4.7.2",
"webpack": "^5.72.1",

@@ -65,0 +65,0 @@ "webpack-cli": "^4.9.2",

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

/*! typed-dom v0.0.295 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.296 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
(function webpackUniversalModuleDefinition(root, factory) {

@@ -3,0 +3,0 @@ if(typeof exports === 'object' && typeof module === 'object')

@@ -291,3 +291,3 @@ # typed-dom

HTML.p(() => document.createElement('p'));
HTML.p(() => document.querySelector('p'));
HTML.p(() => document.querySelector('p')!);
HTML('p');

@@ -294,0 +294,0 @@ ```

@@ -392,3 +392,3 @@ import { Event } from 'spica/global';

if (!oldParent || oldParent === newParent || !(symbols.proxy in oldParent)) return;
throw new Error(`TypedDOM: Typed DOM children cannot be used to another typed DOM.`);
throw new Error(`TypedDOM: Proxy children must be removed from the old parent proxy before assigning to the new parent proxy.`);
}

@@ -21,3 +21,3 @@ import { Shadow, HTML, SVG, El, Attrs, shadow, frag, html, define } from '../../index';

describe('Integration: Typed DOM', function () {
describe('Integration: Package', function () {
describe('spec', function () {

@@ -24,0 +24,0 @@ it('call', function () {

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