# What changed in d3-drag

> 4 changes in d3-drag 3 from its official release notes, upgrade guides and advisories: 3 breaking. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/d3-drag/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## d3-drag 3

### Breaking changes

- The package publishes an ES module bundle instead of separate source files. (3.0.1) — [release notes](https://github.com/d3/d3-drag/releases/tag/v3.0.1)
- The package now requires Node.js 12 or higher. (3.0.0) — [release notes](https://github.com/d3/d3-drag/releases/tag/v3.0.0)
- The package adopts type: module, changing how Node.js interprets its JavaScript files. (3.0.0) — [release notes](https://github.com/d3/d3-drag/releases/tag/v3.0.0)

### Behavior and default changes

- Some event listeners are declared non-passive, which can affect event handling behavior. (3.0.0) — [release notes](https://github.com/d3/d3-drag/releases/tag/v3.0.0)
