npm / d3-drag
d3-drag
What changed in d3-drag 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
3 breaking1 behavior and defaults
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initd3-drag 34 changes
Breaking changes 3
The package publishes an ES module bundle instead of separate source files.
The package now requires Node.js 12 or higher.
The package adopts type: module, changing how Node.js interprets its JavaScript files.
Behavior and default changes 1
Some event listeners are declared non-passive, which can affect event handling behavior.