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

@aurelia/runtime-html

Package Overview
Dependencies
Maintainers
0
Versions
1021
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aurelia/runtime-html - npm Package Compare versions

Comparing version 2.0.0-beta.20 to 2.0.0-beta.21

14

dist/types/app-task.d.ts

@@ -15,3 +15,3 @@ import { type IContainer, type IRegistry, type Key, type Resolved } from '@aurelia/kernel';

<T extends Key = Key>(callback: AppTaskCallbackNoArg): IRegistry;
<T_1 extends Key = Key>(key: T_1, callback: AppTaskCallback<T_1>): IRegistry;
<T extends Key = Key>(key: T, callback: AppTaskCallback<T>): IRegistry;
};

@@ -26,3 +26,3 @@ /**

<T extends Key = Key>(callback: AppTaskCallbackNoArg): IRegistry;
<T_1 extends Key = Key>(key: T_1, callback: AppTaskCallback<T_1>): IRegistry;
<T extends Key = Key>(key: T, callback: AppTaskCallback<T>): IRegistry;
};

@@ -37,3 +37,3 @@ /**

<T extends Key = Key>(callback: AppTaskCallbackNoArg): IRegistry;
<T_1 extends Key = Key>(key: T_1, callback: AppTaskCallback<T_1>): IRegistry;
<T extends Key = Key>(key: T, callback: AppTaskCallback<T>): IRegistry;
};

@@ -46,3 +46,3 @@ /**

<T extends Key = Key>(callback: AppTaskCallbackNoArg): IRegistry;
<T_1 extends Key = Key>(key: T_1, callback: AppTaskCallback<T_1>): IRegistry;
<T extends Key = Key>(key: T, callback: AppTaskCallback<T>): IRegistry;
};

@@ -54,3 +54,3 @@ /**

<T extends Key = Key>(callback: AppTaskCallbackNoArg): IRegistry;
<T_1 extends Key = Key>(key: T_1, callback: AppTaskCallback<T_1>): IRegistry;
<T extends Key = Key>(key: T, callback: AppTaskCallback<T>): IRegistry;
};

@@ -63,3 +63,3 @@ /**

<T extends Key = Key>(callback: AppTaskCallbackNoArg): IRegistry;
<T_1 extends Key = Key>(key: T_1, callback: AppTaskCallback<T_1>): IRegistry;
<T extends Key = Key>(key: T, callback: AppTaskCallback<T>): IRegistry;
};

@@ -71,3 +71,3 @@ /**

<T extends Key = Key>(callback: AppTaskCallbackNoArg): IRegistry;
<T_1 extends Key = Key>(key: T_1, callback: AppTaskCallback<T_1>): IRegistry;
<T extends Key = Key>(key: T, callback: AppTaskCallback<T>): IRegistry;
};

@@ -74,0 +74,0 @@ }>;

@@ -20,2 +20,14 @@ import { type Class, type Constructable } from '@aurelia/kernel';

/**
* Decorator: Specifies a bindable property on a class property.
*
* @example
* ```ts
* class Foo {
* ⁣@bindable bar: string;
* }
* ```
*/
export declare function bindable(_: undefined, context: ClassFieldDecoratorContext): void;
export declare function bindable(_: Function, context: ClassGetterDecoratorContext): void;
/**
* Decorator: Specifies custom behavior for a bindable property.

@@ -33,18 +45,6 @@ * This can be either be a property decorator or a class decorator.

export declare function bindable(prop: string): (target: Constructable, context: ClassDecoratorContext) => void;
/**
* Decorator: Specifies a bindable property on a class property.
*
* @example
* ```ts
* class Foo {
* ⁣@bindable bar: string;
* }
* ```
*/
export declare function bindable(_: undefined, context: ClassFieldDecoratorContext): void;
export declare function bindable(_: Function, context: ClassGetterDecoratorContext): void;
export declare const Bindable: Readonly<{
name: string;
keyFrom: (name: string) => string;
from(...bindableLists: readonly (BindableDefinition | Record<string, Exclude<PartialBindableDefinition, 'name'> | true> | readonly (string | (PartialBindableDefinition & {
from(...bindableLists: readonly (BindableDefinition | Record<string, Exclude<PartialBindableDefinition, "name"> | true> | readonly (string | (PartialBindableDefinition & {
name: string;

@@ -51,0 +51,0 @@ }))[] | undefined)[]): Record<string, BindableDefinition>;

@@ -18,3 +18,3 @@ import { type IServiceLocator, type Constructable } from '@aurelia/kernel';

export declare const mixinUseScope: <T extends {
_scope?: Scope | undefined;
_scope?: Scope;
}>(target: Constructable<T>) => void;

@@ -21,0 +21,0 @@ /**

@@ -78,3 +78,3 @@ import { IContainer } from '@aurelia/kernel';

readonly target: "re";
render(renderingCtrl: import(".").IHydratableController<import(".").IViewModel>, target: import(".").IController<import(".").IViewModel>, instruction: import("@aurelia/template-compiler").SetPropertyInstruction): void;
render(renderingCtrl: import(".").IHydratableController, target: import(".").IController, instruction: import("@aurelia/template-compiler").SetPropertyInstruction): void;
};

@@ -85,3 +85,3 @@ } | {

readonly target: "ra";
render(renderingCtrl: import(".").IHydratableController<import(".").IViewModel>, target: HTMLElement, instruction: import("@aurelia/template-compiler").HydrateElementInstruction<Record<PropertyKey, unknown>, import(".").CustomElementDefinition<import("@aurelia/kernel").Constructable>>, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser<import("@aurelia/expression-parser").CustomExpression>, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
render(renderingCtrl: import(".").IHydratableController, target: HTMLElement, instruction: import("@aurelia/template-compiler").HydrateElementInstruction<Record<PropertyKey, unknown>, import(".").CustomElementDefinition>, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
};

@@ -92,3 +92,3 @@ } | {

readonly target: "rb";
render(renderingCtrl: import(".").IHydratableController<import(".").IViewModel>, target: HTMLElement, instruction: import("@aurelia/template-compiler").HydrateAttributeInstruction<import(".").CustomAttributeDefinition<import("@aurelia/kernel").Constructable>>, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser<import("@aurelia/expression-parser").CustomExpression>, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
render(renderingCtrl: import(".").IHydratableController, target: HTMLElement, instruction: import("@aurelia/template-compiler").HydrateAttributeInstruction<import(".").CustomAttributeDefinition>, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
};

@@ -99,3 +99,3 @@ } | {

readonly target: "rc";
render(renderingCtrl: import(".").IHydratableController<import(".").IViewModel>, target: HTMLElement, instruction: import("@aurelia/template-compiler").HydrateTemplateController<import(".").CustomAttributeDefinition<import("@aurelia/kernel").Constructable>>, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser<import("@aurelia/expression-parser").CustomExpression>, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
render(renderingCtrl: import(".").IHydratableController, target: HTMLElement, instruction: import("@aurelia/template-compiler").HydrateTemplateController<import(".").CustomAttributeDefinition>, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
};

@@ -105,3 +105,3 @@ } | {

readonly target: "rd";
render(renderingCtrl: import(".").IHydratableController<import(".").IViewModel>, target: Node & ChildNode, instruction: import("@aurelia/template-compiler").HydrateLetElementInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser<import("@aurelia/expression-parser").CustomExpression>, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
render(renderingCtrl: import(".").IHydratableController, target: Node & ChildNode, instruction: import("@aurelia/template-compiler").HydrateLetElementInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
};

@@ -111,3 +111,3 @@ } | {

readonly target: "rj";
render(renderingCtrl: import(".").IHydratableController<import(".").IViewModel>, target: import("./dom").INode, instruction: import("@aurelia/template-compiler").RefBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser<import("@aurelia/expression-parser").CustomExpression>): void;
render(renderingCtrl: import(".").IHydratableController, target: import("./dom").INode, instruction: import("@aurelia/template-compiler").RefBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser): void;
};

@@ -117,3 +117,3 @@ } | {

readonly target: "rf";
render(renderingCtrl: import(".").IHydratableController<import(".").IViewModel>, target: HTMLElement | import(".").IController<import(".").IViewModel>, instruction: import("@aurelia/template-compiler").InterpolationInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser<import("@aurelia/expression-parser").CustomExpression>, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
render(renderingCtrl: import(".").IHydratableController, target: import(".").IController | HTMLElement, instruction: import("@aurelia/template-compiler").InterpolationInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
};

@@ -123,3 +123,3 @@ } | {

readonly target: "rg";
render(renderingCtrl: import(".").IHydratableController<import(".").IViewModel>, target: import(".").IController<import(".").IViewModel>, instruction: import("@aurelia/template-compiler").PropertyBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser<import("@aurelia/expression-parser").CustomExpression>, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
render(renderingCtrl: import(".").IHydratableController, target: import(".").IController, instruction: import("@aurelia/template-compiler").PropertyBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
};

@@ -129,3 +129,3 @@ } | {

readonly target: "rk";
render(renderingCtrl: import(".").IHydratableController<import(".").IViewModel>, target: import(".").IController<import(".").IViewModel>, instruction: import("@aurelia/template-compiler").IteratorBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser<import("@aurelia/expression-parser").CustomExpression>, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
render(renderingCtrl: import(".").IHydratableController, target: import(".").IController, instruction: import("@aurelia/template-compiler").IteratorBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
};

@@ -135,3 +135,3 @@ } | {

readonly target: "ha";
render(renderingCtrl: import(".").IHydratableController<import(".").IViewModel>, target: ChildNode, instruction: import("@aurelia/template-compiler").TextBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser<import("@aurelia/expression-parser").CustomExpression>, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
render(renderingCtrl: import(".").IHydratableController, target: ChildNode, instruction: import("@aurelia/template-compiler").TextBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
};

@@ -143,3 +143,3 @@ } | {

readonly _defaultOptions: import("./renderer").IListenerBindingOptions;
render(renderingCtrl: import(".").IHydratableController<import(".").IViewModel>, target: HTMLElement, instruction: import("@aurelia/template-compiler").ListenerBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser<import("@aurelia/expression-parser").CustomExpression>): void;
render(renderingCtrl: import(".").IHydratableController, target: HTMLElement, instruction: import("@aurelia/template-compiler").ListenerBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser): void;
};

@@ -149,3 +149,3 @@ } | {

readonly target: "he";
render(_: import(".").IHydratableController<import(".").IViewModel>, target: HTMLElement, instruction: import("@aurelia/template-compiler").SetAttributeInstruction): void;
render(_: import(".").IHydratableController, target: HTMLElement, instruction: import("@aurelia/template-compiler").SetAttributeInstruction): void;
};

@@ -155,3 +155,3 @@ } | {

readonly target: "hf";
render(_: import(".").IHydratableController<import(".").IViewModel>, target: HTMLElement, instruction: import("@aurelia/template-compiler").SetClassAttributeInstruction): void;
render(_: import(".").IHydratableController, target: HTMLElement, instruction: import("@aurelia/template-compiler").SetClassAttributeInstruction): void;
};

@@ -161,3 +161,3 @@ } | {

readonly target: "hg";
render(_: import(".").IHydratableController<import(".").IViewModel>, target: HTMLElement, instruction: import("@aurelia/template-compiler").SetStyleAttributeInstruction): void;
render(_: import(".").IHydratableController, target: HTMLElement, instruction: import("@aurelia/template-compiler").SetStyleAttributeInstruction): void;
};

@@ -167,3 +167,3 @@ } | {

readonly target: "hd";
render(renderingCtrl: import(".").IHydratableController<import(".").IViewModel>, target: HTMLElement, instruction: import("@aurelia/template-compiler").StylePropertyBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser<import("@aurelia/expression-parser").CustomExpression>, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
render(renderingCtrl: import(".").IHydratableController, target: HTMLElement, instruction: import("@aurelia/template-compiler").StylePropertyBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
};

@@ -173,3 +173,3 @@ } | {

readonly target: "hc";
render(renderingCtrl: import(".").IHydratableController<import(".").IViewModel>, target: HTMLElement, instruction: import("@aurelia/template-compiler").AttributeBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser<import("@aurelia/expression-parser").CustomExpression>, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
render(renderingCtrl: import(".").IHydratableController, target: HTMLElement, instruction: import("@aurelia/template-compiler").AttributeBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
};

@@ -181,3 +181,3 @@ } | {

readonly target: "hs";
render(renderingCtrl: import(".").IHydratableController<import(".").IViewModel>, target: HTMLElement, instruction: import("@aurelia/template-compiler").SpreadTransferedBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser<import("@aurelia/expression-parser").CustomExpression>, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
render(renderingCtrl: import(".").IHydratableController, target: HTMLElement, instruction: import("@aurelia/template-compiler").SpreadTransferedBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
};

@@ -187,3 +187,3 @@ } | {

readonly target: "svb";
render(renderingCtrl: import(".").IHydratableController<import(".").IViewModel>, target: import(".").ICustomElementController<import(".").ICustomElementViewModel>, instruction: import("@aurelia/template-compiler").SpreadValueBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser<import("@aurelia/expression-parser").CustomExpression>, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
render(renderingCtrl: import(".").IHydratableController, target: import(".").ICustomElementController, instruction: import("@aurelia/template-compiler").SpreadValueBindingInstruction, platform: import("./platform").IPlatform, exprParser: import("@aurelia/expression-parser").IExpressionParser, observerLocator: import("@aurelia/runtime").IObserverLocator): void;
};

@@ -190,0 +190,0 @@ })[];

{
"name": "@aurelia/runtime-html",
"version": "2.0.0-beta.20",
"version": "2.0.0-beta.21",
"main": "dist/cjs/index.cjs",

@@ -57,9 +57,9 @@ "module": "dist/esm/index.mjs",

"dependencies": {
"@aurelia/kernel": "2.0.0-beta.20",
"@aurelia/metadata": "2.0.0-beta.20",
"@aurelia/platform": "2.0.0-beta.20",
"@aurelia/platform-browser": "2.0.0-beta.20",
"@aurelia/runtime": "2.0.0-beta.20",
"@aurelia/expression-parser": "2.0.0-beta.20",
"@aurelia/template-compiler": "2.0.0-beta.20"
"@aurelia/kernel": "2.0.0-beta.21",
"@aurelia/metadata": "2.0.0-beta.21",
"@aurelia/platform": "2.0.0-beta.21",
"@aurelia/platform-browser": "2.0.0-beta.21",
"@aurelia/runtime": "2.0.0-beta.21",
"@aurelia/expression-parser": "2.0.0-beta.21",
"@aurelia/template-compiler": "2.0.0-beta.21"
},

@@ -66,0 +66,0 @@ "devDependencies": {

@@ -157,17 +157,25 @@ /* eslint-disable no-fallthrough */

}
case ekUnary:
case ekUnary: {
const value = astEvaluate(ast.expression, s, e, c) ;
switch (ast.operation as string) {
case 'void':
return void astEvaluate(ast.expression, s, e, c);
return void value;
case 'typeof':
return typeof astEvaluate(ast.expression, s, e, c);
return typeof value;
case '!':
return !(astEvaluate(ast.expression, s, e, c) as boolean);
return !(value as boolean);
case '-':
return -(astEvaluate(ast.expression, s, e, c) as number);
return -(value as number);
case '+':
return +(astEvaluate(ast.expression, s, e, c) as number);
return +(value as number);
case '--':
if (c != null) throw createMappedError(ErrorNames.ast_increment_infinite_loop);
return (astAssign(ast.expression, s, e, (value as number) - 1) as number) + ast.pos;
case '++':
if (c != null) throw createMappedError(ErrorNames.ast_increment_infinite_loop);
return (astAssign(ast.expression, s, e, (value as number) + 1) as number) - ast.pos;
default:
throw createMappedError(ErrorNames.ast_unknown_unary_operator, ast.operation);
}
}
case ekCallScope: {

@@ -360,4 +368,28 @@ const args = ast.args.map(a => astEvaluate(a, s, e, c));

return astEvaluate(ast.condition, s, e, c) ? astEvaluate(ast.yes, s, e, c) : astEvaluate(ast.no, s, e, c);
case ekAssign:
return astAssign(ast.target, s, e, astEvaluate(ast.value, s, e, c));
case ekAssign: {
let value = astEvaluate(ast.value, s, e, c) as number;
if (ast.op !== '=') {
if (c != null) {
throw createMappedError(ErrorNames.ast_increment_infinite_loop);
}
const target = (astEvaluate(ast.target, s, e, c) as number);
switch (ast.op) {
case '/=':
value = target / value;
break;
case '*=':
value = target * value;
break;
case '+=':
value = target + value;
break;
case '-=':
value = target - value;
break;
default:
throw createMappedError(ErrorNames.ast_unknown_binary_operator, ast.op);
}
}
return astAssign(ast.target, s, e, value);
}
case ekValueConverter: {

@@ -364,0 +396,0 @@ const vc = e?.getConverter?.(ast.name);

@@ -30,15 +30,2 @@ import { kebabCase, getPrototypeChain, noop, type Class, createLookup, isString, type Constructable } from '@aurelia/kernel';

/**
* Decorator: Specifies custom behavior for a bindable property.
* This can be either be a property decorator or a class decorator.
*
* @param config - The overrides
*/
export function bindable(config?: Omit<PartialBindableDefinition, 'name'>): (target: unknown, context: ClassDecoratorContext | ClassFieldDecoratorContext | ClassGetterDecoratorContext) => void;
/**
* Decorator: Specifies a bindable property on a class.
*
* @param prop - The property name
*/
export function bindable(prop: string): (target: Constructable, context: ClassDecoratorContext) => void;
// Note: there is a invisible separator character the precedes the `@` in the jsdoc example. Otherwise the eslint rule will complain.

@@ -61,2 +48,15 @@ // Refer:

export function bindable(_: Function, context: ClassGetterDecoratorContext): void;
/**
* Decorator: Specifies custom behavior for a bindable property.
* This can be either be a property decorator or a class decorator.
*
* @param config - The overrides
*/
export function bindable(config?: Omit<PartialBindableDefinition, 'name'>): (target: unknown, context: ClassDecoratorContext | ClassFieldDecoratorContext | ClassGetterDecoratorContext) => void;
/**
* Decorator: Specifies a bindable property on a class.
*
* @param prop - The property name
*/
export function bindable(prop: string): (target: Constructable, context: ClassDecoratorContext) => void;
export function bindable(

@@ -63,0 +63,0 @@ configOrPropOrTarget: PartialBindableDefinition | string | Constructable | undefined,

@@ -31,3 +31,2 @@ import { type IServiceLocator, isString } from '@aurelia/kernel';

const taskOptions: QueueTaskOptions = {
reusable: false,
preempt: true,

@@ -34,0 +33,0 @@ };

@@ -185,3 +185,3 @@ import { type IServiceLocator, Key, type Constructable, IDisposable, IContainer } from '@aurelia/kernel';

task = limiterTask;
limiterTask = taskQueue.queueTask(callOriginalCallback, { delay: opts.delay, reusable: false });
limiterTask = taskQueue.queueTask(callOriginalCallback, { delay: opts.delay });
task?.cancel();

@@ -235,3 +235,3 @@ } else {

callOriginalCallback();
}, { delay: opts.delay - elapsed, reusable: false });
}, { delay: opts.delay - elapsed });
}

@@ -238,0 +238,0 @@ task?.cancel();

@@ -28,3 +28,2 @@ import {

const queueTaskOptions: QueueTaskOptions = {
reusable: false,
preempt: true,

@@ -31,0 +30,0 @@ };

@@ -30,3 +30,2 @@ import { type IServiceLocator, isArray } from '@aurelia/kernel';

const queueTaskOptions: QueueTaskOptions = {
reusable: false,
preempt: true,

@@ -33,0 +32,0 @@ };

@@ -214,4 +214,3 @@ import { connectable, ISubscriber } from '@aurelia/runtime';

const updateTaskOpts: QueueTaskOptions = {
reusable: false,
preempt: true,
};

@@ -27,2 +27,3 @@ /* eslint-disable @typescript-eslint/no-unsafe-member-access */

ast_destruct_null = 112,
ast_increment_infinite_loop = 113,

@@ -147,2 +148,3 @@ binding_behavior_def_not_found = 151,

[ErrorNames.ast_destruct_null]: `Ast eval error: cannot use non-object value for destructuring assignment.`,
[ErrorNames.ast_increment_infinite_loop]: `Ast eval error: infinite loop detected. Increment operators should only be used in event handlers.`,

@@ -149,0 +151,0 @@ [ErrorNames.binding_behavior_def_not_found]: `No binding behavior definition found for type {{0:name}}`,

@@ -89,3 +89,2 @@ import { Task, TaskAbortError } from '@aurelia/platform';

let preSettlePromise: Promise<void>;
const defaultQueuingOptions = { reusable: false };
const $swap = () => {

@@ -103,3 +102,3 @@ // Note that the whole thing is not wrapped in a q.queueTask intentionally.

);
}, defaultQueuingOptions)).result.catch((err) => { if (!(err instanceof TaskAbortError)) throw err; }),
})).result.catch((err) => { if (!(err instanceof TaskAbortError)) throw err; }),
value

@@ -117,3 +116,3 @@ .then(

fulfilled?.activate(initiator, s, data),
), defaultQueuingOptions)).result;
))).result;
};

@@ -137,3 +136,3 @@ if (this.preSettledTask!.status === tsRunning) {

rejected?.activate(initiator, s, err),
), defaultQueuingOptions)).result;
))).result;
};

@@ -140,0 +139,0 @@ if (this.preSettledTask!.status === tsRunning) {

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

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