Socket
Socket
Sign inDemoInstall

min-wd

Package Overview
Dependencies
3
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.4 to 0.4.5

7

lib/request.js

@@ -34,3 +34,8 @@ /*

process.stderr.write('\n');
process.stderr.write(indent(body.replace(/^\s+$/gm, '')));
try {
var parsed = JSON.parse(body);
process.stderr.write(indent(parsed.value.message) + '\n');
} catch (e) {
process.stderr.write(indent(body.replace(/^\s+$/gm, '')));
}
process.stderr.write('\n');

@@ -37,0 +42,0 @@ }

13

lib/transform.js

@@ -12,7 +12,10 @@ /*

module.exports = function () {
return through(function write(data) {
this.queue('require("min-wd");');
this.queue(data);
});
module.exports = function (file) {
if (file.match(/\.js$/)) {
return through(function write(data) {
this.queue('require("min-wd");');
this.queue(data);
});
}
return through();
};
{
"name": "min-wd",
"version": "0.4.4",
"version": "0.4.5",
"description": "Minimal WebDriver that pipes stdin to browsers",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc