New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pure-upload

Package Overview
Dependencies
Maintainers
2
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 1.0.21 to 1.0.22

2

index.js

@@ -20,3 +20,3 @@ function addEventHandler(el, event, handler) {

if (typeof fileList === 'object') {
files = map(keys(fileList), function (key) { return fileList[key]; });
files = map(filter(keys(fileList), function (key) { return key !== 'length'; }), function (key) { return fileList[key]; });
}

@@ -23,0 +23,0 @@ else {

@@ -20,3 +20,6 @@ export function addEventHandler(el: HTMLInputElement | Element, event: string, handler: (ev: UIEvent) => void) {

if (typeof fileList === 'object') {
files = map(keys(fileList), (key) => fileList[key]);
files = map(
filter(keys(fileList), (key) => key !== 'length'),
(key) => fileList[key]
);
} else {

@@ -23,0 +26,0 @@ files = <IUploadFile[]>fileList;

{
"name": "pure-upload",
"version": "1.0.21",
"version": "1.0.22",
"description": "The pure upload library without dependencies",

@@ -5,0 +5,0 @@ "author": {

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