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

@mux/mux-uploader

Package Overview
Dependencies
Maintainers
2
Versions
577
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mux/mux-uploader - npm Package Compare versions

Comparing version 0.1.0-canary.10-485423a to 0.1.0-canary.10-5c05af8

2

package.json
{
"name": "@mux/mux-uploader",
"version": "0.1.0-canary.10-485423a",
"version": "0.1.0-canary.10-5c05af8",
"description": "An uploader elements to be used with Mux Direct Uploads",

@@ -5,0 +5,0 @@ "main": "./dist/index.cjs",

@@ -226,3 +226,36 @@ import '@mux/polyfills';

class MuxUploaderElement extends HTMLElement {
// NOTE: error and progress events are already determined on HTMLElement but have inconsistent types. Should consider renaming events (CJP)
export interface MuxUploaderElementEventMap extends Omit<HTMLElementEventMap, 'error' | 'progress'> {
uploadstart: CustomEvent<UpChunk.UpChunk>;
chunkattempt: CustomEvent;
chunksuccess: CustomEvent;
error: CustomEvent;
progress: CustomEvent;
success: CustomEvent;
}
interface MuxUploaderElement extends HTMLElement {
addEventListener<K extends keyof MuxUploaderElementEventMap>(
type: K,
listener: (this: HTMLMediaElement, ev: MuxUploaderElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions
): void;
addEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions
): void;
removeEventListener<K extends keyof MuxUploaderElementEventMap>(
type: K,
listener: (this: HTMLMediaElement, ev: MuxUploaderElementEventMap[K]) => any,
options?: boolean | EventListenerOptions
): void;
removeEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions
): void;
}
class MuxUploaderElement extends HTMLElement implements MuxUploaderElement {
protected _formatProgress: ((percent: number) => string) | null | undefined;

@@ -229,0 +262,0 @@ protected _filePickerButton: HTMLElement | null | undefined;

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