From b3f10bc5a53f90fd3b94aaae2e1f76d092b9313e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Bu=CC=88nemann?= Date: Wed, 16 May 2018 14:48:22 +0200 Subject: [PATCH] Switch from safe-buffer to safer-buffer --- HISTORY.md | 5 +++++ index.js | 2 +- package.json | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 11e2b92..4c87734 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,8 @@ +unreleased +========== + + * Switch from `safe-buffer` to `safer-buffer` + 2.0.0 / 2017-09-12 ================== diff --git a/index.js b/index.js index 9106e64..6def394 100644 --- a/index.js +++ b/index.js @@ -13,7 +13,7 @@ * @private */ -var Buffer = require('safe-buffer').Buffer +var Buffer = require('safer-buffer').Buffer /** * Module exports. diff --git a/package.json b/package.json index ec35aab..1768404 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ ], "repository": "jshttp/basic-auth", "dependencies": { - "safe-buffer": "5.1.1" + "safer-buffer": "2.1.2" }, "devDependencies": { "eslint": "4.15.0",