Easily manage the contents of your storage account with Azure Storage Explorer. Upload, download, and manage blobs, files, queues, tables, and Cosmos DB entities. Gain easy access to manage your virtual machine disks. Work with either Azure Resource Manager or classic storage accounts, plus manage and configure cross-origin resource sharing (CORS) rules.
Creative Commons Attribution 4.0 International
378
stars
87
forks
source link
Drop legacy Node `url` usage in favor of WHATWG `url` #8261
Node's legacy url module is deprecated. It's WHATWG API mirrors what's available natively in web environments.
To reduce dependencies and bundling complexity, we should use the WHATWG API. Since Node's is equivalent to native web's, we'll also be using consistent interfaces in all components.
To use the WHATWG API, we simply need to remove any url import statements.
Some useful notes:
new URL() throws if the argument is not well formed, and URL.parse() returns null. Otherwise, they are functionally equivalent.
Node's legacy
url
module is deprecated. It's WHATWG API mirrors what's available natively in web environments.To reduce dependencies and bundling complexity, we should use the WHATWG API. Since Node's is equivalent to native web's, we'll also be using consistent interfaces in all components.
To use the WHATWG API, we simply need to remove any
url
import statements.Some useful notes:
new URL()
throws if the argument is not well formed, andURL.parse()
returnsnull
. Otherwise, they are functionally equivalent.