Commit 327d8712 authored by fanxuehui's avatar fanxuehui

fix(formData): 兼容safari

parent 70f11a50
......@@ -29,6 +29,7 @@
"author": "Dec-F",
"license": "ISC",
"dependencies": {
"formdata-polyfill": "^3.0.19",
"md5": "^2.2.1",
"rrweb": "^0.7.18",
"whatwg-fetch": "^3.0.0"
......
// 数据维护,上报
import md5 from "md5";
import FormData from "formdata-polyfill";
import Counter from "./counter";
import { dataWrapper } from "./utils";
import log from "./log";
......
......@@ -1579,6 +1579,11 @@ for-in@^1.0.2:
version "1.0.2"
resolved "https://registry.npm.taobao.org/for-in/download/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"
formdata-polyfill@^3.0.19:
version "3.0.19"
resolved "https://registry.npm.taobao.org/formdata-polyfill/download/formdata-polyfill-3.0.19.tgz#72f517db3a646a5dd8c31af0edf111fd8f1e4cee"
integrity sha1-cvUX2zpkal3Ywxrw7fER/Y8eTO4=
fragment-cache@^0.2.1:
version "0.2.1"
resolved "https://registry.npm.taobao.org/fragment-cache/download/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment