Comparing version 5.7.2 to 5.7.3
{ | ||
"name": "dropzone", | ||
"location": "enyo/dropzone", | ||
"version": "5.7.2", | ||
"version": "5.7.3", | ||
"description": "Dropzone is an easy to use drag'n'drop library. It supports image previews and shows nice progress bars.", | ||
"homepage": "http://www.dropzonejs.com", | ||
"main": [ | ||
"dist/min/dropzone.min.css", | ||
"dist/min/dropzone.min.js" | ||
], | ||
"ignore": [ | ||
"*", | ||
"!dist", | ||
"!dist/**/*" | ||
] | ||
} | ||
"main": ["dist/min/dropzone.min.css", "dist/min/dropzone.min.js"], | ||
"ignore": ["*", "!dist", "!dist/**/*"] | ||
} |
@@ -0,1 +1,6 @@ | ||
## 5.7.3 | ||
- Add `disablePreviews` option. | ||
- Fix IE problems with Symbols. | ||
## 5.7.2 | ||
@@ -2,0 +7,0 @@ |
{ | ||
"name": "dropzone", | ||
"version": "5.7.2", | ||
"version": "5.7.3", | ||
"description": "Handles drag and drop of files for you.", | ||
@@ -28,4 +28,5 @@ "keywords": [ | ||
"scripts": { | ||
"test": "grunt && npm run test-prebuilt", | ||
"test-prebuilt": "mocha-headless-chrome -f test/test-prebuilt.html -a no-sandbox -a disable-setuid-sandbox" | ||
"build": "webpack", | ||
"test": "karma start --single-run --browsers ChromeHeadless test/karma.conf.js", | ||
"build-website": "grunt build-website" | ||
}, | ||
@@ -40,3 +41,29 @@ "bugs": { | ||
"url": "https://gitlab.com/meno/dropzone.git" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.11.0", | ||
"@babel/preset-env": "^7.11.0", | ||
"babel-loader": "^8.0.0", | ||
"chai": "4.2.x", | ||
"core-js": "^3.8.0", | ||
"css-loader": "^1.0.0", | ||
"extract-loader": "^2.0.1", | ||
"file-loader": "^2.0.0", | ||
"karma": "^6.1.0", | ||
"karma-chrome-launcher": "^3.1.0", | ||
"karma-mocha": "^2.0.1", | ||
"karma-rollup-preprocessor": "^7.0.5", | ||
"karma-sinon-chai": "^2.0.2", | ||
"karma-spec-reporter": "^0.0.32", | ||
"marked": "^0.8.2", | ||
"mocha": "^7.0.0", | ||
"mocha-headless-chrome": "^3.0.0", | ||
"rollup": "^2.38.4", | ||
"sass": "^1.0.0", | ||
"sass-loader": "^10.0.0", | ||
"sinon": "^9.2.4", | ||
"sinon-chai": "^3.5.0", | ||
"webpack": "^4.44.1", | ||
"webpack-cli": "^3.3.12" | ||
} | ||
} | ||
} |
103
README.md
<img alt="Dropzone.js" src="http://www.dropzonejs.com/images/new-logo.svg" /> | ||
Dropzone.js is a light weight JavaScript library that turns an HTML element into a dropzone. | ||
This means that a user can drag and drop a file onto it, and the file gets uploaded to the server via AJAX. | ||
Dropzone.js is a JavaScript library that turns any HTML element into a dropzone. | ||
This means that a user can drag and drop a file onto it, and the file gets | ||
uploaded to the server via XHR. | ||
* * * | ||
The file either gets uploaded directly to the configured URL, or you can handle | ||
and manage the file upload yourself. | ||
_If you want support, please use [stackoverflow](http://stackoverflow.com/) with the `dropzone.js` tag and not the | ||
GitHub issues tracker. Only post an issue here if you think you discovered a bug or have a feature request._ | ||
If you want support, please use the [discussions | ||
section](https://github.com/dropzone/dropzone/discussions) or | ||
[stackoverflow](https://stackoverflow.com/questions/tagged/dropzone.js) with the | ||
`dropzone.js` tag and **not** the GitHub issues tracker. Only post an issue here | ||
if you think you discovered a bug or have a feature request. | ||
* * * | ||
**Please read the [contributing guidelines](CONTRIBUTING.md) before you start working on Dropzone!** | ||
> **Please read the [contributing guidelines](CONTRIBUTING.md) before you start | ||
> working on Dropzone!** | ||
<br> | ||
<div align="center"> | ||
<a href="https://gitlab.com/meno/dropzone/builds/artifacts/master/download?job=release"><strong>>> Download <<</strong></a> | ||
</div> | ||
<br> | ||
<br> | ||
This is no longer the official repository for Dropzone. I have switched to [gitlab.com](https://gitlab.com/meno/dropzone) | ||
as the primary location to continue development. | ||
There are multiple reasons why I am switching from GitHub to GitLab, but a few of the reasons are the | ||
issue tracker that GitHub is providing, *drowning* me in issues that I am unable to categorise or prioritize properly, | ||
the lack of proper continuous integration, and build files. I don't want the compiled `.js` files in my repository, and | ||
people regularly commit changes to the compiled files and create pull requests with them. | ||
<img alt="Dropzone Screenshot" width="585" src="http://i.imgur.com/Xf7QvVG.png" /> | ||
I will write a blog post soon, that goes into detail about why I am doing the switch. | ||
This repository will still remain, and always host the most up to date versions of dropzone, but only the distribution | ||
files! | ||
Quickstart | ||
---------- | ||
MIT License | ||
----------- | ||
The recommended way to install Dropzone is with [yarn](https://yarnpkg.com) and | ||
[webpack](http://webpack.js.org). I'll provide an example project soon! | ||
[Download the standalone files](https://github.com/dropzone/dropzone/releases/latest/download/dist.zip) and import them on your website. | ||
(The JavaScript files in there are UMD modules, compatible with requirejs). | ||
For more information, please consult the [Documentation](https://dropzone.gitbook.io/dropzone/). | ||
Dropzone does **not** depend on jQuery but has jQuery integration. | ||
Main features | ||
------------- | ||
- Beautiful by default | ||
- Image thumbnail previews. Simply register the callback `thumbnail(file, data)` | ||
and display the image wherever you like | ||
- Retina enabled | ||
- Multiple files and synchronous uploads | ||
- Progress updates | ||
- Support for large files | ||
- Complete theming. The look and feel of Dropzone is just the default theme. You | ||
can define everything yourself by overwriting the default event listeners. | ||
- Browser image resizing (resize the images before you upload them to your | ||
server) | ||
- Well tested | ||
Documentation | ||
------------- | ||
For all the configuration options and installation guide please visit [the documentation site](https://dropzone.gitbook.io/dropzone/) | ||
## Examples | ||
For examples, please see the [GitLab wiki](https://github.com/dropzone/dropzone/wiki). | ||
Server side implementation | ||
-------------------------- | ||
Dropzone does *not* provide the server side implementation of handling the | ||
files, but the way files are uploaded is identical to simple file upload forms | ||
like this: | ||
```html | ||
<form action="" method="post" enctype="multipart/form-data"> | ||
<input type="file" name="file" /> | ||
</form> | ||
``` | ||
To handle basic file uploads on the server, please look at the corresponding | ||
documentation. Here are a few documentations, if you think I should add some, | ||
please contact me. | ||
# Compatibility | ||
Dropzone supports all current browsers and IE up to IE11. | ||
For all the other browsers, dropzone provides an oldschool file input fallback. | ||
# MIT License | ||
See LICENSE file |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
592001
12000
92
24
17
1