Skip to content
Myr

merge

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parents c852693, 763be5e · Browse files · 3 files+25 added−7 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+25 added−7 removed

  • tests:+20 added−0 removed
  • other:+5 added−7 removed

3 files+25 added−7 removed

modified:lib/utils.js+2 added-4 removed
2 unmodified lines
3 * Module dependencies.4 */56var mime = require('connect').mime7 , crc = require('crc');7 , crc32 = require('buffer-crc32');89/**10 * Return ETag for `body`.11 *
2 unmodified lines
14 * @api private15 */1617exports.etag = function(body){18 return '"' + (Buffer.isBuffer(body)19 ? crc.buffer.crc32(body)20 : crc.crc32(body)) + '"';18 return '"' + crc32.signed(body) + '"';19};2021/**22 * Make `locals()` bound to the given `obj`.
260 unmodified lines
modified:test/utils.js+20 added
modified:package.json+3 added-3 removed
1 unmodified line
2 "name": "express",3 "description": "Sinatra inspired web development framework",4 "version": "3.0.3",5 "author": "TJ Holowaychuk <tj@vision-media.ca>",6 "contributors": [ 7 { "name": "TJ Holowaychuk", "email": "tj@vision-media.ca" }, 6 "contributors": [7 { "name": "TJ Holowaychuk", "email": "tj@vision-media.ca" },8 { "name": "Aaron Heckmann", "email": "aaron.heckmann+github@gmail.com" },9 { "name": "Ciaran Jessup", "email": "ciaranj@gmail.com" },10 { "name": "Guillermo Rauch", "email": "rauchg@gmail.com" }11 ],
2 unmodified lines
14 "commander": "0.6.1",15 "range-parser": "0.0.4",16 "mkdirp": "0.3.3",17 "cookie": "0.0.5",18 "crc": "0.2.0",18 "buffer-crc32": "0.1.1",19 "fresh": "0.1.0",20 "methods": "0.0.1",21 "send": "0.1.0",22 "cookie-signature": "0.0.1",
34 unmodified lines