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

dnd-core

Package Overview
Dependencies
Maintainers
5
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dnd-core - npm Package Compare versions

Comparing version 11.1.3 to 12.0.0

dist/cjs/classes/DragDropManagerImpl.js

1

dist/cjs/actions/dragDrop/index.js

@@ -26,2 +26,3 @@ "use strict";

if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _types[key]) return;
Object.defineProperty(exports, key, {

@@ -28,0 +29,0 @@ enumerable: true,

8

dist/cjs/index.js

@@ -11,2 +11,3 @@ "use strict";

if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _interfaces[key]) return;
Object.defineProperty(exports, key, {

@@ -20,12 +21,13 @@ enumerable: true,

var _factories = require("./factories");
var _createDragDropManager = require("./createDragDropManager");
Object.keys(_factories).forEach(function (key) {
Object.keys(_createDragDropManager).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _createDragDropManager[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function get() {
return _factories[key];
return _createDragDropManager[key];
}
});
});
export * from './interfaces';
export * from './factories';
export * from './createDragDropManager';
export * from './interfaces';
export * from './factories';
export * from './createDragDropManager';
export * from './interfaces';
export * from './factories';
export * from './createDragDropManager';

@@ -6,3 +6,3 @@ import { State as DragOffsetState } from './dragOffset';

import { State as StateIdState } from './stateId';
import { Action } from 'interfaces';
import { Action } from '../interfaces';
export interface State {

@@ -9,0 +9,0 @@ dirtyHandlerIds: DirtyHandlerIdsState;

{
"name": "dnd-core",
"version": "11.1.3",
"version": "12.0.0",
"description": "Drag and drop sans the GUI",
"license": "MIT",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./lib/index.d.ts",
"main": "dist/cjs/index.js",
"publishConfig": {
"main:bundle": "dist/esm/index.js",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts"
},
"sideEffects": false,
"scripts": {
"build": "../../../scripts/build_package.sh",
"clean": "../../../scripts/clean_package.sh",
"start": "../../../scripts/watch_package.sh"
"build": "gulp build",
"clean": "gulp clean",
"watch": "gulp watch"
},

@@ -22,5 +26,11 @@ "repository": {

"@react-dnd/invariant": "^2.0.0",
"redux": "^4.0.4"
"redux": "^4.0.5"
},
"gitHead": "32f16c09f0e8560c2a439f3a7fc2e0e8aec3b973"
}
"devDependencies": {
"@react-dnd/build": "12.0.0",
"gulp": "^4.0.2",
"react-dnd-test-backend": "portal:../backend-test"
},
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts"
}
[![npm package](https://img.shields.io/npm/v/dnd-core.svg?style=flat-square)](https://www.npmjs.org/package/dnd-core)
[![Build Status](https://travis-ci.org/react-dnd/dnd-core.svg?branch=master)](https://travis-ci.org/react-dnd/dnd-core)
[![Build Status](https://travis-ci.org/react-dnd/dnd-core.svg?branch=main)](https://travis-ci.org/react-dnd/dnd-core)
[![Test Coverage](https://codeclimate.com/github/react-dnd/dnd-core/badges/coverage.svg)](https://codeclimate.com/github/react-dnd/dnd-core)

@@ -7,3 +7,3 @@

Drag and drop sans the GUI.
Drag and Drop stateful engine - no GUI.

@@ -33,4 +33,4 @@ This is a clean implementation of drag and drop primitives that does not depend on the browser.

[Tests](https://github.com/react-dnd/dnd-core/tree/master/test) should give you some idea. You register drag sources and drop targets, connect a backend (you can use barebones `TestBackend` or implement a fancy real one yourself), and your drag sources and drop targets magically begin to interact.
[Tests](https://github.com/react-dnd/dnd-core/tree/main/test) should give you some idea. You register drag sources and drop targets, connect a backend (you can use barebones `TestBackend` or implement a fancy real one yourself), and your drag sources and drop targets magically begin to interact.
![](http://i.imgur.com/6l8CpxZ.png)
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