Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-drax

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-drax - npm Package Versions

134

0.8.0

Diff

Changelog

Source

[0.8.0] - 2021-04-29

Changed

  • (BREAKING) Rename useDrax to useDraxContext
  • Simplify DraxList rendering because Drax ids cannot be empty since 0.7.0
  • Bump y18n from 4.0.0 to 4.0.3 (dependabot)
  • (BREAKING-TS) Update hover*Style props to not include layout-related keys, to reflect reality
  • Merge hover view translate transform with any transform value specified in hover*Style props rather than replacing (#35)
  • Upgraded devDependency @types/node from ^14.11.8 to ^14.14.43
  • Upgraded devDependency @types/react-native from ^0.63.25 to ^0.64.4
  • Upgraded devDependency @typescript-eslint/eslint-plugin from ^4.4.0 to ^4.22.0
  • Upgraded devDependency @typescript-eslint/parser from ^4.4.0 to ^4.22.0
  • Upgraded devDependency eslint from ^7.10.0 to ^7.25.0
  • Upgraded devDependency eslint-config-airbnb-typescript from ^11.0.0 to ^12.3.1
  • Upgraded devDependency eslint-plugin-jsx-a11y from ^6.3.1 to ^6.4.1
  • Upgraded devDependency eslint-plugin-react from ^7.21.3 to ^7.23.2
  • Upgraded devDependency eslint-plugin-react-hooks from ^4.1.2 to ^4.2.0
  • Upgraded devDependency react from ^16.13.1 to ^17.0.2
  • Upgraded devDependency react-native from ^0.63.3 to ^0.64.0
  • Upgraded devDependency typescript from ^4.0.3 to ^4.2.4
  • Removed type workaround for LongPressGestureHandlerGestureEvent

Fixed

  • Honor onScroll prop of DraxList (#63)

Added

  • Added itemsDraggable prop to DraxList to allow explicitly disabling dragging of all items (#62)
  • Added lockDragXPosition and lockDragYPositon props to DraxView to allow locking drags to an axis (#65)
  • Added lockItemDragsToMainAxis prop to DraxList to allow locking dragged items to the main axis of a list (#65)
  • Added flatListStyle prop to DraxList to allow styling of underlying FlatList (#40)
  • Added viewPropsExtrator prop to DraxList to allow overriding DraxView props for specific items (#92)
lafiosca
published 0.7.2 •

Changelog

Source

[0.7.2] - 2020-10-13

Changed

  • Upgraded node-fetch indirect dependency from 2.6.0 to 2.6.1 for security
lafiosca
published 0.7.1 •

Changelog

Source

[0.7.1] - 2020-10-12

Changed

  • Upgraded lodash dependency from 4.17.15 to 4.17.19 for security
lafiosca
published 0.7.0 •

Changelog

Source

[0.7.0] - 2020-10-12

Fixed

  • (BREAKING) Stop calling getNode on Animated.View; requires React Native >=0.62.0 (#54)
  • Fixed various newly uncovered warnings/errors due to upgrades

Changed

  • Changed internal logic so that views never have empty Drax ids even for a moment
  • Moved useDrax into hooks directory
  • (BREAKING) Changed peerDependency react-native from * to >=0.62.0
  • (BREAKING) Changed peerDependency react-native-gesture-handler from ^1.5.0 to >=1.8.0
  • Removed dependency uuid
  • Removed devDependency @types/uuid
  • Removed devDependency @types/react
  • Removed devDependency @babel/core
  • Removed devDependency @babel/runtime
  • Removed devDependency hoist-non-react-statics
  • Upgraded devDependency @types/node from ^14.0.5 to ^14.11.8
  • Upgraded devDependency @types/react-native from ^0.60.25 to ^0.63.25
  • Upgraded devDependency react from ^16.9.0 to ^16.13.1
  • Upgraded devDependency react-native from ^0.62.2 to ^0.63.3
  • Upgraded devDependency typescript from ^3.7.2 to ^4.0.3
  • Upgraded devDependency eslint from ^6.7.0 to ^7.10.0
  • Upgraded devDependency @typescript-eslint/eslint-plugin from ^2.8.0 to ^4.4.0
  • Upgraded devDependency @typescript-eslint/parser from ^2.8.0 to ^4.4.0
  • Upgraded devDependency eslint-config-airbnb-typescript from ^6.3.0 to ^11.0.0
  • Upgraded devDependency eslint-plugin-import from ^2.18.2 to ^2.22.1
  • Upgraded devDependency eslint-plugin-jsx-a11y from ^6.2.3 to ^6.3.1
  • Upgraded devDependency eslint-plugin-react from ^7.16.0 to ^7.21.3
  • Upgraded devDependency eslint-plugin-react-hooks from ^2.3.0 to ^4.1.2
  • Upgraded devDependency eslint-plugin-react-native from ^3.8.1 to ^3.10.0
  • Upgraded devDependency react-native-gesture-handler from ^1.5.0 to ^1.8.0
  • Changed TypeScript output directory from lib to build

Added

  • Added lint script to package.json
lafiosca
published 0.6.0 •

Changelog

Source

[0.6.0] - 2020-06-16

Changed

  • Speed up dragging animation to be at least 60fps (#29)

Fixed

  • Implement onMonitorDragStart in DraxView (#22)
  • Fix regression with DraxList reorder item snapback position (#46)

Added

  • New DraxList item drag lifecycle callbacks: onItemDragStart, onItemDragPositionChange, onItemDragEnd (#25)
  • New DraxView prop snapbackAnimator for custom snapback animations (#28)
lafiosca
published 0.5.5 •

Changelog

Source

[0.5.5] - 2020-06-09

Changed

  • Bump devDependency react-native to 0.62 to address logkitty vulnerability (dependabot; #30)
lafiosca
published 0.5.4 •

Changelog

Source

[0.5.4] - 2020-06-09

Changed

  • Fixed bug with DraxList item shift values when dragging outside list (#27)
lafiosca
published 0.5.3 •

Changelog

Source

[0.5.3] - 2020-05-23

Added

  • Added devDependency @types/node@^14.0.5

Changed

  • Bump library versions (dependabot)
lafiosca
published 0.5.2 •

Changelog

Source

[0.5.2] - 2020-03-16

Changed

  • Bump minimist from 1.2.0 to 1.2.5 (dependabot)
lafiosca
published 0.5.1 •

Changelog

Source

[0.5.1] - 2020-03-16

Changed

  • Bump acorn from 7.1.0 to 7.1.1 (dependabot)
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