← expressjs/express

CODEFOSSIL · express

res.jsonp

method in lib/response.js:264 · Born 2012-08-30 (DERIVED, confidence 1.00)

14years old
25changes
6fixes
11authors
1caller
201320142015201620172018201920202021202220232024202520262012-10-16 b3936b9 add cb && cb(payload) to `res.jsonp()`. Closes #13742012-12-28 64a2349 fix jsonp whitespace escape. Closes #11322013-01-13 bb29da5 refactor vhost example2013-01-14 ab75fa0 refactor vhost example2013-05-27 2f19b4f Corrected callback crashing app when array2013-08-03 bdbdab7 Fixes from pull request #16432013-08-04 19cb398 Fixes from pull request #1643, array method correction2013-10-15 e218377 check existence of jsonp callback2014-03-08 2064f41 remove res.charset usage2014-05-02 be997fd Keep previous Content-Type for res.jsonp2014-05-08 d58ca52 Fix res.jsonp error if callback param is object2014-05-09 4e1e252 deprecate res.json(obj, status)2014-05-21 084f5d8 Keep previous Content-Type for res.jsonp2014-06-20 9c731f1 deprecate things with depd module2014-07-11 f684a64 Add explicit "Rosetta Flash JSONP abuse" protection2014-07-11 b2382a7 Remove unnecessary escaping in res.jsonp2014-07-11 c6e6203 perf: fix arguments reassign deopt in some res methods2014-07-18 fd3b405 Deprecate combined status, response signatures2014-11-07 8810306 Remove res.jsonp(obj, status) signature2016-05-31 f90f9dd Improve performance for res.json/res.jsonp in most cases2017-01-28 ab1c9e9 Remove res.jsonp(status, obj) signature2017-09-28 95fb5cc perf: remove dead .charset set in res.jsonp2017-09-28 7154014 Add "escape json" setting for res.json and res.jsonp2021-11-16 a1dbb11 Fix res.jsonp(obj, status) deprecation message2021-11-17 9dd0e7a Fix handling of undefined in res.jsonp2012-08-30 a6caa26 add res.jsonp(). Closes #1307
Every commit that changed it, 2012-08-30 – 2021-11-17. Raised orange dots are fixes.
  1. Changed Fix handling of undefined in res.jsonp

    9dd0e7a · Douglas Christopher Wilson fix · INFERRED

  2. Changed Fix res.jsonp(obj, status) deprecation message

    a1dbb11 · Kim fix · INFERRED

  3. Changed Add "escape json" setting for res.json and res.jsonp

    7154014 · Greg Guthe

  4. Changed perf: remove dead .charset set in res.jsonp

    95fb5cc · Douglas Christopher Wilson

  5. Changed Remove res.jsonp(status, obj) signature

    ab1c9e9 · Mike Tunnicliffe

  6. Changed Improve performance for res.json/res.jsonp in most cases

    f90f9dd · Benjamin Tan

  7. Changed Remove res.jsonp(obj, status) signature

    8810306 · Douglas Christopher Wilson

  8. Changed Deprecate combined status, response signatures

    fd3b405 · Douglas Christopher Wilson

  9. Changed perf: fix arguments reassign deopt in some res methods

    c6e6203 · Douglas Christopher Wilson fix · INFERRED

  10. Changed Remove unnecessary escaping in res.jsonp

    b2382a7 · Douglas Christopher Wilson

  11. Changed Add explicit "Rosetta Flash JSONP abuse" protection

    f684a64 · Douglas Christopher Wilson

  12. Changed deprecate things with depd module

    9c731f1 · Douglas Christopher Wilson

  13. Changed Keep previous Content-Type for res.jsonp

    084f5d8 · Alberto Leal

  14. Changed deprecate res.json(obj, status)

    4e1e252 · Douglas Christopher Wilson

  15. Changed Fix res.jsonp error if callback param is object

    d58ca52 · Douglas Christopher Wilson fix · INFERRED

  16. Changed Keep previous Content-Type for res.jsonp

    be997fd · Alberto Leal

  17. Changed remove res.charset usage

    2064f41 · Jonathan Ong

  18. Changed check existence of jsonp callback

    e218377 · Jonathan Ong

  19. Changed Fixes from pull request #1643, array method correction

    19cb398 · Jon Jenkins fix · INFERRED

  20. Changed Fixes from pull request #1643

    bdbdab7 · Jon Jenkins fix · INFERRED

  21. Changed Corrected callback crashing app when array

    2f19b4f · Jenkins

  22. Changed refactor vhost example

    ab75fa0 · TJ Holowaychuk

  23. Changed refactor vhost example

    bb29da5 · TJ Holowaychuk

  24. Changed fix jsonp whitespace escape. Closes #1132

    64a2349 · Guillermo Rauch

  25. Changed add cb && cb(payload) to `res.jsonp()`. Closes #1374

    b3936b9 · TJ Holowaychuk

  26. Born add res.jsonp(). Closes #1307

    a6caa26 · TJ Holowaychuk