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

buster-istanbul

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buster-istanbul - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

21

lib/buster-istanbul.js

@@ -35,2 +35,3 @@ /*

var options = group.config.options;
group.options.autoRun = false;

@@ -53,7 +54,7 @@ global['__coverage__'] = global['__coverage__'] || {};

if (options && options.amd) {
group.on("load:tests", function (rs) {
group.on("load:tests", function (rs) {
if (options && options.amd) {
rs.addResource({
path: "/coverage/load-sources.js",
content: "define([" + merge(group.sources) + "]);"
content: "require([" + merge(group.sources) + "]);"
}).then(function(){

@@ -63,2 +64,10 @@ rs.loadPath.prepend("/coverage/load-sources.js");

if (options.amd.config) {
rs.addFileResource(path.resolve(options.amd.config), {
path: "/" + options.amd.config
}).then(function(){
rs.loadPath.prepend('/' + options.amd.config);
});
}
rs.addFileResource(path.resolve(options.amd.require), {

@@ -68,5 +77,5 @@ path: "/" + options.amd.require

rs.loadPath.prepend('/' + options.amd.require);
});
});
}
});
}
});
}

@@ -73,0 +82,0 @@ };

{
"name": "buster-istanbul",
"description": "buster extension for istanbul code coverage.",
"version": "0.1.4",
"version": "0.1.5",
"homepage": "https://github.com/englishtown/buster-istanbul",

@@ -6,0 +6,0 @@ "author": {

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