Skip to content

Conversation

@yamachi4416
Copy link
Contributor

@yamachi4416 yamachi4416 commented Nov 1, 2025

fix(runtime-utils): pass all globalProperties in mount + render helpers

πŸ”— Linked issue

resolves #1102

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Non-enumerable properties were not merged and weren't set on globalProperties, so made them enumerable.
mergeAppConfig

@yamachi4416 yamachi4416 changed the title fix(runtime-utils): set global.config.globalProperties in mount + r… fix(runtime-utils): set global.config.globalProperties in mount + render helpers Nov 1, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 1, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@nuxt/test-utils@1476

commit: 636c09f

@yamachi4416 yamachi4416 force-pushed the fix/set-config-globalProperties-in-mount-render-helpers branch from 3bdb1e0 to 905d84d Compare November 1, 2025 11:36
@yamachi4416 yamachi4416 changed the title fix(runtime-utils): set global.config.globalProperties in mount + render helpers fix(runtime-utils): pass all globalProperties in mount + render helpers Nov 1, 2025
@yamachi4416 yamachi4416 marked this pull request as ready for review November 1, 2025 13:46
@yamachi4416 yamachi4416 force-pushed the fix/set-config-globalProperties-in-mount-render-helpers branch 2 times, most recently from 40a278f to d577ceb Compare November 1, 2025 15:07
@yamachi4416 yamachi4416 force-pushed the fix/set-config-globalProperties-in-mount-render-helpers branch from d577ceb to 636c09f Compare November 2, 2025 22:53
Copy link
Member

@danielroe danielroe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❀️

@danielroe danielroe merged commit a744b65 into nuxt:main Nov 3, 2025
7 checks passed
@github-actions github-actions bot mentioned this pull request Nov 3, 2025
@yamachi4416 yamachi4416 deleted the fix/set-config-globalProperties-in-mount-render-helpers branch November 3, 2025 22:04
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.

Global helpers from plugins not available in test context

2 participants