New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gulp-jasmine-phantom

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-jasmine-phantom - npm Package Compare versions

Comparing version 1.1.3 to 1.2.0

vendor/jasmine-2.1/boot.js

21

index.js

@@ -21,9 +21,3 @@ 'use strict'

var gulpOptions = {},
jasmineCss = path.join(__dirname, '/vendor/jasmine-2.0/jasmine.css'),
jasmineJs = [
path.join(__dirname, '/vendor/jasmine-2.0/jasmine.js'),
path.join(__dirname, '/vendor/jasmine-2.0/jasmine-html.js'),
path.join(__dirname, '/vendor/jasmine-2.0/console.js'),
path.join(__dirname, '/vendor/jasmine-2.0/boot.js')
],
jasmineCss, jasmineJs,
vendorJs = [],

@@ -33,2 +27,14 @@ specHtml = path.join(__dirname, '/lib/specRunner.html'),

function configJasmine(version) {
version = version || '2.0';
jasmineCss = path.join(__dirname, '/vendor/jasmine-' + version + '/jasmine.css');
jasmineJs = [
path.join(__dirname, '/vendor/jasmine-' + version + '/jasmine.js'),
path.join(__dirname, '/vendor/jasmine-' + version + '/jasmine-html.js'),
path.join(__dirname, '/vendor/jasmine-' + version + '/console.js'),
path.join(__dirname, '/vendor/jasmine-' + version + '/boot.js')
];
}
/**

@@ -139,2 +145,3 @@ * Removes the specRunner.html file

configJasmine(gulpOptions.jasmineVersion);

@@ -141,0 +148,0 @@ if(!!gulpOptions.integration) {

@@ -41,3 +41,3 @@ var noopTimer = {

}
printNewline();

@@ -53,7 +53,7 @@

}
if(failureCount) {
specCounts += ', ' + colored('red', failureCount + ' ' + plural('failure', failureCount));
}
if (pendingCount) {

@@ -67,3 +67,3 @@ specCounts += ', ' + colored('yellow', pendingCount + ' pending ');

}
var seconds = timer.elapsed() / 1000;

@@ -77,3 +77,3 @@ print('Finished in ' + seconds + ' ' + plural('second', seconds));

print(indent(suite.fullName, suiteIndentation));
suiteIndentation += 2;
suiteIndentation += 2;
};

@@ -90,3 +90,3 @@

pendingCount++;
print(indent(colored('yellow', '* ' + result.fullName), suiteIndentation));
print(indent(colored('yellow', '* ' + result.description), suiteIndentation));
return;

@@ -96,3 +96,3 @@ }

if (result.status == 'passed') {
print(indent(colored('green', '\u2714 ' + result.fullName), suiteIndentation));
print(indent(colored('green', '\u2714 ' + result.description), suiteIndentation));
return;

@@ -104,3 +104,3 @@ }

failedSpecs.push(result);
print(indent(colored('red', '\u2716 ' + result.fullName), suiteIndentation));
print(indent(colored('red', '\u2716 ' + result.description), suiteIndentation));
}

@@ -107,0 +107,0 @@ };

{
"name": "gulp-jasmine-phantom",
"version": "1.1.3",
"version": "1.2.0",
"description": "Jasmine 2.0 suite runner, optionally with PhantomJS",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -76,2 +76,8 @@ gulp-jasmine-phantom

#### jasmineVersion
Type: `string` <br />
Default: '2.0'
Specifies the version of Jasmine you want to run. Possible options are in the `vendor/` folder. Just specify what `2.x` minor release you want.
#### integration

@@ -118,7 +124,7 @@ Type: `boolean` <br />

A list of vendor scripts to import into the HTML runner, either as file
globs (e.g. `"**/*.js"`) or fully-qualified URLs (e.g.
A list of vendor scripts to import into the HTML runner, either as file
globs (e.g. `"**/*.js"`) or fully-qualified URLs (e.g.
`"http://my.cdn.com/jquery.js"`).
This option accepts either a single string or an array of strings (e.g.
This option accepts either a single string or an array of strings (e.g.
`["test/*.js", "http://my.cdn.com/underscore.js"]`).

@@ -125,0 +131,0 @@

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