Skip to content

Commit

Permalink
Update dependencies and modify Buffer initialization based on npm aud…
Browse files Browse the repository at this point in the history
…it recommendation
  • Loading branch information
santosh-shaastry authored and adamayres committed Mar 29, 2019
1 parent 8ae3be0 commit 00ae1ff
Show file tree
Hide file tree
Showing 6 changed files with 4,553 additions and 37 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
@@ -0,0 +1,2 @@
node_modules/**
coverage/**
3 changes: 1 addition & 2 deletions .travis.yml
Expand Up @@ -3,8 +3,7 @@ git:
depth: 2
language: node_js
node_js:
- iojs
- '0.12'
- '6.14.0'
after_script:
- npm run-script coveralls
notifications:
Expand Down
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -76,7 +76,7 @@ module.exports = function gulpWrap(opts, data, options) {
done(new PluginError(PLUGIN_NAME, err));
return;
}
done(null, new Buffer(result));
done(null, Buffer.from(result));
});
}, done).catch(done);
}
Expand Down

0 comments on commit 00ae1ff

Please sign in to comment.