From 51e90e71d7605f95a668b7c0a9559421c8d5dcf8 Mon Sep 17 00:00:00 2001 From: Phillip Barta Date: Thu, 31 Oct 2024 16:22:03 +0100 Subject: [PATCH] refactor: remove devDependency `safe-buffer` (#547) --- package.json | 1 - test/json.js | 1 - test/raw.js | 1 - test/text.js | 1 - test/urlencoded.js | 1 - 5 files changed, 5 deletions(-) diff --git a/package.json b/package.json index 3e9d521..5b35fbf 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ "eslint-plugin-standard": "4.1.0", "mocha": "10.2.0", "nyc": "15.1.0", - "safe-buffer": "5.2.1", "supertest": "6.3.3" }, "files": [ diff --git a/test/json.js b/test/json.js index 6a36ead..756f7d8 100644 --- a/test/json.js +++ b/test/json.js @@ -2,7 +2,6 @@ var assert = require('assert') var asyncHooks = tryRequire('async_hooks') -var Buffer = require('safe-buffer').Buffer var http = require('http') var request = require('supertest') diff --git a/test/raw.js b/test/raw.js index 0afcdca..23e537a 100644 --- a/test/raw.js +++ b/test/raw.js @@ -2,7 +2,6 @@ var assert = require('assert') var asyncHooks = tryRequire('async_hooks') -var Buffer = require('safe-buffer').Buffer var http = require('http') var request = require('supertest') diff --git a/test/text.js b/test/text.js index f581e65..db9b21e 100644 --- a/test/text.js +++ b/test/text.js @@ -2,7 +2,6 @@ var assert = require('assert') var asyncHooks = tryRequire('async_hooks') -var Buffer = require('safe-buffer').Buffer var http = require('http') var request = require('supertest') diff --git a/test/urlencoded.js b/test/urlencoded.js index 761dfa3..9590a00 100644 --- a/test/urlencoded.js +++ b/test/urlencoded.js @@ -2,7 +2,6 @@ var assert = require('assert') var asyncHooks = tryRequire('async_hooks') -var Buffer = require('safe-buffer').Buffer var http = require('http') var request = require('supertest')