New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-dnd

Package Overview
Dependencies
Maintainers
3
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 7.2.0 to 7.2.1

lib/cjs/hooks/internal/useCollector.d.ts

4

lib/cjs/hooks/index.d.ts

@@ -1,3 +0,3 @@

export * from './useDragSource';
export * from './useDropTarget';
export * from './useDrag';
export * from './useDrop';
export * from './useDragLayer';

@@ -6,4 +6,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./useDragSource"));
__export(require("./useDropTarget"));
__export(require("./useDrag"));
__export(require("./useDrop"));
__export(require("./useDragLayer"));
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = require("react");
var useDragDropManager_1 = require("./useDragDropManager");
var useCollector_1 = require("./useCollector");
var useDragDropManager_1 = require("./internal/useDragDropManager");
var useCollector_1 = require("./internal/useCollector");
/**

@@ -7,0 +7,0 @@ * useDragLayer Hook (This API is experimental and subject to breaking changes in non-breaking versions)

@@ -5,3 +5,8 @@ export { DragDropContext, DragDropContextProvider, DragDropContextProviderProps, } from './DragDropContext';

export { default as DropTarget } from './DropTarget';
export * from './hooks';
export * from './interfaces';
import { useDrag, useDragLayer, useDrop } from './hooks';
export declare const __EXPERIMENTAL_DND_HOOKS_THAT_MAY_CHANGE_AND_BREAK_MY_BUILD__: {
useDrag: typeof useDrag;
useDragLayer: typeof useDragLayer;
useDrop: typeof useDrop;
};
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });

@@ -15,2 +12,7 @@ var DragDropContext_1 = require("./DragDropContext");

exports.DropTarget = DropTarget_1.default;
__export(require("./hooks"));
var hooks_1 = require("./hooks");
exports.__EXPERIMENTAL_DND_HOOKS_THAT_MAY_CHANGE_AND_BREAK_MY_BUILD__ = {
useDrag: hooks_1.useDrag,
useDragLayer: hooks_1.useDragLayer,
useDrop: hooks_1.useDrop,
};

@@ -1,3 +0,3 @@

export * from './useDragSource';
export * from './useDropTarget';
export * from './useDrag';
export * from './useDrop';
export * from './useDragLayer';

@@ -1,3 +0,3 @@

export * from './useDragSource';
export * from './useDropTarget';
export * from './useDrag';
export * from './useDrop';
export * from './useDragLayer';
import { useEffect } from 'react';
import { useDragDropManager } from './useDragDropManager';
import { useCollector } from './useCollector';
import { useDragDropManager } from './internal/useDragDropManager';
import { useCollector } from './internal/useCollector';
/**

@@ -5,0 +5,0 @@ * useDragLayer Hook (This API is experimental and subject to breaking changes in non-breaking versions)

@@ -5,3 +5,8 @@ export { DragDropContext, DragDropContextProvider, DragDropContextProviderProps, } from './DragDropContext';

export { default as DropTarget } from './DropTarget';
export * from './hooks';
export * from './interfaces';
import { useDrag, useDragLayer, useDrop } from './hooks';
export declare const __EXPERIMENTAL_DND_HOOKS_THAT_MAY_CHANGE_AND_BREAK_MY_BUILD__: {
useDrag: typeof useDrag;
useDragLayer: typeof useDragLayer;
useDrop: typeof useDrop;
};

@@ -5,2 +5,7 @@ export { DragDropContext, DragDropContextProvider, } from './DragDropContext';

export { default as DropTarget } from './DropTarget';
export * from './hooks';
import { useDrag, useDragLayer, useDrop } from './hooks';
export const __EXPERIMENTAL_DND_HOOKS_THAT_MAY_CHANGE_AND_BREAK_MY_BUILD__ = {
useDrag,
useDragLayer,
useDrop,
};
{
"name": "react-dnd",
"version": "7.2.0",
"version": "7.2.1",
"description": "Drag and Drop for React",

@@ -51,3 +51,3 @@ "main": "lib/cjs/index.js",

},
"gitHead": "e4f7ebcdeb135ff3aa44c6b28001d3339dc5d55b"
"gitHead": "35352b26c97268727812d45488ae2586aba5a944"
}

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

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

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