summaryrefslogtreecommitdiff
path: root/includes/external/addressbook/node_modules/axios/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/addressbook/node_modules/axios/index.js')
-rw-r--r--includes/external/addressbook/node_modules/axios/index.js41
1 files changed, 41 insertions, 0 deletions
diff --git a/includes/external/addressbook/node_modules/axios/index.js b/includes/external/addressbook/node_modules/axios/index.js
new file mode 100644
index 0000000..4920f55
--- /dev/null
+++ b/includes/external/addressbook/node_modules/axios/index.js
@@ -0,0 +1,41 @@
+import axios from './lib/axios.js';
+
+// This module is intended to unwrap Axios default export as named.
+// Keep top-level export same with static properties
+// so that it can keep same with es module or cjs
+const {
+ Axios,
+ AxiosError,
+ CanceledError,
+ isCancel,
+ CancelToken,
+ VERSION,
+ all,
+ Cancel,
+ isAxiosError,
+ spread,
+ toFormData,
+ AxiosHeaders,
+ HttpStatusCode,
+ formToJSON,
+ mergeConfig
+} = axios;
+
+export {
+ axios as default,
+ Axios,
+ AxiosError,
+ CanceledError,
+ isCancel,
+ CancelToken,
+ VERSION,
+ all,
+ Cancel,
+ isAxiosError,
+ spread,
+ toFormData,
+ AxiosHeaders,
+ HttpStatusCode,
+ formToJSON,
+ mergeConfig
+}