pure-upload
Advanced tools
Comparing version 2.2.3 to 3.0.0
CHANGELOG | ||
=== | ||
3.0.0 | ||
-- | ||
Cleaning | ||
- | ||
Removed compatibility parts for obsolette browser without FileAPI. | ||
2.2.3 | ||
@@ -5,0 +13,0 @@ -- |
{ | ||
"name": "pure-upload", | ||
"version": "2.2.3", | ||
"version": "3.0.0", | ||
"description": "The pure upload library without dependencies", | ||
@@ -36,4 +36,8 @@ "author": { | ||
"devDependencies": { | ||
"@types/cors": "^2.8.0", | ||
"@types/jasmine": "^2.5.43", | ||
"@types/karma": "^0.13.33", | ||
"@types/multer": "0.0.33", | ||
"cors": "^2.8.1", | ||
"express": "^4.14.0", | ||
"express": "^4.14.1", | ||
"gulp": "^3.9.0", | ||
@@ -54,3 +58,3 @@ "gulp-clean": "^0.3.1", | ||
"jasmine-core": "^2.5.2", | ||
"karma": "^1.4.0", | ||
"karma": "^1.4.1", | ||
"karma-chrome-launcher": "^2.0.0", | ||
@@ -60,3 +64,3 @@ "karma-jasmine": "^1.1.0", | ||
"merge2": "^1.0.3", | ||
"multer": "^1.2.1", | ||
"multer": "^1.3.0", | ||
"phantomjs": "^2.1.7", | ||
@@ -63,0 +67,0 @@ "run-sequence": "^1.1.2", |
# Pure-upload | ||
[![npm version](https://badge.fury.io/js/pure-upload.svg)](http://badge.fury.io/js/pure-upload) [![Bower version](https://badge.fury.io/bo/pure-upload.svg)](http://badge.fury.io/bo/pure-upload) | ||
The pure JS (TS) upload library with no dependencies compatible with Google Chrome, Firefox, IE10+ (IE9- with auto-start by default, manual-start optionally) and mobile browsers. | ||
The pure JS (TS) upload library with no dependencies compatible with Google Chrome, Firefox, IE10+, Edge and modern mobile browsers. | ||
## Installation | ||
1. Dowload as a ZIP file directly from [GitHub](https://github.com/keeema/pure-upload/archive/master.zip) pages and include to your project. | ||
2. Install with npm by `npm install pure-upload --save`. | ||
2. Install with npm by `npm install pure-upload --save` or `yarn add pure-upload`. | ||
3. Install with bower by `bower install pure-upload`. | ||
@@ -15,2 +15,10 @@ | ||
## Api | ||
### Using NPM package: | ||
Import pure-upload with standard import syntax: | ||
```typescript | ||
import * as pu from 'pure-upload'; | ||
``` | ||
### Uploader | ||
@@ -53,8 +61,2 @@ Uploader manages upload queue and registers upload areas. | ||
Registration for IE9- with manual-start: | ||
```typescript | ||
let uploadArea = uploader.registerArea(element, uploadAreaOptions, compatibilityForm); | ||
``` | ||
The *compatibilityForm* objects has to be *form* element containing one *input* element for *file* and one *input* element for *submit*. | ||
Unregistration: | ||
@@ -61,0 +63,0 @@ ```typescript |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
256252
57
5356
112
30
1