Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ipfs-utils

Package Overview
Dependencies
Maintainers
3
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipfs-utils - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0

src/.DS_Store

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="4.0.0"></a>
# [4.0.0](https://github.com/ipfs/js-ipfs-utils/compare/v3.0.0...v4.0.0) (2020-10-10)
### Bug Fixes
* use native fetch if available ([#62](https://github.com/ipfs/js-ipfs-utils/issues/62)) ([9b0ff2f](https://github.com/ipfs/js-ipfs-utils/commit/9b0ff2f))
<a name="3.0.0"></a>

@@ -2,0 +12,0 @@ # [3.0.0](https://github.com/ipfs/js-ipfs-utils/compare/v2.4.0...v3.0.0) (2020-08-18)

10

package.json
{
"name": "ipfs-utils",
"version": "3.0.0",
"version": "4.0.0",
"description": "Package to aggregate shared logic and dependencies for the IPFS ecosystem",

@@ -19,3 +19,4 @@ "main": "src/index.js",

"./src/path-join.js": "./src/path-join.browser.js",
"./test/files/glob-source.spec.js": false
"./test/files/glob-source.spec.js": false,
"@achingbrain/electron-fetch": false
},

@@ -38,4 +39,5 @@ "repository": "github:ipfs/js-ipfs-utils",

"abort-controller": "^3.0.0",
"any-signal": "^1.1.0",
"any-signal": "^2.1.0",
"buffer": "^5.6.0",
"@achingbrain/electron-fetch": "^1.7.2",
"err-code": "^2.0.0",

@@ -48,2 +50,4 @@ "fs-extra": "^9.0.1",

"nanoid": "^3.1.3",
"native-abort-controller": "0.0.3",
"native-fetch": "^2.0.0",
"node-fetch": "^2.6.0",

@@ -50,0 +54,0 @@ "stream-to-it": "^0.2.0"

/* eslint-disable no-undef */
'use strict'
const fetch = require('node-fetch')
const {
default: fetch,
Request,
Headers
} = require('./fetch')
const merge = require('merge-options').bind({ ignoreUndefined: true })
const { URL, URLSearchParams } = require('iso-url')
const TextDecoder = require('./text-decoder')
const AbortController = require('abort-controller')
const AbortController = require('native-abort-controller')
const anySignal = require('any-signal')
const Request = fetch.Request
const Headers = fetch.Headers
class TimeoutError extends Error {

@@ -15,0 +16,0 @@ constructor () {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc