Skip to content

Commit 49e6fed

Browse files
committed
build(deps): switch to fetch-mock v11
1 parent c0931e6 commit 49e6fed

File tree

4 files changed

+71
-137
lines changed

4 files changed

+71
-137
lines changed

package-lock.json

Lines changed: 52 additions & 124 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@types/node": "^20.0.0",
4343
"@types/sinonjs__fake-timers": "^8.0.0",
4444
"esbuild": "^0.20.0",
45-
"fetch-mock": "npm:@gr2m/fetch-mock@9.11.0-pull-request-644.1",
45+
"fetch-mock": "^11.0.0",
4646
"glob": "^10.2.5",
4747
"jest": "^29.0.0",
4848
"prettier": "3.2.5",

test/deprecations.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { request } from "@octokit/request";
2-
import fetchMock, { MockMatcherFunction } from "fetch-mock";
2+
import fetchMock from "fetch-mock";
33
import { Deprecation } from "deprecation";
44

55
import { createAppAuth } from "../src/index.ts";
66

77
describe("deprecations", () => {
88
test("auth({ type: 'oauth' }) - #263", async () => {
9-
const matchCreateOAuthAccessToken: MockMatcherFunction = (
9+
const matchCreateOAuthAccessToken: fetchMock.MockMatcherFunction = (
1010
url,
1111
{ body, headers },
1212
) => {

0 commit comments

Comments
 (0)