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

@aurelia/runtime

Package Overview
Dependencies
Maintainers
1
Versions
1113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aurelia/runtime - npm Package Compare versions

Comparing version 0.2.0-dev.20180928 to 0.2.0-dev.20181001

3

dist/aurelia.d.ts
import { IContainer, IRegistry } from '@aurelia/kernel';
import { ICustomElement } from './templating/custom-element';
export interface ISinglePageApp {

@@ -12,5 +13,7 @@ host: any;

private isStarted;
private _root;
constructor(container?: IContainer);
register(...params: (IRegistry | Record<string, Partial<IRegistry>>)[]): this;
app(config: ISinglePageApp): this;
root(): ICustomElement | null;
start(): this;

@@ -17,0 +20,0 @@ stop(): this;

6

package.json
{
"name": "@aurelia/runtime",
"version": "0.2.0-dev.20180928",
"version": "0.2.0-dev.20181001",
"main": "dist/index.umd.js",

@@ -46,3 +46,3 @@ "module": "dist/index.es6.js",

"dependencies": {
"@aurelia/kernel": "0.2.0-dev.20180928"
"@aurelia/kernel": "0.2.0-dev.20181001"
},

@@ -88,3 +88,3 @@ "devDependencies": {

},
"gitHead": "48c41516655c2d1b9d9822d4fa2732a47c0b0f36"
"gitHead": "5971d36d4b8629352b3d1ec29eb06cfddd0ef9c7"
}

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

import { DI, IContainer, IRegistry, PLATFORM } from '@aurelia/kernel';
import { DI, IContainer, IRegistry, PLATFORM, Registration } from '@aurelia/kernel';
import { BindingFlags } from './binding/binding-flags';

@@ -16,5 +16,10 @@ import { Lifecycle, LifecycleFlags } from './templating';

private stopTasks: (() => void)[] = [];
private isStarted: boolean = false;
private isStarted = false;
private _root: ICustomElement = null;
constructor(private container: IContainer = DI.createContainer()) {}
constructor(private container: IContainer = DI.createContainer()) {
Registration
.instance(Aurelia, this)
.register(container, Aurelia);
}

@@ -31,2 +36,3 @@ public register(...params: (IRegistry | Record<string, Partial<IRegistry>>)[]): this {

if (!this.components.includes(component)) {
this._root = component;
this.components.push(component);

@@ -69,2 +75,6 @@ component.$hydrate(

public root(): ICustomElement | null {
return this._root;
}
public start(): this {

@@ -71,0 +81,0 @@ this.startTasks.forEach(x => x());

@@ -94,3 +94,3 @@ import { IIndexable, PLATFORM, Primitive } from '@aurelia/kernel';

private callback: (oldValue: IIndexable | Primitive, newValue: IIndexable | Primitive) => IIndexable | Primitive;
private callback: (newValue: IIndexable | Primitive, oldValue: IIndexable | Primitive) => IIndexable | Primitive;

@@ -97,0 +97,0 @@ constructor(

@@ -93,11 +93,4 @@ import { Immutable, Reporter } from '@aurelia/kernel';

const currentType = current.type;
let realTarget;
if (currentType === TargetedInstructionType.stylePropertyBinding || currentType === TargetedInstructionType.listenerBinding) {
realTarget = target;
} else {
realTarget = component;
}
(this as any)[currentType](renderable, realTarget, current);
(this as any)[currentType](renderable, component, current);
}

@@ -104,0 +97,0 @@

@@ -203,3 +203,3 @@ import { all, DI, IContainer, Immutable, inject, PLATFORM, Reporter } from '@aurelia/kernel';

const key = kind.keyFrom(name);
const resolver = this.context.getResolver<TSource>(key);
const resolver = this.context.getResolver<TSource>(key, false);

@@ -206,0 +206,0 @@ if (resolver !== null && resolver.getFactory) {

Sorry, the diff of this file is not supported yet

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 too big to display

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