🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

react-dnd

Package Overview
Dependencies
Maintainers
5
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dnd - npm Package Compare versions

Comparing version

to
14.0.5

4

dist/types/core/DndProvider.d.ts

@@ -1,7 +0,9 @@

import { FC } from 'react';
import { FC, ReactNode } from 'react';
import { BackendFactory, DragDropManager } from 'dnd-core';
export declare type DndProviderProps<BackendContext, BackendOptions> = {
children?: ReactNode;
manager: DragDropManager;
} | {
backend: BackendFactory;
children?: ReactNode;
context?: BackendContext;

@@ -8,0 +10,0 @@ options?: BackendOptions;

@@ -1,7 +0,9 @@

import { FC } from 'react';
import { FC, ReactNode } from 'react';
import { BackendFactory, DragDropManager } from 'dnd-core';
export declare type DndProviderProps<BackendContext, BackendOptions> = {
children?: ReactNode;
manager: DragDropManager;
} | {
backend: BackendFactory;
children?: ReactNode;
context?: BackendContext;

@@ -8,0 +10,0 @@ options?: BackendOptions;

{
"name": "react-dnd",
"version": "14.0.4",
"version": "14.0.5",
"description": "Drag and Drop for React",

@@ -32,3 +32,3 @@ "main": "dist/cjs/index.js",

"@react-dnd/build": "12.0.0",
"@testing-library/react": "^12.1.0",
"@testing-library/react": "^12.1.2",
"@types/hoist-non-react-statics": "^3.3.1",

@@ -35,0 +35,0 @@ "@types/node": "^14.17.19",

Sorry, the diff of this file is too big to display