diff --git a/index.js b/index.js index 9efb7c02..2942db22 100644 --- a/index.js +++ b/index.js @@ -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') diff --git a/package-lock.json b/package-lock.json index bd7a5838..9fca789f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4776,7 +4776,8 @@ "safe-buffer": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz", - "integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==" + "integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==", + "dev": true }, "safer-buffer": { "version": "2.1.2", diff --git a/package.json b/package.json index f0de2f8f..055f224b 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/test/auth.js b/test/auth.js index 7c9f333d..54a6deec 100644 --- a/test/auth.js +++ b/test/auth.js @@ -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') diff --git a/test/index.js b/test/index.js index 50f64291..e618c3a6 100644 --- a/test/index.js +++ b/test/index.js @@ -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')