Socket
Socket
Sign inDemoInstall

jasmine

Package Overview
Dependencies
12
Maintainers
3
Versions
53
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.1.0

17

lib/command.js

@@ -55,3 +55,3 @@ var path = require('path'),

} else {
runJasmine(jasmine, env);
runJasmine(jasmine, env, print);
}

@@ -119,3 +119,3 @@ }

function runJasmine(jasmine, env) {
function runJasmine(jasmine, env, print) {
jasmine.loadConfigFile(env.configPath || process.env.JASMINE_CONFIG_PATH);

@@ -138,5 +138,12 @@ if (env.stopOnFailure !== undefined) {

if (env.reporter !== undefined) {
var Report = require(env.reporter);
jasmine.clearReporters();
jasmine.addReporter(new Report());
try {
var Report = require(env.reporter);
var reporter = new Report();
jasmine.clearReporters();
jasmine.addReporter(reporter);
} catch(e) {
print('failed to register reporter "' + env.reporter + '"');
print(e.message);
print(e.stack);
}
}

@@ -143,0 +150,0 @@ jasmine.showColors(env.color);

@@ -19,3 +19,3 @@ var path = require('path'),

this.helperFiles = [];
this.env = this.jasmine.getEnv();
this.env = this.jasmine.getEnv({suppressLoadErrors: true});
this.reportersCount = 0;

@@ -22,0 +22,0 @@ this.completionReporter = new CompletionReporter();

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

"license": "MIT",
"version": "3.0.0",
"version": "3.1.0",
"repository": {

@@ -23,3 +23,3 @@ "type": "git",

"glob": "^7.0.6",
"jasmine-core": "~3.0.0"
"jasmine-core": "~3.1.0"
},

@@ -26,0 +26,0 @@ "bin": "./bin/jasmine.js",

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