chore: drop fetch polyfill as we require Node.js 18

This commit is contained in:
Balázs Orbán
2023-10-18 13:25:57 +02:00
parent d0f4b4a05e
commit 616221ee37
4 changed files with 546 additions and 274 deletions

View File

@@ -50,7 +50,7 @@
"engines": {
"node": "^18.18.0 || ^20.8.0"
},
"packageManager": "pnpm@8.7.1",
"packageManager": "pnpm@8.9.2",
"funding": [
{
"type": "github",

View File

@@ -47,8 +47,7 @@
"@types/jsonwebtoken": "^8.5.5",
"jest": "^27.4.3",
"ts-jest": "^27.0.3",
"typescript": "5.2.2",
"undici": "5.22.1"
"typescript": "5.2.2"
},
"dependencies": {
"@auth/core": "workspace:*",
@@ -57,4 +56,4 @@
"jest": {
"preset": "@auth/adapter-test/jest"
}
}
}

View File

@@ -7,8 +7,6 @@ import path from "path"
import type { DgraphClientParams } from "../src"
globalThis.fetch ??= require("undici").fetch
const params: DgraphClientParams = {
endpoint: "http://localhost:8080/graphql",
authToken: "test",

811
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff