@uppy/core
Advanced tools
Comparing version 3.10.0 to 4.0.0-beta.1
# @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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
514353
90
8302
1
+ Added@uppy/store-default@4.1.0(transitive)
+ Added@uppy/utils@6.0.2(transitive)
- Removed@uppy/store-default@3.2.2(transitive)
- Removed@uppy/utils@5.9.0(transitive)
Updated@uppy/utils@^6.0.0-beta.1