diff --git a/package.json b/package.json index b1b0c4350..0737ad130 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,6 @@ "docusaurus-plugin-sass": "^0.2.1", "dotenv": "^16.0.3", "execa": "^5.0.0", - "node-fetch": "^2.6.7", "prism-react-renderer": "^2.3.1", "react": "^18.3.1", "react-dom": "^18.3.1", @@ -62,7 +61,6 @@ "@types/fs-extra": "^9.0.13", "@types/mdast": "^4.0.4", "@types/node": "^18.11.10", - "@types/node-fetch": "^2.6.2", "@types/react": "^18.3.1", "@types/semver": "^7.3.13", "@types/tar-stream": "^2.2.2", diff --git a/scripts/update-crowdin-glossary.ts b/scripts/update-crowdin-glossary.ts index 72766f20d..781d3030b 100644 --- a/scripts/update-crowdin-glossary.ts +++ b/scripts/update-crowdin-glossary.ts @@ -14,7 +14,6 @@ import { import * as dotenv from 'dotenv'; import latestVersion from 'latest-version'; import toString from 'mdast-util-to-string'; -import fetch from 'node-fetch'; import remarkParse from 'remark-parse'; import { unified } from 'unified'; diff --git a/src/plugins/apps/index.ts b/src/plugins/apps/index.ts index 8bd52175a..c093026ca 100644 --- a/src/plugins/apps/index.ts +++ b/src/plugins/apps/index.ts @@ -1,4 +1,3 @@ -import fetch from 'node-fetch'; import { Plugin } from '@docusaurus/types'; export interface App { diff --git a/src/plugins/fiddle/index.ts b/src/plugins/fiddle/index.ts index 83b666ead..27a47bb5d 100644 --- a/src/plugins/fiddle/index.ts +++ b/src/plugins/fiddle/index.ts @@ -1,4 +1,3 @@ -import fetch from 'node-fetch'; import semver from 'semver'; import { Plugin } from '@docusaurus/types'; diff --git a/src/plugins/releases/index.ts b/src/plugins/releases/index.ts index 53fa7b970..e8b345f72 100644 --- a/src/plugins/releases/index.ts +++ b/src/plugins/releases/index.ts @@ -1,4 +1,3 @@ -import fetch, { Response } from 'node-fetch'; import semver from 'semver'; import { Plugin } from '@docusaurus/types'; diff --git a/yarn.lock b/yarn.lock index 16f7d3c64..70862ad83 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2891,14 +2891,6 @@ resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197" integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA== -"@types/node-fetch@^2.6.2": - version "2.6.2" - resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.6.2.tgz#d1a9c5fd049d9415dce61571557104dec3ec81da" - integrity sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A== - dependencies: - "@types/node" "*" - form-data "^3.0.0" - "@types/node@*": version "18.11.11" resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.11.tgz#1d455ac0211549a8409d3cdb371cd55cc971e8dc" @@ -6264,15 +6256,6 @@ form-data-encoder@^2.1.2: resolved "https://registry.yarnpkg.com/form-data-encoder/-/form-data-encoder-2.1.4.tgz#261ea35d2a70d48d30ec7a9603130fa5515e9cd5" integrity sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw== -form-data@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f" - integrity sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.8" - mime-types "^2.1.12" - form-data@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452"