koatty 3.9.1-0 → 3.9.1-2
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/CHANGELOG.md +9 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -7
- package/dist/index.mjs +4 -5
- package/dist/package.json +4 -5
- package/package.json +4 -5
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,15 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
4
4
|
|
5
|
+
### [3.9.1-2](https://github.com/thinkkoa/koatty/compare/v3.9.1-1...v3.9.1-2) (2023-07-27)
|
6
|
+
|
7
|
+
|
8
|
+
### Bug Fixes
|
9
|
+
|
10
|
+
* fix import ([086e561](https://github.com/thinkkoa/koatty/commit/086e56115b57359ffbe0dc7450bce82624f23dd8))
|
11
|
+
|
12
|
+
### [3.9.1-1](https://github.com/thinkkoa/koatty/compare/v3.9.1-0...v3.9.1-1) (2023-07-26)
|
13
|
+
|
5
14
|
### [3.9.1-0](https://github.com/thinkkoa/koatty/compare/v3.8.3...v3.9.1-0) (2023-07-26)
|
6
15
|
|
7
16
|
|
package/dist/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* @Author: richen
|
3
|
-
* @Date: 2023-07-
|
3
|
+
* @Date: 2023-07-27 23:16:54
|
4
4
|
* @License: BSD (3-Clause)
|
5
5
|
* @Copyright (c) - <richenlin(at)gmail.com>
|
6
6
|
* @HomePage: https://koatty.org/
|
@@ -243,7 +243,7 @@ export { Value }
|
|
243
243
|
|
244
244
|
export * from "koatty_container";
|
245
245
|
export * from "koatty_core";
|
246
|
-
export * from "koatty_exception";
|
247
246
|
export * from "koatty_serve";
|
247
|
+
export * from "koatty_trace";
|
248
248
|
|
249
249
|
export { }
|
package/dist/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* @Author: richen
|
3
|
-
* @Date: 2023-07-
|
3
|
+
* @Date: 2023-07-27 23:16:41
|
4
4
|
* @License: BSD (3-Clause)
|
5
5
|
* @Copyright (c) - <richenlin(at)gmail.com>
|
6
6
|
* @HomePage: https://koatty.org/
|
@@ -13,10 +13,9 @@ var path = require('path');
|
|
13
13
|
var koatty_loader = require('koatty_loader');
|
14
14
|
var koatty_config = require('koatty_config');
|
15
15
|
var koatty_logger = require('koatty_logger');
|
16
|
-
var
|
16
|
+
var koatty_trace = require('koatty_trace');
|
17
17
|
var koatty_lib = require('koatty_lib');
|
18
18
|
var koatty_container = require('koatty_container');
|
19
|
-
var koatty_trace = require('koatty_trace');
|
20
19
|
var koatty_payload = require('koatty_payload');
|
21
20
|
var koatty_serve = require('koatty_serve');
|
22
21
|
|
@@ -308,7 +307,7 @@ class Loader {
|
|
308
307
|
process.env.APP_PATH = appPath;
|
309
308
|
process.env.THINK_PATH = thinkPath;
|
310
309
|
// Compatible with old version, will be deprecated
|
311
|
-
koatty_lib.Helper.define(app, 'prevent',
|
310
|
+
koatty_lib.Helper.define(app, 'prevent', koatty_trace.prevent);
|
312
311
|
koatty_lib.Helper.define(app, 'root_path', rootPath);
|
313
312
|
koatty_lib.Helper.define(app, 'app_path', appPath);
|
314
313
|
koatty_lib.Helper.define(app, 'think_path', thinkPath);
|
@@ -614,7 +613,7 @@ class Loader {
|
|
614
613
|
}
|
615
614
|
}
|
616
615
|
|
617
|
-
var version = "3.9.1-
|
616
|
+
var version = "3.9.1-2";
|
618
617
|
var engines = {
|
619
618
|
node: ">12.0.0"
|
620
619
|
};
|
@@ -1008,10 +1007,10 @@ Object.keys(koatty_core).forEach(function (k) {
|
|
1008
1007
|
get: function () { return koatty_core[k]; }
|
1009
1008
|
});
|
1010
1009
|
});
|
1011
|
-
Object.keys(
|
1010
|
+
Object.keys(koatty_trace).forEach(function (k) {
|
1012
1011
|
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
1013
1012
|
enumerable: true,
|
1014
|
-
get: function () { return
|
1013
|
+
get: function () { return koatty_trace[k]; }
|
1015
1014
|
});
|
1016
1015
|
});
|
1017
1016
|
Object.keys(koatty_container).forEach(function (k) {
|
package/dist/index.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* @Author: richen
|
3
|
-
* @Date: 2023-07-
|
3
|
+
* @Date: 2023-07-27 23:16:41
|
4
4
|
* @License: BSD (3-Clause)
|
5
5
|
* @Copyright (c) - <richenlin(at)gmail.com>
|
6
6
|
* @HomePage: https://koatty.org/
|
@@ -13,13 +13,12 @@ import { Load } from 'koatty_loader';
|
|
13
13
|
import { LoadConfigs } from 'koatty_config';
|
14
14
|
export { Config, Value } from 'koatty_config';
|
15
15
|
import { DefaultLogger } from 'koatty_logger';
|
16
|
-
import { prevent } from '
|
17
|
-
export * from '
|
16
|
+
import { Trace, prevent } from 'koatty_trace';
|
17
|
+
export * from 'koatty_trace';
|
18
18
|
import { Helper } from 'koatty_lib';
|
19
19
|
export { Helper } from 'koatty_lib';
|
20
20
|
import { IOCContainer, TAGGED_CLS } from 'koatty_container';
|
21
21
|
export * from 'koatty_container';
|
22
|
-
import { Trace } from 'koatty_trace';
|
23
22
|
import { Payload } from 'koatty_payload';
|
24
23
|
import { NewServe, NewRouter, BindProcessEvent, CONTROLLER_ROUTER } from 'koatty_serve';
|
25
24
|
export * from 'koatty_serve';
|
@@ -599,7 +598,7 @@ class Loader {
|
|
599
598
|
}
|
600
599
|
}
|
601
600
|
|
602
|
-
var version = "3.9.1-
|
601
|
+
var version = "3.9.1-2";
|
603
602
|
var engines = {
|
604
603
|
node: ">12.0.0"
|
605
604
|
};
|
package/dist/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "koatty",
|
3
|
-
"version": "3.9.1-
|
3
|
+
"version": "3.9.1-2",
|
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",
|
@@ -9,9 +9,8 @@
|
|
9
9
|
"build:doc": "del-cli --force docs/api && npx api-documenter markdown --input temp --output docs/api",
|
10
10
|
"build:dts": "del-cli --force temp && npx tsc && npx api-extractor run --local --verbose",
|
11
11
|
"eslint": "eslint --ext .ts,.js ./",
|
12
|
-
"prepublishOnly": "npm test && npm run build",
|
12
|
+
"prepublishOnly": "npm test && npm run build && git push --follow-tags origin",
|
13
13
|
"prerelease": "npm test && npm run build",
|
14
|
-
"pub": "git push --follow-tags origin && npm publish",
|
15
14
|
"release": "standard-version",
|
16
15
|
"release:pre": "npm run release -- --prerelease",
|
17
16
|
"release:major": "npm run release -- --release-as major",
|
@@ -89,8 +88,8 @@
|
|
89
88
|
"koatty_logger": "^2.1.1",
|
90
89
|
"koatty_payload": "^1.4.5",
|
91
90
|
"koatty_proto": "^1.1.12",
|
92
|
-
"koatty_serve": "^2.0.
|
93
|
-
"koatty_trace": "^1.
|
91
|
+
"koatty_serve": "^2.0.4",
|
92
|
+
"koatty_trace": "^1.9.0",
|
94
93
|
"koatty_validation": "^1.2.8"
|
95
94
|
}
|
96
95
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "koatty",
|
3
|
-
"version": "3.9.1-
|
3
|
+
"version": "3.9.1-2",
|
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",
|
@@ -9,9 +9,8 @@
|
|
9
9
|
"build:doc": "del-cli --force docs/api && npx api-documenter markdown --input temp --output docs/api",
|
10
10
|
"build:dts": "del-cli --force temp && npx tsc && npx api-extractor run --local --verbose",
|
11
11
|
"eslint": "eslint --ext .ts,.js ./",
|
12
|
-
"prepublishOnly": "npm test && npm run build",
|
12
|
+
"prepublishOnly": "npm test && npm run build && git push --follow-tags origin",
|
13
13
|
"prerelease": "npm test && npm run build",
|
14
|
-
"pub": "git push --follow-tags origin && npm publish",
|
15
14
|
"release": "standard-version",
|
16
15
|
"release:pre": "npm run release -- --prerelease",
|
17
16
|
"release:major": "npm run release -- --release-as major",
|
@@ -89,8 +88,8 @@
|
|
89
88
|
"koatty_logger": "^2.1.1",
|
90
89
|
"koatty_payload": "^1.4.5",
|
91
90
|
"koatty_proto": "^1.1.12",
|
92
|
-
"koatty_serve": "^2.0.
|
93
|
-
"koatty_trace": "^1.
|
91
|
+
"koatty_serve": "^2.0.4",
|
92
|
+
"koatty_trace": "^1.9.0",
|
94
93
|
"koatty_validation": "^1.2.8"
|
95
94
|
}
|
96
95
|
}
|