function toURLEncodedForm(data, options) {
  return toFormData(data, new platform.classes.URLSearchParams(), Object.assign({
    visitor: function(value, key, path, helpers) {
      if (platform.isNode && utils$1.isBuffer(value)) {
        this.append(key, value.toString('base64'));
        return false;
      }

      return helpers.defaultVisitor.apply(this, arguments);
    }
  }, options));
}
Determine if we're running in a standard browser webWorker environment

Although the `isStandardBrowserEnv` method indicates that
`allows axios to run in a web worker`, the WebWorker will still be
filtered out due to its judgment standard
`typeof window !== 'undefined' && typeof document !== 'undefined'`.
This leads to a problem when axios post `FormData` in webWorker