-
Notifications
You must be signed in to change notification settings - Fork 231
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
Enhance the implementation and usage of fetch API #324
Comments
Not to mention that it's a nasty monkey patch... |
Any fetch polyfill can be used with the Microsoft Graph Client JS SDK and it is not specific to isomorphic-fetch. @askdesigners what do you suggest as an alternative to the monkey patching? |
@nikithauc since my original post isomorphic fetch has been updated to patch the security issue. However, this dependency is still pretty much inactive and we should consider an alternative. Additionally, I can see that you have updated it for v3, but I think the samples were missed. |
I feel like it would be more ergonomic to add an optional field to the configuration object that meets the interface of the fetch API, personally. |
@matt-tyler Can you elaborate on the capabilities that you feel should be present to access the fetch API? |
Good afternoon, I am with @matt-tyler. I may be misunderstanding the issue, but, I believe
I have run into issues since our linters are not catching the non-existing global objects on a NodeJs application, and some Storage one had sneaked in for months. Trying to remove the sneaking DOM library references, I have now found that THIS library doesn't let me compile typescript without them, since it is referencing the dom library Thank you for the great work, if you need help doing this, let me know. |
@alexrecuenco Thanks a lot for this feedback! I appreciate this input as it helps in improving our library! I will get in touch with you again during planning for the design changes of this task and would like to learn more from you. |
@nikithauc Thank you for all the effort. Excellent tools! |
Since this won't make its way to 3.0.0, could we have an example of how to use |
Closing this issue as I opened #493 to clearly state the requirement. |
Bug Report
Prerequisites
Can you reproduce the problem?
Are you running the latest version?
Are you reporting to the correct repository?
Did you perform a cursory search?
For more information, see the CONTRIBUTING guide.
Description
isomorphic-fetch hasn't been updated in 5+ years and is not maintained anymore.
A few days ago I received a security alert on the node webhook sample indicating that node-fetch < 2.6.1 (on which isomorphic-fetch depends) had a security issue.
We should remove/replace any usage of this lib in our codebase as well as update guidance to avoid leading people into referencing a deprecated and vulnerable lib in their projects.
AB#5995
The text was updated successfully, but these errors were encountered: