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

react-dnd-scrolling

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dnd-scrolling - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

15

package.json
{
"name": "react-dnd-scrolling",
"version": "1.0.0",
"version": "1.1.0",
"description": "A cross browser solution to scrolling during drag and drop.",

@@ -52,11 +52,11 @@ "main": "lib/index.js",

"chai": "^4.2.0",
"eslint": "^6.6.0",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-import": "^2.21.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react": "^7.20.0",
"in-publish": "^2.0.1",
"mocha": "^7.1.2",
"mocha": "^7.2.0",
"prettier": "^2.0.5",

@@ -67,9 +67,10 @@ "react": "^16.13.1",

"sinon": "^9.0.2",
"sinon-chai": "^3.5.0"
"sinon-chai": "^3.5.0",
"typescript": "^3.9.5"
},
"peerDependencies": {
"react": "16.x",
"react-dnd": "10.x",
"react-dnd": "10.x || 11.x",
"react-dom": "16.x"
}
}

@@ -5,3 +5,3 @@ # react-dnd-scrolling

Works with `react-dnd@10.x`.
Works with `react-dnd` 10.x, 11.x.

@@ -14,6 +14,10 @@ ### Build Status

```bash
npm install react-dnd-scrolling
```
```js
import React, { Component } from 'react';
import { DndProvider } from 'react-dnd';
import HTML5Backend from 'react-dnd-html5-backend';
import { HTML5Backend } from 'react-dnd-html5-backend';
import withScrolling from 'react-dnd-scrolling';

@@ -49,3 +53,3 @@ import DragItem from './DragItem';

import { DndProvider } from 'react-dnd';
import HTML5Backend from 'react-dnd-html5-backend';
import { HTML5Backend } from 'react-dnd-html5-backend';
import withScrolling, { createHorizontalStrength, createVerticalStrength } from 'react-dnd-scrolling';

@@ -103,3 +107,3 @@ import DragItem from './DragItem';

import { DndProvider } from 'react-dnd';
import HTML5Backend from 'react-dnd-html5-backend';
import { HTML5Backend } from 'react-dnd-html5-backend';
import withScrolling from 'react-dnd-scrolling';

@@ -106,0 +110,0 @@ import { List } from 'react-virtualized';

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