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

Drop ie11 code #1539

Merged
merged 3 commits into from
Dec 24, 2023
Merged

Drop ie11 code #1539

merged 3 commits into from
Dec 24, 2023

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Dec 24, 2023

(This builds off #1538 because otherwise it would conflict.)

ef4 added 2 commits December 24, 2023 13:03
While working toward [strict-es-modules](emberjs/rfcs#938), I found that under real ES modules, this feature-detection code will become eager, which makes it blow up inside all versions of ember-cli-htmlbars before ember-cli/ember-cli-htmlbars#786, because ember-cli-htmlbars insists on evaluating the template compiler bundle inside a VM with no valid `URL` global.

While that is now fixed in an upcoming major of ember-cli-htmlbars, people can't benefit from that until their very last addon upgrades ember-cli-htmlbars.

So it's also good to fix this directly, by making the feature detection code explicitly lazy.
@NullVoxPopuli
Copy link
Contributor

NullVoxPopuli commented Dec 24, 2023

@ef4 pnpm lintfix will get ya green -- I pushed it up for ya!

@NullVoxPopuli NullVoxPopuli merged commit bdf6e4a into main Dec 24, 2023
6 checks passed
@NullVoxPopuli NullVoxPopuli deleted the drop-ie11-code branch December 24, 2023 19:41
@ef4
Copy link
Contributor Author

ef4 commented Dec 24, 2023

Thanks. Prettier was acting weird for me in this repo, but now I can't reproduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants