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

Remove 'make-fetch-happen' dependency #4247

Conversation

vrubezhny
Copy link
Contributor

@vrubezhny vrubezhny commented Jul 1, 2024

As Fetch API is compatible with Node.js >= v18, the engine and dependencies are accordingly updated:

  • engines:
"npm": ">=8.6.0",
"node": ">=18.0.0"
  • devDependencies:
"@types/node": "^18.19.39",

@vrubezhny vrubezhny force-pushed the fix-remove-make-fetch-happen-dependency branch 2 times, most recently from a38d4c5 to 1f7db43 Compare July 1, 2024 19:28
@codecov-commenter
Copy link

codecov-commenter commented Jul 1, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 43.81%. Comparing base (da60441) to head (431a178).
Report is 331 commits behind head on main.

Files Patch % Lines
src/registriesView.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #4247       +/-   ##
===========================================
+ Coverage   32.37%   43.81%   +11.44%     
===========================================
  Files          85       95       +10     
  Lines        6505     7707     +1202     
  Branches     1349     1647      +298     
===========================================
+ Hits         2106     3377     +1271     
+ Misses       4399     4330       -69     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vrubezhny vrubezhny force-pushed the fix-remove-make-fetch-happen-dependency branch from 1f7db43 to 1929fe9 Compare July 1, 2024 20:46
@vrubezhny vrubezhny requested a review from datho7561 July 1, 2024 20:59
@vrubezhny vrubezhny self-assigned this Jul 1, 2024
@vrubezhny vrubezhny force-pushed the fix-remove-make-fetch-happen-dependency branch from 1929fe9 to 00b45b7 Compare July 1, 2024 23:04
Copy link
Contributor

@datho7561 datho7561 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work for me, but we should update the engine version if we are making this change so that versions of VS Code that don't come with Node 18 can't download this update.

package.json Outdated Show resolved Hide resolved
@vrubezhny vrubezhny force-pushed the fix-remove-make-fetch-happen-dependency branch 3 times, most recently from 6f234a2 to 21b7bcf Compare July 2, 2024 18:35
As Fetch API is compatible with Node.js >= v18, the engine and dependencies are accordingly updated:

- engines:
```
"vscode": "^1.82.3",
"npm": ">=8.6.0",
"node": ">=18.0.0"
```
- devDependencies:
```
"@types/node": "^18.19.39",
...
"@types/vscode": "1.82.0",
```

Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com>
@vrubezhny vrubezhny force-pushed the fix-remove-make-fetch-happen-dependency branch from 21b7bcf to 431a178 Compare July 2, 2024 18:51
@vrubezhny vrubezhny requested a review from datho7561 July 2, 2024 18:52
Copy link
Contributor

@datho7561 datho7561 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks, Victor!

@datho7561 datho7561 merged commit 8b3dfb3 into redhat-developer:main Jul 2, 2024
4 checks passed
@vrubezhny vrubezhny added this to the 1.15.0 milestone Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants