From 91f2b129780ae38083f63dec29c1285dab71f4a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20=C5=81=C4=85giewka?= Date: Sun, 23 Aug 2026 13:22:41 +0200 Subject: [PATCH] chore: drop restify Restify no longer works on node 24+[^1]. [^1]:https://github.com/restify/node-restify/issues/1984 --- benchmarks/restify.cjs | 11 ----------- lib/packages.js | 1 - package.json | 1 - 3 files changed, 13 deletions(-) delete mode 100644 benchmarks/restify.cjs diff --git a/benchmarks/restify.cjs b/benchmarks/restify.cjs deleted file mode 100644 index a09984d6..00000000 --- a/benchmarks/restify.cjs +++ /dev/null @@ -1,11 +0,0 @@ -'use strict' - -const restify = require('restify') - -const server = restify.createServer() -server.get('/', function (_req, res, next) { - res.send({ hello: 'world' }) - return next() -}) - -server.listen(3000, function () {}) diff --git a/lib/packages.js b/lib/packages.js index 105c795c..98d5c676 100755 --- a/lib/packages.js +++ b/lib/packages.js @@ -23,7 +23,6 @@ const packages = { 'node-http': { version: process.version }, polka: { hasRouter: true }, restana: { hasRouter: true, package: 'restana' }, - restify: { hasRouter: true }, 'srvx': { package: 'srvx' }, 'trpc-router': { extra: true, hasRouter: true, package: '@trpc/server' }, 'whatwg-node-server': { package: '@whatwg-node/server' }, diff --git a/package.json b/package.json index f9784290..b48f3d3a 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,6 @@ "ora": "^9.0.0", "polka": "^0.5.2", "restana": "^6.0.0", - "restify": "^11.0.0", "router": "^2.2.0", "srvx": "^0.12.1", "x-xss-protection": "^2.0.0"