summaryrefslogtreecommitdiff
path: root/alarm/node_modules/axios/lib/platform
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-01-10 14:54:04 +0100
committerMinteck <contact@minteck.org>2023-01-10 14:54:04 +0100
commit99c1d9af689e5325f3cf535c4007b3aeb8325229 (patch)
treee663b3c2ebdbd67c818ac0c5147f0ce1d2463cda /alarm/node_modules/axios/lib/platform
parent9871b03912fc28ad38b4037ebf26a78aa937baba (diff)
downloadpluralconnect-99c1d9af689e5325f3cf535c4007b3aeb8325229.tar.gz
pluralconnect-99c1d9af689e5325f3cf535c4007b3aeb8325229.tar.bz2
pluralconnect-99c1d9af689e5325f3cf535c4007b3aeb8325229.zip
Update - This is an automated commit
Diffstat (limited to 'alarm/node_modules/axios/lib/platform')
-rw-r--r--alarm/node_modules/axios/lib/platform/browser/classes/FormData.js3
-rw-r--r--alarm/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js4
-rw-r--r--alarm/node_modules/axios/lib/platform/browser/index.js43
-rw-r--r--alarm/node_modules/axios/lib/platform/index.js3
-rw-r--r--alarm/node_modules/axios/lib/platform/node/classes/FormData.js3
-rw-r--r--alarm/node_modules/axios/lib/platform/node/classes/URLSearchParams.js4
-rw-r--r--alarm/node_modules/axios/lib/platform/node/index.js12
7 files changed, 0 insertions, 72 deletions
diff --git a/alarm/node_modules/axios/lib/platform/browser/classes/FormData.js b/alarm/node_modules/axios/lib/platform/browser/classes/FormData.js
deleted file mode 100644
index 4369056..0000000
--- a/alarm/node_modules/axios/lib/platform/browser/classes/FormData.js
+++ /dev/null
@@ -1,3 +0,0 @@
-'use strict';
-
-export default FormData;
diff --git a/alarm/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js b/alarm/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js
deleted file mode 100644
index b7dae95..0000000
--- a/alarm/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/alarm/node_modules/axios/lib/platform/browser/index.js b/alarm/node_modules/axios/lib/platform/browser/index.js
deleted file mode 100644
index 80284eb..0000000
--- a/alarm/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']
-};
diff --git a/alarm/node_modules/axios/lib/platform/index.js b/alarm/node_modules/axios/lib/platform/index.js
deleted file mode 100644
index 5e9d005..0000000
--- a/alarm/node_modules/axios/lib/platform/index.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import platform from './node/index.js';
-
-export {platform as default}
diff --git a/alarm/node_modules/axios/lib/platform/node/classes/FormData.js b/alarm/node_modules/axios/lib/platform/node/classes/FormData.js
deleted file mode 100644
index b07f947..0000000
--- a/alarm/node_modules/axios/lib/platform/node/classes/FormData.js
+++ /dev/null
@@ -1,3 +0,0 @@
-import FormData from 'form-data';
-
-export default FormData;
diff --git a/alarm/node_modules/axios/lib/platform/node/classes/URLSearchParams.js b/alarm/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
deleted file mode 100644
index fba5842..0000000
--- a/alarm/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
+++ /dev/null
@@ -1,4 +0,0 @@
-'use strict';
-
-import url from 'url';
-export default url.URLSearchParams;
diff --git a/alarm/node_modules/axios/lib/platform/node/index.js b/alarm/node_modules/axios/lib/platform/node/index.js
deleted file mode 100644
index aef514a..0000000
--- a/alarm/node_modules/axios/lib/platform/node/index.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import URLSearchParams from './classes/URLSearchParams.js'
-import FormData from './classes/FormData.js'
-
-export default {
- isNode: true,
- classes: {
- URLSearchParams,
- FormData,
- Blob: typeof Blob !== 'undefined' && Blob || null
- },
- protocols: [ 'http', 'https', 'file', 'data' ]
-};