Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency sinon to v15.2.0 #617

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 4, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sinon (source) 15.1.0 -> 15.2.0 age adoption passing confidence

Release Notes

sinonjs/sinon (sinon)

v15.2.0

Compare Source

  • 66b0081e
    Use fake-timers v10.1.0 re-released as v10.3.0 (Carl-Erik Kopseng)

    Version 10.2.0 of fake-timers had an unexpected breaking
    change. We re-released 10.1.0 as 10.3.0 to force users
    into jumping over the deprecated version.

    v10.2.0 was re-released as v11.0.0 and will be part of
    the next Sinon major

  • a79ccaeb
    Support callable instances (#​2517) (bojavou)
    • Support callable instances

    • Clean prettier lint


    Co-authored-by: - <->

  • d220c995
    fix: bundling compatibility with webpack@5 (#​2519) (Avi Vahl)
    • fix: bundling compatibility with webpack@5

    when using webpack v5 to bundle code that calls require('sinon') (cjs) , it would have defaulted to "exports->require" and fail with multiple node-api requirements (util, timers, etc.)

    this patch ensures that anyone who bundles sinon for browser gets the (browser-compatible) esm version.

    tested on both webpack v5 and v4. should be noted that v4 worked even without this patch, as it automatically injected polyfills. v5 no longer does so. with this PR, people using webpack@4 to bundle sinon at least see size improvement, as the polyfills are no longer required.

    • fix: revert change for package.json -> "browser"

    browserify doesn't seem to like esm. leave that entry point alone, and ensure "exports" -> "browser" (which webpack@5 uses) is esm.

Released by Carl-Erik Kopseng on 2023-06-20.

v15.1.2

Compare Source

  • 02b73aed
    Update lock file after removing node_modules ... (Carl-Erik Kopseng)

Released by Carl-Erik Kopseng on 2023-06-12.

v15.1.1

Compare Source

  • 194fc2ef
    Change fake-timers version to specifically target the one containing the 'jump' feature (Carl-Erik Kopseng)

    Instead of the later (breaking) version. See #​470

  • 05f05ac3
    docs: Remove threw(obj) from docs (#​2513) (Morgan Roderick)

    Since the introduction of threw in

    0feec9f, no one have reported that

    threw(obj) doesn't work as the documentation states.

    const sinon = require("sinon");
    
    const o = { pie: "apple" };
    
    const f = sinon.fake.throws(o);
    
    f();
    
    // this is supposed to return true
    
    f.threw(o);
    
    // => false

    Since it has been 12+ years without an error report, it's safe to assume

    that no one uses the threw method in this way. Let's remove it from

    the documentation.

Released by Carl-Erik Kopseng on 2023-06-12.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/sinon-15.x branch 3 times, most recently from 40db65a to 068d7ec Compare September 5, 2023 08:43
@renovate renovate bot force-pushed the renovate/sinon-15.x branch 7 times, most recently from 426b886 to 8fea6d8 Compare September 19, 2023 07:18
@renovate renovate bot force-pushed the renovate/sinon-15.x branch 2 times, most recently from e1a6f41 to 312f90e Compare September 22, 2023 12:22
@renovate renovate bot force-pushed the renovate/sinon-15.x branch 9 times, most recently from ae62a96 to 04160fa Compare October 17, 2023 07:19
@renovate renovate bot force-pushed the renovate/sinon-15.x branch from 04160fa to c32fce3 Compare November 13, 2023 07:04
@renovate renovate bot force-pushed the renovate/sinon-15.x branch 2 times, most recently from 8f9e1cd to 264f9b0 Compare December 22, 2023 15:21
@renovate renovate bot force-pushed the renovate/sinon-15.x branch 5 times, most recently from c8f5f3c to 07c9d79 Compare January 2, 2024 07:38
@renovate renovate bot force-pushed the renovate/sinon-15.x branch from 07c9d79 to a69d12f Compare January 9, 2024 07:29
@renovate renovate bot force-pushed the renovate/sinon-15.x branch 12 times, most recently from 339d5e7 to 95151cd Compare December 20, 2024 10:27
@renovate renovate bot force-pushed the renovate/sinon-15.x branch 12 times, most recently from b95c027 to 602e023 Compare January 8, 2025 09:56
@renovate renovate bot force-pushed the renovate/sinon-15.x branch 3 times, most recently from 81262d5 to 425b0c0 Compare January 15, 2025 08:29
@renovate renovate bot force-pushed the renovate/sinon-15.x branch from 425b0c0 to cb3ca33 Compare January 28, 2025 07:31
@renovate renovate bot force-pushed the renovate/sinon-15.x branch from cb3ca33 to d3e4499 Compare January 28, 2025 07:32
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.

0 participants