@plumier/core
Advanced tools
Comparing version 1.0.0-canary.26 to 1.0.0-canary.31
import { val } from "typedconverter"; | ||
export { val }; | ||
export { AuthorizeCallback, AuthorizeMiddleware, RoleField, updateRouteAccess } from "./authorization"; | ||
export { HeaderPart, RequestPart, BindingDecorator } from "./binder"; | ||
export { HeaderPart, RequestPart, BindingDecorator, binder } from "./binder"; | ||
export { pipe } from "./middleware-pipeline"; | ||
@@ -6,0 +6,0 @@ export { response } from "./response"; |
@@ -8,2 +8,4 @@ "use strict"; | ||
exports.updateRouteAccess = authorization_1.updateRouteAccess; | ||
var binder_1 = require("./binder"); | ||
exports.binder = binder_1.binder; | ||
var middleware_pipeline_1 = require("./middleware-pipeline"); | ||
@@ -10,0 +12,0 @@ exports.pipe = middleware_pipeline_1.pipe; |
@@ -12,3 +12,3 @@ import Koa, { Context } from "koa"; | ||
constructor(body?: any, status?: number | undefined); | ||
setHeader(key: string, value: string): this; | ||
setHeader(key: string, value: string | string[]): this; | ||
setStatus(status: number): this; | ||
@@ -15,0 +15,0 @@ execute(ctx: Context): Promise<void>; |
@@ -82,3 +82,3 @@ "use strict"; | ||
// ------------------------------- ERROR ------------------------------- // | ||
// --------------------------------------------------------------------- // | ||
// --------------------------------------------------------------------- // | ||
class HttpStatusError extends Error { | ||
@@ -85,0 +85,0 @@ constructor(status, message) { |
{ | ||
"name": "@plumier/core", | ||
"version": "1.0.0-canary.26+44b9a2e", | ||
"version": "1.0.0-canary.31+59f5bf5", | ||
"description": "Delightful Node.js Rest Framework", | ||
@@ -26,4 +26,4 @@ "main": "lib/index.js", | ||
"glob": "^7.1.4", | ||
"path-to-regexp": "^3.0.0", | ||
"tinspector": "^2.2.2", | ||
"path-to-regexp": "^3.1.0", | ||
"tinspector": "^2.2.5", | ||
"tslib": "^1.10.0", | ||
@@ -42,6 +42,6 @@ "typedconverter": "^1.0.0-beta.6" | ||
}, | ||
"gitHead": "44b9a2e802d61161f03e29145bca163dccfb1bb0", | ||
"gitHead": "59f5bf558c5d9996a06c5fc9f59a75b0c64142cb", | ||
"devDependencies": { | ||
"upath": "^1.1.2" | ||
"upath": "^1.2.0" | ||
} | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
118288
2735
Updatedpath-to-regexp@^3.1.0
Updatedtinspector@^2.2.5