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

coverify

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coverify - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

16

index.js
var falafel = require('falafel');
var through = require('through');
var through = require('through2');
var sourceMap = require('source-map');

@@ -20,3 +20,3 @@ var convertSourceMap = require('convert-source-map');

function write (buf) { chunks.push(buf) }
function write (buf, enc, next) { chunks.push(buf); next() }

@@ -30,8 +30,8 @@ function end () {

if (file.match(/\.json$/)) {
this.queue('module.exports=' + body);
this.queue(null);
this.push('module.exports=' + body);
this.push(null);
return;
}
try { var src = falafel(body, { loc: true }, walk) + '' }
try { var src = falafel(body, { locations: true }, walk) + '' }
catch (err) { return onerror(err, file,body) }

@@ -76,3 +76,3 @@ var sfile = JSON.stringify(JSON.stringify(file));

this.queue(
this.push(
outputFn + '("COVERAGE " + ' + sfile + ' + " " + '

@@ -95,4 +95,4 @@ + JSON.stringify(JSON.stringify(expected))

this.queue(src);
this.queue(null);
this.push(src);
this.push(null);
}

@@ -99,0 +99,0 @@

{
"name": "coverify",
"version": "1.1.1",
"version": "1.2.0",
"description": "code coverage browserify transform",

@@ -10,13 +10,11 @@ "main": "index.js",

"dependencies": {
"convert-source-map": "~1.0.0",
"falafel": "~0.3.1",
"minimist": "~0.0.5",
"convert-source-map": "^1.1.0",
"falafel": "^1.0.1",
"minimist": "^1.1.1",
"source-map": "~0.4.2",
"split": "~0.2.10",
"stream-combiner": "~0.0.2",
"through": "~2.3.4"
"through2": "~0.6.5"
},
"devDependencies": {
"browserify": "~3.4.1",
"tape": "~2.3.2"
"browserify": "^10.0.0",
"tape": "^4.0.0"
},

@@ -48,4 +46,8 @@ "repository": {

"ie/8..latest",
"firefox/3.5", "firefox/latest", "firefox/nightly",
"chrome/10", "chrome/latest", "chrome/canary",
"firefox/3.5",
"firefox/latest",
"firefox/nightly",
"chrome/10",
"chrome/latest",
"chrome/canary",
"opera/12..latest",

@@ -52,0 +54,0 @@ "opera/next",

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