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

pure-upload

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pure-upload - npm Package Compare versions

Comparing version 2.2.3 to 3.0.0

.npmignore

8

CHANGELOG.md
CHANGELOG
===
3.0.0
--
Cleaning
-
Removed compatibility parts for obsolette browser without FileAPI.
2.2.3

@@ -5,0 +13,0 @@ --

12

package.json
{
"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

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