Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/axios/lib/helpers/formDataToStream.js
rd565449 r0c6b92a 1 import {TextEncoder}from 'util';1 import util from 'util'; 2 2 import {Readable} from 'stream'; 3 3 import utils from "../utils.js"; … … 6 6 const BOUNDARY_ALPHABET = utils.ALPHABET.ALPHA_DIGIT + '-_'; 7 7 8 const textEncoder = newTextEncoder();8 const textEncoder = typeof TextEncoder === 'function' ? new TextEncoder() : new util.TextEncoder(); 9 9 10 10 const CRLF = '\r\n';
Note:
See TracChangeset
for help on using the changeset viewer.