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: sinonjs/sinon
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v15.0.1
Choose a base ref
...
head repository: sinonjs/sinon
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v15.0.3
Choose a head ref
  • 10 commits
  • 22 files changed
  • 4 contributors

Commits on Mar 9, 2023

  1. Replace probot/stale with official stale action

    The probot action is no longer listed in their catalog, clearly hasn't
    been working for awhile and isn't maintained anymore.
    
    Let's hope the official one will be working for awhile 🤞.
    
    See:
    - probot/probot.github.io#376
    - https://probot.github.io/apps/stale/
    - https://github.com/probot/stale
    mroderick committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    45be60f View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2023

  1. fix throws().callsFake() precedence (#2497)

    This makes sure an unconditional `callsFake()` invoked on the same stub that was previously setup to throw will overwrite the previous behavior. This aligns it with the other behaviors.
    ziluvatar authored Mar 12, 2023
    Configuration menu
    Copy the full SHA
    6cbde9b View commit details
    Browse the repository at this point in the history
  2. Un-pin @sinonjs/fake-timers (#2495)

    The commit upgrading from v9 to v10 appears to have accidentally dropped the caret from the version range, pinning it to a single version: aa493da
    
    Un-pinning the version will allow sinon and its consumers to automatically pick up new in-range versions of @sinonjs/fake-timers as they're released in the future.
    elwayman02 authored Mar 12, 2023
    Configuration menu
    Copy the full SHA
    e01275b View commit details
    Browse the repository at this point in the history
  3. Upgrade deps (#2498)

    * Update minor versions
    
    * Upgrade Puppeteer
    
    * commons 3.0
    
    * Upgrade remaining
    
    Browserify, supports-color, husky had to be held back.
    Browserify seems to change bundling so that
    Puppeteer tests are failing for some reason
    fatso83 authored Mar 12, 2023
    Configuration menu
    Copy the full SHA
    8663ffa View commit details
    Browse the repository at this point in the history
  4. Use no-op for every function when restoring instances (#2499)

    * issue-2477 Use no-op for every function when restoring instances
    * Change wording to not depend on mutator type in tests
    fatso83 authored Mar 12, 2023
    Configuration menu
    Copy the full SHA
    19bd99f View commit details
    Browse the repository at this point in the history
  5. 15.0.2

    fatso83 committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    7838b57 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6e19746 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2023

  1. fix: make it possible to call through to underlying stub in stub inst…

    …ance (#2503)
    
    * fix: make it possible to call through to underlying stub in stub instances
    
    refs #2477
    refs #2501
    
    * internal: Extract underlying createStubInstance
    
    * internal: extract tests into own module
    
    * internal: extract sinon type checking into own module
    
    closes #2501
    fatso83 authored Mar 26, 2023
    Configuration menu
    Copy the full SHA
    477064b View commit details
    Browse the repository at this point in the history
  2. Avoid tampering with globals and other modules' exports in tests (#2504)

    * fix: do not modify the Function prototype when running tests
    
    Made a single test fail as the Function prototype had been mutated by a later test in the test suite.
    
    refs #2502
    
    * fix: do not mutate matcher object message
    
    This made 3 of the assertion tests fail when re-running as Sinon's spy formatter changed the exports of the samsam module
    
    * Use latest version of samsam to get immutable messages
    
    Ensure we cannot do the same mistake again
    fatso83 authored Mar 26, 2023
    Configuration menu
    Copy the full SHA
    b775f1b View commit details
    Browse the repository at this point in the history
  3. 15.0.3

    fatso83 committed Mar 26, 2023
    Configuration menu
    Copy the full SHA
    8a1d5c6 View commit details
    Browse the repository at this point in the history
Loading