Skip to content

Conversation

@renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Nov 28, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sinon (source) ^14.0.0 -> ^15.0.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.

v15.1.0

Compare Source

  • 79e719f2
    Ensure we use a fake-timers version with clock.jump (Carl-Erik Kopseng)
  • b2a4df5a
    Add docs for clock.jump method (#​2512) (Jason O'Neill)
  • f096abff
    fix (#​2514): only force new or inherited descriptors to be configurable (#​2515) (Carl-Erik Kopseng)

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

v15.0.4

Compare Source

  • e9042c4f
    Handling non-configurable object descriptors on the prototype (#​2508) (Carl-Erik Kopseng)

    This should essentially make decorated methods stubbable again (see #​2491)

  • 430c9a60
    Remove uses of var (#​2506) (Carl-Erik Kopseng)

    Replace var with const where possible in /lib and /test.

    Modified the let codemod to be a codemod.

    Took about half an hour with --watch running

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

v15.0.3

Compare Source

  • b775f1b4
    Avoid tampering with globals and other modules' exports in tests (#​2504) (Carl-Erik Kopseng)
  • 477064b6
    fix: make it possible to call through to underlying stub in stub instance (#​2503) (Carl-Erik Kopseng)

    closes #​2501

  • 6e19746e
    Remove dead Travis and Gitter references (Carl-Erik Kopseng)

Released by Carl-Erik Kopseng on 2023-03-26.

v15.0.2

Compare Source

  • 19bd99f3
    Use no-op for every function when restoring instances (#​2499) (Carl-Erik Kopseng)
  • 8663ffa0
    Upgrade deps (#​2498) (Carl-Erik Kopseng)

    Browserify, supports-color, husky had to be held back.

  • e01275bb
    Un-pin @​sinonjs/fake-timers (#​2495) (Jordan Hawker)

    The commit upgrading from v9 to v10 appears to have accidentally dropped the caret from the version range

  • 6cbde9b0
    fix throws().callsFake() precedence (#​2497) (Eduardo Diaz)

    This makes sure an unconditional callsFake() invoked on the same stub that was previously setup to throw will overwrite the previous behavior. This aligns it with the other behaviors.

  • 45be60f3
    Replace probot/stale with official stale action (Morgan Roderick)

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

v15.0.1

Compare Source

  • aa493da4
    Upgrade to fake-timers v10.0.2 (Carl-Erik Kopseng)

    Contains several fixes

  • b3ee0aa5
    Use Node version 18 in Runkit examples (Carl-Erik Kopseng)

Released by Carl-Erik Kopseng on 2022-12-15.

v15.0.0

Compare Source

  • b75fbfa9
    Fix 2448: remove custom formatter (Morgan Roderick)

    Remove option to pass a custom formatter.

    The sub libraries of Sinon has long moved on to use util.inspect from
    Node. By using that in Sinon itself, we align all the libraries.

Released by Morgan Roderick on 2022-11-28.

v14.0.2

Compare Source

Released by Morgan Roderick on 2022-11-07.

v14.0.1

Compare Source

  • 6c4753ef
    Fixed CSS selectors in _base.scss and changed blockquote default size to 16px. (Jose Lupianez)
  • A bunch of dependency updates

Released by Carl-Erik Kopseng on 2022-10-03.


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.

@codecov-commenter
Copy link

codecov-commenter commented Jul 20, 2023

Codecov Report

Merging #237 (6876004) into main (72ca765) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #237   +/-   ##
=======================================
  Coverage   41.94%   41.94%           
=======================================
  Files          14       14           
  Lines        2093     2093           
  Branches       42       42           
=======================================
  Hits          878      878           
  Misses       1197     1197           
  Partials       18       18           

@renovate-bot renovate-bot force-pushed the renovate/sinon-15.x branch from cb7380b to 6876004 Compare July 20, 2023 18:32
@aabmass aabmass enabled auto-merge (squash) July 20, 2023 18:33
auto-merge was automatically disabled July 20, 2023 19:10

Head branch was pushed to by a user without write access

@renovate-bot renovate-bot force-pushed the renovate/sinon-15.x branch from 6876004 to bcd700d Compare July 20, 2023 19:10
@aabmass aabmass enabled auto-merge (squash) July 20, 2023 19:11
@aabmass aabmass force-pushed the renovate/sinon-15.x branch from bcd700d to c43dd46 Compare July 20, 2023 19:34
auto-merge was automatically disabled July 20, 2023 19:35

Head branch was pushed to by a user without write access

@renovate-bot renovate-bot force-pushed the renovate/sinon-15.x branch from c43dd46 to 532e961 Compare July 20, 2023 19:35
@aabmass aabmass enabled auto-merge (squash) July 20, 2023 19:35
@aabmass aabmass merged commit 9f7aaa5 into google:main Jul 20, 2023
@renovate-bot renovate-bot deleted the renovate/sinon-15.x branch July 20, 2023 19:52
aabmass pushed a commit to aabmass/pprof-nodejs that referenced this pull request Jul 21, 2023
aabmass pushed a commit to aabmass/pprof-nodejs that referenced this pull request Jul 21, 2023
aabmass pushed a commit to aabmass/pprof-nodejs that referenced this pull request Jul 21, 2023
aabmass added a commit that referenced this pull request Jul 21, 2023
* chore(deps): update golang docker tag to v1.17 (#182)

* test: change base Debian image from Debian 9 to Debian 11 to include a supported Python3 version for node-gyp (#187)

* fix(deps): update dependency protobufjs to ~7.2.0 [security] (#254)

* fix(deps): update dependency protobufjs to ~7.2.0 [security]

* Pull in protobufjs-cli tools (pbjs and pbts) and regen proto stubs

* Explicitly upgrade protobufjs past vulnerability, regenerate package-lock.json

---------

Co-authored-by: Aaron Abbott <aaronabbott@google.com>

* Update package-lock so there are no prod vulnerabilities

* chore(deps): update dependency sinon to v15 (#237)

* npm run fix with new package-lock.json

* chore: remove testing in windows from workflow (#202)

* Fix system test to use older npm for compat

* test: bump debian version in system test (#251)

* test: specify python3 when building docker image (#192)

* Use alpine version with python < 3.11

---------

Co-authored-by: WhiteSource Renovate <bot@renovateapp.com>
Co-authored-by: Garrett Wang <garrettwang@google.com>
Co-authored-by: Amarin (Um) Phaosawasdi <amchiclet@users.noreply.github.com>
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.

5 participants