You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since your latest Axios upgrade (from 1.6.7 to 1.6.8) we are receiving an error 'Can't find variable: axios' when we try to call an 'axios' method inside the browser console
It works perfectly fine on previous version - v1.6.7
To Reproduce
To reproduce it, we need to set the script inside the browser console with chrome/chromium version lower or equal to 38.x
This does not work on chromium 38, but does work on firefox 123.
Test 2
<!DOCTYPE html><html><body><scriptsrc="https://cdn.jsdelivr.net/npm/axios@1.6.8/dist/axios.min.js"></script><script>// Make a GET request to a URLaxios.get('https://jsonplaceholder.typicode.com/posts/1').then(function(response){// Handle successconsole.log('Response:',response.data);}).catch(function(error){// Handle errorconsole.error('Error:',error);});</script></body></html>
This does not work on chromium 38, but does work on firefox 123.
Conclusion
Although neither of these code samples work with chromium 38, they also don't work with any version of axios. It seems as though axios has never worked with chromium 38.
Describe the bug
Axios version 1.6.8
Axios library set on Chromium version 38 and lower (with help of CDN https://cdn.jsdelivr.net/npm/axios@1.6.8/dist/axios.min.js)
Since your latest Axios upgrade (from 1.6.7 to 1.6.8) we are receiving an error 'Can't find variable: axios' when we try to call an 'axios' method inside the browser console
It works perfectly fine on previous version - v1.6.7
To Reproduce
To reproduce it, we need to set the script inside the browser console with chrome/chromium version lower or equal to 38.x
Here is a script example:
Code snippet
No response
Expected behavior
No response
Axios Version
1.6.8
Adapter Version
No response
Browser
Chromium 38 and lower
Browser Version
38
Node.js Version
No response
OS
No response
Additional Library Versions
No response
Additional context/Screenshots
No response
The text was updated successfully, but these errors were encountered: