Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@plumier/core

Package Overview
Dependencies
Maintainers
1
Versions
645
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plumier/core - npm Package Compare versions

Comparing version 1.0.0-canary.26 to 1.0.0-canary.31

2

lib/index.d.ts
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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc