Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vuejs/core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.2.30
Choose a base ref
...
head repository: vuejs/core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.2.31
Choose a head ref
  • 4 commits
  • 23 files changed
  • 3 contributors

Commits on Feb 12, 2022

  1. Copy the full SHA
    0342fae View commit details
  2. Copy the full SHA
    436c500 View commit details
  3. fix(runtime-core): allow spying on proxy methods (#4216)

    Since Jest v26.6.1, the mock method changed (see this commit jestjs/jest@30e8020)  to rely on `Object.defineProperty` in some cases.
    
    This breaks spying on proxy's methods, because even if Jest is properly calling `Object.defineProperty`, the cached value in the `get` section of the proxy is never updated, and the spy is in fact never used.
    This is easily reproducible as vue-next already uses a version of jest with these changes.
    
    This is blocking projects (like vue-test-utils-next and vue-cli) to update to recent Jest versions.
    
    This commit adds a `defineProperty` method to the proxy handler, that properly updates the defined value in the cache.
    cexbrayat authored Feb 12, 2022
    1
    Copy the full SHA
    8457d8b View commit details
  4. release: v3.2.31

    yyx990803 committed Feb 12, 2022
    Copy the full SHA
    d56dec6 View commit details
Loading