Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-protractor-coverage

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-protractor-coverage - npm Package Compare versions

Comparing version 0.2.15 to 0.2.16

36

package.json
{
"name": "grunt-protractor-coverage",
"version": "0.2.15",
"version": "0.2.16",
"description": "Instrument your code and gather coverage data from Protractor E2E tests",

@@ -10,25 +10,25 @@ "main": "Gruntfile.js",

"dependencies": {
"coverage-collector": "0.0.4",
"coverage-collector": "0.0.5",
"dargs-object": "~0.2.0",
"escodegen": "~1.3.0",
"esprima": "~1.1.1",
"estraverse": "~1.5.0",
"escodegen": "~1.8.0",
"esprima": "~2.7.1",
"estraverse": "~4.1.1",
"grunt": "^0.4.5",
"grunt-contrib-connect": "~0.7.1",
"grunt-istanbul": "~0.2.5",
"mkdirp": "~0.3.5",
"grunt-contrib-connect": "~0.11.2",
"grunt-istanbul": "~0.6.1",
"mkdirp": "~0.5.1",
"temporary": "0.0.8",
"tmp": "0.0.23"
"tmp": "0.0.28"
},
"devDependencies": {
"cucumber": "^0.5.1",
"cucumber": "^0.9.2",
"grunt": "~0.4.5",
"grunt-cli": "~0.1.11",
"grunt-cli": "~0.1.13",
"grunt-contrib-clean": "~0.4.0a",
"grunt-contrib-copy": "~0.5.0",
"grunt-contrib-jshint": "~0.1.0",
"grunt-contrib-nodeunit": "~0.1.0",
"grunt-coveralls": "~0.3.0",
"grunt-selenium-webdriver": "^0.2.451",
"protractor": "^1.0.0"
"grunt-contrib-copy": "~0.8.2",
"grunt-contrib-jshint": "~0.11.3",
"grunt-contrib-nodeunit": "~0.4.1",
"grunt-coveralls": "~1.0.0",
"grunt-selenium-webdriver": "^0.2.482",
"protractor": "^3.0.0"
},

@@ -50,3 +50,3 @@ "scripts": {

"author": "ryan bridges",
"license": "APLv2",
"license": "Apache-2.0",
"bugs": {

@@ -53,0 +53,0 @@ "url": "https://github.com/r3b/grunt-protractor-coverage/issues"

@@ -90,3 +90,3 @@ /*

configFile: (!grunt.util._.isUndefined(this.data.configFile)) ? this.data.configFile : protractorRefConfPath,
keepAlive: (!grunt.util._.isUndefined(this.data.keepAlive)) ? this.data.keepAlive : protractorRefConfPath,
keepAlive: (!grunt.util._.isUndefined(this.data.keepAlive)) ? this.data.keepAlive : true,
noColor: false,

@@ -99,2 +99,6 @@ noInject: false,

});
var saveCoverageTemplate = grunt.file.expand([ opts.saveCoverageTemplate, "node_modules/grunt-protractor-coverage/resources/saveCoverage.tmpl", path.join(__dirname, '..') + '/**/resources/saveCoverage.tmpl']).shift();
if(!saveCoverageTemplate){
grunt.fail.fatal("Coverage template file not found.");
}
var coverageDir = path.resolve(opts.coverageDir||'coverage/');

@@ -224,3 +228,3 @@ coverageDir = coverageDir.replace(/\\/g,'/');

function(error, result, code) {
if (error) {

@@ -238,4 +242,2 @@ grunt.log.error(String(result));

}
done();
done = null;
});

@@ -245,17 +247,15 @@ } else {

// or protractor exited with other reason.
grunt.fail.fatal('protractor exited with code: ' + code, 3);
grunt.warn('Tests failed, protractor exited with code: ' + code, code);
}
} else {
getCoverageData(function(payload){
try{
var filename=path.normalize([coverageDir,'/coverage.json'].join(''));
fs.writeFileSync(filename, payload);
}catch(e){
grunt.log.error("Got error: " + e.message);
}
done();
done = null;
});
}
getCoverageData(function(payload){
try{
var filename=path.normalize([coverageDir,'/coverage.json'].join(''));
fs.writeFileSync(filename, payload);
}catch(e){
grunt.log.error("Got error: " + e.message);
}
});
done();
done = null;
}

@@ -262,0 +262,0 @@ );

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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