Socket
Socket
Sign inDemoInstall

formidable

Package Overview
Dependencies
6
Maintainers
5
Versions
78
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1345
8Next

3.2.1

Diff

Changelog

Source

3.2.1

  • fix: do not let empty file on error (#796)
  • it was probably due to the fact that .destroy on a file stream does not always complete on time
grossacasacs
published 3.2.0 •

Changelog

Source

3.2.0

  • feat: maxFileSize option is now per file (as the name suggests) (#791)
  • feat: add maxFiles option, default Infinity
  • feat: add maxTotalFileSize, default is maxFileSize (for backwards compatibility)
  • fix: minFileSize is per file
  • fix: allowEmptyFiles fix in cases where one file is not empty
  • fix: allowEmptyFiles false option by default
  • fix: rename wrongly named error
  • refactor: rename wrongly named maxFileSize into maxTotalFileSize
grossacasacs
published 3.1.5 •

Changelog

Source

3.1.5

  • fix: PersistentFile.toString (#796)
grossacasacs
published 3.1.4 •

Changelog

Source

3.1.4

  • fix: add missing pluginFailed error (#794)
  • refactor: use explicit node imports (#786)
tunnckocore
published 1.2.6 •

tunnckocore
published 1.2.5 •

tunnckocore
published 2.0.1 •

tunnckocore
published 3.1.3 •

grossacasacs
published 3.1.2-canary.20211030 •

grossacasacs
published 2.0.0 •

Changelog

Source

2.0.0

  • feat: files are detected if a mimetype is present (previously it was based on filename)
  • feat: add options.filter (#716)
  • feat: add code and httpCode to most errors (#686)
  • rename: option.hash into option.hashAlgorithm (#689)
  • rename: file.path into file.filepath (#689)
  • rename: file.type into file.mimetype (#689)
  • refactor: split file.name into file.newFilename and file.originalFilename (#689)
  • feat: prevent directory traversal attacks by default (#689)
  • meta: stop including test files in npm (7003c)
  • fix: handle invalid filenames (d0a34)
  • feat: add fileWriteStreamHandler option
  • feat: add allowEmptyFiles and minFileSize options
  • feat: Array support for fields and files (#380, #340, #367, #33, #498, #280, #483)
  • possible partial fix of #386 with #380 (need tests and better implementation)
  • refactor: use hasOwnProperty in check against files/fields (#522)
  • meta: do not promote IncomingForm and add exports.default (#529)
  • meta: Improve examples and tests (#523)
  • refactor: First step of Code quality improvements (#525)
  • chore(funding): remove patreon & add npm funding field (#525
  • feat: use Modern Streams API (#531)
  • fix: urlencoded parsing to emit end #543, introduced in #531
  • fix(tests): include multipart and qs parser unit tests, part of #415
  • fix: reorganize exports + move parsers to src/parsers/
  • fix: update docs and examples #544 (#248, #335, #371, #372, #387, partly #471, #535)
  • feat: introduce Plugins API, fix silent failing tests (#545, #391, #407, #386, #374, #521, #267)
  • fix: exposing file writable stream errors (#520, #316, #469, #470)
  • feat: custom file (re)naming, thru options.filename (#591, #84, #86, #94, #154, #158, #488, #595)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc