-
-
Notifications
You must be signed in to change notification settings - Fork 120
Does @babel/runtime
still need pin?
#519
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
Comments
I briefly looked at opening a PR myself to at least change the
Using npm overrides in an Ember app with However I see now that there is an existing issue #442 suggesting that there are/were some known compatibility issues (which appears similar to the one I saw in |
Looks like the underlying issue with
Unfortunately I'm not in a position to investigate this further right now, just trying to point the way in case there is someone with an idea of how to fix this. |
So I've figured out a potential fix, at least in POC form. But as far as I can tell, it requires a change to https://github.com/ember-cli/loader.js to allow imports with a I have a draft PR with that change here: ember-cli/loader.js#227 — but it only handles the edit: however 2nd edit: I eventually tried the reproduction app linked from #442 and could not reproduce if I applied my loader.js change. So maybe that would fix it? |
I commented here #442 (comment) But the path forward for people hitting this is to stop using the The linked comment explains how to use We do not want to make a major behavior change to loader.js or ember-cli-babel because both are effectively stable legacy code. The v2 app blueprint uses neither. |
OK, thanks @ef4. So if I'm understanding correctly, the solution to clearing the advisory is:
Please feel free to correct if I've misunderstood anything. |
Depending explicitly on latest FWIW, ef4's above-linked comment also suggests adding |
Uh oh!
There was an error while loading. Please reload this page.
@babel/runtime
was pinned to v7.12.8 in #385 (March 2021) due to 'workaround test failures in CI for the "Floating dependencies" scenario.'Is this pin still needed / relevant? As it stands, this appears to block fully updating
@babel/runtime
to v7.26.10 in an Ember app using ember-cli-babel (see GHSA-968p-4wvh-cqc8). Alternatively we could use NPM overrides, but this is less ideal and I'll need to check there isn't some compatibility issue.The text was updated successfully, but these errors were encountered: