Skip to content

Commit 008226a

Browse files
committed
still need node polyfill for < 16
1 parent f4c4ae9 commit 008226a

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

lib/resolvers/http.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
require("isomorphic-fetch");
44
const { ono } = require("@jsdevtools/ono");
5+
const { AbortController } = require("node-abort-controller");
56
const url = require("../util/url");
67
const { ResolverError } = require("../util/errors");
78

package-lock.json

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
"@stoplight/yaml": "^4.0.2",
7979
"call-me-maybe": "^1.0.1",
8080
"fastestsmallesttextencoderdecoder": "^1.0.22",
81-
"isomorphic-fetch": "^3.0.0"
81+
"isomorphic-fetch": "^3.0.0",
82+
"node-abort-controller": "^3.0.1"
8283
}
8384
}

0 commit comments

Comments
 (0)