Comparing version 1.1.19 to 1.1.20
@@ -5,3 +5,3 @@ import 'vweb-core'; | ||
import { Response, Request } from "express-serve-static-core"; | ||
export declare class FilterOptions { | ||
declare interface FilterOptions { | ||
readonly request: Request; | ||
@@ -36,1 +36,2 @@ readonly response: Response; | ||
} | ||
export {}; |
@@ -12,8 +12,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FilterRegulator = exports.FilterChain = exports.FilterAdapter = exports.FilterOptions = void 0; | ||
exports.FilterRegulator = exports.FilterChain = exports.FilterAdapter = void 0; | ||
const anno_1 = require("../anno"); | ||
require("vweb-core"); | ||
class FilterOptions { | ||
} | ||
exports.FilterOptions = FilterOptions; | ||
class FilterAdapter { | ||
@@ -20,0 +17,0 @@ ordered() { |
@@ -109,3 +109,3 @@ "use strict"; | ||
catch (err) { | ||
filterChain.throw(err, req, res); | ||
filterChain.throw(err, chainOptions); | ||
(0, error_1.requestError)(res, err, logger); | ||
@@ -112,0 +112,0 @@ logger.error(`from ${req.ip} ${req.method} ${req.url} cost ${Date.now() - timeBegin}ms`); |
{ | ||
"name": "vweb-mvc", | ||
"version": "1.1.19", | ||
"version": "1.1.20", | ||
"description": "mvc ", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63325
1658