-
Notifications
You must be signed in to change notification settings - Fork 1.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
[core][client] Stop importing URL from "url" #15933
Comments
Hi @xirzec, is this still open, I would like to give this a try. |
I started working on it just to check how it can be done
Found configuration in /home/suyash/open-source/azure-sdk-for-js/rush.json Rush Multi-Project Build Tool 5.51.1 - https://rushjs.io Found configuration in /home/suyash/open-source/azure-sdk-for-js/rush.json Executing: "npm run clean && tsc -p . && npm run unit-test:node && npm run integration-test:node"
deserializationPolicy serializationPolicy Serializer ServiceClient getRequestUrl 170 passing (201ms)
skipped |
Fixed by #17022 |
Adding identityBasedRestoreDetails optional property for the customers to be able to specify target storage account id when wanting to do restore using managed identities. (Azure#15933)
Now that we're not trying for node 8 compatibility, we can simply use
URL
andURLSearchParams
directly, eliminating the need for a browser and node version of this import.We'll have to update ourThis already done in #15996 -- special thanks to @ramya-rao-a )@types/node
beyond 8 to make this happen, though!To fix this:
from "url"
)url.ts
andurl.browser.ts
) and clean up modules that import them. Now thatURL
andURLSearchParams
are globally available, you can just remove the imports and the global version will start working.package.json
for any SDK where you removed a.browser.
file to remove the mapping in thebrowser
section.The text was updated successfully, but these errors were encountered: