Browse Source

abortcontroller-polyfill

Michael Wang 3 years ago
parent
commit
4bb9723a7e
3 changed files with 8 additions and 0 deletions
  1. 1 0
      package.json
  2. 6 0
      pnpm-lock.yaml
  3. 1 0
      src/main.ts

+ 1 - 0
package.json

@@ -22,6 +22,7 @@
     "@chenfengyuan/vue-qrcode": "^2.0.0",
     "@vicons/ionicons5": "^0.12.0",
     "@vitejs/plugin-legacy": "^1.8.1",
+    "abortcontroller-polyfill": "^1.7.3",
     "alife-logger": "^1.8.30",
     "axios": "^0.26.1",
     "axios-progress-bar": "^1.2.0",

+ 6 - 0
pnpm-lock.yaml

@@ -13,6 +13,7 @@ specifiers:
   '@vitejs/plugin-legacy': ^1.8.1
   '@vitejs/plugin-vue': ^2.3.1
   '@vitejs/plugin-vue-jsx': ^1.3.10
+  abortcontroller-polyfill: ^1.7.3
   alife-logger: ^1.8.30
   autoprefixer: ^10.4.5
   axios: ^0.26.1
@@ -53,6 +54,7 @@ dependencies:
   '@chenfengyuan/vue-qrcode': 2.0.0_qrcode@1.5.0+vue@3.2.33
   '@vicons/ionicons5': 0.12.0
   '@vitejs/plugin-legacy': 1.8.1_vite@2.9.5
+  abortcontroller-polyfill: 1.7.3
   alife-logger: 1.8.30
   axios: 0.26.1
   axios-progress-bar: 1.2.0_axios@0.26.1
@@ -919,6 +921,10 @@ packages:
   /@vue/shared/3.2.33:
     resolution: {integrity: sha512-UBc1Pg1T3yZ97vsA2ueER0F6GbJebLHYlEi4ou1H5YL4KWvMOOWwpYo9/QpWq93wxKG6Wo13IY74Hcn/f7c7Bg==}
 
+  /abortcontroller-polyfill/1.7.3:
+    resolution: {integrity: sha512-zetDJxd89y3X99Kvo4qFx8GKlt6GsvN3UcRZHwU6iFA/0KiOmhkTVhe8oRoTBiTVPZu09x3vCra47+w8Yz1+2Q==}
+    dev: false
+
   /acorn-jsx/5.3.2_acorn@8.7.0:
     resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
     peerDependencies:

+ 1 - 0
src/main.ts

@@ -1,4 +1,5 @@
 import "./styles/global.css";
+import "abortcontroller-polyfill";
 
 import { createApp } from "vue";
 import App from "./App.vue";