Comparing version 4.0.0-beta.6 to 4.0.0-beta.7
# @uppy/url | ||
## 4.0.0-beta.7 | ||
Released: 2024-06-04 | ||
Included in: Uppy v4.0.0-beta.10 | ||
- @uppy/url: remove unused error handler (Mikael Finstad / #5200) | ||
## 4.0.0-beta.6 | ||
@@ -4,0 +11,0 @@ |
@@ -12,3 +12,3 @@ var _Url; | ||
const packageJson = { | ||
"version": "4.0.0-beta.6" | ||
"version": "4.0.0-beta.7" | ||
}; | ||
@@ -63,10 +63,2 @@ import locale from "./locale.js"; | ||
url | ||
}).then(res => { | ||
// TODO: remove this handler in the next major | ||
if (res.error) { | ||
this.uppy.log('[URL] Error:'); | ||
this.uppy.log(res.error); | ||
throw new Error('Failed to fetch the file'); | ||
} | ||
return res; | ||
}); | ||
@@ -73,0 +65,0 @@ }; |
@@ -1,4 +0,4 @@ | ||
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, Component } from 'preact'; | ||
@@ -5,0 +5,0 @@ import { nanoid } from 'nanoid/non-secure'; |
{ | ||
"name": "@uppy/url", | ||
"description": "The Url plugin lets users import files from the Internet. Paste any URL and it’ll be added!", | ||
"version": "4.0.0-beta.6", | ||
"version": "4.0.0-beta.7", | ||
"license": "MIT", | ||
@@ -25,4 +25,4 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/companion-client": "^4.0.0-beta.6", | ||
"@uppy/utils": "^6.0.0-beta.6", | ||
"@uppy/companion-client": "^4.0.0-beta.7", | ||
"@uppy/utils": "^6.0.0-beta.8", | ||
"nanoid": "^5.0.0", | ||
@@ -32,5 +32,5 @@ "preact": "^10.5.13" | ||
"peerDependencies": { | ||
"@uppy/core": "^4.0.0-beta.7" | ||
"@uppy/core": "^4.0.0-beta.9" | ||
}, | ||
"stableVersion": "3.6.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
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
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
57146
726