[Pkg-javascript-commits] [node-hash-base] 11/13: use safe-buffer

Bastien Roucariès rouca at moszumanska.debian.org
Sat Aug 12 22:01:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch upstream
in repository node-hash-base.

commit f329e9717380fdb0ad02be1b2e1968e5dbc79b60
Author: Daniel Cousens <github at dcousens.com>
Date:   Wed May 24 17:20:30 2017 +1000

    use safe-buffer
---
 index.js     | 1 +
 package.json | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/index.js b/index.js
index 0e21053..bf788da 100644
--- a/index.js
+++ b/index.js
@@ -1,4 +1,5 @@
 'use strict'
+var Buffer = require('safe-buffer').Buffer
 var Transform = require('stream').Transform
 var inherits = require('inherits')
 
diff --git a/package.json b/package.json
index ae7ad71..305756f 100644
--- a/package.json
+++ b/package.json
@@ -27,7 +27,8 @@
     "unit": "node test/*.js"
   },
   "dependencies": {
-    "inherits": "^2.0.1"
+    "inherits": "^2.0.1",
+    "safe-buffer": "^5.0.1"
   },
   "devDependencies": {
     "nyc": "^8.3.2",

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-hash-base.git



More information about the Pkg-javascript-commits mailing list