Skip to content

fix: replace deprecated deno x command with deno run - #94

Merged
ai merged 1 commit into
browserslist:mainfrom
keshavagr025:fix/deno-command-deprecation
Aug 27, 2026
Merged

fix: replace deprecated deno x command with deno run#94
ai merged 1 commit into
browserslist:mainfrom
keshavagr025:fix/deno-command-deprecation

Conversation

@keshavagr025

Copy link
Copy Markdown
Contributor

Summary

Replaces the deprecated deno x command with deno run -A when fetching caniuse-lite package information in Deno environments.

Problem & Fix

In Deno 2.0+, deno x is deprecated/removed in favor of standard deno run. Replacing deno x -y with deno run -A suppresses deprecation warnings and maintains compatibility across both Deno 1.x and Deno 2.x.

@ai
ai merged commit 9a7b7e4 into browserslist:main Aug 27, 2026
7 checks passed
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