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 undici dep #7980

Merged
merged 1 commit into from
Aug 8, 2023
Merged

Remove undici dep #7980

merged 1 commit into from
Aug 8, 2023

Conversation

bluwy
Copy link
Member

@bluwy bluwy commented Aug 7, 2023

Changes

Remove undici dependency as Node.js 18 now includes it ootb.

Testing

Existing tests should pass. I also ran the astro, node integration, and telemetry tests locally.

Docs

n/a. internal change.

@changeset-bot
Copy link

changeset-bot bot commented Aug 7, 2023

🦋 Changeset detected

Latest commit: dcc1170

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added pkg: integration Related to any renderer integration (scope) pkg: astro Related to the core `astro` package (scope) labels Aug 7, 2023
Comment on lines +37 to 39
function isNodeResponse(value: any): value is Response {
return !!(value as Response).body;
}
Copy link
Member

Choose a reason for hiding this comment

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

Do we even need this util anymore?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's used to check the types below, and could probably be instanceof Response too. But I think I'll leave it for now to simplify the change.

@bluwy bluwy merged commit 10ec4c7 into next Aug 8, 2023
23 of 26 checks passed
@bluwy bluwy deleted the remove-undici-dep branch August 8, 2023 07:04
ematipico pushed a commit that referenced this pull request Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope) pkg: integration Related to any renderer integration (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants