Upgrading sinon 16 to 17
Breaking16.1.3 → 17.0.2Breaking2Platform1Changed5Fixed5Other14
BreakingUpgrade verdict
2 breaking changes and a platform requirement change.
In plain terms
- 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.
Must act 3 items need code or config changes
Installs 12 packages in all (was 13).
What you must change
Breaking2
Removes sinon.defaultConfig and related modules.
sinon.defaultConfigdefault-configget-configRemoves Proxyquire because it did not handle newer syntax.
ProxyquirePlatform1
Drops Node 16 support because it is out of maintenance.