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

Deprecated dependencies in Wrangler v3.91.0 causing warnings #7373

Closed
princegearydymosco opened this issue Nov 27, 2024 · 1 comment
Closed
Labels
bug Something that isn't working

Comments

@princegearydymosco
Copy link

Which Cloudflare product(s) does this pertain to?

Workers for Platforms

What version(s) of the tool(s) are you using?

3.91.0

What version of Node are you using?

No response

What operating system and version are you using?

Windows 11

Describe the Bug

Describe the bug
When installing wrangler@3.91.0, several warnings about deprecated dependencies are observed:

  • rollup-plugin-inject: Deprecated, no longer maintained. Recommendation: use @rollup/plugin-inject.
  • sourcemap-codec: Deprecated. Recommendation: use @jridgewell/sourcemap-codec.

These warnings indicate that wrangler relies on outdated packages, which could lead to long-term maintenance and compatibility issues.

Observed behavior
During the installation of wrangler@3.91.0 using npm install, the following warnings are generated:

npm WARN deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead.

Expected behavior
The installation of wrangler should not produce warnings about deprecated dependencies. All dependencies should be actively maintained and supported.

image

Please provide a link to a minimal reproduction

No response

Please provide any relevant error logs

No response

@princegearydymosco princegearydymosco added the bug Something that isn't working label Nov 27, 2024
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Nov 27, 2024
@penalosa
Copy link
Contributor

This is a duplicate of #6189, and will be resolved in #7334. To note, these dependencies are only used if you turn on the node_compat flag in your Wrangler config file

@github-project-automation github-project-automation bot moved this from Untriaged to Done in workers-sdk Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working
Projects
None yet
Development

No branches or pull requests

2 participants