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

@uppy/core

Package Overview
Dependencies
Maintainers
6
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uppy/core - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

lib/index.js

@@ -1971,3 +1971,3 @@ "use strict";

Uppy.VERSION = "2.0.0";
Uppy.VERSION = "2.0.1";
module.exports = Uppy;

@@ -1974,0 +1974,0 @@ module.exports.Uppy = Uppy;

{
"name": "@uppy/core",
"description": "Core module for the extensible JavaScript file upload widget with support for drag&drop, resumable uploads, previews, restrictions, file processing/encoding, remote providers like Instagram, Dropbox, Google Drive, S3 and more :dog:",
"version": "2.0.0",
"version": "2.0.1",
"license": "MIT",

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

},
"gitHead": "ab771cbe1cd87affd87c97bc983b19058e2e72bd"
"gitHead": "8e4fae911af76b359f50faf667eb5ad118c6e8a1"
}

@@ -237,2 +237,4 @@ import * as UppyUtils from '@uppy/utils'

off<K extends keyof UppyEventMap, TMeta extends IndexedObject<any>>(event: K, callback: UppyEventMap<TMeta>[K]): this
/**

@@ -239,0 +241,0 @@ * For use by plugins only.

@@ -104,2 +104,9 @@ import { expectError, expectType } from 'tsd'

})
// Separate event handlers
const handleUpload = (file: UploadedUppyFile<Meta, unknown>) => {
const meta = file.meta.myCustomMetadata
}
uppy.off<'upload-success', Meta>('upload-success', handleUpload)
}

@@ -106,0 +113,0 @@

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