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

@aurelia/runtime-html

Package Overview
Dependencies
Maintainers
1
Versions
1024
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.1-dev.202405010737 to 2.0.1-dev.202405031042

2

dist/types/resources/custom-elements/au-slot.d.ts

@@ -20,3 +20,3 @@ import { CustomElementStaticAuDefinition } from '../custom-element';

unsubscribe(subscriber: IAuSlotSubscriber): void;
binding(_initiator: IHydratedController, _parent: IHydratedParentController): void | Promise<void>;
binding(_initiator: IHydratedController, parent: IHydratedParentController): void | Promise<void>;
attaching(initiator: IHydratedController, _parent: IHydratedParentController): void | Promise<void>;

@@ -23,0 +23,0 @@ detaching(initiator: IHydratedController, _parent: IHydratedParentController): void | Promise<void>;

{
"name": "@aurelia/runtime-html",
"version": "2.0.1-dev.202405010737",
"version": "2.0.1-dev.202405031042",
"main": "dist/cjs/index.cjs",

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

"dependencies": {
"@aurelia/kernel": "2.0.1-dev.202405010737",
"@aurelia/metadata": "2.0.1-dev.202405010737",
"@aurelia/platform": "2.0.1-dev.202405010737",
"@aurelia/platform-browser": "2.0.1-dev.202405010737",
"@aurelia/runtime": "2.0.1-dev.202405010737",
"@aurelia/expression-parser": "2.0.1-dev.202405010737",
"@aurelia/template-compiler": "2.0.1-dev.202405010737"
"@aurelia/kernel": "2.0.1-dev.202405031042",
"@aurelia/metadata": "2.0.1-dev.202405031042",
"@aurelia/platform": "2.0.1-dev.202405031042",
"@aurelia/platform-browser": "2.0.1-dev.202405031042",
"@aurelia/runtime": "2.0.1-dev.202405031042",
"@aurelia/expression-parser": "2.0.1-dev.202405031042",
"@aurelia/template-compiler": "2.0.1-dev.202405031042"
},

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

@@ -167,5 +167,16 @@ import { Scope } from '../../binding/scope';

_initiator: IHydratedController,
_parent: IHydratedParentController,
parent: IHydratedParentController,
): void | Promise<void> {
this._parentScope = this.$controller.scope.parent!;
// if this <au-slot> was created by another au slot, the controller hierarchy will be like this:
// C(au-slot)#1 --> C(synthetic)#1 --> C(au-slot)#2 --> C(synthetic)#2
//
// C(synthetic)#2 is what will provide the content for C(au-slot)#1
// but C(au-slot)#1 is what will provide the $host value for the content of C(au-slot)#2
//
// because of this structure, walk 2 level of controller at once to find the right parent scope for $host value
while (parent.vmKind === 'synthetic' && parent.parent?.viewModel instanceof AuSlot) {
parent = parent.parent.parent as IHydratedParentController;
}
this._parentScope = parent.scope;
let outerScope: Scope;

@@ -172,0 +183,0 @@ if (this._hasProjection) {

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

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