Skip to content

Commit

Permalink
chore: remove extraneous safe-buffer dep
Browse files Browse the repository at this point in the history
Node <v4.5 hasn't been supported for quite a while now.
  • Loading branch information
isaacs committed Feb 18, 2020
1 parent 6bccc1a commit 152e666
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 9 deletions.
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
'use strict'

const Buffer = require('safe-buffer').Buffer

const checkResponse = require('./check-response.js')
const getAuth = require('./auth.js')
const fetch = require('make-fetch-happen')
Expand Down
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
"minipass-fetch": "^1.1.2",
"minipass-json-stream": "^1.0.1",
"minizlib": "^2.0.0",
"npm-package-arg": "^8.0.0",
"safe-buffer": "^5.2.0"
"npm-package-arg": "^8.0.0"
},
"devDependencies": {
"cacache": "^13.0.1",
Expand Down
2 changes: 0 additions & 2 deletions test/auth.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
'use strict'

const Buffer = require('safe-buffer').Buffer

const npmlog = require('npmlog')
const test = require('tap').test
const tnock = require('./util/tnock.js')
Expand Down
2 changes: 0 additions & 2 deletions test/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
'use strict'

const Buffer = require('safe-buffer').Buffer

const Minipass = require('minipass')
const npmlog = require('npmlog')
const silentLog = require('../silentlog.js')
Expand Down

0 comments on commit 152e666

Please # to comment.