New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aurelia/runtime-html

Package Overview
Dependencies
Maintainers
0
Versions
1026
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.1.0-dev.202412161127 to 2.1.0-dev.202501070107

2

dist/types/binding/listener-binding.d.ts

@@ -9,3 +9,3 @@ import { type IsBindingBehavior } from '@aurelia/expression-parser';

readonly onError: (event: Event, error: unknown) => void;
constructor(prevent: boolean, capture: boolean, onError: (event: Event, error: unknown) => void);
constructor(prevent: boolean, capture: boolean | undefined, onError: (event: Event, error: unknown) => void);
}

@@ -12,0 +12,0 @@ export interface ListenerBinding extends IAstEvaluator, IObserverLocatorBasedConnectable, IServiceLocator {

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

register(container: IContainer): IContainer;
customize(cb?: ConfigurationOptionsProvider): any;
customize(cb?: ConfigurationOptionsProvider): /*elided*/ any;
};

@@ -182,0 +182,0 @@ export type ConfigurationOptionsProvider = (options: IRuntimeHtmlConfigurationOptions) => void;

{
"name": "@aurelia/runtime-html",
"version": "2.1.0-dev.202412161127",
"version": "2.1.0-dev.202501070107",
"main": "dist/cjs/index.cjs",

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

"dependencies": {
"@aurelia/kernel": "2.1.0-dev.202412161127",
"@aurelia/metadata": "2.1.0-dev.202412161127",
"@aurelia/platform": "2.1.0-dev.202412161127",
"@aurelia/platform-browser": "2.1.0-dev.202412161127",
"@aurelia/runtime": "2.1.0-dev.202412161127",
"@aurelia/expression-parser": "2.1.0-dev.202412161127",
"@aurelia/template-compiler": "2.1.0-dev.202412161127"
"@aurelia/kernel": "2.1.0-dev.202501070107",
"@aurelia/metadata": "2.1.0-dev.202501070107",
"@aurelia/platform": "2.1.0-dev.202501070107",
"@aurelia/platform-browser": "2.1.0-dev.202501070107",
"@aurelia/runtime": "2.1.0-dev.202501070107",
"@aurelia/expression-parser": "2.1.0-dev.202501070107",
"@aurelia/template-compiler": "2.1.0-dev.202501070107"
},

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

@@ -150,3 +150,3 @@ import {

this._normalizeToArray();
this._createScopes();
this._createScopes(void 0);

@@ -179,3 +179,3 @@ return this._activateAllViews(initiator, this._normalizedItems ?? emptyArray);

this._normalizeToArray();
this._createScopes();
this._createScopes(void 0);
this._applyIndexMap(void 0);

@@ -200,3 +200,3 @@ }

this._normalizeToArray();
this._createScopes();
this._createScopes(this.key === null ? indexMap : void 0);
this._applyIndexMap(indexMap);

@@ -330,3 +330,3 @@ }

/** @internal */
private _createScopes(): void {
private _createScopes(indexMap: IndexMap | undefined): void {
const oldScopes = this._scopes;

@@ -347,4 +347,18 @@ this._oldScopes = oldScopes.slice();

for (let i = 0; i < len; ++i) {
scopes[i] = getScope(oldScopeMap, newScopeMap, items[i], forOf, parentScope, binding, local, hasDestructuredLocal);
if (indexMap === void 0) {
for (let i = 0; i < len; ++i) {
scopes[i] = getScope(oldScopeMap, newScopeMap, items[i], forOf, parentScope, binding, local, hasDestructuredLocal);
}
} else {
const oldLen = oldScopes.length;
for (let i = 0; i < len; ++i) {
const src = indexMap[i];
if (src >= 0 && src < oldLen) {
scopes[i] = oldScopes[src];
} else {
scopes[i] = createScope(items[i], forOf, parentScope, binding, local, hasDestructuredLocal);
}
setItem(hasDestructuredLocal, forOf.declaration, scopes[i], binding, local, items[i]);
}
}

@@ -860,3 +874,2 @@

) => {
// let scope = void 0 as Scope | Scope[] | undefined;
let scope = oldScopeMap.get(item);

@@ -863,0 +876,0 @@ if (scope === void 0) {

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