Socket
Socket
Sign inDemoInstall

react-draggable

Package Overview
Dependencies
Maintainers
2
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-draggable - npm Package Versions

13
8

4.1.0

Diff

Changelog

Source

4.1.0 (Oct 25, 2019)

  • Add "module" to package.json. There are now three builds:

    • "main": ES5-compatible CJS build, suitable for most use cases with maximum compatibility.
      • For legacy reasons, this has exports of the following shape, which ensures no surprises in CJS or ESM polyfilled environments:
        module.exports = Draggable;
        module.exports.default = Draggable;
        module.exports.DraggableCore = DraggableCore;
        
    • "web": Minified UMD bundle exporting to window.ReactDraggable with the same ES compatibility as the "main" build.
    • "module": ES6-compatible build using import/export.

    This should fix issues like https://github.com/STRML/react-resizable/issues/113 while allowing modern bundlers to consume esm modules in the future.

    No compatibility changes are expected.

strml
published 4.0.3 •

Changelog

Source

4.0.3 (Sep 10, 2019)

  • Add typings and sourcemap to published npm package.
    • This compresses well so it does not bloat the package by much. Would be nice if npm had another delivery mechanism for optional modes, like web/TS.
strml
published 4.0.2 •

Changelog

Source

4.0.2 (Sep 9, 2019)

  • Republish to fix packaging errors. Fixes #426
strml
published 4.0.1 •

Changelog

Source

4.0.1 (Sep 7, 2019)

  • Republish of 4.0.0 to fix a mistake where webpack working files were erroneously included in the package. Use this release instead as it is much smaller.
strml
published 3.3.2 •

Changelog

Source

3.3.2 (Aug 16, 2019)

  • Use all: inherit instead of background: transparent; to fix selection styles.
    • Fixes https://github.com/mzabriskie/react-draggable/issues/315
strml
published 3.3.1 •

Changelog

Source

3.3.1 (Aug 12, 2019)

  • Fix React 16.9 componentWillMount deprecation.
strml
published 3.3.0 •

Changelog

Source

3.3.0 (Apr 18, 2019)

  • Addition of positionOffset prop, which can be Numbers (px) or string percentages (like "10%"). See the README for more.
strml
published 3.2.1 •

Changelog

Source

3.2.1 (Mar 1, 2019)

  • Reverted https://github.com/mzabriskie/react-draggable/pull/361.
strml
published 3.1.1 •

Changelog

Source

3.1.1 (Dec 21, 2018)

  • Bugfix: Minor type change on DraggableEventHandler TypeScript export (#374)
strml
published 3.1.0 •

Changelog

Source

3.1.0 (Dec 21, 2018)

  • Feature: Added scale prop (#352)
    • Thanks, @wootencl
  • Bugfix: Remove process.browser which is missing in browser (#329
  • Bugfix: Fix selection api on IE (#292)
  • Bugfix: Fixes some issues in the type definitions for TypeScript (#331
  • Bugfix: Fix compare where portal elements are different instance to main window (#359
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc