Skip to content

Upgrading supertest 5 to 6

Review needed5.0.0 → 6.3.4New3Changed6Fixed11Other64

Review neededUpgrade verdict

6 behavior changes.

  • Updates the cookiejar dependency to a newer patch version.
  • Removes the host param when creating the `Test` object in TestAgent.
  • Wraps assert functions, updating the stack trace of generated errors.
  • Stops exact-pinning dependency versions, fixing #677.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Node.js requirement changed in 6.2.4: >=6.0.0 → >=6.4.0.

Installs 46 packages in all (was 45).

Also installs @noble/hashes, @paralleldrive/cuid2, asap, dezalgo, once, wrappy.

No longer installs inherits, readable-stream, safe-buffer, string_decoder, util-deprecate.

Moves form-data 3.0.5 → 4.0.6, formidable 1.2.6 → 2.1.5, superagent 6.1.0 → 8.1.2. Your build may pick other versions.

Nothing in this upgrade needs a code or configuration change.