Socket
Socket
Sign inDemoInstall

grunt-contrib-nodeunit

Package Overview
Dependencies
317
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.1 to 0.3.2

2

package.json
{
"name": "grunt-contrib-nodeunit",
"description": "Run Nodeunit unit tests.",
"version": "0.3.1",
"version": "0.3.2",
"homepage": "https://github.com/gruntjs/grunt-contrib-nodeunit",

@@ -6,0 +6,0 @@ "author": {

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

# grunt-contrib-nodeunit v0.3.1 [![Build Status](https://travis-ci.org/gruntjs/grunt-contrib-nodeunit.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-nodeunit)
# grunt-contrib-nodeunit v0.3.2 [![Build Status](https://travis-ci.org/gruntjs/grunt-contrib-nodeunit.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-nodeunit)

@@ -127,2 +127,2 @@ > Run Nodeunit unit tests.

*This file was generated on Thu Feb 13 2014 19:05:58.*
*This file was generated on Mon Feb 17 2014 22:12:33.*

@@ -16,2 +16,3 @@ /*

var util = require('util');
var fs = require('fs');

@@ -230,2 +231,16 @@ // External libs.

// Ensure the default nodeunit options are set by reading in the nodeunit.json file.
var nodeUnitDefaults = {};
var nodeUnitDefaultsFile = path.join(__dirname, '..', 'node_modules', 'nodeunit', 'bin', 'nodeunit.json');
if (fs.existsSync(nodeUnitDefaultsFile)) {
nodeUnitDefaults = JSON.parse(fs.readFileSync(nodeUnitDefaultsFile, 'utf8'));
}
for (var defaultVal in nodeUnitDefaults) {
if (typeof options.reporterOptions[defaultVal] === 'undefined') {
options.reporterOptions[defaultVal] = nodeUnitDefaults[defaultVal];
}
}
if (!nodeunit.reporters[options.reporter]) {

@@ -232,0 +247,0 @@ return done(new Error('Reporter ' + options.reporter + ' not found'));

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc