Skip to content

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

Closed
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/sinon-15.x
Closed

chore(deps): update dependency sinon to v15.2.0#617
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/sinon-15.x

Conversation

@renovate
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 7 times, most recently from a1dec25 to 715cba1 Compare May 7, 2024 12:24
@renovate renovate bot force-pushed the renovate/sinon-15.x branch from 715cba1 to 9fc3311 Compare May 15, 2024 08:43
@renovate renovate bot force-pushed the renovate/sinon-15.x branch 5 times, most recently from 4aa15ac to ad498f1 Compare June 7, 2024 06:36
@renovate renovate bot force-pushed the renovate/sinon-15.x branch 5 times, most recently from f441d72 to e5e618f Compare June 18, 2024 11:43
@renovate renovate bot force-pushed the renovate/sinon-15.x branch 3 times, most recently from 8689ee7 to 41404c6 Compare August 6, 2024 13:19
@renovate renovate bot force-pushed the renovate/sinon-15.x branch 8 times, most recently from 801f94b to 34327e7 Compare August 19, 2024 13:01
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.

1 participant