zenweb 4.2.7 → 4.4.0
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 +2 -2
- package/dist/index.js +3 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Core } from '@zenweb/core';
|
|
2
2
|
import { CreateOptions } from './types';
|
|
3
3
|
export { init, inject, factory, scope, getInstance } from '@zenweb/inject';
|
|
4
|
-
export { Router } from '@zenweb/router';
|
|
4
|
+
export { Router, RouterMethod, RouterPath } from '@zenweb/router';
|
|
5
5
|
export { ResultFail, fail } from '@zenweb/result';
|
|
6
6
|
export { controller, mapping } from '@zenweb/controller';
|
|
7
|
-
export { Next, SetupFunction, Context, Middleware, SetupHelper, getCore, getContext, $core, $ctx, } from '@zenweb/core';
|
|
7
|
+
export { Next, SetupFunction, Context, Middleware, SetupHelper, getCore, getContext, $core, $ctx, $debug, createDebug, } from '@zenweb/core';
|
|
8
8
|
export { Body, ObjectBody, BodyHelper, RawBody, TextBody, useBodyParser, $body, getTextBody, getRawBody, getObjectBody, } from '@zenweb/body';
|
|
9
9
|
export { QueryHelper, TypeCastHelper, ParamHelper, $param, $query, helperBase, } from '@zenweb/helper';
|
|
10
10
|
export { $log, getLogger, Logger, } from '@zenweb/log';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.create = exports.Core = exports.getLogger = exports.$log = exports.helperBase = exports.$query = exports.$param = exports.ParamHelper = exports.TypeCastHelper = exports.QueryHelper = exports.getObjectBody = exports.getRawBody = exports.getTextBody = exports.$body = exports.useBodyParser = exports.TextBody = exports.RawBody = exports.BodyHelper = exports.ObjectBody = exports.Body = exports.$ctx = exports.$core = exports.getContext = exports.getCore = exports.SetupHelper = exports.Context = exports.mapping = exports.controller = exports.fail = exports.ResultFail = exports.Router = exports.getInstance = exports.scope = exports.factory = exports.inject = exports.init = void 0;
|
|
3
|
+
exports.create = exports.Core = exports.getLogger = exports.$log = exports.helperBase = exports.$query = exports.$param = exports.ParamHelper = exports.TypeCastHelper = exports.QueryHelper = exports.getObjectBody = exports.getRawBody = exports.getTextBody = exports.$body = exports.useBodyParser = exports.TextBody = exports.RawBody = exports.BodyHelper = exports.ObjectBody = exports.Body = exports.createDebug = exports.$debug = exports.$ctx = exports.$core = exports.getContext = exports.getCore = exports.SetupHelper = exports.Context = exports.mapping = exports.controller = exports.fail = exports.ResultFail = exports.Router = exports.getInstance = exports.scope = exports.factory = exports.inject = exports.init = void 0;
|
|
4
4
|
const inject_1 = require("@zenweb/inject");
|
|
5
5
|
const meta_1 = require("@zenweb/meta");
|
|
6
6
|
const log_1 = require("@zenweb/log");
|
|
@@ -33,6 +33,8 @@ Object.defineProperty(exports, "getCore", { enumerable: true, get: function () {
|
|
|
33
33
|
Object.defineProperty(exports, "getContext", { enumerable: true, get: function () { return core_2.getContext; } });
|
|
34
34
|
Object.defineProperty(exports, "$core", { enumerable: true, get: function () { return core_2.$core; } });
|
|
35
35
|
Object.defineProperty(exports, "$ctx", { enumerable: true, get: function () { return core_2.$ctx; } });
|
|
36
|
+
Object.defineProperty(exports, "$debug", { enumerable: true, get: function () { return core_2.$debug; } });
|
|
37
|
+
Object.defineProperty(exports, "createDebug", { enumerable: true, get: function () { return core_2.createDebug; } });
|
|
36
38
|
var body_2 = require("@zenweb/body");
|
|
37
39
|
Object.defineProperty(exports, "Body", { enumerable: true, get: function () { return body_2.Body; } });
|
|
38
40
|
Object.defineProperty(exports, "ObjectBody", { enumerable: true, get: function () { return body_2.ObjectBody; } });
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zenweb",
|
|
3
3
|
"packageManager": "yarn@4.0.2",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.4.0",
|
|
5
5
|
"description": "Modular lightweight web framework based on Koa",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"typings": "./dist/index.d.ts",
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
"homepage": "https://zenweb.node.ltd",
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@zenweb/body": "^4.0.8",
|
|
34
|
-
"@zenweb/controller": "^3.
|
|
35
|
-
"@zenweb/core": "^4.2
|
|
34
|
+
"@zenweb/controller": "^3.17.0",
|
|
35
|
+
"@zenweb/core": "^4.3.2",
|
|
36
36
|
"@zenweb/helper": "^4.1.10",
|
|
37
37
|
"@zenweb/inject": "^4.0.6",
|
|
38
38
|
"@zenweb/log": "^4.1.5",
|
|
39
39
|
"@zenweb/messagecode": "^3.6.5",
|
|
40
40
|
"@zenweb/meta": "^4.0.0",
|
|
41
|
-
"@zenweb/result": "^3.
|
|
41
|
+
"@zenweb/result": "^3.13.1",
|
|
42
42
|
"@zenweb/router": "^3.3.5"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"cross-env": "^7.0.3",
|
|
47
47
|
"rimraf": "^4.4.1",
|
|
48
48
|
"ts-node": "^10.9.2",
|
|
49
|
-
"typescript": "
|
|
49
|
+
"typescript": "~5.3.3"
|
|
50
50
|
}
|
|
51
51
|
}
|