koatty_container
Advanced tools
Comparing version 1.8.3 to 1.8.4
@@ -5,2 +5,9 @@ # Changelog | ||
### [1.8.4](https://github.com/koatty/koatty_container/compare/v1.8.3...v1.8.4) (2023-11-10) | ||
### Bug Fixes | ||
* 移除ctx参数 ([acf4931](https://github.com/koatty/koatty_container/commit/acf4931cba72f9f447fb453fdb81dc9756205cdf)) | ||
### [1.8.3](https://github.com/koatty/koatty_container/compare/v1.8.2...v1.8.3) (2023-11-10) | ||
@@ -7,0 +14,0 @@ |
/*! | ||
* @Author: richen | ||
* @Date: 2023-11-10 17:34:38 | ||
* @Date: 2023-11-10 18:41:10 | ||
* @License: BSD (3-Clause) | ||
@@ -5,0 +5,0 @@ * @Copyright (c) - <richenlin(at)gmail.com> |
/*! | ||
* @Author: richen | ||
* @Date: 2023-11-10 17:34:25 | ||
* @Date: 2023-11-10 18:40:58 | ||
* @License: BSD (3-Clause) | ||
@@ -556,3 +556,3 @@ * @Copyright (c) - <richenlin(at)gmail.com> | ||
else { | ||
await executeAspect(aopName, this.ctx, props); | ||
await executeAspect(aopName, props); | ||
} | ||
@@ -571,3 +571,3 @@ // tslint:disable-next-line: no-invalid-this | ||
else { | ||
await executeAspect(aopName, this.ctx, props); | ||
await executeAspect(aopName, props); | ||
} | ||
@@ -590,3 +590,3 @@ return res; | ||
*/ | ||
async function executeAspect(aopName, ctx, props) { | ||
async function executeAspect(aopName, props) { | ||
// tslint:disable-next-line: one-variable-per-declaration | ||
@@ -597,3 +597,3 @@ const aspect = IOCContainer.get(aopName, "COMPONENT"); | ||
// tslint:disable-next-line: no-invalid-this | ||
await aspect.run(ctx, props); | ||
await aspect.run(props); | ||
} | ||
@@ -600,0 +600,0 @@ return Promise.resolve(); |
{ | ||
"name": "koatty_container", | ||
"version": "1.8.3", | ||
"version": "1.8.4", | ||
"description": "IOC Container for Koatty.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
{ | ||
"name": "koatty_container", | ||
"version": "1.8.3", | ||
"version": "1.8.4", | ||
"description": "IOC Container for Koatty.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
123950