Socket
Socket
Sign inDemoInstall

drag-drop

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drag-drop - npm Package Compare versions

Comparing version 5.0.2 to 6.0.0

13

package.json
{
"name": "drag-drop",
"description": "HTML5 drag & drop for humans",
"version": "5.0.2",
"version": "6.0.0",
"author": "Feross Aboukhadijeh <feross@feross.org> (http://feross.org/)",

@@ -14,8 +14,7 @@ "bugs": {

"devDependencies": {
"babel-minify": "^0.5.1",
"browserify": "^16.1.0",
"ecstatic": "^4.0.0",
"html-inline": "^1.2.0",
"standard": "*",
"tape": "^4.0.0",
"tinyify": "^2.5.2"
"tape": "^4.0.0"
},

@@ -41,8 +40,6 @@ "homepage": "https://github.com/feross/drag-drop",

"scripts": {
"build": "browserify --plugin tinyify -s DragDrop -r ./ > dragdrop.min.js",
"demo": "html-inline example.html | curl -sT- https://htmlb.in",
"example": "npm run build && ecstatic",
"size": "npm run build && cat dragdrop.min.js | gzip | wc -c",
"example": "browserify -s DragDrop -r ./ > example/dragdrop.min.js && ecstatic example --port 4000",
"size": "browserify -s DragDrop -r ./ | minify | gzip | wc -c",
"test": "standard && tape test/*.js"
}
}

@@ -20,7 +20,2 @@ # drag-drop [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]

This module works in the browser with [browserify](http://browserify.org/).
**Note:** If you do not use browserify, use the included standalone file
[`dragdrop.min.js`](https://rawgit.com/feross/drag-drop/master/dragdrop.min.js). This exports a `DragDrop` function on `window`.
### live demo

@@ -44,2 +39,4 @@

This module works in the browser with [browserify](https://browserify.org). If you do not use a bundler, you can use the [standalone script](https://bundle.run/drag-drop) directly in a `<script>` tag.
### usage

@@ -46,0 +43,0 @@

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