Skip to content

Commit b7cb432

Browse files
committed
refactor: use built-in fetch instead of node-fetch
It has been available since Node 18
1 parent 8db742e commit b7cb432

File tree

3 files changed

+0
-51
lines changed

3 files changed

+0
-51
lines changed

discord-webhook.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import fetch from 'node-fetch'
21
import {
32
getPermanentRef,
43
setupEnvironment,

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
"@actions/core": "^1.11.1",
4848
"cac": "^6.7.14",
4949
"execa": "^9.6.0",
50-
"node-fetch": "^3.3.2",
5150
"verdaccio": "^6.2.0",
5251
"verdaccio-auth-memory": "^10.3.1"
5352
},

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)