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

@aurelia/kernel

Package Overview
Dependencies
Maintainers
1
Versions
1123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aurelia/kernel - npm Package Compare versions

Comparing version 2.0.1-dev.202306180925 to 2.0.1-dev.202307240932

17

CHANGELOG.md

@@ -6,2 +6,19 @@ # Change Log

<a name="2.0.0-beta.8"></a>
# 2.0.0-beta.8 (2023-07-24)
### Features:
* **template:** access global (#1790) ([2486b58](https://github.com/aurelia/aurelia/commit/2486b58))
### Bug Fixes:
* **au-slot:** correctly prepare resources for slotted view (#1802) ([bf1ca4c](https://github.com/aurelia/aurelia/commit/bf1ca4c))
### Refactorings:
* **ref:** deprecate view-model.ref and introduce component.ref (#1803) ([97e8dad](https://github.com/aurelia/aurelia/commit/97e8dad))
<a name="2.0.0-beta.7"></a>

@@ -8,0 +25,0 @@ # 2.0.0-beta.7 (2023-06-16)

8

dist/types/di.d.ts

@@ -366,10 +366,2 @@ import { Constructable, IDisposable } from './interfaces';

};
export declare class Resolver implements IResolver, IRegistration {
constructor(key: Key, strategy: ResolverStrategy, state: any);
get $isResolver(): true;
private resolving;
register(container: IContainer, key?: Key): IResolver;
resolve(handler: IContainer, requestor: IContainer): any;
getFactory(container: IContainer): IFactory | null;
}
/**

@@ -376,0 +368,0 @@ * An implementation of IRegistry that delegates registration to a

8

package.json
{
"name": "@aurelia/kernel",
"version": "2.0.1-dev.202306180925",
"version": "2.0.1-dev.202307240932",
"main": "dist/cjs/index.cjs",

@@ -52,7 +52,7 @@ "module": "dist/esm/index.mjs",

"dependencies": {
"@aurelia/metadata": "2.0.1-dev.202306180925",
"@aurelia/platform": "2.0.1-dev.202306180925"
"@aurelia/metadata": "2.0.1-dev.202307240932",
"@aurelia/platform": "2.0.1-dev.202307240932"
},
"devDependencies": {
"typescript": "5.0.2"
"typescript": "5.1.6"
},

@@ -59,0 +59,0 @@ "engines": {

@@ -8,3 +8,3 @@ /* eslint-disable @typescript-eslint/no-this-alias */

import { type IResourceKind, type ResourceDefinition, type ResourceType, getAllResources, hasResources } from './resource';
import { createObject, getOwnMetadata, isFunction, isString } from './utilities';
import { getOwnMetadata, isFunction, isString } from './utilities';
import {

@@ -87,3 +87,3 @@ IContainer,

this.res = createObject();
this.res = {};
} else {

@@ -94,11 +94,11 @@ this.root = parent.root;

this._factories = parent._factories;
this.res = {};
if (config.inheritParentResources) {
this.res = Object.assign(
createObject(),
parent.res,
this.root.res
);
} else {
this.res = createObject();
// todo: when the simplify resource system work is commenced
// this resource inheritance can just be a Object.create() call
// with parent resources as the prototype of the child resources
for (const key in parent.res) {
this.registerResolver(key, parent.res[key]!);
}
}

@@ -283,3 +283,3 @@ }

public has<K extends Key>(key: K, searchAncestors: boolean = false): boolean {
return this._resolvers.has(key)
return this._resolvers.has(key) || isResourceKey(key) && key in this.res
? true

@@ -286,0 +286,0 @@ : searchAncestors && this.parent != null

@@ -763,2 +763,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

/** @internal */
export class Resolver implements IResolver, IRegistration {

@@ -765,0 +766,0 @@ /** @internal */

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