You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

async-middleware

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-middleware - npm Package Compare versions

Comparing version

to
1.0.2

README.md

3

dist/index.js
"use strict";
var Promise = require('any-promise');
Object.defineProperty(exports, "__esModule", { value: true });
var Promise = require("any-promise");
function wrap(fn) {

@@ -4,0 +5,0 @@ if (fn.length === 4) {

"use strict";
var test = require('blue-tape');
var Promise = require('any-promise');
var index_1 = require('./index');
Object.defineProperty(exports, "__esModule", { value: true });
var test = require("blue-tape");
var Promise = require("any-promise");
var index_1 = require("./index");
test('async middleware', function (t) {

@@ -6,0 +7,0 @@ t.test('middleware', function (t) {

{
"name": "async-middleware",
"version": "1.0.1",
"version": "1.0.2",
"description": "Wrap an asynchronous middleware (or handler) function for Express, Connect, router, etc.",

@@ -41,3 +41,3 @@ "main": "dist/index.js",

"devDependencies": {
"blue-tape": "^0.2.0",
"blue-tape": "^1.0.0",
"bluebird": "^3.3.5",

@@ -47,6 +47,6 @@ "chai": "^3.2.0",

"tap-spec": "^4.1.1",
"tslint": "^3.11.0",
"tslint-config-standard": "^1.2.2",
"typescript": "^1.5.3",
"typings": "^1.3.0"
"tslint": "^4.5.1",
"tslint-config-standard": "^4.0.0",
"typescript": "^2.2.1",
"typings": "^2.0.0"
},

@@ -53,0 +53,0 @@ "dependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet