Socket
Socket
Sign inDemoInstall

grunt-contrib-qunit

Package Overview
Dependencies
Maintainers
8
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-contrib-qunit - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "grunt-contrib-qunit",
"description": "Run QUnit unit tests in a headless PhantomJS instance",
"version": "1.0.0",
"version": "1.0.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Grunt Team",

@@ -36,8 +36,13 @@ /*

// Parse some stuff before sending it.
var actual, expected;
var actual, expected, dump;
if (!obj.result) {
// In order to maintain backwards compatibility with `QUnit <1.15.0`
// Older versions of QUnit (`<1.15.0`) use `QUnit.jsDump`, but this poperty was
// deprecated and moved to `QUnit.dump` and will be removed in `QUnit 2.0`.
dump = QUnit.dump || QUnit.jsDump;
// Dumping large objects can be very slow, and the dump isn't used for
// passing tests, so only dump if the test failed.
actual = QUnit.jsDump.parse(obj.actual);
expected = QUnit.jsDump.parse(obj.expected);
actual = dump.parse(obj.actual);
expected = dump.parse(obj.expected);
}

@@ -44,0 +49,0 @@ // Send it.

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc