From aa3f1459de89b33e910ab53fcb56a7f526e4841b Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 26 Jul 2018 21:26:04 -0700 Subject: [PATCH] remove safe-buffer --- index.js | 1 - package.json | 1 - test/fetch.js | 1 - 3 files changed, 3 deletions(-) diff --git a/index.js b/index.js index 7a311bd..d145a35 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,5 @@ var bencode = require('bencode') var BitField = require('bitfield') -var Buffer = require('safe-buffer').Buffer var debug = require('debug')('ut_metadata') var EventEmitter = require('events').EventEmitter var inherits = require('inherits') diff --git a/package.json b/package.json index 7205071..3c82d5a 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,6 @@ "bitfield": "^2.0.0", "debug": "^3.1.0", "inherits": "^2.0.1", - "safe-buffer": "^5.0.1", "simple-sha1": "^2.0.0" }, "devDependencies": { diff --git a/test/fetch.js b/test/fetch.js index 17c4541..302a9a3 100644 --- a/test/fetch.js +++ b/test/fetch.js @@ -1,5 +1,4 @@ var bencode = require('bencode') -var Buffer = require('safe-buffer').Buffer var fixtures = require('webtorrent-fixtures') var Protocol = require('bittorrent-protocol') var test = require('tape')