Skip to content

fix(core): Make moduleMetadata injection snippet ES5-compliant #774

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

Merged
merged 1 commit into from
Jul 29, 2025

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Jul 28, 2025

Analogously to #773 for v2, this PR makes the moduleMetadata injection code snippet fully ES5-compliant by replacing Object.assign with an ES5-native assign "polyfill". (TIL about the arguments object). The merge strategy here is slightly different form #773 but as long as integration tests pass, I think this is fine.

@Lms24 Lms24 requested review from timfish and andreiborza July 28, 2025 15:46
@Lms24 Lms24 self-assigned this Jul 28, 2025
@Lms24 Lms24 changed the title fix(core): Make moduleMetadata injection snippet fully ES5-compliant fix(core): Make moduleMetadata injection snippet ES5-compliant Jul 28, 2025
@Lms24 Lms24 merged commit f2cdce6 into main Jul 29, 2025
23 checks passed
@Lms24 Lms24 deleted the lms/fix-core-remove-object-assign-moduleMetadata branch July 29, 2025 07:41
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