Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

Bump sinon from 14.0.2 to 16.0.0 #716

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 1, 2023

Bumps sinon from 14.0.2 to 16.0.0.

Changelog

Sourced from sinon's changelog.

16.0.0

  • 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.

15.2.0

  • 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

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

  • 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.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 1, 2023
@socket-security
Copy link

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: [email protected]

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/sinon-16.0.0 branch from 20227f0 to a6a942d Compare October 1, 2023 13:00
@codecov
Copy link

codecov bot commented Oct 1, 2023

Codecov Report

Merging #716 (7a66fcf) into master (21b5b7b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #716   +/-   ##
=======================================
  Coverage   82.89%   82.89%           
=======================================
  Files          31       31           
  Lines        1222     1222           
=======================================
  Hits         1013     1013           
  Misses        209      209           

Bumps [sinon](https://github.com/sinonjs/sinon) from 14.0.2 to 16.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](sinonjs/sinon@v14.0.2...v16.0.0)

---
updated-dependencies:
- dependency-name: sinon
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/sinon-16.0.0 branch from a6a942d to 7a66fcf Compare October 1, 2023 13:04
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 13, 2023

Superseded by #725.

@dependabot dependabot bot closed this Oct 13, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/sinon-16.0.0 branch October 13, 2023 21:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants