Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sinon

Package Overview
Dependencies
Maintainers
2
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sinon - npm Package Versions

23
21

19.0.2

Diff

Changelog

Source

19.0.2

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

fatso83
published 19.0.1 •

Changelog

Source

19.0.1

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

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

fatso83
published 19.0.0 •

Changelog

Source

19.0.0

  • 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 mail@maxantoni.de

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

fatso83
published 18.0.1 •

Changelog

Source

18.0.1

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

  • 03e33ec6 Pin fake-timers@11.2.2 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] support@github.com

    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] support@github.com

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

    • Release notes >
    • Changelog >
    • Commits > > --- > updated-dependencies: >
    • dependency-name: rexml > dependency-type: indirect > ... > > Signed-off-by: dependabot[bot] support@github.com > Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

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

fatso83
published 18.0.0 •

Changelog

Source

18.0.0

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.

fatso83
published 17.0.2 •

Changelog

Source

17.0.2

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

fatso83
published 17.0.1 •

Changelog

Source

17.0.1

  • 5fde5aeb fix returns does not override call through (#2567) (Raz Luvaton)
  • b5fc3671 Documentation for assertion options for the sandbox (#2564) (Carl-Erik Kopseng)
  • f7d180cc fix: assertion log limit (#2485) (Spencer Goossens)
  • 4f538e3e Fix mochify breaking on node:assert (#2559) (Carl-Erik Kopseng)

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

fatso83
published 17.0.0 •

Changelog

Source

17.0.0

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

fatso83
published 16.1.3 •

Changelog

Source

16.1.3

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

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

fatso83
published 16.1.2 •

23
21
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc