Socket
Socket
Sign inDemoInstall

mocha

Package Overview
Dependencies
1
Maintainers
1
Versions
195
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

5

History.md
0.3.2 / 2011-12-05
==================
* Fixed weird reporting when `err.message` is not present
0.3.1 / 2011-12-04

@@ -3,0 +8,0 @@ ==================

2

lib/mocha.js

@@ -12,3 +12,3 @@

exports.version = '0.3.1';
exports.version = '0.3.2';

@@ -15,0 +15,0 @@ exports.interfaces = require('./interfaces');

@@ -119,3 +119,4 @@

, stack = err.stack
, index = stack.indexOf(err.message) + err.message.length
, message = err.message || ''
, index = stack.indexOf(message) + message.length
, msg = stack.slice(0, index);

@@ -122,0 +123,0 @@

{
"name": "mocha"
, "version": "0.3.1"
, "version": "0.3.2"
, "description": "Test framework inspired by JSpec, Expresso, & Qunit"

@@ -5,0 +5,0 @@ , "keywords": ["test", "bdd", "tdd", "tap"]

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc