-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
BREAKING(unstable): remove --compat mode #15678
Conversation
Raised by @kt3k there's a question of polyfilling |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This commit removes "compat" mode. We shipped support for "npm:" specifier support in v1.25 and that is preferred way to interact with Node code that we will iterate and improve upon.
It looks like the manual wasn't updated in step with this change. Is there any process for coordinating changes and manual updates? |
As noted in denoland/manual#388, the manual is being completely rewritten so it's tracked there, but yeah this was missed. |
@dsherret Thanks. I'm still interested to know if the rewrite will include some kind of process for coordinating manual updates when changes happen — in order to reduce the likelihood of these misalignments. Is that already the case or not at this time? |
The current process is to update the manual when making a CLI feature change. As stated, this was just missed (probably because it's unstable). |
This commit removes "compat" mode. We shipped support for "npm:" specifier support in v1.25 and that is preferred way to interact with Node code that we will iterate and improve upon. Compat mode adds a loooot of complexity and is ridden with strange bugs.
I'm still not sure about removal of
--compat
- on one hand removal will break people's CIs, on the other I think it's better to break explicitly than accept this flag which will still break CI.Effectively all issues below become irrelevant
(left == right)
#15670thread 'main' panicked at 'Provided URL was not file:// URL:
#14662deno eval
doesn't work with--compat
flag #13883--compat
#13747