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 v19 #26

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 2, 2024

This PR contains the following updates:

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

Release Notes

sinonjs/sinon (sinon)

v19.0.2

Compare Source

  • 4eb4c4bc
    Use fix 13.0.2 version of fake-timers to get Date to pass instanceof checks (Carl-Erik Kopseng)
  • a5b03db3
    Add links to code that is affected by the breaking changes (Carl-Erik Kopseng)

Released by Carl-Erik Kopseng on 2024-09-13.

v19.0.1

Compare Source

  • 037ec2d2
    Update migration docs (Carl-Erik Kopseng)

Released by Carl-Erik Kopseng on 2024-09-13.

v19.0.0

Compare Source

  • 3534ab4f
    Bump samsam and nise to latest versions (#​2617) (Carl-Erik Kopseng)

    Ensures consistency and less breakage when there are "circular" dependencies.

  • 912c568d
    upgrade fake timers and others (#​2612) (Carl-Erik Kopseng)
    • Upgrade dependencies (includes breaking API in Fake Timers)
    • fake-timers: no longer creating dates using the original Date class, but a subclass (proxy)
  • 9715798e
    Use newer @​mochify/* packages (#​2609) (Carl-Erik Kopseng)

    Co-authored-by: Maximilian Antoni [email protected]

Released by Carl-Erik Kopseng on 2024-09-13.

v18.0.1

Compare Source

Basically a patch release to update a transitive dependency in Nise.

  • 03e33ec6
    Pin [email protected] to avoid breaking change (Carl-Erik Kopseng)
  • 5a7924ad
    Add createStubInstance header in stubs.md (Daniel Kaplan)
  • ad6804cd
    Bump elliptic from 6.5.5 to 6.5.7 (#​2608) (dependabot[bot])
  • 033287bd
    Bump path-to-regexp and nise (#​2611) (dependabot[bot])

    Bumps path-to-regexp to 8.1.0 and updates ancestor dependency nise. These dependencies need to be updated together.

    Updates path-to-regexp from 6.2.2 to 8.1.0

    Updates nise from 6.0.0 to 6.0.1


    updated-dependencies:

    • dependency-name: path-to-regexp

      dependency-type: indirect

    • dependency-name: nise

      dependency-type: direct:production

    ...

    Signed-off-by: dependabot[bot] [email protected]

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@​users.noreply.github.com>

  • 0c609f95
    re-add testing of esm browser builds (Carl-Erik Kopseng)

    It seems unclear why it was removed in the first place: I have tested extensively that it
    does work and it does fail the build if changing any assertion in the script

  • da4230a0
    Bump braces from 3.0.2 to 3.0.3 (#​2605) (dependabot[bot])

    Bumps braces from 3.0.2 to 3.0.3.


    updated-dependencies:

    • dependency-name: braces

      dependency-type: indirect

    ...

    Signed-off-by: dependabot[bot] [email protected]

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@​users.noreply.github.com>

  • 02542370
    feat(ci): add node v22 (#​2600) (Rotzbua)
  • 794cb81a
    fix(tests): typo (#​2603) (Rotzbua)
  • 1eb2a254
    Use NodeJS 22.2.0 as base development version (Carl-Erik Kopseng)
  • 1aa713fd
    Bump rexml from 3.2.5 to 3.2.8 (#​2599) (dependabot[bot])

    Bumps rexml from 3.2.5 to 3.2.8. >

Released by Carl-Erik Kopseng on 2024-09-10.

v18.0.0

Compare Source

This is what 17.0.2 should have been, as that contained two breaking changes. After updating
Nise we are down to one breaking change, which only affects sinon-test (which has been updated),
so most people are not affected. The legacyRoutes flag that is currently enabled in Nise by default
will at some later version be disabled. We will then issue a little migration note.

  • 01d45312
    Use Nise 6 with legacyRoutes flag enabled (Carl-Erik Kopseng)

    This should be disabled in a future Sinon version by default.

  • c618edc5
    fix #​2594: remove needless sandbox creation (Carl-Erik Kopseng)

Released by Carl-Erik Kopseng on 2024-05-15.

v17.0.2

Compare Source

  • f6dca0ba
    upgrade packages (#​2595) (Carl-Erik Kopseng)
  • 5025d001
    Avoid return and callArg* clearing each other's state (#​2593) (Carl-Erik Kopseng)
    • Partially revert "fix returns does not override call through (#​2567)"
    • revert to the old manual clearing of props
  • ed068a88
    Bump ip from 1.1.8 to 1.1.9 (#​2587) (dependabot[bot])
  • ec4d592e
    fix #​2589: avoid invoking getter as side-effect (#​2592) (Carl-Erik Kopseng)
  • 9972e1e3
    Fix typo in mocks documentation (#​2591) (Eduardo de la Cruz Palacios)
  • 52e6e4c5
    chore: prefer cache option of setup-node (Morgan Roderick)
  • 08da1235
    Bump actions/cache from 3 to 4 (dependabot[bot])
  • 404ef47e
    Bump nokogiri from 1.14.3 to 1.16.2 (dependabot[bot])
  • fd79612c
    Update Bug_report.md (Carl-Erik Kopseng)
  • 1fbc812a
    Re-add about (Carl-Erik Kopseng)
  • fc8f6c3e
    Fix formatting :clown: (Carl-Erik Kopseng)
  • c57e38ae
    Remove old template (Carl-Erik Kopseng)
  • 754bf7a9
    Update Bug_report.md (Carl-Erik Kopseng)
  • 87eed9d2
    Fix some typos at code comments (#​2581) (EliyahuMachluf)
  • cbae6997
    Link to createStubInstance util.md docs in stubs.md (#​2577) (Daniel Kaplan)
  • adcf936d
    Fix Mocha watch task by delegating to Node (#​2573) (Carl-Erik Kopseng)
  • 30ad2372
    prettier:write (Carl-Erik Kopseng)
  • 45c4d6b9
    Remove outdated info from README (#​2571) (Carl-Erik Kopseng)
  • 6c9f5c2a
    Add a notice that the Fake Timers API doc is incomplete (#​2570) (Carl-Erik Kopseng)
  • 93db3ef3
    breaking: Remove sinon.defaultConfig and related modules (#​2565) (Carl-Erik Kopseng)
    • breaking: Remove sinon.defaultConfig and related modules

    default-config and get-config are leftovers from when Sinon

    shipped with sinon.test (now the independent NPM module

    'sinon-test').

Released by Carl-Erik Kopseng on 2024-05-07.

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 [email protected]: 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 [email protected] >

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


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 was generated by Mend Renovate. View the repository job log.

Copy link

sourcery-ai bot commented Dec 2, 2024

Reviewer's Guide by Sourcery

This PR updates the sinon dependency from version 15.2.0 to 19.0.0. The update includes several major version bumps (v16-v19) with breaking changes primarily related to internal dependencies, Node.js version support, and API modifications.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update sinon dependency with breaking changes
  • Drop support for Node.js 16
  • Remove sinon.defaultConfig and related modules
  • Update fake-timers to v11.2.2 with new Intl mirroring
  • Add new .define method for temporarily defining properties during tests
  • Fix various bugs related to stubs, spies, and assertions
package.json
package-lock.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

coderabbitai bot commented Dec 2, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, renovate[bot]!). We assume it knows what it's doing!

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