From 00783789420f7ec496c9188a415e38593729ee13 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 9 Apr 2024 20:18:22 -0400 Subject: [PATCH] fix(deps): update dependency @octokit/fixtures to v23 (#348) * fix(deps): update dependency @octokit/fixtures to v23 * test: add `accept-encoding` header --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: wolfy1339 --- package-lock.json | 8 ++++---- package.json | 2 +- test/integration/binary-response.test.js | 2 ++ 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index ca159a8..65854a0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0-development", "license": "MIT", "dependencies": { - "@octokit/fixtures": "22.0.6", + "@octokit/fixtures": "23.1.1", "cachimo": "^2.0.1", "console-log-level": "^1.4.0", "cors": "^2.8.4", @@ -233,9 +233,9 @@ } }, "node_modules/@octokit/fixtures": { - "version": "22.0.6", - "resolved": "https://registry.npmjs.org/@octokit/fixtures/-/fixtures-22.0.6.tgz", - "integrity": "sha512-fSxpinPEC+6pIm47A3tC7Ur5gguJSIDHNVapUZMvIK5GqTauvdkr0Q5MbXmzXstlyJLWmXTK8jOlHVU1YJ0NcA==", + "version": "23.1.1", + "resolved": "https://registry.npmjs.org/@octokit/fixtures/-/fixtures-23.1.1.tgz", + "integrity": "sha512-smLMM28wXjZWzS6yKZaL/4tPstPrCDyMp4/YexYJpoIiNZ/NhE4U2vYcLbh2UKPoKXmm9Q2wljTm1Iqa2JYKew==", "dependencies": { "json-diff": "^1.0.0", "lodash": "^4.17.11", diff --git a/package.json b/package.json index f46d904..9a8e5f2 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "dependencies": { - "@octokit/fixtures": "22.0.6", + "@octokit/fixtures": "23.1.1", "cachimo": "^2.0.1", "console-log-level": "^1.4.0", "cors": "^2.8.4", diff --git a/test/integration/binary-response.test.js b/test/integration/binary-response.test.js index 8063bfa..6830f23 100644 --- a/test/integration/binary-response.test.js +++ b/test/integration/binary-response.test.js @@ -33,6 +33,7 @@ test("binary response (octokit/rest.js#743)", async () => { ) .set({ accept: "application/vnd.github.v3+json", + "accept-encoding": "gzip, compress, deflate, br", authorization: "token 0000000000000000000000000000000000000001", }) .catch((error) => error.response); @@ -47,6 +48,7 @@ test("binary response (octokit/rest.js#743)", async () => { const { status } = await agent.get(pathname).set({ accept: "application/vnd.github.v3+json", + "accept-encoding": "gzip, compress, deflate, br", authorization: "token 0000000000000000000000000000000000000001", });