Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

chore: update ipfs-http-response #3857

Merged
merged 2 commits into from
Sep 8, 2021
Merged
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
2 changes: 1 addition & 1 deletion packages/ipfs-http-gateway/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"debug": "^4.1.1",
"hapi-pino": "^8.3.0",
"ipfs-core-types": "^0.7.1",
"ipfs-http-response": "^0.7.0",
"ipfs-http-response": "^1.0.1",
"is-ipfs": "^6.0.1",
"it-last": "^1.0.4",
"it-to-stream": "^1.0.0",
Expand Down
5 changes: 1 addition & 4 deletions packages/ipfs-http-gateway/src/resources/gateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ const Ammo = require('@hapi/ammo') // HTTP Range processing utilities
const last = require('it-last')
const { CID } = require('multiformats/cid')
const { base32 } = require('multiformats/bases/base32')
// @ts-ignore no types
const { resolver } = require('ipfs-http-response')
// @ts-ignore no types
const detectContentType = require('ipfs-http-response/src/utils/content-type')
const { resolver, utils: { detectContentType } } = require('ipfs-http-response')
const isIPFS = require('is-ipfs')
// @ts-ignore no types
const toStream = require('it-to-stream')
Expand Down