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

react-file-uploader

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-file-uploader - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

1

lib/__tests__/Receiver-test.js

@@ -21,3 +21,2 @@ 'use strict';

jest.dontMock('classnames');
jest.dontMock('rand-token');

@@ -24,0 +23,0 @@ var FileUploader = require('../index');

6

lib/Receiver.js

@@ -21,4 +21,6 @@ 'use strict';

var _randToken = require('rand-token');
var _shortid = require('shortid');
var _shortid2 = _interopRequireDefault(_shortid);
var _status = require('./constants/status');

@@ -116,3 +118,3 @@

for (var i = 0; i < fileList.length; i++) {
fileList[i].id = (0, _randToken.suid)(4);
fileList[i].id = _shortid2.default.generate();
fileList[i].status = _status2.default.PENDING;

@@ -119,0 +121,0 @@ fileList[i].progress = 0;

@@ -99,3 +99,3 @@ 'use strict';

style: _react.PropTypes.object,
upload: _react.PropTypes.func.isRequired
upload: _react.PropTypes.func
};

@@ -102,0 +102,0 @@

{
"name": "react-file-uploader",
"version": "0.3.2",
"version": "0.3.3",
"description": "A set of file-upload-components with React.js.",

@@ -74,3 +74,2 @@ "main": "lib/index.js",

"lodash": ">=3.10.1",
"rand-token": "^0.2.1",
"shortid": "^2.2.6",

@@ -77,0 +76,0 @@ "superagent": "^1.4.0"

@@ -5,3 +5,2 @@ /* eslint-disable no-undef, max-len */

jest.dontMock('classnames');
jest.dontMock('rand-token');

@@ -8,0 +7,0 @@ import React from 'react';

Sorry, the diff of this file is not supported yet

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