Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): remove dependency on node-fetch #1882

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lib/tasks/download-assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Promise from 'bluebird'
import { getEntityName } from 'contentful-batch-libs'
import figures from 'figures'
import { createWriteStream, promises as fs } from 'fs'
import fetch from 'node-fetch'
import path from 'path'
import { pipeline } from 'stream'
import { promisify } from 'util'
Expand Down
1 change: 0 additions & 1 deletion lib/utils/embargoedAssets.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import jwt from 'jsonwebtoken'
import fetch from 'node-fetch'

const SIX_HOURS_IN_MS = 6 * 60 * 60 * 1000
const assetKeyCache = new Map()
Expand Down
66 changes: 0 additions & 66 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
"listr-verbose-renderer": "^0.6.0",
"lodash.startcase": "^4.4.0",
"mkdirp": "^2.0.0",
"node-fetch": "^2.6.7",
"yargs": "^17.1.1"
},
"devDependencies": {
Expand Down