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: v21.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: v21.0.2
Choose a head ref
  • 14 commits
  • 19 files changed
  • 5 contributors

Commits on Dec 19, 2025

  1. Configuration menu
    Copy the full SHA
    6349032 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2026

  1. Configuration menu
    Copy the full SHA
    3cf4e77 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2026

  1. Upgrade most deps

    fatso83 committed Mar 2, 2026
    Configuration menu
    Copy the full SHA
    ef387e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c6aaa87 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    92aaf5c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    766715c View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2026

  1. Configuration menu
    Copy the full SHA
    3beab2b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ebcd506 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2026

  1. docs: add how-to article for stubbing ES module imports (#1832) (#2676)

    * docs: add how-to article for stubbing ES module imports with esm package
    
    Adds a comprehensive How-To guide that addresses issue #1832, documenting
    how to configure Node.js to allow Sinon stubs to work with ES modules.
    
    - Explains why ES module namespace bindings are immutable by spec
    - Shows how to use the 'esm' npm package with mutableNamespace: true
    - Provides a complete working example with project layout, package.json,
      loader file, source modules, and a full test suite
    - Documents limitations (destructured imports, non-standard behavior)
    - Replaces the TODO comment in link-seams-commonjs.md with a cross-reference
    
    Closes #1832
    
    * style: fix prettier formatting in stub-esm-default-export.md
    
    Replace single quotes with double quotes in all JavaScript code
    blocks within the how-to article, as required by the project's
    Prettier configuration.
    
    * Add related article on Typescript and SWC stubbing
    
    Added a related article on real world dependency stubbing using Typescript and SWC.
    
    * Make linting pass: new warnings are from new rules
    
    * Update workflow actions
    
    * Fetch depth = 2
    
    ---------
    
    Co-authored-by: Eduard Barrera <eduardbar@users.noreply.github.com>
    Co-authored-by: Carl-Erik Kopseng <carlerik@gmail.com>
    3 people authored Mar 4, 2026
    Configuration menu
    Copy the full SHA
    ebf0c43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b836fcc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    024321c View commit details
    Browse the repository at this point in the history
  4. prettier

    fatso83 committed Mar 4, 2026
    Configuration menu
    Copy the full SHA
    2948314 View commit details
    Browse the repository at this point in the history
  5. lint-staged -> 16.3.2

    fatso83 committed Mar 4, 2026
    Configuration menu
    Copy the full SHA
    3af394e View commit details
    Browse the repository at this point in the history
  6. 21.0.2

    fatso83 committed Mar 4, 2026
    Configuration menu
    Copy the full SHA
    2d93d68 View commit details
    Browse the repository at this point in the history
Loading