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.336 to 0.0.337

2

dist/dom.js

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

/*! typed-dom v0.0.336 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.337 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.336 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.337 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.336 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.337 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
(function webpackUniversalModuleDefinition(root, factory) {

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

exports.fix = fix;
// @ts-ignore
function noop() {}

@@ -315,2 +314,5 @@ exports.noop = noop;

class AtomicPromise {
static get [(_a = Symbol.toStringTag, Symbol.species)]() {
return AtomicPromise;
}
static all(vs) {

@@ -479,6 +481,10 @@ return new AtomicPromise((resolve, reject) => {

static resolve(value) {
return new AtomicPromise(resolve => resolve(value));
const p = new AtomicPromise(function_1.noop);
p[exports.internal].resolve(value);
return p;
}
static reject(reason) {
return new AtomicPromise((_, reject) => reject(reason));
const p = new AtomicPromise(function_1.noop);
p[exports.internal].reject(reason);
return p;
}

@@ -508,3 +514,3 @@ constructor(executor) {

exports.AtomicPromise = AtomicPromise;
_a = Symbol.toStringTag, _b = exports.internal;
_b = exports.internal;
class Internal {

@@ -574,4 +580,12 @@ constructor() {

}
fulfillReactions.push([internal, true, onfulfilled]);
rejectReactions.push([internal, false, onrejected]);
fulfillReactions.push({
internal,
state: true,
procedure: onfulfilled
});
rejectReactions.push({
internal,
state: false,
procedure: onrejected
});
}

@@ -610,4 +624,8 @@ resume() {

for (let i = 0; i < reactions.length; ++i) {
const reaction = reactions[i];
call(reaction[0], reaction[1], reaction[2], param);
const {
internal,
state,
procedure
} = reactions[i];
call(internal, state, procedure, param);
}

@@ -614,0 +632,0 @@ }

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

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

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

exports.fix = fix;
// @ts-ignore
function noop() {}

@@ -94,2 +93,5 @@ exports.noop = noop;

class AtomicPromise {
static get [(_a = Symbol.toStringTag, Symbol.species)]() {
return AtomicPromise;
}
static all(vs) {

@@ -258,6 +260,10 @@ return new AtomicPromise((resolve, reject) => {

static resolve(value) {
return new AtomicPromise(resolve => resolve(value));
const p = new AtomicPromise(function_1.noop);
p[exports.internal].resolve(value);
return p;
}
static reject(reason) {
return new AtomicPromise((_, reject) => reject(reason));
const p = new AtomicPromise(function_1.noop);
p[exports.internal].reject(reason);
return p;
}

@@ -287,3 +293,3 @@ constructor(executor) {

exports.AtomicPromise = AtomicPromise;
_a = Symbol.toStringTag, _b = exports.internal;
_b = exports.internal;
class Internal {

@@ -353,4 +359,12 @@ constructor() {

}
fulfillReactions.push([internal, true, onfulfilled]);
rejectReactions.push([internal, false, onrejected]);
fulfillReactions.push({
internal,
state: true,
procedure: onfulfilled
});
rejectReactions.push({
internal,
state: false,
procedure: onrejected
});
}

@@ -389,4 +403,8 @@ resume() {

for (let i = 0; i < reactions.length; ++i) {
const reaction = reactions[i];
call(reaction[0], reaction[1], reaction[2], param);
const {
internal,
state,
procedure
} = reactions[i];
call(internal, state, procedure, param);
}

@@ -393,0 +411,0 @@ }

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

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

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

exports.fix = fix;
// @ts-ignore
function noop() {}

@@ -315,2 +314,5 @@ exports.noop = noop;

class AtomicPromise {
static get [(_a = Symbol.toStringTag, Symbol.species)]() {
return AtomicPromise;
}
static all(vs) {

@@ -479,6 +481,10 @@ return new AtomicPromise((resolve, reject) => {

static resolve(value) {
return new AtomicPromise(resolve => resolve(value));
const p = new AtomicPromise(function_1.noop);
p[exports.internal].resolve(value);
return p;
}
static reject(reason) {
return new AtomicPromise((_, reject) => reject(reason));
const p = new AtomicPromise(function_1.noop);
p[exports.internal].reject(reason);
return p;
}

@@ -508,3 +514,3 @@ constructor(executor) {

exports.AtomicPromise = AtomicPromise;
_a = Symbol.toStringTag, _b = exports.internal;
_b = exports.internal;
class Internal {

@@ -574,4 +580,12 @@ constructor() {

}
fulfillReactions.push([internal, true, onfulfilled]);
rejectReactions.push([internal, false, onrejected]);
fulfillReactions.push({
internal,
state: true,
procedure: onfulfilled
});
rejectReactions.push({
internal,
state: false,
procedure: onrejected
});
}

@@ -610,4 +624,8 @@ resume() {

for (let i = 0; i < reactions.length; ++i) {
const reaction = reactions[i];
call(reaction[0], reaction[1], reaction[2], param);
const {
internal,
state,
procedure
} = reactions[i];
call(internal, state, procedure, param);
}

@@ -614,0 +632,0 @@ }

@@ -26,2 +26,3 @@ declare const enum State {

readonly [Symbol.toStringTag]: string;
static get [Symbol.species](): typeof AtomicPromise;
static all<T extends readonly unknown[] | []>(values: T): AtomicPromise<{

@@ -48,4 +49,12 @@ -readonly [P in keyof T]: Awaited<T[P]>;

}
type FulfillReaction = [Internal<unknown>, true, ((param: unknown) => unknown) | undefined | null];
type RejectReaction = [Internal<unknown>, false, ((param: unknown) => unknown) | undefined | null];
interface FulfillReaction {
readonly internal: Internal<unknown>;
readonly state: true;
readonly procedure: ((param: unknown) => unknown) | undefined | null;
}
interface RejectReaction {
readonly internal: Internal<unknown>;
readonly state: false;
readonly procedure: ((param: unknown) => unknown) | undefined | null;
}
export declare class Internal<T> {

@@ -52,0 +61,0 @@ status: Status<T>;

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

/*! typed-dom v0.0.336 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.337 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.336 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.337 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.336 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.337 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.336 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.337 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.336 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.337 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
(function webpackUniversalModuleDefinition(root, factory) {

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

exports.fix = fix;
// @ts-ignore
function noop() {}

@@ -315,2 +314,5 @@ exports.noop = noop;

class AtomicPromise {
static get [(_a = Symbol.toStringTag, Symbol.species)]() {
return AtomicPromise;
}
static all(vs) {

@@ -479,6 +481,10 @@ return new AtomicPromise((resolve, reject) => {

static resolve(value) {
return new AtomicPromise(resolve => resolve(value));
const p = new AtomicPromise(function_1.noop);
p[exports.internal].resolve(value);
return p;
}
static reject(reason) {
return new AtomicPromise((_, reject) => reject(reason));
const p = new AtomicPromise(function_1.noop);
p[exports.internal].reject(reason);
return p;
}

@@ -508,3 +514,3 @@ constructor(executor) {

exports.AtomicPromise = AtomicPromise;
_a = Symbol.toStringTag, _b = exports.internal;
_b = exports.internal;
class Internal {

@@ -574,4 +580,12 @@ constructor() {

}
fulfillReactions.push([internal, true, onfulfilled]);
rejectReactions.push([internal, false, onrejected]);
fulfillReactions.push({
internal,
state: true,
procedure: onfulfilled
});
rejectReactions.push({
internal,
state: false,
procedure: onrejected
});
}

@@ -610,4 +624,8 @@ resume() {

for (let i = 0; i < reactions.length; ++i) {
const reaction = reactions[i];
call(reaction[0], reaction[1], reaction[2], param);
const {
internal,
state,
procedure
} = reactions[i];
call(internal, state, procedure, param);
}

@@ -614,0 +632,0 @@ }

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

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

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

exports.fix = fix;
// @ts-ignore
function noop() {}

@@ -94,2 +93,5 @@ exports.noop = noop;

class AtomicPromise {
static get [(_a = Symbol.toStringTag, Symbol.species)]() {
return AtomicPromise;
}
static all(vs) {

@@ -258,6 +260,10 @@ return new AtomicPromise((resolve, reject) => {

static resolve(value) {
return new AtomicPromise(resolve => resolve(value));
const p = new AtomicPromise(function_1.noop);
p[exports.internal].resolve(value);
return p;
}
static reject(reason) {
return new AtomicPromise((_, reject) => reject(reason));
const p = new AtomicPromise(function_1.noop);
p[exports.internal].reject(reason);
return p;
}

@@ -287,3 +293,3 @@ constructor(executor) {

exports.AtomicPromise = AtomicPromise;
_a = Symbol.toStringTag, _b = exports.internal;
_b = exports.internal;
class Internal {

@@ -353,4 +359,12 @@ constructor() {

}
fulfillReactions.push([internal, true, onfulfilled]);
rejectReactions.push([internal, false, onrejected]);
fulfillReactions.push({
internal,
state: true,
procedure: onfulfilled
});
rejectReactions.push({
internal,
state: false,
procedure: onrejected
});
}

@@ -389,4 +403,8 @@ resume() {

for (let i = 0; i < reactions.length; ++i) {
const reaction = reactions[i];
call(reaction[0], reaction[1], reaction[2], param);
const {
internal,
state,
procedure
} = reactions[i];
call(internal, state, procedure, param);
}

@@ -393,0 +411,0 @@ }

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

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

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

exports.fix = fix;
// @ts-ignore
function noop() {}

@@ -315,2 +314,5 @@ exports.noop = noop;

class AtomicPromise {
static get [(_a = Symbol.toStringTag, Symbol.species)]() {
return AtomicPromise;
}
static all(vs) {

@@ -479,6 +481,10 @@ return new AtomicPromise((resolve, reject) => {

static resolve(value) {
return new AtomicPromise(resolve => resolve(value));
const p = new AtomicPromise(function_1.noop);
p[exports.internal].resolve(value);
return p;
}
static reject(reason) {
return new AtomicPromise((_, reject) => reject(reason));
const p = new AtomicPromise(function_1.noop);
p[exports.internal].reject(reason);
return p;
}

@@ -508,3 +514,3 @@ constructor(executor) {

exports.AtomicPromise = AtomicPromise;
_a = Symbol.toStringTag, _b = exports.internal;
_b = exports.internal;
class Internal {

@@ -574,4 +580,12 @@ constructor() {

}
fulfillReactions.push([internal, true, onfulfilled]);
rejectReactions.push([internal, false, onrejected]);
fulfillReactions.push({
internal,
state: true,
procedure: onfulfilled
});
rejectReactions.push({
internal,
state: false,
procedure: onrejected
});
}

@@ -610,4 +624,8 @@ resume() {

for (let i = 0; i < reactions.length; ++i) {
const reaction = reactions[i];
call(reaction[0], reaction[1], reaction[2], param);
const {
internal,
state,
procedure
} = reactions[i];
call(internal, state, procedure, param);
}

@@ -614,0 +632,0 @@ }

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

@@ -59,3 +59,3 @@ "private": false,

"npm-check-updates": "^16.10.12",
"spica": "0.0.732",
"spica": "0.0.734",
"ts-loader": "^9.4.3",

@@ -62,0 +62,0 @@ "typescript": "5.1.3",

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

/*! typed-dom v0.0.336 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.337 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.336 https://github.com/falsandtru/typed-dom | (c) 2016, falsandtru | (Apache-2.0 AND MPL-2.0) License */
/*! typed-dom v0.0.337 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')

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

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

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