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 devdependency sinon to v17 #91

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 24, 2023

Mend Renovate logo banner

This PR contains the following updates:

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

Release Notes

sinonjs/sinon (sinon)

v17.0.1

Compare Source

Released by Carl-Erik Kopseng on 2023-11-01.

v17.0.0

Compare Source

  • 11a8e3f2
    Remove Proxyquire as it did not handle newer syntax (Carl-Erik Kopseng)
  • ec37d634
    Drop Node 16, as it is out of maintenance (Carl-Erik Kopseng)
  • 75e2b691
    Upgrade fake-timers@11.2.2: new Intl mirroring and bugfixes (Carl-Erik Kopseng)

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

v16.1.3

Compare Source

  • 93e8aa93
    Remove postinstall script as it causes issues for consumers (Carl-Erik Kopseng)

Released by Carl-Erik Kopseng on 2023-10-19.

v16.1.2

Compare Source

v16.1.1

Compare Source

Released by Carl-Erik Kopseng on 2023-10-18.

v16.1.0

Compare Source

  • cac5184b
    Enable use of assignment in the presence of accessors (#​2538) (Carl-Erik Kopseng)
  • f8c20e54
    New article: making Sinon work with complex setups (#​2540) (Carl-Erik Kopseng)

    Co-authored-by: Morgan Roderick morgan@roderick.dk >

  • cb5b9621
    Add NPM script 'dev-docs' and document its usage (Carl-Erik Kopseng)
  • dd7c6091
    Add a little update to contributing (Carl-Erik Kopseng)
  • 79acdf38
    Move tool versions into single file at root (Carl-Erik Kopseng)
  • 03b1db50
    Expose Changelog page (#​2550) (Carl-Erik Kopseng)
  • e1c3dad2
    Add section on tooling and recommend using ASDF for tool versioning (#​2547) (Carl-Erik Kopseng)
    Released by Carl-Erik Kopseng on 2023-10-05.

v16.0.0

Compare Source

  • c3396058
    fix(2525): ensure non empty message when error of type string is passed, but no message (#​2544) (Mark de Dios)
  • baa1aee9
    .define method (#​2539) (Konstantin Gukov)
    • .define method for temporarily defining new properties during the tests
  • fe799e78
    Fix issue 2534: spies are not restored (#​2535) (Carl-Erik Kopseng)
  • 305fb6cc
    fix: actaully reset 'injectedKeys' (#​2456) (Morgan Roderick)
  • de2635dd
    Bump LTS version one notch: 20 (#​2529) (Carl-Erik Kopseng)

Released by Morgan Roderick on 2023-09-13.

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 becomes conflicted, 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 has been generated by Mend Renovate. View repository job log here.

@danielroe danielroe merged commit 20f95e4 into master Nov 17, 2023
1 check passed
@danielroe danielroe deleted the renovate/sinon-17.x branch November 17, 2023 10:43
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