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

upload-js

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

upload-js - npm Package Compare versions

Comparing version 2.17.0 to 2.18.0

11

dist/main.js

@@ -525,3 +525,4 @@ module.exports =

var headers = (_g = config.internal) === null || _g === void 0 ? void 0 : _g.headers;
var debugMode = config.debug === true; // ------------------
var debugMode = config.debug === true;
var wasCalled = " was called by the user's code."; // ------------------
// READ/WRITE MEMBERS

@@ -580,3 +581,3 @@ // ------------------

}), Upload_async(function () {
debug("User code called 'beginAuthSession'"); // Explanation:
debug("'beginAuthSession'".concat(wasCalled)); // Explanation:
// - Prevents restarting the auth session on accidental double-calls to 'beginAuthSession': in some users' code,

@@ -589,3 +590,3 @@ // this happens accidentally every second, so we want to bail-out if we detect this is occurring.

if ((lastAuthSession === null || lastAuthSession === void 0 ? void 0 : lastAuthSession.authUrl) === authUrl) {
error("'beginAuthSession' has already been called. Ignoring this call. (Hint: call 'endAuthSession' and then 'beginAuthSession' if you want to restart the auth session.)");
error("'beginAuthSession' already called. Ignoring this call. Hint: call 'endAuthSession' and then 'beginAuthSession' if you want to restart the auth session.");
return;

@@ -614,3 +615,3 @@ }

}), Upload_async(function () {
debug("User code called 'endAuthSession'");
debug("'endAuthSession'".concat(wasCalled));
return _callIgnored(doEndAuthSession);

@@ -622,3 +623,3 @@ })));

var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
debug("User code called 'uploadFile'"); // Initial progress (raised immediately and synchronously).
debug("'uploadFile'".concat(wasCalled)); // Initial progress (raised immediately and synchronously).

@@ -625,0 +626,0 @@ var cancellationHandlers = [];

{
"name": "upload-js",
"version": "2.17.0",
"version": "2.18.0",
"author": "Upload <hello@upload.io> (https://upload.io)",

@@ -5,0 +5,0 @@ "description": "File Upload Library — Upload.js gives developers AJAX multipart file uploading via XHR 🚀 Comes with Cloud Storage 🌐",

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