← expressjs/express

CODEFOSSIL · express

res.clearCookie

method in lib/response.js:714 · Born 2011-02-04 (DERIVED, confidence 1.00)

15years old
9changes
2fixes
4authors
2callers
2012201320142015201620172018201920202021202220232024202520262011-04-17 dc02b0d Added options support to res.clearCookie()2011-07-15 a3cddb8 Changed `res.{cookie,clearCookie}()` return res2011-11-09 0f2f3d4 Fixed res.clearCookie(), default path to "root" setting2011-11-24 87b991c removed "root" setting2014-01-25 718e68f use utils-merge module to mixin object properties2014-10-22 af10438 Fix internal utils.merge deprecation warnings2015-06-20 bb53b20 perf: remove argument reassignments in response prototype2024-06-07 f42b160 [v4] Deprecate `res.clearCookie` accepting `options.maxAge` and `options.expires` (#5672)2024-08-02 82fc12a Ignore `expires` and `maxAge` in `res.clearCookie()` (#5792)2011-02-04 99820e7 Refactored req/res proto assignments
Every commit that changed it, 2011-02-04 – 2024-08-02. Raised orange dots are fixes.
  1. Changed Ignore `expires` and `maxAge` in `res.clearCookie()` (#5792)

    82fc12a · Jon Church

  2. Changed [v4] Deprecate `res.clearCookie` accepting `options.maxAge` and `options.expires` (#5672)

    f42b160 · Jon Church

  3. Changed perf: remove argument reassignments in response prototype

    bb53b20 · Douglas Christopher Wilson

  4. Changed Fix internal utils.merge deprecation warnings

    af10438 · Douglas Christopher Wilson fix · INFERRED

  5. Changed use utils-merge module to mixin object properties

    718e68f · Roman Shtylman

  6. Changed removed "root" setting

    87b991c · Tj Holowaychuk

  7. Changed Fixed res.clearCookie(), default path to "root" setting

    0f2f3d4 · Tj Holowaychuk fix · INFERRED

  8. Changed Changed `res.{cookie,clearCookie}()` return res

    a3cddb8 · Tj Holowaychuk

  9. Changed Added options support to res.clearCookie()

    dc02b0d · Tj Holowaychuk

  10. Born Refactored req/res proto assignments

    99820e7 · Tj Holowaychuk