koatty 3.5.14 → 3.5.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -4
- package/dist/index.js +5 -5
- package/dist/index.mjs +5 -5
- package/dist/package.json +3 -3
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* @Author: richen
|
3
|
-
* @Date: 2022-
|
3
|
+
* @Date: 2022-02-10 15:04:46
|
4
4
|
* @License: BSD (3-Clause)
|
5
5
|
* @Copyright (c) - <richenlin(at)gmail.com>
|
6
6
|
* @HomePage: https://koatty.org/
|
@@ -333,7 +333,7 @@ export declare const Logger: Logger_2;
|
|
333
333
|
* Indicates that an decorated class is a "middleware".
|
334
334
|
*
|
335
335
|
* @export
|
336
|
-
* @param {string} [identifier]
|
336
|
+
* @param {string} [identifier] class name
|
337
337
|
* @returns {ClassDecorator}
|
338
338
|
*/
|
339
339
|
export declare function Middleware(identifier?: string): ClassDecorator;
|
@@ -342,7 +342,7 @@ export declare function Middleware(identifier?: string): ClassDecorator;
|
|
342
342
|
* Indicates that an decorated class is a "plugin".
|
343
343
|
*
|
344
344
|
* @export
|
345
|
-
* @param {string} [identifier]
|
345
|
+
* @param {string} [identifier] class name
|
346
346
|
* @returns {ClassDecorator}
|
347
347
|
*/
|
348
348
|
export declare function Plugin(identifier?: string): ClassDecorator;
|
@@ -351,7 +351,7 @@ export declare function Plugin(identifier?: string): ClassDecorator;
|
|
351
351
|
* Indicates that an decorated class is a "service".
|
352
352
|
*
|
353
353
|
* @export
|
354
|
-
* @param {string} [identifier]
|
354
|
+
* @param {string} [identifier] class name
|
355
355
|
* @returns {ClassDecorator}
|
356
356
|
*/
|
357
357
|
export declare function Service(identifier?: string): ClassDecorator;
|
package/dist/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* @Author: richen
|
3
|
-
* @Date: 2022-
|
3
|
+
* @Date: 2022-02-10 15:04:29
|
4
4
|
* @License: BSD (3-Clause)
|
5
5
|
* @Copyright (c) - <richenlin(at)gmail.com>
|
6
6
|
* @HomePage: https://koatty.org/
|
@@ -867,7 +867,7 @@ class Loader {
|
|
867
867
|
}
|
868
868
|
}
|
869
869
|
|
870
|
-
var version = "3.5.
|
870
|
+
var version = "3.5.15";
|
871
871
|
var engines = {
|
872
872
|
node: ">12.0.0"
|
873
873
|
};
|
@@ -1135,7 +1135,7 @@ function Controller(path = "") {
|
|
1135
1135
|
* Indicates that an decorated class is a "middleware".
|
1136
1136
|
*
|
1137
1137
|
* @export
|
1138
|
-
* @param {string} [identifier]
|
1138
|
+
* @param {string} [identifier] class name
|
1139
1139
|
* @returns {ClassDecorator}
|
1140
1140
|
*/
|
1141
1141
|
function Middleware(identifier) {
|
@@ -1148,7 +1148,7 @@ function Middleware(identifier) {
|
|
1148
1148
|
* Indicates that an decorated class is a "service".
|
1149
1149
|
*
|
1150
1150
|
* @export
|
1151
|
-
* @param {string} [identifier]
|
1151
|
+
* @param {string} [identifier] class name
|
1152
1152
|
* @returns {ClassDecorator}
|
1153
1153
|
*/
|
1154
1154
|
function Service(identifier) {
|
@@ -1161,7 +1161,7 @@ function Service(identifier) {
|
|
1161
1161
|
* Indicates that an decorated class is a "plugin".
|
1162
1162
|
*
|
1163
1163
|
* @export
|
1164
|
-
* @param {string} [identifier]
|
1164
|
+
* @param {string} [identifier] class name
|
1165
1165
|
* @returns {ClassDecorator}
|
1166
1166
|
*/
|
1167
1167
|
function Plugin(identifier) {
|
package/dist/index.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* @Author: richen
|
3
|
-
* @Date: 2022-
|
3
|
+
* @Date: 2022-02-10 15:04:29
|
4
4
|
* @License: BSD (3-Clause)
|
5
5
|
* @Copyright (c) - <richenlin(at)gmail.com>
|
6
6
|
* @HomePage: https://koatty.org/
|
@@ -850,7 +850,7 @@ class Loader {
|
|
850
850
|
}
|
851
851
|
}
|
852
852
|
|
853
|
-
var version = "3.5.
|
853
|
+
var version = "3.5.15";
|
854
854
|
var engines = {
|
855
855
|
node: ">12.0.0"
|
856
856
|
};
|
@@ -1118,7 +1118,7 @@ function Controller(path = "") {
|
|
1118
1118
|
* Indicates that an decorated class is a "middleware".
|
1119
1119
|
*
|
1120
1120
|
* @export
|
1121
|
-
* @param {string} [identifier]
|
1121
|
+
* @param {string} [identifier] class name
|
1122
1122
|
* @returns {ClassDecorator}
|
1123
1123
|
*/
|
1124
1124
|
function Middleware(identifier) {
|
@@ -1131,7 +1131,7 @@ function Middleware(identifier) {
|
|
1131
1131
|
* Indicates that an decorated class is a "service".
|
1132
1132
|
*
|
1133
1133
|
* @export
|
1134
|
-
* @param {string} [identifier]
|
1134
|
+
* @param {string} [identifier] class name
|
1135
1135
|
* @returns {ClassDecorator}
|
1136
1136
|
*/
|
1137
1137
|
function Service(identifier) {
|
@@ -1144,7 +1144,7 @@ function Service(identifier) {
|
|
1144
1144
|
* Indicates that an decorated class is a "plugin".
|
1145
1145
|
*
|
1146
1146
|
* @export
|
1147
|
-
* @param {string} [identifier]
|
1147
|
+
* @param {string} [identifier] class name
|
1148
1148
|
* @returns {ClassDecorator}
|
1149
1149
|
*/
|
1150
1150
|
function Plugin(identifier) {
|
package/dist/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "koatty",
|
3
|
-
"version": "3.5.
|
3
|
+
"version": "3.5.15",
|
4
4
|
"description": "Koa2 + Typescript = koatty. Use Typescript's decorator implement auto injection.",
|
5
5
|
"scripts": {
|
6
6
|
"build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
|
@@ -88,11 +88,11 @@
|
|
88
88
|
"koatty_lib": "^1.2.8",
|
89
89
|
"koatty_loader": "^1.0.2",
|
90
90
|
"koatty_logger": "^1.3.12",
|
91
|
-
"koatty_payload": "^1.3.
|
91
|
+
"koatty_payload": "^1.3.11",
|
92
92
|
"koatty_router": "^1.6.4",
|
93
93
|
"koatty_serve": "^1.4.4",
|
94
94
|
"koatty_trace": "^1.5.2",
|
95
95
|
"reflect-metadata": "^0.1.13",
|
96
96
|
"tslib": "^2.3.1"
|
97
97
|
}
|
98
|
-
}
|
98
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "koatty",
|
3
|
-
"version": "3.5.
|
3
|
+
"version": "3.5.15",
|
4
4
|
"description": "Koa2 + Typescript = koatty. Use Typescript's decorator implement auto injection.",
|
5
5
|
"scripts": {
|
6
6
|
"build": "npm run build:js && npm run build:dts && npm run build:doc && npm run build:cp",
|
@@ -88,11 +88,11 @@
|
|
88
88
|
"koatty_lib": "^1.2.8",
|
89
89
|
"koatty_loader": "^1.0.2",
|
90
90
|
"koatty_logger": "^1.3.12",
|
91
|
-
"koatty_payload": "^1.3.
|
91
|
+
"koatty_payload": "^1.3.11",
|
92
92
|
"koatty_router": "^1.6.4",
|
93
93
|
"koatty_serve": "^1.4.4",
|
94
94
|
"koatty_trace": "^1.5.2",
|
95
95
|
"reflect-metadata": "^0.1.13",
|
96
96
|
"tslib": "^2.3.1"
|
97
97
|
}
|
98
|
-
}
|
98
|
+
}
|