-
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
This package depends on [email protected] which doesn't play well with WebPack #8483
Comments
The three packages which take this dependency are: cosmos, core-http, and perfstress. @daviwil @southpolesteve any thoughts on updating this dep? I can take a stab at the actual PR, but wanted to make sure there wasn't anything blocking this work. |
I'm not aware of anything blocking the upgrade fwiw. |
@MTCMarkFranco Can you provide more info about exactly which libraries you are using and how you are using webpack? @xirzec @bterlson This needs more thorough consideration. node-fetch v3 is still in beta. It also has a significant breaking change that likely will break webpack+browser users cc/ @zfoster |
Since we aren't using node-fetch in the browser I hope that change won't affect us? We already map to an xhr implementation by default in browsers. |
@azure/cosmos does use native fetch in browsers, but other packages may not. We rely on the node-fetch browser field point to be a simple wrapper around the native fetch |
Removing the cosmos labels since I don't believe this is referring to the Cosmos Data Plane SDK |
I agree with @southpolesteve about |
The new pipeline doesn't depend on node-fetch, just node's |
Hi There, sorry for the late response...my environment details: NodeJS Team MessageExtension generated by the Team Yo generator. Basically, I was incorporating KeyVault access into the project (not part of the default template) using the following libraries: @azure/identity full code: |
This should be resolved once we upgrade KeyVault to use CoreV2 |
Closing this issue in favor of #15594 that tracks the work needed to update all our packages that use core-http to now use the newer core packages. @MTCMarkFranco, please subscribe to #15522 and #15595 that specifically tracks the work needed to move the Key Vault and Identity packages (the ones you are using) to use the new Azure Core packages. cc @sadasant, @maorleger |
This package depends on [email protected] which doesn't play well with WebPack see related issue here: node-fetch/node-fetch#667
can we update this model to leverage version 3 of node-fetch to fix this problem. Getting "TypeError: Expected signal to be an instanceof AbortSignal" whenever we const client = new SecretClient(url, credential); after we receive DefaultAzureCredential() using MSI.
The text was updated successfully, but these errors were encountered: