Upgrading react-dropzone 15 to 16
Breaking15.0.0 → 16.0.0Breaking1Platform1Other1
BreakingUpgrade verdict
1 breaking change and a platform requirement change.
In plain terms
- The package no longer ships a browser script-tag build or the old dist/es/ folder. It now provides only modern ESM and CommonJS entry points, so anyone loading it from a CDN script tag or importing the old deep paths must switch to the new entry points.
- Building the package now needs Node.js version 20 or newer.
Must act 2 items need code or config changes
Node.js requirement changed in 16.0.0: >= 10.13 → >= 20.
What you must change
Breaking1
Drops the UMD build and dist/es/; the package is now ESM + CJS with "type": "module" and an exports map.
dist/index.jsdist/index.cjsdist/es/Platform1
Requires Node >= 20 to build.