CoolFace
Apppublic

opusdev/vector-similarity-api

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes
HISTORY.md681 linesDownload Raw Back to body-parser
11.20.4 / 2025-12-012===================3 4  * deps: qs@~6.14.05  * deps: use tilde notation for dependencies6  * deps: http-errors@~2.0.17  * deps: raw-body@~2.5.38 91.20.3 / 2024-09-1010===================11 12  * deps: qs@6.13.013  * add `depth` option to customize the depth level in the parser14  * IMPORTANT: The default `depth` level for parsing URL-encoded data is now `32` (previously was `Infinity`)15 161.20.2 / 2023-02-2117===================18 19  * Fix strict json error message on Node.js 19+20  * deps: content-type@~1.0.521    - perf: skip value escaping when unnecessary22  * deps: raw-body@2.5.223 241.20.1 / 2022-10-0625===================26 27  * deps: qs@6.11.028  * perf: remove unnecessary object clone29 301.20.0 / 2022-04-0231===================32 33  * Fix error message for json parse whitespace in `strict`34  * Fix internal error when inflated body exceeds limit35  * Prevent loss of async hooks context36  * Prevent hanging when request already read37  * deps: depd@2.0.038    - Replace internal `eval` usage with `Function` constructor39    - Use instance methods on `process` to check for listeners40  * deps: http-errors@2.0.041    - deps: depd@2.0.042    - deps: statuses@2.0.143  * deps: on-finished@2.4.144  * deps: qs@6.10.345  * deps: raw-body@2.5.146    - deps: http-errors@2.0.047 481.19.2 / 2022-02-1549===================50 51  * deps: bytes@3.1.252  * deps: qs@6.9.753    * Fix handling of `__proto__` keys54  * deps: raw-body@2.4.355    - deps: bytes@3.1.256 571.19.1 / 2021-12-1058===================59 60  * deps: bytes@3.1.161  * deps: http-errors@1.8.162    - deps: inherits@2.0.463    - deps: toidentifier@1.0.164    - deps: setprototypeof@1.2.065  * deps: qs@6.9.666  * deps: raw-body@2.4.267    - deps: bytes@3.1.168    - deps: http-errors@1.8.169  * deps: safe-buffer@5.2.170  * deps: type-is@~1.6.1871 721.19.0 / 2019-04-2573===================74 75  * deps: bytes@3.1.076    - Add petabyte (`pb`) support77  * deps: http-errors@1.7.278    - Set constructor name when possible79    - deps: setprototypeof@1.1.180    - deps: statuses@'>= 1.5.0 < 2'81  * deps: iconv-lite@0.4.2482    - Added encoding MIK83  * deps: qs@6.7.084    - Fix parsing array brackets after index85  * deps: raw-body@2.4.086    - deps: bytes@3.1.087    - deps: http-errors@1.7.288    - deps: iconv-lite@0.4.2489  * deps: type-is@~1.6.1790    - deps: mime-types@~2.1.2491    - perf: prevent internal `throw` on invalid type92 931.18.3 / 2018-05-1494===================95 96  * Fix stack trace for strict json parse error97  * deps: depd@~1.1.298    - perf: remove argument reassignment99  * deps: http-errors@~1.6.3100    - deps: depd@~1.1.2101    - deps: setprototypeof@1.1.0102    - deps: statuses@'>= 1.3.1 < 2'103  * deps: iconv-lite@0.4.23104    - Fix loading encoding with year appended105    - Fix deprecation warnings on Node.js 10+106  * deps: qs@6.5.2107  * deps: raw-body@2.3.3108    - deps: http-errors@1.6.3109    - deps: iconv-lite@0.4.23110  * deps: type-is@~1.6.16111    - deps: mime-types@~2.1.18112 1131.18.2 / 2017-09-22114===================115 116  * deps: debug@2.6.9117  * perf: remove argument reassignment118 1191.18.1 / 2017-09-12120===================121 122  * deps: content-type@~1.0.4123    - perf: remove argument reassignment124    - perf: skip parameter parsing when no parameters125  * deps: iconv-lite@0.4.19126    - Fix ISO-8859-1 regression127    - Update Windows-1255128  * deps: qs@6.5.1129    - Fix parsing & compacting very deep objects130  * deps: raw-body@2.3.2131    - deps: iconv-lite@0.4.19132 1331.18.0 / 2017-09-08134===================135 136  * Fix JSON strict violation error to match native parse error137  * Include the `body` property on verify errors138  * Include the `type` property on all generated errors139  * Use `http-errors` to set status code on errors140  * deps: bytes@3.0.0141  * deps: debug@2.6.8142  * deps: depd@~1.1.1143    - Remove unnecessary `Buffer` loading144  * deps: http-errors@~1.6.2145    - deps: depd@1.1.1146  * deps: iconv-lite@0.4.18147    - Add support for React Native148    - Add a warning if not loaded as utf-8149    - Fix CESU-8 decoding in Node.js 8150    - Improve speed of ISO-8859-1 encoding151  * deps: qs@6.5.0152  * deps: raw-body@2.3.1153    - Use `http-errors` for standard emitted errors154    - deps: bytes@3.0.0155    - deps: iconv-lite@0.4.18156    - perf: skip buffer decoding on overage chunk157  * perf: prevent internal `throw` when missing charset158 1591.17.2 / 2017-05-17160===================161 162  * deps: debug@2.6.7163    - Fix `DEBUG_MAX_ARRAY_LENGTH`164    - deps: ms@2.0.0165  * deps: type-is@~1.6.15166    - deps: mime-types@~2.1.15167 1681.17.1 / 2017-03-06169===================170 171  * deps: qs@6.4.0172    - Fix regression parsing keys starting with `[`173 1741.17.0 / 2017-03-01175===================176 177  * deps: http-errors@~1.6.1178    - Make `message` property enumerable for `HttpError`s179    - deps: setprototypeof@1.0.3180  * deps: qs@6.3.1181    - Fix compacting nested arrays182 1831.16.1 / 2017-02-10184===================185 186  * deps: debug@2.6.1187    - Fix deprecation messages in WebStorm and other editors188    - Undeprecate `DEBUG_FD` set to `1` or `2`189 1901.16.0 / 2017-01-17191===================192 193  * deps: debug@2.6.0194    - Allow colors in workers195    - Deprecated `DEBUG_FD` environment variable196    - Fix error when running under React Native197    - Use same color for same namespace198    - deps: ms@0.7.2199  * deps: http-errors@~1.5.1200    - deps: inherits@2.0.3201    - deps: setprototypeof@1.0.2202    - deps: statuses@'>= 1.3.1 < 2'203  * deps: iconv-lite@0.4.15204    - Added encoding MS-31J205    - Added encoding MS-932206    - Added encoding MS-936207    - Added encoding MS-949208    - Added encoding MS-950209    - Fix GBK/GB18030 handling of Euro character210  * deps: qs@6.2.1211    - Fix array parsing from skipping empty values212  * deps: raw-body@~2.2.0213    - deps: iconv-lite@0.4.15214  * deps: type-is@~1.6.14215    - deps: mime-types@~2.1.13216 2171.15.2 / 2016-06-19218===================219 220  * deps: bytes@2.4.0221  * deps: content-type@~1.0.2222    - perf: enable strict mode223  * deps: http-errors@~1.5.0224    - Use `setprototypeof` module to replace `__proto__` setting225    - deps: statuses@'>= 1.3.0 < 2'226    - perf: enable strict mode227  * deps: qs@6.2.0228  * deps: raw-body@~2.1.7229    - deps: bytes@2.4.0230    - perf: remove double-cleanup on happy path231  * deps: type-is@~1.6.13232    - deps: mime-types@~2.1.11233 2341.15.1 / 2016-05-05235===================236 237  * deps: bytes@2.3.0238    - Drop partial bytes on all parsed units239    - Fix parsing byte string that looks like hex240  * deps: raw-body@~2.1.6241    - deps: bytes@2.3.0242  * deps: type-is@~1.6.12243    - deps: mime-types@~2.1.10244 2451.15.0 / 2016-02-10246===================247 248  * deps: http-errors@~1.4.0249    - Add `HttpError` export, for `err instanceof createError.HttpError`250    - deps: inherits@2.0.1251    - deps: statuses@'>= 1.2.1 < 2'252  * deps: qs@6.1.0253  * deps: type-is@~1.6.11254    - deps: mime-types@~2.1.9255 2561.14.2 / 2015-12-16257===================258 259  * deps: bytes@2.2.0260  * deps: iconv-lite@0.4.13261  * deps: qs@5.2.0262  * deps: raw-body@~2.1.5263    - deps: bytes@2.2.0264    - deps: iconv-lite@0.4.13265  * deps: type-is@~1.6.10266    - deps: mime-types@~2.1.8267 2681.14.1 / 2015-09-27269===================270 271  * Fix issue where invalid charset results in 400 when `verify` used272  * deps: iconv-lite@0.4.12273    - Fix CESU-8 decoding in Node.js 4.x274  * deps: raw-body@~2.1.4275    - Fix masking critical errors from `iconv-lite`276    - deps: iconv-lite@0.4.12277  * deps: type-is@~1.6.9278    - deps: mime-types@~2.1.7279 2801.14.0 / 2015-09-16281===================282 283  * Fix JSON strict parse error to match syntax errors284  * Provide static `require` analysis in `urlencoded` parser285  * deps: depd@~1.1.0286    - Support web browser loading287  * deps: qs@5.1.0288  * deps: raw-body@~2.1.3289    - Fix sync callback when attaching data listener causes sync read290  * deps: type-is@~1.6.8291    - Fix type error when given invalid type to match against292    - deps: mime-types@~2.1.6293 2941.13.3 / 2015-07-31295===================296 297  * deps: type-is@~1.6.6298    - deps: mime-types@~2.1.4299 3001.13.2 / 2015-07-05301===================302 303  * deps: iconv-lite@0.4.11304  * deps: qs@4.0.0305    - Fix dropping parameters like `hasOwnProperty`306    - Fix user-visible incompatibilities from 3.1.0307    - Fix various parsing edge cases308  * deps: raw-body@~2.1.2309    - Fix error stack traces to skip `makeError`310    - deps: iconv-lite@0.4.11311  * deps: type-is@~1.6.4312    - deps: mime-types@~2.1.2313    - perf: enable strict mode314    - perf: remove argument reassignment315 3161.13.1 / 2015-06-16317===================318 319  * deps: qs@2.4.2320    - Downgraded from 3.1.0 because of user-visible incompatibilities321 3221.13.0 / 2015-06-14323===================324 325  * Add `statusCode` property on `Error`s, in addition to `status`326  * Change `type` default to `application/json` for JSON parser327  * Change `type` default to `application/x-www-form-urlencoded` for urlencoded parser328  * Provide static `require` analysis329  * Use the `http-errors` module to generate errors330  * deps: bytes@2.1.0331    - Slight optimizations332  * deps: iconv-lite@0.4.10333    - The encoding UTF-16 without BOM now defaults to UTF-16LE when detection fails334    - Leading BOM is now removed when decoding335  * deps: on-finished@~2.3.0336    - Add defined behavior for HTTP `CONNECT` requests337    - Add defined behavior for HTTP `Upgrade` requests338    - deps: ee-first@1.1.1339  * deps: qs@3.1.0340    - Fix dropping parameters like `hasOwnProperty`341    - Fix various parsing edge cases342    - Parsed object now has `null` prototype343  * deps: raw-body@~2.1.1344    - Use `unpipe` module for unpiping requests345    - deps: iconv-lite@0.4.10346  * deps: type-is@~1.6.3347    - deps: mime-types@~2.1.1348    - perf: reduce try block size349    - perf: remove bitwise operations350  * perf: enable strict mode351  * perf: remove argument reassignment352  * perf: remove delete call353 3541.12.4 / 2015-05-10355===================356 357  * deps: debug@~2.2.0358  * deps: qs@2.4.2359    - Fix allowing parameters like `constructor`360  * deps: on-finished@~2.2.1361  * deps: raw-body@~2.0.1362    - Fix a false-positive when unpiping in Node.js 0.8363    - deps: bytes@2.0.1364  * deps: type-is@~1.6.2365    - deps: mime-types@~2.0.11366 3671.12.3 / 2015-04-15368===================369 370  * Slight efficiency improvement when not debugging371  * deps: depd@~1.0.1372  * deps: iconv-lite@0.4.8373    - Add encoding alias UNICODE-1-1-UTF-7374  * deps: raw-body@1.3.4375    - Fix hanging callback if request aborts during read376    - deps: iconv-lite@0.4.8377 3781.12.2 / 2015-03-16379===================380 381  * deps: qs@2.4.1382    - Fix error when parameter `hasOwnProperty` is present383 3841.12.1 / 2015-03-15385===================386 387  * deps: debug@~2.1.3388    - Fix high intensity foreground color for bold389    - deps: ms@0.7.0390  * deps: type-is@~1.6.1391    - deps: mime-types@~2.0.10392 3931.12.0 / 2015-02-13394===================395 396  * add `debug` messages397  * accept a function for the `type` option398  * use `content-type` to parse `Content-Type` headers399  * deps: iconv-lite@0.4.7400    - Gracefully support enumerables on `Object.prototype`401  * deps: raw-body@1.3.3402    - deps: iconv-lite@0.4.7403  * deps: type-is@~1.6.0404    - fix argument reassignment405    - fix false-positives in `hasBody` `Transfer-Encoding` check406    - support wildcard for both type and subtype (`*/*`)407    - deps: mime-types@~2.0.9408 4091.11.0 / 2015-01-30410===================411 412  * make internal `extended: true` depth limit infinity413  * deps: type-is@~1.5.6414    - deps: mime-types@~2.0.8415 4161.10.2 / 2015-01-20417===================418 419  * deps: iconv-lite@0.4.6420    - Fix rare aliases of single-byte encodings421  * deps: raw-body@1.3.2422    - deps: iconv-lite@0.4.6423 4241.10.1 / 2015-01-01425===================426 427  * deps: on-finished@~2.2.0428  * deps: type-is@~1.5.5429    - deps: mime-types@~2.0.7430 4311.10.0 / 2014-12-02432===================433 434  * make internal `extended: true` array limit dynamic435 4361.9.3 / 2014-11-21437==================438 439  * deps: iconv-lite@0.4.5440    - Fix Windows-31J and X-SJIS encoding support441  * deps: qs@2.3.3442    - Fix `arrayLimit` behavior443  * deps: raw-body@1.3.1444    - deps: iconv-lite@0.4.5445  * deps: type-is@~1.5.3446    - deps: mime-types@~2.0.3447 4481.9.2 / 2014-10-27449==================450 451  * deps: qs@2.3.2452    - Fix parsing of mixed objects and values453 4541.9.1 / 2014-10-22455==================456 457  * deps: on-finished@~2.1.1458    - Fix handling of pipelined requests459  * deps: qs@2.3.0460    - Fix parsing of mixed implicit and explicit arrays461  * deps: type-is@~1.5.2462    - deps: mime-types@~2.0.2463 4641.9.0 / 2014-09-24465==================466 467  * include the charset in "unsupported charset" error message468  * include the encoding in "unsupported content encoding" error message469  * deps: depd@~1.0.0470 4711.8.4 / 2014-09-23472==================473 474  * fix content encoding to be case-insensitive475 4761.8.3 / 2014-09-19477==================478 479  * deps: qs@2.2.4480    - Fix issue with object keys starting with numbers truncated481 4821.8.2 / 2014-09-15483==================484 485  * deps: depd@0.4.5486 4871.8.1 / 2014-09-07488==================489 490  * deps: media-typer@0.3.0491  * deps: type-is@~1.5.1492 4931.8.0 / 2014-09-05494==================495 496  * make empty-body-handling consistent between chunked requests497    - empty `json` produces `{}`498    - empty `raw` produces `new Buffer(0)`499    - empty `text` produces `''`500    - empty `urlencoded` produces `{}`501  * deps: qs@2.2.3502    - Fix issue where first empty value in array is discarded503  * deps: type-is@~1.5.0504    - fix `hasbody` to be true for `content-length: 0`505 5061.7.0 / 2014-09-01507==================508 509  * add `parameterLimit` option to `urlencoded` parser510  * change `urlencoded` extended array limit to 100511  * respond with 413 when over `parameterLimit` in `urlencoded`512 5131.6.7 / 2014-08-29514==================515 516  * deps: qs@2.2.2517    - Remove unnecessary cloning518 5191.6.6 / 2014-08-27520==================521 522  * deps: qs@2.2.0523    - Array parsing fix524    - Performance improvements525 5261.6.5 / 2014-08-16527==================528 529  * deps: on-finished@2.1.0530 5311.6.4 / 2014-08-14532==================533 534  * deps: qs@1.2.2535 5361.6.3 / 2014-08-10537==================538 539  * deps: qs@1.2.1540 5411.6.2 / 2014-08-07542==================543 544  * deps: qs@1.2.0545    - Fix parsing array of objects546 5471.6.1 / 2014-08-06548==================549 550  * deps: qs@1.1.0551    - Accept urlencoded square brackets552    - Accept empty values in implicit array notation553 5541.6.0 / 2014-08-05555==================556 557  * deps: qs@1.0.2558    - Complete rewrite559    - Limits array length to 20560    - Limits object depth to 5561    - Limits parameters to 1,000562 5631.5.2 / 2014-07-27564==================565 566  * deps: depd@0.4.4567    - Work-around v8 generating empty stack traces568 5691.5.1 / 2014-07-26570==================571 572  * deps: depd@0.4.3573    - Fix exception when global `Error.stackTraceLimit` is too low574 5751.5.0 / 2014-07-20576==================577 578  * deps: depd@0.4.2579    - Add `TRACE_DEPRECATION` environment variable580    - Remove non-standard grey color from color output581    - Support `--no-deprecation` argument582    - Support `--trace-deprecation` argument583  * deps: iconv-lite@0.4.4584    - Added encoding UTF-7585  * deps: raw-body@1.3.0586    - deps: iconv-lite@0.4.4587    - Added encoding UTF-7588    - Fix `Cannot switch to old mode now` error on Node.js 0.10+589  * deps: type-is@~1.3.2590 5911.4.3 / 2014-06-19592==================593 594  * deps: type-is@1.3.1595    - fix global variable leak596 5971.4.2 / 2014-06-19598==================599 600  * deps: type-is@1.3.0601    - improve type parsing602 6031.4.1 / 2014-06-19604==================605 606  * fix urlencoded extended deprecation message607 6081.4.0 / 2014-06-19609==================610 611  * add `text` parser612  * add `raw` parser613  * check accepted charset in content-type (accepts utf-8)614  * check accepted encoding in content-encoding (accepts identity)615  * deprecate `bodyParser()` middleware; use `.json()` and `.urlencoded()` as needed616  * deprecate `urlencoded()` without provided `extended` option617  * lazy-load urlencoded parsers618  * parsers split into files for reduced mem usage619  * support gzip and deflate bodies620    - set `inflate: false` to turn off621  * deps: raw-body@1.2.2622    - Support all encodings from `iconv-lite`623 6241.3.1 / 2014-06-11625==================626 627  * deps: type-is@1.2.1628    - Switch dependency from mime to mime-types@1.0.0629 6301.3.0 / 2014-05-31631==================632 633  * add `extended` option to urlencoded parser634 6351.2.2 / 2014-05-27636==================637 638  * deps: raw-body@1.1.6639    - assert stream encoding on node.js 0.8640    - assert stream encoding on node.js < 0.10.6641    - deps: bytes@1642 6431.2.1 / 2014-05-26644==================645 646  * invoke `next(err)` after request fully read647    - prevents hung responses and socket hang ups648 6491.2.0 / 2014-05-11650==================651 652  * add `verify` option653  * deps: type-is@1.2.0654    - support suffix matching655 6561.1.2 / 2014-05-11657==================658 659  * improve json parser speed660 6611.1.1 / 2014-05-11662==================663 664  * fix repeated limit parsing with every request665 6661.1.0 / 2014-05-10667==================668 669  * add `type` option670  * deps: pin for safety and consistency671 6721.0.2 / 2014-04-14673==================674 675  * use `type-is` module676 6771.0.1 / 2014-03-20678==================679 680  * lower default limits to 100kb681