Last 12 weeks · 0 commits
5 of 6 standards met
This PR improves the developer warning message in inject() when used outside setup() or functional components. Before: inject() can only be used inside setup() or functional components. After: inject("userStore") can only be used inside setup() or functional components. This makes it easier for developers to identify which injection key caused the warning. solves issue #13287
Repository: vuejs/vue. Description: This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core Stars: 209927, Forks: 33871. Primary language: TypeScript. Languages: TypeScript (96.6%), JavaScript (1.8%), HTML (0.9%), CSS (0.6%), Shell (0%). License: MIT. Homepage: http://v2.vuejs.org Topics: framework, frontend, javascript, vue. Latest release: v2.7.16 (2y ago). Open PRs: 100, open issues: 522. Last activity: 1y ago. Community health: 75%. Top contributors: yyx990803, vue-bot, Hanks10100, posva, defcc, kazupon, pikax, ktsn, HerringtonDarkholme, javoski and others.
TypeScript
Fixes #12319 Summary This PR fixes: .exact modifier : Failed to generate render function Changes Testing Please review the changes carefully. The fix was verified against the existing test suite. This PR was created with the assistance of Claude Sonnet 4.6 by Anthropic | effort: low. Happy to make any adjustments!*
What kind of change does this PR introduce? (check at least one) [ ] Bugfix [ ] Feature [ ] Code style update [ ] Refactor [ ] Build-related changes [ ] Other, please describe: Does this PR introduce a breaking change? (check one) [ ] Yes [ ] No If yes, please describe the impact and migration path for existing applications: The PR fulfills these requirements: [ ] It's submitted to the branch for v2.x (or to a previous version branch) [ ] When resolving a specific issue, it's referenced in the PR's title (e.g. , where "xxx" is the issue number) [ ] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup [ ] New/updated tests are included If adding a new feature, the PR's description includes: [ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it) Other information:
What kind of change does this PR introduce? (check at least one) [ ] Bugfix [ ] Feature [ ] Code style update [ ] Refactor [ ] Build-related changes [ ] Other, please describe: Does this PR introduce a breaking change? (check one) [x] Yes [ ] No If yes, please describe the impact and migration path for existing applications: The PR fulfills these requirements: [ ] It's submitted to the branch for v2.x (or to a previous version branch) [ ] When resolving a specific issue, it's referenced in the PR's title (e.g. , where "xxx" is the issue number) [ ] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup [ ] New/updated tests are included If adding a new feature, the PR's description includes: [ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it) Other information: