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 3.10.0 to 4.0.0-beta.1

lib/BasePlugin.d.ts

10

CHANGELOG.md
# @uppy/core
## 4.0.0-beta.1
Released: 2024-03-28
Included in: Uppy v4.0.0-beta.1
- @uppy/core: refine type of private variables (Antoine du Hamel / #5028)
- @uppy/core: fix some type errors (Antoine du Hamel / #5015)
- @uppy/core: various type fixes (Antoine du Hamel / #4995)
- @uppy/core,@uppy/provider-views: Fix breadcrumbs (Evgenia Karunus / #4986)
## 3.10.0

@@ -4,0 +14,0 @@

15

lib/Uppy.js

@@ -14,4 +14,2 @@ let _Symbol$for, _Symbol$for2;

import throttle from 'lodash/throttle.js';
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore store-default types not always available on that branch
import DefaultStore from '@uppy/store-default';

@@ -28,3 +26,3 @@ import getFileType from '@uppy/utils/lib/getFileType';

const packageJson = {
"version": "3.10.0"
"version": "4.0.0-beta.1"
};

@@ -292,8 +290,3 @@ import locale from "./locale.js";

_classPrivateFieldLooseBase(this, _restricter)[_restricter] = new Restricter(() => this.opts, this.i18n);
_classPrivateFieldLooseBase(this, _storeUnsubscribe)[_storeUnsubscribe] = this.store.subscribe(
// eslint-disable-next-line
// @ts-ignore Store is incorrectly typed
(prevState, nextState, patch) => {
// eslint-disable-next-line
// @ts-ignore Store is incorrectly typed
_classPrivateFieldLooseBase(this, _storeUnsubscribe)[_storeUnsubscribe] = this.store.subscribe((prevState, nextState, patch) => {
this.emit('state-update', prevState, nextState, patch);

@@ -345,4 +338,2 @@ this.updateAll(nextState);

setState(patch) {
// eslint-disable-next-line
// @ts-ignore Store is incorrectly typed
this.store.setState(patch);

@@ -355,4 +346,2 @@ }

getState() {
// eslint-disable-next-line
// @ts-ignore Store is incorrectly typed
return this.store.getState();

@@ -359,0 +348,0 @@ }

{
"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": "3.10.0",
"version": "4.0.0-beta.1",
"license": "MIT",
"main": "lib/index.js",
"style": "dist/style.min.css",
"types": "types/index.d.ts",
"type": "module",

@@ -28,4 +27,4 @@ "sideEffects": [

"@transloadit/prettier-bytes": "^0.3.0",
"@uppy/store-default": "^3.2.2",
"@uppy/utils": "^5.7.5",
"@uppy/store-default": "^4.0.0-beta.1",
"@uppy/utils": "^6.0.0-beta.1",
"lodash": "^4.17.21",

@@ -39,3 +38,4 @@ "mime-match": "^1.0.2",

"vitest": "^1.2.1"
}
},
"stableVersion": "3.10.0"
}

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