Socket
Socket
Sign inDemoInstall

@uppy/core

Package Overview
Dependencies
Maintainers
5
Versions
139
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 4.1.0 to 4.1.1

2

lib/BasePlugin.d.ts

@@ -12,3 +12,3 @@ /**

import type { Body, Meta } from '@uppy/utils/lib/UppyFile';
import type { State, UnknownPlugin, Uppy } from './Uppy.js';
import type { State, UnknownPlugin, Uppy } from './Uppy.ts';
export type PluginOpts = {

@@ -15,0 +15,0 @@ locale?: Locale;

import type { Meta, Body, UppyFile } from '@uppy/utils/lib/UppyFile';
import type { Uppy, UppyEventMap, _UppyEventMap } from './Uppy.js';
import type { Uppy, UppyEventMap, _UppyEventMap } from './Uppy.ts';
/**

@@ -4,0 +4,0 @@ * Create a wrapper around an event emitter with a `remove` method to remove

import { vi } from 'vitest';
import UIPlugin from '../UIPlugin.ts';
import type Uppy from '../Uppy.js';
import type Uppy from '../Uppy.ts';
type mock = ReturnType<typeof vi.fn>;

@@ -5,0 +5,0 @@ export default class TestSelector1 extends UIPlugin<any, any, any> {

import { vi } from 'vitest';
import UIPlugin from '../UIPlugin.ts';
import type Uppy from '../Uppy.js';
import type Uppy from '../Uppy.ts';
type mock = ReturnType<typeof vi.fn>;

@@ -5,0 +5,0 @@ export default class TestSelector2 extends UIPlugin<any, any, any> {

import UIPlugin from '../UIPlugin.ts';
import type Uppy from '../Uppy.js';
import type Uppy from '../Uppy.ts';
export default class InvalidPluginWithoutName extends UIPlugin<any, any, any> {

@@ -4,0 +4,0 @@ type: string;

import UIPlugin from '../UIPlugin.ts';
import type Uppy from '../Uppy.js';
import type Uppy from '../Uppy.ts';
export default class InvalidPluginWithoutType extends UIPlugin<any, any, any> {

@@ -4,0 +4,0 @@ id: string;

import type { Body, Meta, UppyFile } from '@uppy/utils/lib/UppyFile';
import type { I18n } from '@uppy/utils/lib/Translator';
import type { State, NonNullableUppyOptions } from './Uppy.js';
import type { State, NonNullableUppyOptions } from './Uppy.ts';
export type Restrictions = {

@@ -5,0 +5,0 @@ maxFileSize: number | null;

import { type ComponentChild } from 'preact';
import type { Body, Meta } from '@uppy/utils/lib/UppyFile';
import BasePlugin from './BasePlugin.ts';
import type { PluginOpts } from './BasePlugin.js';
import type { State } from './Uppy.js';
import type { PluginOpts } from './BasePlugin.ts';
import type { State } from './Uppy.ts';
/**

@@ -7,0 +7,0 @@ * UIPlugin is the extended version of BasePlugin to incorporate rendering with Preact.

@@ -11,4 +11,4 @@ /// <reference types="lodash" />

import { debugLogger } from './loggers.ts';
import type BasePlugin from './BasePlugin.js';
import type { Restrictions, ValidateableFile } from './Restricter.js';
import type BasePlugin from './BasePlugin.ts';
import type { Restrictions, ValidateableFile } from './Restricter.ts';
type Processor = (fileIDs: string[], uploadID: string) => Promise<unknown> | void;

@@ -15,0 +15,0 @@ type LogLevel = 'info' | 'warning' | 'error' | 'success';

@@ -24,3 +24,3 @@ function _classPrivateFieldLooseBase(e, t) { if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance"); return e; }

const packageJson = {
"version": "4.1.0"
"version": "4.1.1"
};

@@ -27,0 +27,0 @@ import locale from "./locale.js";

{
"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": "4.1.0",
"version": "4.1.1",
"license": "MIT",

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

"@uppy/store-default": "^4.1.0",
"@uppy/utils": "^6.0.1",
"@uppy/utils": "^6.0.2",
"lodash": "^4.17.21",

@@ -31,0 +31,0 @@ "mime-match": "^1.0.2",

@@ -19,3 +19,3 @@ /* eslint-disable class-methods-use-this */

import type { Body, Meta } from '@uppy/utils/lib/UppyFile'
import type { State, UnknownPlugin, Uppy } from './Uppy.js'
import type { State, UnknownPlugin, Uppy } from './Uppy.ts'

@@ -22,0 +22,0 @@ export type PluginOpts = {

import type { Meta, Body, UppyFile } from '@uppy/utils/lib/UppyFile'
import type { Uppy, UppyEventMap, _UppyEventMap } from './Uppy.js'
import type { Uppy, UppyEventMap, _UppyEventMap } from './Uppy.ts'

@@ -4,0 +4,0 @@ /**

import { vi } from 'vitest' // eslint-disable-line import/no-extraneous-dependencies
import UIPlugin from '../UIPlugin.ts'
import type Uppy from '../Uppy.js'
import type Uppy from '../Uppy.ts'

@@ -5,0 +5,0 @@ type mock = ReturnType<typeof vi.fn>

import { vi } from 'vitest' // eslint-disable-line import/no-extraneous-dependencies
import UIPlugin from '../UIPlugin.ts'
import type Uppy from '../Uppy.js'
import type Uppy from '../Uppy.ts'

@@ -5,0 +5,0 @@ type mock = ReturnType<typeof vi.fn>

import UIPlugin from '../UIPlugin.ts'
import type Uppy from '../Uppy.js'
import type Uppy from '../Uppy.ts'

@@ -4,0 +4,0 @@ export default class InvalidPluginWithoutName extends UIPlugin<any, any, any> {

import UIPlugin from '../UIPlugin.ts'
import type Uppy from '../Uppy.js'
import type Uppy from '../Uppy.ts'

@@ -4,0 +4,0 @@ export default class InvalidPluginWithoutType extends UIPlugin<any, any, any> {

@@ -8,3 +8,3 @@ /* eslint-disable @typescript-eslint/ban-ts-comment */

import type { I18n } from '@uppy/utils/lib/Translator'
import type { State, NonNullableUppyOptions } from './Uppy.js'
import type { State, NonNullableUppyOptions } from './Uppy.ts'

@@ -11,0 +11,0 @@ export type Restrictions = {

@@ -8,4 +8,4 @@ /* eslint-disable class-methods-use-this */

import BasePlugin from './BasePlugin.ts'
import type { PluginOpts } from './BasePlugin.js'
import type { State } from './Uppy.js'
import type { PluginOpts } from './BasePlugin.ts'
import type { State } from './Uppy.ts'

@@ -12,0 +12,0 @@ /**

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

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

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

Sorry, the diff of this file is too big to display

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