Skip to content

Upgrading sinon 16 to 17

Breaking16.1.3 → 17.0.2Breaking2Platform1Changed5Fixed5Other14

BreakingUpgrade verdict

2 breaking changes and a platform requirement change.

  • The sinon.defaultConfig export and its helper modules are gone; they were leftovers from the old sinon.test feature.
  • A testing helper that replaced modules during tests has been removed because it could not handle newer JavaScript syntax.
  • This version no longer supports Node.js 16, which has reached end of life.
3 items need code or config changes

Installs 12 packages in all (was 13).

Breaking2
Removes sinon.defaultConfig and related modules.
sinon.defaultConfigdefault-configget-config
Removes Proxyquire because it did not handle newer syntax.
Proxyquire
Platform1
Drops Node 16 support because it is out of maintenance.