Comparing version 5.0.2 to 6.0.0
@@ -8,2 +8,8 @@ /*global timeout: false, | ||
// Enable passing options in title (WithOptions in test/test_comms.js) | ||
require('mocha/lib/utils').isString = function (obj) | ||
{ | ||
return true; | ||
}; | ||
module.exports = function (grunt) | ||
@@ -52,3 +58,3 @@ { | ||
cover: { | ||
command: './node_modules/.bin/istanbul cover -x Gruntfile.js ./node_modules/.bin/grunt -- test-fast', | ||
command: "./node_modules/.bin/nyc -x Gruntfile.js -x 'test/**' ./node_modules/.bin/grunt test-fast", | ||
execOptions: { | ||
@@ -59,6 +65,10 @@ maxBuffer: 10000 * 1024 | ||
check_cover: { | ||
command: './node_modules/.bin/istanbul check-coverage --statement 100 --branch 100 --function 100 --line 100' | ||
cover_report: { | ||
command: './node_modules/.bin/nyc report -r lcov' | ||
}, | ||
cover_check: { | ||
command: './node_modules/.bin/nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100' | ||
}, | ||
coveralls: { | ||
@@ -107,3 +117,5 @@ command: 'cat coverage/lcov.info | coveralls' | ||
grunt.registerTask('docs', 'apidox'); | ||
grunt.registerTask('coverage', ['shell:cover', 'shell:check_cover']); | ||
grunt.registerTask('coverage', ['shell:cover', | ||
'shell:cover_report', | ||
'shell:cover_check']); | ||
grunt.registerTask('coveralls', 'shell:coveralls'); | ||
@@ -110,0 +122,0 @@ grunt.registerTask('default', ['lint', 'test']); |
{ | ||
"name": "bpmux", | ||
"description": "Node stream multiplexing with back-pressure on each stream", | ||
"version": "5.0.2", | ||
"version": "6.0.0", | ||
"homepage": "https://github.com/davedoesdev/bpmux", | ||
@@ -42,3 +42,3 @@ "author": { | ||
"engines": { | ||
"node": ">= 0.12" | ||
"node": ">= 4" | ||
}, | ||
@@ -51,21 +51,21 @@ "dependencies": { | ||
"grunt-contrib-jshint": "~1.1.0", | ||
"grunt-mocha-test": "~0.13.2", | ||
"grunt-apidox": "~0.1.9", | ||
"grunt-shell": "~1.3.1", | ||
"mocha": "~2.5.3", | ||
"chai": "~3.5.0", | ||
"istanbul": "~0.4.5", | ||
"coveralls": "~2.11.15", | ||
"webpack": "2.1.0-beta.27", | ||
"primus": "~6.0.5", | ||
"primus-backpressure": "~1.0.1", | ||
"ws": "~1.1.1", | ||
"tmp": "~0.0.31", | ||
"async": "~2.1.4", | ||
"nw-builder": "~3.1.1", | ||
"grunt-mocha-test": "~0.13.3", | ||
"grunt-apidox": "~0.1.10", | ||
"grunt-shell": "~2.1.0", | ||
"mocha": "~4.0.1", | ||
"chai": "~4.1.2", | ||
"nyc": "~11.3.0", | ||
"coveralls": "~3.0.0", | ||
"webpack": "3.8.1", | ||
"primus": "~7.1.0", | ||
"primus-backpressure": "~1.0.2", | ||
"ws": "~3.3.1", | ||
"tmp": "~0.0.33", | ||
"async": "~2.6.0", | ||
"nw-builder": "~3.5.1", | ||
"grunt-env": "~0.4.4", | ||
"serve-static": "~1.11.1", | ||
"finalhandler": "~0.5.1", | ||
"json-loader": "~0.5.4" | ||
"serve-static": "~1.13.1", | ||
"finalhandler": "~1.1.0", | ||
"json-loader": "~0.5.7" | ||
} | ||
} |
/*jslint node: true */ | ||
"use strict"; | ||
// Enable passing options in title (WithOptions in test/test_comms.js) | ||
require('mocha/lib/utils').isString = function (obj) | ||
{ | ||
return true; | ||
}; | ||
var net = require('net'), | ||
@@ -5,0 +11,0 @@ util = require('util'), |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
428346
32
4139