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 3e9d5219..5b35fbf3 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 6a36eada..756f7d86 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 0afcdcab..23e537ac 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 f581e651..db9b21ee 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 761dfa31..9590a00a 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')