Skip to content

Re-introduce support for node.js 16#284

Merged
budziam merged 3 commits intomainfrom
mb/use-built-in-http-client
Feb 7, 2025
Merged

Re-introduce support for node.js 16#284
budziam merged 3 commits intomainfrom
mb/use-built-in-http-client

Conversation

@budziam
Copy link
Contributor

@budziam budziam commented Feb 7, 2025

Description

With the introduction of SC5 (#265), the fetch module was used for making HTTP requests. Since this module is supported from Node.js 18.x onward, we unintentionally dropped support for Node.js 16.x.

This PR replaces fetch with the http module to restore compatibility.

Types of Changes

What types of changes does your code introduce? Keep the ones that apply:

  • Bug fix (non-breaking change which fixes an issue)

@budziam budziam merged commit 4d45edd into main Feb 7, 2025
8 checks passed
@budziam budziam deleted the mb/use-built-in-http-client branch February 7, 2025 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments