Skip to content

Commit 8bd3199

Browse files
committed
Fix axios patch
1 parent 2ed7bb2 commit 8bd3199

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

patches/axios+1.12.2.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ index 0e8b6ac..9df7314 100644
2525
/**
2626
* Determine if we're running in a standard browser environment
2727
diff --git a/node_modules/axios/lib/platform/common/utils.js b/node_modules/axios/lib/platform/common/utils.js
28-
index 52a3186..6a71374 100644
28+
index 52a3186..45f1327 100644
2929
--- a/node_modules/axios/lib/platform/common/utils.js
3030
+++ b/node_modules/axios/lib/platform/common/utils.js
31-
@@ -1,6 +1,7 @@
31+
@@ -1,6 +1,6 @@
3232
const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
3333

3434
-const _navigator = typeof navigator === 'object' && navigator || undefined;
35-
+const _navigator = undefined; // PATCHED
35+
+const _navigator = undefined; // PATCHED: Removed navigator check
3636

3737
/**
3838
* Determine if we're running in a standard browser environment

0 commit comments

Comments
 (0)