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

express-marshal

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-marshal - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # Changelog

### [1.1.2](https://github.com/heydoctor/express-marshal/compare/v1.1.1...v1.1.2) (2019-10-17)
### [1.1.1](https://github.com/heydoctor/express-marshal/compare/v1.1.0...v1.1.1) (2019-10-17)

@@ -7,0 +11,0 @@

2

dist/index.d.ts

@@ -1,2 +0,2 @@

import Joi from 'joi';
import * as Joi from 'joi';
import { Router } from 'express';

@@ -3,0 +3,0 @@ export declare const prettyPath: (path: string) => string;

@@ -10,3 +10,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var joi_1 = require("joi");
var Joi = require("joi");
var express_1 = require("express");

@@ -88,3 +88,3 @@ exports.prettyPath = function (path) {

try {
joi_1.default.assert(payload, schema.isJoi ? schema : joi_1.default.object(schema));
Joi.assert(payload, schema.isJoi ? schema : Joi.object(schema));
return fn.apply(target, __spreadArrays([req, res], rest));

@@ -91,0 +91,0 @@ }

{
"name": "express-marshal",
"version": "1.1.1",
"version": "1.1.2",
"description": "Helpful decorators to wire up Express controllers",

@@ -18,3 +18,4 @@ "license": "MIT",

"format": "prettier --single-quote --trailing-comma es5 --write '{src,test}/**/*.ts'",
"build": "rimraf dist && tsc -p tsconfig.build.json"
"build": "rimraf dist && tsc -p tsconfig.build.json",
"release": "npm run build && standard-version"
},

@@ -21,0 +22,0 @@ "main": "dist/index.js",

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