summaryrefslogtreecommitdiff
path: root/school/node_modules/axios/lib/platform/browser
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-02-23 19:34:56 +0100
committerMinteck <contact@minteck.org>2023-02-23 19:34:56 +0100
commit3d1cd02f27518f1a04374c7c8320cd5d82ede6e9 (patch)
tree75be5fba4368472fb11c8015aee026b2b9a71888 /school/node_modules/axios/lib/platform/browser
parent8cc1f13c17fa2fb5a4410542d39e650e02945634 (diff)
downloadpluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.tar.gz
pluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.tar.bz2
pluralconnect-3d1cd02f27518f1a04374c7c8320cd5d82ede6e9.zip
Updated 40 files, added 37 files, deleted 1103 files and renamed 3905 files (automated)
Diffstat (limited to 'school/node_modules/axios/lib/platform/browser')
-rw-r--r--school/node_modules/axios/lib/platform/browser/classes/FormData.js3
-rw-r--r--school/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js4
-rw-r--r--school/node_modules/axios/lib/platform/browser/index.js43
3 files changed, 0 insertions, 50 deletions
diff --git a/school/node_modules/axios/lib/platform/browser/classes/FormData.js b/school/node_modules/axios/lib/platform/browser/classes/FormData.js
deleted file mode 100644
index 4369056..0000000
--- a/school/node_modules/axios/lib/platform/browser/classes/FormData.js
+++ /dev/null
@@ -1,3 +0,0 @@
-'use strict';
-
-export default FormData;
diff --git a/school/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js b/school/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js
deleted file mode 100644
index b7dae95..0000000
--- a/school/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js
+++ /dev/null
@@ -1,4 +0,0 @@
-'use strict';
-
-import AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js';
-export default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;
diff --git a/school/node_modules/axios/lib/platform/browser/index.js b/school/node_modules/axios/lib/platform/browser/index.js
deleted file mode 100644
index 80284eb..0000000
--- a/school/node_modules/axios/lib/platform/browser/index.js
+++ /dev/null
@@ -1,43 +0,0 @@
-import URLSearchParams from './classes/URLSearchParams.js'
-import FormData from './classes/FormData.js'
-
-/**
- * Determine if we're running in a standard browser environment
- *
- * This allows axios to run in a web worker, and react-native.
- * Both environments support XMLHttpRequest, but not fully standard globals.
- *
- * web workers:
- * typeof window -> undefined
- * typeof document -> undefined
- *
- * react-native:
- * navigator.product -> 'ReactNative'
- * nativescript
- * navigator.product -> 'NativeScript' or 'NS'
- *
- * @returns {boolean}
- */
-const isStandardBrowserEnv = (() => {
- let product;
- if (typeof navigator !== 'undefined' && (
- (product = navigator.product) === 'ReactNative' ||
- product === 'NativeScript' ||
- product === 'NS')
- ) {
- return false;
- }
-
- return typeof window !== 'undefined' && typeof document !== 'undefined';
-})();
-
-export default {
- isBrowser: true,
- classes: {
- URLSearchParams,
- FormData,
- Blob
- },
- isStandardBrowserEnv,
- protocols: ['http', 'https', 'file', 'blob', 'url', 'data']
-};