question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update node-fetch dependency

See original GitHub issue

node-fetch is on release 1.6.0, and this library is still depending on ^1.0.1. Updating the dependency would give access to newer features added to node-fetch, like response.buffer.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
shri3kcommented, Aug 17, 2016

^1.0.1 it’s fixed to version 1.0.1 and 1.0.2 won’t be picked up.

Not true. That’s only applicable if it’s a fixed version number w/o ^. ^ usually allows changes for minor and patch versions except for left-most zero based versions which are considered breaking changes. So, ^0.1.0 ranges to >=0.1.0 < 0.2.0 and ^0.0.1 ranges only to =>0.0.1 < 0.0.2 however, ^1.0.0 will allow ranges to >=1.0.0 < 2.0.0.

From that same link:-

Allows changes that do not modify the left-most non-zero digit in the [major, minor, patch] tuple. In other words, this allows patch and minor updates for versions 1.0.0 and above, patch updates for versions 0.X >=0.1.0, and no updates for versions 0.0.X.

0reactions
matthew-andrewscommented, Oct 2, 2016

i believe this isn’t necessary and can be closed

Read more comments on GitHub >

github_iconTop Results From Across the Web

node-fetch - npm
A light-weight module that brings Fetch API to node.js. Latest version: 3.3.0, last published: 2 months ago. Start using node-fetch in your ...
Read more >
Question: how do i update node-fetch???? · Issue #982 - GitHub
Use npm install <packagename>@latest to upgrade to the latest major version of any package not only node-fetch ...
Read more >
How to update each dependency in package.json to the latest ...
Simply change every dependency's version to * , then run npm update --save . (Note: broken in recent (3.11) versions of npm). Before:...
Read more >
@aspida/node-fetch - npm Package Health Analysis | Snyk
Ensure you're using the healthiest npm packages. Snyk scans all the packages in your projects for vulnerabilities and provides automated fix advice.
Read more >
node-fetch-native - UnJS
We can no longer require('node-fetch') with latest version. This stopped popular libraries from upgrading and dependency conflicts between node-fetch@2 and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found