Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Fix nodejs deprecated warning #118

Closed
wants to merge 2 commits into from
Closed

Conversation

riderx
Copy link

@riderx riderx commented Jan 25, 2024

This Pr fix the issue about deprecated warning reference from #117

@riderx riderx requested a review from a team as a code owner January 25, 2024 17:16
@cagataygurturk
Copy link

Any ETA for its release?

@andykenward
Copy link

@riderx can we also update the build cli esbuild target from es2021 to node20?

From

"build": "npx esbuild src/index.ts --bundle --platform=node --target=es2021 --outfile=index.js",

To

"build": "npx esbuild src/index.ts --bundle --platform=node --target=node20 --outfile=index.js",

@albbus-stack
Copy link

This is not that big of a deal and it should have been already merged to comply with the deprecation 😢

Copy link

@Goooler Goooler left a comment

Choose a reason for hiding this comment

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

And you can update the description to

Closes #117.

That issue will be closed once this PR gets merged.

@benminer
Copy link

Any reason this hasn't been merged yet?

@Fabio1988
Copy link

what's the blocker of this?

@riderx
Copy link
Author

riderx commented Jul 8, 2024

Thanks @andykenward i modified it!
I'm not a core contributor, so I cannot do much more than a PR

@riderx
Copy link
Author

riderx commented Jul 8, 2024

Maybe @WalshyDev if you can report internally it, it would be super nice <3

@WalshyDev
Copy link
Member

cc: @cloudflare/banda-team

@andykenward
Copy link

andykenward commented Jul 9, 2024

Also need to update @types/node to 20. Plus we can remove the usage of the NPM package "undici" for fetch as Node.js 20 supports fetch natively.

https://nodejs.org/docs/latest-v20.x/api/globals.html#fetch

@Chemaclass
Copy link

What is preventing merging this PR?

@Nathan-Heller
Copy link

Is there any reason this hasn't been merged yet?

@linhub15
Copy link

Is there any reason this hasn't been merged yet?

This repo is going to be deprecated. #131

Use wrangler-action instead to deploy pages.
https://github.com/cloudflare/wrangler-action?tab=readme-ov-file#deploy-your-pages-site-production--preview

@nprogers
Copy link

Thank you for your help in maintaining this repository 🧡. We've migrated to wrangler-action and are making improvements to ensure that contributions like this will be more easily integrated and better supported. Please come join us at wrangler-action!

@nprogers nprogers closed this Oct 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.