3.6.0
Add
- [EXPERIMENTAL] Introduce
browserfield inpackage.json(see #39 PR by @char0n). Node.js user will not be affected by this change.
Update
- Replace
domexpeptionwithnode-domexceptionwhich is using DOMException class from Node.js - Replace internal form-data encoding implementation with
form-data-encoderpackage. Note that the encoding will be removed in v4, so you'll need a client that support spec-compatible FormData orform-data-encoderto handle the encoding.
Remove
- [BREAKING] Remove
options.lastModifiedfromfileFromPathandfileFromPathSyncsince it may have introduceDOMExceptionerror to be thrown. - Remove
mime-typespackage to reduce the size offormdata-nodeand makefileFromPathandfileFromPathSyncbehaviour more compatible with File class;
All changes: v3.5.4...v3.6.0