async-middleware
Advanced tools
Comparing version
"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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
9960
15.29%9
12.5%59
3.51%0
-100%43
Infinity%