You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suppose it should be moved to parameters function under arguments length check.
However I'm not in the context of this change in #15022 PR.
Additional context
We are using babel as part of ember-cli build. So, in the updated version we have an issue with source map validation. I was able to localize the issue to source map generation, specially to extra name field in the decoded mappings property of source map. If you will check the current and old behaviour you will find an extra element in the decoded mappings. This element represents the name index in the names array.
Note: Not really sure that it's an issue. However anyway it's breaking change of source map validation.
The text was updated successfully, but these errors were encountered:
Hey @lNikolayl! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.
If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite.
I suppose it should be moved to parameters function under arguments length check.
However I'm not in the context of this change in #15022 PR.
Sorry I didn't understand what you mean, can you explain?
We append the identifier name to ( on purpose.
Because in many of the methods below, it is more desirable to append the identifier name to ( than to "fn"]:function(.
Oh, thank you, I got it. Inside Ember pipeline there is sourcemap validation stage and with the new version of babel all sourcemaps marked as invalid due to this change. In this case it's breaking change. Seems it should be addressed to the validator side. The issue is described here.
馃捇
How are you using Babel?
Other (Next.js, Gatsby, vue-cli, ...)
Input code
Possible way to reproduce:
Configuration file name
No response
Configuration
No response
Current and expected behavior
Current source map:
After mappings decoding:
On the previous version of babel (@babel/core: 7.20.12; @babel/generator: 7.20.14) mappings decoding is:
Environment
npmPackages:
@babel/core: 7.21.5
@babel/generator: 7.21.5
Possible solution
On #15022 I've observed this change in
methods.ts
file:I suppose it should be moved to
parameters
function under arguments length check.However I'm not in the context of this change in #15022 PR.
Additional context
We are using babel as part of ember-cli build. So, in the updated version we have an issue with source map validation. I was able to localize the issue to source map generation, specially to extra name field in the decoded mappings property of source map. If you will check the current and old behaviour you will find an extra element in the decoded mappings. This element represents the name index in the
names
array.Note: Not really sure that it's an issue. However anyway it's breaking change of source map validation.
The text was updated successfully, but these errors were encountered: