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

exec-buffer

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exec-buffer - npm Package Compare versions

Comparing version

to
1.0.0

15

index.js

@@ -84,3 +84,4 @@ 'use strict';

if (err) {
return cb(err);
cb(err);
return;
}

@@ -90,3 +91,4 @@

if (err) {
return cb(err);
cb(err);
return;
}

@@ -96,3 +98,4 @@

if (err) {
return cb(err);
cb(err);
return;
}

@@ -102,3 +105,4 @@

if (err) {
return cb(err);
cb(err);
return;
}

@@ -108,3 +112,4 @@

if (err) {
return cb(err);
cb(err);
return;
}

@@ -111,0 +116,0 @@

{
"name": "exec-buffer",
"version": "0.1.1",
"version": "1.0.0",
"description": "Run a buffer through a child process",

@@ -16,3 +16,3 @@ "license": "MIT",

"scripts": {
"test": "mocha --reporter list"
"test": "node test/test.js"
},

@@ -28,9 +28,8 @@ "files": [

"rimraf": "^2.2.6",
"tempfile": "^0.1.3"
"tempfile": "^1.0.0"
},
"devDependencies": {
"gifsicle": "^0.1.5",
"mocha": "^1.18.2",
"tempfile": "^0.1.3"
"ava": "0.0.3",
"gifsicle": "^0.1.5"
}
}

@@ -7,3 +7,3 @@ # exec-buffer [![Build Status](https://travis-ci.org/kevva/exec-buffer.svg?branch=master)](https://travis-ci.org/kevva/exec-buffer)

```bash
```ba
$ npm install --save exec-buffer

@@ -22,3 +22,3 @@ ```

execBuffer
.use(gifsicle, ['-o', execBuffer.dest, execBuffer.src])
.use(gifsicle, ['-o', execBuffer.dest(), execBuffer.src()])
.run(fs.readFileSync('test.gif'), function (err, data) {

@@ -43,3 +43,3 @@ if (err) {

Accepts a path to a binary and an Array of arguments.
Accepts a path to a binary and an `Array` of arguments.

@@ -56,6 +56,6 @@ ### .src(path)

Run the Buffer through the child process.
Run the `Buffer` through the child process.
## License
[MIT License](http://en.wikipedia.org/wiki/MIT_License) © [Kevin Mårtensson](https://github.com/kevva)
MIT © [Kevin Mårtensson](https://github.com/kevva)