-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@uppy/angular: upgrade to Angular 18 #5215
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Diff output filesdiff --git a/packages/@uppy/audio/lib/Audio.js b/packages/@uppy/audio/lib/Audio.js
index 999ffb3..f46567a 100644
--- a/packages/@uppy/audio/lib/Audio.js
+++ b/packages/@uppy/audio/lib/Audio.js
@@ -1,22 +1,20 @@
function _extends() {
- _extends = Object.assign ? Object.assign.bind() : function(target) {
- for (var i = 1; i < arguments.length; i++) {
- var source = arguments[i];
- for (var key in source) if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
+ for (var e = 1; e < arguments.length; e++) {
+ var t = arguments[e];
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
}
- return target;
- };
- return _extends.apply(this, arguments);
+ return n;
+ },
+ _extends.apply(null, arguments);
}
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import { UIPlugin } from "@uppy/core";
import getFileTypeExtension from "@uppy/utils/lib/getFileTypeExtension";
diff --git a/packages/@uppy/audio/lib/audio-oscilloscope/index.js b/packages/@uppy/audio/lib/audio-oscilloscope/index.js
index 11a8600..88afa7e 100644
--- a/packages/@uppy/audio/lib/audio-oscilloscope/index.js
+++ b/packages/@uppy/audio/lib/audio-oscilloscope/index.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
function isFunction(v) {
return typeof v === "function";
diff --git a/packages/@uppy/aws-s3/lib/HTTPCommunicationQueue.js b/packages/@uppy/aws-s3/lib/HTTPCommunicationQueue.js
index e8c799d..29c5f4b 100644
--- a/packages/@uppy/aws-s3/lib/HTTPCommunicationQueue.js
+++ b/packages/@uppy/aws-s3/lib/HTTPCommunicationQueue.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import { pausingUploadReason } from "./MultipartUploader.js";
import { throwIfAborted } from "./utils.js";
diff --git a/packages/@uppy/aws-s3/lib/MultipartUploader.js b/packages/@uppy/aws-s3/lib/MultipartUploader.js
index f5ac046..ff1f21c 100644
--- a/packages/@uppy/aws-s3/lib/MultipartUploader.js
+++ b/packages/@uppy/aws-s3/lib/MultipartUploader.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import { AbortController } from "@uppy/utils/lib/AbortController";
const MB = 1024 * 1024;
diff --git a/packages/@uppy/aws-s3/lib/index.js b/packages/@uppy/aws-s3/lib/index.js
index 30c18d3..62ee351 100644
--- a/packages/@uppy/aws-s3/lib/index.js
+++ b/packages/@uppy/aws-s3/lib/index.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import { RequestClient } from "@uppy/companion-client";
import BasePlugin from "@uppy/core/lib/BasePlugin.js";
diff --git a/packages/@uppy/companion-client/lib/Provider.js b/packages/@uppy/companion-client/lib/Provider.js
index 59caae7..dfd371e 100644
--- a/packages/@uppy/companion-client/lib/Provider.js
+++ b/packages/@uppy/companion-client/lib/Provider.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import RequestClient, { authErrorStatusCode } from "./RequestClient.js";
const getName = id => {
diff --git a/packages/@uppy/companion-client/lib/RequestClient.js b/packages/@uppy/companion-client/lib/RequestClient.js
index a22de91..3bd25b1 100644
--- a/packages/@uppy/companion-client/lib/RequestClient.js
+++ b/packages/@uppy/companion-client/lib/RequestClient.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import emitSocketProgress from "@uppy/utils/lib/emitSocketProgress";
import ErrorWithCause from "@uppy/utils/lib/ErrorWithCause";
diff --git a/packages/@uppy/compressor/lib/index.js b/packages/@uppy/compressor/lib/index.js
index ba57f2d..6387fdc 100644
--- a/packages/@uppy/compressor/lib/index.js
+++ b/packages/@uppy/compressor/lib/index.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import prettierBytes from "@transloadit/prettier-bytes";
import { BasePlugin } from "@uppy/core";
diff --git a/packages/@uppy/core/lib/EventManager.js b/packages/@uppy/core/lib/EventManager.js
index 54d8574..8328bc0 100644
--- a/packages/@uppy/core/lib/EventManager.js
+++ b/packages/@uppy/core/lib/EventManager.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
var _uppy = _classPrivateFieldLooseKey("uppy");
var _events = _classPrivateFieldLooseKey("events");
diff --git a/packages/@uppy/core/lib/UIPlugin.js b/packages/@uppy/core/lib/UIPlugin.js
index 4d04353..cd3e4d5 100644
--- a/packages/@uppy/core/lib/UIPlugin.js
+++ b/packages/@uppy/core/lib/UIPlugin.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import findDOMElement from "@uppy/utils/lib/findDOMElement";
import getTextDirection from "@uppy/utils/lib/getTextDirection";
diff --git a/packages/@uppy/core/lib/Uppy.js b/packages/@uppy/core/lib/Uppy.js
index cf5b770..1d1f3ce 100644
--- a/packages/@uppy/core/lib/Uppy.js
+++ b/packages/@uppy/core/lib/Uppy.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import DefaultStore from "@uppy/store-default";
import { getSafeFileId } from "@uppy/utils/lib/generateFileID";
diff --git a/packages/@uppy/dashboard/lib/Dashboard.js b/packages/@uppy/dashboard/lib/Dashboard.js
index af9dc8b..beb8627 100644
--- a/packages/@uppy/dashboard/lib/Dashboard.js
+++ b/packages/@uppy/dashboard/lib/Dashboard.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import { UIPlugin } from "@uppy/core";
import Informer from "@uppy/informer";
diff --git a/packages/@uppy/dashboard/lib/components/Dashboard.js b/packages/@uppy/dashboard/lib/components/Dashboard.js
index b1edc75..41aa638 100644
--- a/packages/@uppy/dashboard/lib/components/Dashboard.js
+++ b/packages/@uppy/dashboard/lib/components/Dashboard.js
@@ -1,12 +1,12 @@
function _extends() {
- _extends = Object.assign ? Object.assign.bind() : function(target) {
- for (var i = 1; i < arguments.length; i++) {
- var source = arguments[i];
- for (var key in source) if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
+ for (var e = 1; e < arguments.length; e++) {
+ var t = arguments[e];
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
}
- return target;
- };
- return _extends.apply(this, arguments);
+ return n;
+ },
+ _extends.apply(null, arguments);
}
import isDragDropSupported from "@uppy/utils/lib/isDragDropSupported";
import classNames from "classnames";
diff --git a/packages/@uppy/form/lib/index.js b/packages/@uppy/form/lib/index.js
index fb50f62..8afe315 100644
--- a/packages/@uppy/form/lib/index.js
+++ b/packages/@uppy/form/lib/index.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import BasePlugin from "@uppy/core/lib/BasePlugin.js";
import findDOMElement from "@uppy/utils/lib/findDOMElement";
diff --git a/packages/@uppy/golden-retriever/lib/IndexedDBStore.js b/packages/@uppy/golden-retriever/lib/IndexedDBStore.js
index a89942f..bb7fedc 100644
--- a/packages/@uppy/golden-retriever/lib/IndexedDBStore.js
+++ b/packages/@uppy/golden-retriever/lib/IndexedDBStore.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
const indexedDB = typeof window !== "undefined"
&& (window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB || window.OIndexedDB || window.msIndexedDB);
diff --git a/packages/@uppy/golden-retriever/lib/ServiceWorkerStore.js b/packages/@uppy/golden-retriever/lib/ServiceWorkerStore.js
index 36ac828..e57b8b6 100644
--- a/packages/@uppy/golden-retriever/lib/ServiceWorkerStore.js
+++ b/packages/@uppy/golden-retriever/lib/ServiceWorkerStore.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
const isSupported = typeof navigator !== "undefined" && "serviceWorker" in navigator;
function waitForServiceWorker() {
diff --git a/packages/@uppy/provider-views/lib/Item/index.js b/packages/@uppy/provider-views/lib/Item/index.js
index e7e4478..52ee30c 100644
--- a/packages/@uppy/provider-views/lib/Item/index.js
+++ b/packages/@uppy/provider-views/lib/Item/index.js
@@ -1,12 +1,12 @@
function _extends() {
- _extends = Object.assign ? Object.assign.bind() : function(target) {
- for (var i = 1; i < arguments.length; i++) {
- var source = arguments[i];
- for (var key in source) if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
+ for (var e = 1; e < arguments.length; e++) {
+ var t = arguments[e];
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
}
- return target;
- };
- return _extends.apply(this, arguments);
+ return n;
+ },
+ _extends.apply(null, arguments);
}
import classNames from "classnames";
import { h } from "preact";
diff --git a/packages/@uppy/provider-views/lib/ProviderView/ProviderView.js b/packages/@uppy/provider-views/lib/ProviderView/ProviderView.js
index 670029d..822767c 100644
--- a/packages/@uppy/provider-views/lib/ProviderView/ProviderView.js
+++ b/packages/@uppy/provider-views/lib/ProviderView/ProviderView.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import { getSafeFileId } from "@uppy/utils/lib/generateFileID";
import PQueue from "p-queue";
diff --git a/packages/@uppy/provider-views/lib/SearchProviderView/SearchProviderView.js b/packages/@uppy/provider-views/lib/SearchProviderView/SearchProviderView.js
index c27fa47..1dea428 100644
--- a/packages/@uppy/provider-views/lib/SearchProviderView/SearchProviderView.js
+++ b/packages/@uppy/provider-views/lib/SearchProviderView/SearchProviderView.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import { h } from "preact";
import Browser from "../Browser.js";
diff --git a/packages/@uppy/remote-sources/lib/index.js b/packages/@uppy/remote-sources/lib/index.js
index b4a4260..83c04d4 100644
--- a/packages/@uppy/remote-sources/lib/index.js
+++ b/packages/@uppy/remote-sources/lib/index.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import Box from "@uppy/box";
import { BasePlugin } from "@uppy/core";
diff --git a/packages/@uppy/screen-capture/lib/RecorderScreen.js b/packages/@uppy/screen-capture/lib/RecorderScreen.js
index 0141077..52e5342 100644
--- a/packages/@uppy/screen-capture/lib/RecorderScreen.js
+++ b/packages/@uppy/screen-capture/lib/RecorderScreen.js
@@ -1,12 +1,12 @@
function _extends() {
- _extends = Object.assign ? Object.assign.bind() : function(target) {
- for (var i = 1; i < arguments.length; i++) {
- var source = arguments[i];
- for (var key in source) if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
+ for (var e = 1; e < arguments.length; e++) {
+ var t = arguments[e];
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
}
- return target;
- };
- return _extends.apply(this, arguments);
+ return n;
+ },
+ _extends.apply(null, arguments);
}
import { Component, h } from "preact";
import RecordButton from "./RecordButton.js";
diff --git a/packages/@uppy/screen-capture/lib/ScreenCapture.js b/packages/@uppy/screen-capture/lib/ScreenCapture.js
index 5bd9fd4..0ccc269 100644
--- a/packages/@uppy/screen-capture/lib/ScreenCapture.js
+++ b/packages/@uppy/screen-capture/lib/ScreenCapture.js
@@ -1,12 +1,12 @@
function _extends() {
- _extends = Object.assign ? Object.assign.bind() : function(target) {
- for (var i = 1; i < arguments.length; i++) {
- var source = arguments[i];
- for (var key in source) if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
+ for (var e = 1; e < arguments.length; e++) {
+ var t = arguments[e];
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
}
- return target;
- };
- return _extends.apply(this, arguments);
+ return n;
+ },
+ _extends.apply(null, arguments);
}
import { UIPlugin } from "@uppy/core";
import getFileTypeExtension from "@uppy/utils/lib/getFileTypeExtension";
diff --git a/packages/@uppy/status-bar/lib/StatusBar.js b/packages/@uppy/status-bar/lib/StatusBar.js
index 4f00a56..20be387 100644
--- a/packages/@uppy/status-bar/lib/StatusBar.js
+++ b/packages/@uppy/status-bar/lib/StatusBar.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import { UIPlugin } from "@uppy/core";
import emaFilter from "@uppy/utils/lib/emaFilter";
diff --git a/packages/@uppy/store-default/lib/index.js b/packages/@uppy/store-default/lib/index.js
index 9e7201c..f80f5db 100644
--- a/packages/@uppy/store-default/lib/index.js
+++ b/packages/@uppy/store-default/lib/index.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
const packageJson = {
"version": "4.0.0-beta.2",
diff --git a/packages/@uppy/store-redux/lib/index.js b/packages/@uppy/store-redux/lib/index.js
index a89005a..4aad881 100644
--- a/packages/@uppy/store-redux/lib/index.js
+++ b/packages/@uppy/store-redux/lib/index.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import { nanoid } from "nanoid/non-secure";
const packageJson = {
diff --git a/packages/@uppy/transloadit/lib/Assembly.js b/packages/@uppy/transloadit/lib/Assembly.js
index 6a731c0..84ab456 100644
--- a/packages/@uppy/transloadit/lib/Assembly.js
+++ b/packages/@uppy/transloadit/lib/Assembly.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import fetchWithNetworkError from "@uppy/utils/lib/fetchWithNetworkError";
import has from "@uppy/utils/lib/hasProperty";
diff --git a/packages/@uppy/transloadit/lib/AssemblyWatcher.js b/packages/@uppy/transloadit/lib/AssemblyWatcher.js
index b39780f..8120515 100644
--- a/packages/@uppy/transloadit/lib/AssemblyWatcher.js
+++ b/packages/@uppy/transloadit/lib/AssemblyWatcher.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import Emitter from "component-emitter";
var _assemblyIDs = _classPrivateFieldLooseKey("assemblyIDs");
diff --git a/packages/@uppy/transloadit/lib/Client.js b/packages/@uppy/transloadit/lib/Client.js
index 798d3da..a3e2210 100644
--- a/packages/@uppy/transloadit/lib/Client.js
+++ b/packages/@uppy/transloadit/lib/Client.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import fetchWithNetworkError from "@uppy/utils/lib/fetchWithNetworkError";
const ASSEMBLIES_ENDPOINT = "/assemblies";
diff --git a/packages/@uppy/transloadit/lib/index.js b/packages/@uppy/transloadit/lib/index.js
index 123fa1f..8a44318 100644
--- a/packages/@uppy/transloadit/lib/index.js
+++ b/packages/@uppy/transloadit/lib/index.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import BasePlugin from "@uppy/core/lib/BasePlugin.js";
import Tus from "@uppy/tus";
diff --git a/packages/@uppy/tus/lib/index.js b/packages/@uppy/tus/lib/index.js
index 3bccecb..b8ba3a7 100644
--- a/packages/@uppy/tus/lib/index.js
+++ b/packages/@uppy/tus/lib/index.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import BasePlugin from "@uppy/core/lib/BasePlugin.js";
import EventManager from "@uppy/core/lib/EventManager.js";
diff --git a/packages/@uppy/url/lib/UrlUI.js b/packages/@uppy/url/lib/UrlUI.js
index d95a475..15fdb61 100644
--- a/packages/@uppy/url/lib/UrlUI.js
+++ b/packages/@uppy/url/lib/UrlUI.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import { nanoid } from "nanoid/non-secure";
import { Component, h } from "preact";
diff --git a/packages/@uppy/utils/lib/EventManager.js b/packages/@uppy/utils/lib/EventManager.js
index 05ee7f4..8d63651 100644
--- a/packages/@uppy/utils/lib/EventManager.js
+++ b/packages/@uppy/utils/lib/EventManager.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
var _uppy = _classPrivateFieldLooseKey("uppy");
var _events = _classPrivateFieldLooseKey("events");
diff --git a/packages/@uppy/utils/lib/ProgressTimeout.js b/packages/@uppy/utils/lib/ProgressTimeout.js
index 83ba907..19441b3 100644
--- a/packages/@uppy/utils/lib/ProgressTimeout.js
+++ b/packages/@uppy/utils/lib/ProgressTimeout.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
var _aliveTimer = _classPrivateFieldLooseKey("aliveTimer");
var _isDone = _classPrivateFieldLooseKey("isDone");
diff --git a/packages/@uppy/utils/lib/RateLimitedQueue.js b/packages/@uppy/utils/lib/RateLimitedQueue.js
index 4c49f99..daf2e67 100644
--- a/packages/@uppy/utils/lib/RateLimitedQueue.js
+++ b/packages/@uppy/utils/lib/RateLimitedQueue.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
function createCancelError(cause) {
return new Error("Cancelled", {
diff --git a/packages/@uppy/utils/lib/Translator.js b/packages/@uppy/utils/lib/Translator.js
index bcc825f..9814fbd 100644
--- a/packages/@uppy/utils/lib/Translator.js
+++ b/packages/@uppy/utils/lib/Translator.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
function insertReplacement(source, rx, replacement) {
const newParts = [];
diff --git a/packages/@uppy/utils/lib/VirtualList.js b/packages/@uppy/utils/lib/VirtualList.js
index 5f76908..8fe590d 100644
--- a/packages/@uppy/utils/lib/VirtualList.js
+++ b/packages/@uppy/utils/lib/VirtualList.js
@@ -1,12 +1,12 @@
function _extends() {
- _extends = Object.assign ? Object.assign.bind() : function(target) {
- for (var i = 1; i < arguments.length; i++) {
- var source = arguments[i];
- for (var key in source) if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
+ for (var e = 1; e < arguments.length; e++) {
+ var t = arguments[e];
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
}
- return target;
- };
- return _extends.apply(this, arguments);
+ return n;
+ },
+ _extends.apply(null, arguments);
}
import { Component, h } from "preact";
const STYLE_INNER = {
diff --git a/packages/@uppy/webcam/lib/CameraScreen.js b/packages/@uppy/webcam/lib/CameraScreen.js
index fb55b84..04240d2 100644
--- a/packages/@uppy/webcam/lib/CameraScreen.js
+++ b/packages/@uppy/webcam/lib/CameraScreen.js
@@ -1,12 +1,12 @@
function _extends() {
- _extends = Object.assign ? Object.assign.bind() : function(target) {
- for (var i = 1; i < arguments.length; i++) {
- var source = arguments[i];
- for (var key in source) if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
+ for (var e = 1; e < arguments.length; e++) {
+ var t = arguments[e];
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
}
- return target;
- };
- return _extends.apply(this, arguments);
+ return n;
+ },
+ _extends.apply(null, arguments);
}
import { Component, h } from "preact";
import DiscardButton from "./DiscardButton.js";
diff --git a/packages/@uppy/webcam/lib/Webcam.js b/packages/@uppy/webcam/lib/Webcam.js
index f5f9d58..d66e8f9 100644
--- a/packages/@uppy/webcam/lib/Webcam.js
+++ b/packages/@uppy/webcam/lib/Webcam.js
@@ -1,22 +1,20 @@
function _extends() {
- _extends = Object.assign ? Object.assign.bind() : function(target) {
- for (var i = 1; i < arguments.length; i++) {
- var source = arguments[i];
- for (var key in source) if (Object.prototype.hasOwnProperty.call(source, key)) target[key] = source[key];
+ return _extends = Object.assign ? Object.assign.bind() : function(n) {
+ for (var e = 1; e < arguments.length; e++) {
+ var t = arguments[e];
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
}
- return target;
- };
- return _extends.apply(this, arguments);
+ return n;
+ },
+ _extends.apply(null, arguments);
}
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import { UIPlugin } from "@uppy/core";
import canvasToBlob from "@uppy/utils/lib/canvasToBlob";
diff --git a/packages/@uppy/xhr-upload/lib/index.js b/packages/@uppy/xhr-upload/lib/index.js
index 8ab78f4..1183a8d 100644
--- a/packages/@uppy/xhr-upload/lib/index.js
+++ b/packages/@uppy/xhr-upload/lib/index.js
@@ -1,12 +1,10 @@
-function _classPrivateFieldLooseBase(receiver, privateKey) {
- if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
- throw new TypeError("attempted to use private field on non-instance");
- }
- return receiver;
+function _classPrivateFieldLooseBase(e, t) {
+ if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance");
+ return e;
}
var id = 0;
-function _classPrivateFieldLooseKey(name) {
- return "__private_" + id++ + "_" + name;
+function _classPrivateFieldLooseKey(e) {
+ return "__private_" + id++ + "_" + e;
}
import BasePlugin from "@uppy/core/lib/BasePlugin.js";
import EventManager from "@uppy/core/lib/EventManager.js"; |
Murderlon
reviewed
Jun 3, 2024
Murderlon
approved these changes
Jun 4, 2024
Murderlon
added a commit
that referenced
this pull request
Jun 4, 2024
* 4.x: (43 commits) remove resetProgress and reset-progress (#5221) @uppy/audio: remove unused component props (#5209) @uppy/angular: fix invalid char in `package.json` (#5224) meta: use default argument value instead of `defaultProps` (#5222) @uppy/angular: upgrade to Angular 18 (#5215) @uppy/utils: remove unused `settle` (#5210) @uppy/form: move internal property to private field (#5214) @uppy/dashboard: remove unused component props (#5213) @uppy/status-bar: remove unused component props (#5211) @uppy/audio: move internal property to private field (#5207) @uppy/aws-s3: remove todo (#5200) @uppy/core: remove unnecessary todo (#5200) @uppy/aws-s3: do not expose internal `assertHost` method (#5200) @uppy/aws-s3: make passing `signal` consistent (#5200) @uppy/core: remove `'upload-started'` event (#5200) @uppy/aws-s3: remove `chunkState` getter (#5200) @uppy/drop-target: remove `title` property (#5200) @uppy/golden-retriever: remove unused `ready` setters (#5200) @uppy/dashboard: remove deprecated `autoOpenFileEditor` option (#5200) @uppy/aws-s3: remove `uploaderSockets` (#5200) ...
Murderlon
added a commit
that referenced
this pull request
Jun 4, 2024
* 4.x: (44 commits) remove resetProgress and reset-progress (#5221) @uppy/audio: remove unused component props (#5209) @uppy/angular: fix invalid char in `package.json` (#5224) meta: use default argument value instead of `defaultProps` (#5222) @uppy/angular: upgrade to Angular 18 (#5215) @uppy/utils: remove unused `settle` (#5210) @uppy/form: move internal property to private field (#5214) @uppy/dashboard: remove unused component props (#5213) @uppy/status-bar: remove unused component props (#5211) @uppy/audio: move internal property to private field (#5207) @uppy/aws-s3: remove todo (#5200) @uppy/core: remove unnecessary todo (#5200) @uppy/aws-s3: do not expose internal `assertHost` method (#5200) @uppy/aws-s3: make passing `signal` consistent (#5200) @uppy/core: remove `'upload-started'` event (#5200) @uppy/aws-s3: remove `chunkState` getter (#5200) @uppy/drop-target: remove `title` property (#5200) @uppy/golden-retriever: remove unused `ready` setters (#5200) @uppy/dashboard: remove deprecated `autoOpenFileEditor` option (#5200) @uppy/aws-s3: remove `uploaderSockets` (#5200) ...
github-actions bot
added a commit
that referenced
this pull request
Jun 4, 2024
| Package | Version | Package | Version | | ---------------------- | ------------- | ---------------------- | ------------- | | @uppy/angular | 0.7.0-beta.5 | @uppy/instagram | 4.0.0-beta.6 | | @uppy/audio | 2.0.0-beta.6 | @uppy/locales | 4.0.0-beta.2 | | @uppy/aws-s3 | 4.0.0-beta.5 | @uppy/onedrive | 4.0.0-beta.6 | | @uppy/aws-s3-multipart | 4.0.0-beta.6 | @uppy/provider-views | 4.0.0-beta.7 | | @uppy/box | 3.0.0-beta.6 | @uppy/status-bar | 4.0.0-beta.9 | | @uppy/companion | 5.0.0-beta.9 | @uppy/transloadit | 4.0.0-beta.7 | | @uppy/companion-client | 4.0.0-beta.7 | @uppy/tus | 4.0.0-beta.6 | | @uppy/core | 4.0.0-beta.9 | @uppy/unsplash | 4.0.0-beta.7 | | @uppy/dashboard | 4.0.0-beta.9 | @uppy/url | 4.0.0-beta.7 | | @uppy/drop-target | 3.0.0-beta.5 | @uppy/utils | 6.0.0-beta.8 | | @uppy/dropbox | 4.0.0-beta.7 | @uppy/webcam | 4.0.0-beta.8 | | @uppy/facebook | 4.0.0-beta.6 | @uppy/xhr-upload | 4.0.0-beta.6 | | @uppy/form | 4.0.0-beta.4 | @uppy/zoom | 3.0.0-beta.6 | | @uppy/golden-retriever | 4.0.0-beta.5 | uppy | 4.0.0-beta.10 | | @uppy/google-drive | 4.0.0-beta.6 | | | - @uppy/audio: remove unused component props (Antoine du Hamel / #5209) - @uppy/angular: fix invalid char in `package.json` (Antoine du Hamel / #5224) - meta: use default argument value instead of `defaultProps` (Antoine du Hamel / #5222) - @uppy/angular: upgrade to Angular 18 (Antoine du Hamel / #5215) - @uppy/utils: remove unused `settle` (Antoine du Hamel / #5210) - @uppy/form: move internal property to private field (Antoine du Hamel / #5214) - @uppy/dashboard: remove unused component props (Antoine du Hamel / #5213) - @uppy/status-bar: remove unused component props (Antoine du Hamel / #5211) - @uppy/audio: move internal property to private field (Antoine du Hamel / #5207) - @uppy/aws-s3: remove todo (Mikael Finstad / #5200) - @uppy/core: remove unnecessary todo (Mikael Finstad / #5200) - @uppy/aws-s3: do not expose internal `assertHost` method (Mikael Finstad / #5200) - @uppy/aws-s3: make passing `signal` consistent (Mikael Finstad / #5200) - @uppy/core: remove `'upload-started'` event (Mikael Finstad / #5200) - @uppy/aws-s3: remove `chunkState` getter (Mikael Finstad / #5200) - @uppy/drop-target: remove `title` property (Mikael Finstad / #5200) - @uppy/golden-retriever: remove unused `ready` setters (Mikael Finstad / #5200) - @uppy/dashboard: remove deprecated `autoOpenFileEditor` option (Mikael Finstad / #5200) - @uppy/aws-s3: remove `uploaderSockets` (Mikael Finstad / #5200) - @uppy/locales: remove hacks for legacy bundle (Mikael Finstad / #5200) - @uppy/status-bar: rename `StatusBar` to `StatusBarUI` (Mikael Finstad / #5200) - @uppy/url: remove unused error handler (Mikael Finstad / #5200) - @uppy/aws-s3,@uppy/tus,@uppy/utils,@uppy/xhr-upload: remove `uploader` from `upload-progress` event (Mikael Finstad / #5200) - @uppy/webcam: remove `facingMode` option (Mikael Finstad / #5200) - @uppy/companion: invert some internal boolean options (Mikael Finstad / #5198) - @uppy/companion: rename `authProvider` to `oauthProvider` (Mikael Finstad / #5198) - @uppy/companion: remove unused headers (Mikael Finstad / #5198) - @uppy/companion: remove sanitizing of metadata (Mikael Finstad / #5198) - @uppy/companion-client: do not allow boolean `RequestOptions` (Mikael Finstad / #5198) - @uppy/companion-client: remove deprecated options (Mikael Finstad / #5198) - @uppy/companion: remove `error.extraData` (Mikael Finstad / #5198) - @uppy/companion-client: make `supportsRefreshToken` default (Mikael Finstad / #5198) - @uppy/companion-client: remove optional chaining (Mikael Finstad / #5198) - @uppy/companion: capitalize POST (Mikael Finstad / #5198) - @uppy/companion: simplify code by using modern Node.js APIs (Mikael Finstad / #5198) - @uppy/companion-client: remove `Socket` (Mikael Finstad / #5198) - @uppy/companion: rename `getExtraConfig` to `getExtraGrantConfig` (Mikael Finstad / #5198) - @uppy/companion: change `COMPANION_ENABLE_URL_ENDPOINT` default (Mikael Finstad / #5198) - @uppy/companion: change default value for Redis session prefix (Mikael Finstad / #5198) - examples: make React example up-to-date (Merlijn Vos / #5205) - @uppy/core: add type tests (Merlijn Vos / #5153) - @uppy/provider-views: PartialTree - get rid of `.onFirstRender()` (Evgenia Karunus / #5187) - @uppy/core: pass file to events consistently (Merlijn Vos / #5136) - docs: assume tree-shaking bundler is the most common case (Antoine du Hamel / #5160) - @uppy/core: remove `reason` (Antoine du Hamel / #5159) - @uppy/core: remove `resetProgress` and `reset-progress` (Mikael Finstad / #5221)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Refs: https://blog.angular.dev/angular-v18-is-now-available-e79d5ac0affe