Comparing version 3.4.0 to 3.5.0
@@ -8,3 +8,3 @@ import { h } from 'preact'; | ||
const packageJson = { | ||
"version": "3.4.0" | ||
"version": "3.5.0" | ||
}; | ||
@@ -52,2 +52,3 @@ import locale from './locale.js'; | ||
} | ||
/** | ||
@@ -88,2 +89,3 @@ * Url | ||
}); | ||
this.uppy.registerRequestClient(Url.requestClientId, this.client); | ||
} | ||
@@ -132,9 +134,6 @@ getMeta(url) { | ||
url | ||
} | ||
}, | ||
requestClientId: Url.requestClientId | ||
} | ||
}; | ||
Object.defineProperty(tagFile.remote, 'requestClient', { | ||
value: this.client, | ||
enumerable: false | ||
}); | ||
this.uppy.log('[Url] Adding remote file'); | ||
@@ -192,2 +191,3 @@ try { | ||
Url.VERSION = packageJson.version; | ||
Url.requestClientId = Url.name; | ||
Url.prototype.canHandleRootDrop = canHandleRootDrop; |
{ | ||
"name": "@uppy/url", | ||
"description": "The Url plugin lets users import files from the Internet. Paste any URL and it’ll be added!", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"license": "MIT", | ||
@@ -26,4 +26,4 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/companion-client": "^3.6.0", | ||
"@uppy/utils": "^5.6.0", | ||
"@uppy/companion-client": "^3.7.0", | ||
"@uppy/utils": "^5.7.0", | ||
"nanoid": "^4.0.0", | ||
@@ -33,4 +33,4 @@ "preact": "^10.5.13" | ||
"peerDependencies": { | ||
"@uppy/core": "^3.7.0" | ||
"@uppy/core": "^3.8.0" | ||
} | ||
} |
@@ -51,2 +51,3 @@ import { h } from 'preact' | ||
} | ||
/** | ||
@@ -59,2 +60,4 @@ * Url | ||
static requestClientId = Url.name | ||
constructor (uppy, opts) { | ||
@@ -93,2 +96,4 @@ super(uppy, opts) | ||
}) | ||
this.uppy.registerRequestClient(Url.requestClientId, this.client) | ||
} | ||
@@ -138,7 +143,6 @@ | ||
}, | ||
requestClientId: Url.requestClientId, | ||
}, | ||
} | ||
Object.defineProperty(tagFile.remote, 'requestClient', { value: this.client, enumerable: false }) | ||
this.uppy.log('[Url] Adding remote file') | ||
@@ -145,0 +149,0 @@ try { |
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
53163
707
Updated@uppy/utils@^5.7.0