Huge News!Announcing our $40M Series B led by Abstract Ventures.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.15 to 1.0.16

4

index.js

@@ -270,4 +270,4 @@ function addEventHandler(el, event, handler) {

this.formForNoFileApi.style.overflow = 'hidden';
this.formForNoFileApi.style.width = this.targetElement.offsetWidth.toString();
this.formForNoFileApi.style.height = this.targetElement.offsetHeight.toString();
this.formForNoFileApi.style.width = this.targetElement.offsetWidth.toString() + 'px';
this.formForNoFileApi.style.height = this.targetElement.offsetHeight.toString() + 'px';
if (this.targetElement.clientHeight === 0 || this.targetElement.clientWidth === 0) {

@@ -274,0 +274,0 @@ console.warn('upload element height and width has to be set to be able catch upload');

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

this.formForNoFileApi.style.overflow = 'hidden';
this.formForNoFileApi.style.width = this.targetElement.offsetWidth.toString();
this.formForNoFileApi.style.height = this.targetElement.offsetHeight.toString();
this.formForNoFileApi.style.width = this.targetElement.offsetWidth.toString() + 'px';
this.formForNoFileApi.style.height = this.targetElement.offsetHeight.toString() + 'px';

@@ -391,0 +391,0 @@ if (this.targetElement.clientHeight === 0 || this.targetElement.clientWidth === 0) {

{
"name": "pure-upload",
"version": "1.0.15",
"version": "1.0.16",
"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