Socket
Socket
Sign inDemoInstall

@mux/upchunk

Package Overview
Dependencies
9
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

2

dist/upchunk.d.ts

@@ -1,2 +0,2 @@

import { type XhrHeaders, type XhrResponse } from 'xhr';
import type { XhrHeaders, XhrResponse } from 'xhr';
export declare const isValidChunkSize: (chunkSize: any, { minChunkSize, maxChunkSize, }?: {

@@ -3,0 +3,0 @@ minChunkSize?: number | undefined;

{
"name": "@mux/upchunk",
"version": "3.0.0",
"version": "3.0.1",
"description": "Dead simple chunked file uploads using Fetch",

@@ -5,0 +5,0 @@ "main": "dist/upchunk.js",

@@ -42,2 +42,3 @@ ![UpChunk](banner.png)

```javascript
const Mux = require('@mux/mux-node');
const { Video } = new Mux();

@@ -44,0 +45,0 @@

import { EventTarget, Event } from 'event-target-shim';
import xhr, { type XhrUrlConfig, type XhrHeaders, type XhrResponse } from 'xhr';
import xhr from 'xhr';
// NOTE: Need duplicate imports for Typescript version compatibility reasons (CJP)
/* tslint:disable-next-line no-duplicate-imports */
import type { XhrUrlConfig, XhrHeaders, XhrResponse } from 'xhr';

@@ -4,0 +7,0 @@ const DEFAULT_CHUNK_SIZE = 30720;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc