Ignore:
Timestamp:
12/12/24 17:06:06 (5 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
d565449
Message:

Pred finalna verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/axios/lib/helpers/formDataToStream.js

    rd565449 r0c6b92a  
    1 import {TextEncoder} from 'util';
     1import util from 'util';
    22import {Readable} from 'stream';
    33import utils from "../utils.js";
     
    66const BOUNDARY_ALPHABET = utils.ALPHABET.ALPHA_DIGIT + '-_';
    77
    8 const textEncoder = new TextEncoder();
     8const textEncoder = typeof TextEncoder === 'function' ? new TextEncoder() : new util.TextEncoder();
    99
    1010const CRLF = '\r\n';
Note: See TracChangeset for help on using the changeset viewer.