From eb41c95f0cda0f455f7ba2f78b8db11dc273c5ed Mon Sep 17 00:00:00 2001 From: Phillip9587 Date: Tue, 5 Nov 2024 11:25:29 +0100 Subject: [PATCH] cleanup: remove devDependency `safe-buffer` --- package.json | 1 - test/route.js | 1 - test/router.js | 1 - test/support/utils.js | 1 - 4 files changed, 4 deletions(-) diff --git a/package.json b/package.json index 706857f..93ff402 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "mocha": "10.2.0", "nyc": "15.1.0", "run-series": "^1.1.9", - "safe-buffer": "5.2.1", "standard": "^17.1.0", "supertest": "6.3.3" }, diff --git a/test/route.js b/test/route.js index 1e560bb..00ec95b 100644 --- a/test/route.js +++ b/test/route.js @@ -1,5 +1,4 @@ const { it, describe } = require('mocha') -const Buffer = require('safe-buffer').Buffer const series = require('run-series') const Router = require('..') const utils = require('./support/utils') diff --git a/test/router.js b/test/router.js index c3a9da8..15d4a5c 100644 --- a/test/router.js +++ b/test/router.js @@ -1,6 +1,5 @@ const { it, describe } = require('mocha') const series = require('run-series') -const Buffer = require('safe-buffer').Buffer const Router = require('..') const utils = require('./support/utils') diff --git a/test/support/utils.js b/test/support/utils.js index c739355..2fab2fb 100644 --- a/test/support/utils.js +++ b/test/support/utils.js @@ -1,5 +1,4 @@ const assert = require('assert') -const Buffer = require('safe-buffer').Buffer const finalhandler = require('finalhandler') const http = require('http') const { METHODS } = require('node:http')