From 1a9ff4ec74f4c37f9e92c9e5b5534f9a90cbe041 Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Thu, 18 Apr 2024 17:44:02 +0200 Subject: [PATCH] Update to brotli-wasm v3, and bump 'engines' & CI testing to match --- .github/workflows/ci.yml | 2 +- package.json | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2a2d5e..189813e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, v14.6.0, 14.x, '*'] + node-version: [18.x, 20.x, v20.11.1, '*'] steps: - uses: actions/checkout@v2 diff --git a/package.json b/package.json index 8b64af1..9b1009d 100644 --- a/package.json +++ b/package.json @@ -44,8 +44,11 @@ "url": "https://github.com/httptoolkit/http-encoding/issues" }, "homepage": "https://github.com/httptoolkit/http-encoding#readme", + "engines": { + "node": ">=v18.0.0" + }, "dependencies": { - "brotli-wasm": "^1.3.0", + "brotli-wasm": "^3.0.0", "pify": "^5.0.0", "zstd-codec": "^0.1.4" },