serve-favicon
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -0,1 +1,10 @@ | ||
2.2.1 / 2015-05-14 | ||
================== | ||
* deps: etag@~1.6.0 | ||
- Improve support for JXcore | ||
- Support "fake" stats objects in environments without `fs` | ||
* deps: ms@0.7.1 | ||
- Prevent extraordinarily long inputs | ||
2.2.0 / 2014-12-18 | ||
@@ -2,0 +11,0 @@ ================== |
{ | ||
"name": "serve-favicon", | ||
"description": "favicon serving middleware with caching", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>", | ||
@@ -14,12 +14,12 @@ "license": "MIT", | ||
"dependencies": { | ||
"etag": "~1.5.1", | ||
"etag": "~1.6.0", | ||
"fresh": "0.2.4", | ||
"ms": "0.7.0", | ||
"ms": "0.7.1", | ||
"parseurl": "~1.3.0" | ||
}, | ||
"devDependencies": { | ||
"istanbul": "0.3.5", | ||
"mocha": "~2.0.1", | ||
"istanbul": "0.3.9", | ||
"mocha": "2.2.4", | ||
"proxyquire": "~1.2.0", | ||
"supertest": "~0.15.0" | ||
"supertest": "1.0.1" | ||
}, | ||
@@ -36,5 +36,5 @@ "files": [ | ||
"test": "mocha --reporter spec --bail --check-leaks test/", | ||
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", | ||
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" | ||
"test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/", | ||
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/" | ||
} | ||
} |
@@ -5,3 +5,4 @@ # serve-favicon | ||
[![NPM Downloads][downloads-image]][downloads-url] | ||
[![Build Status][travis-image]][travis-url] | ||
[![Linux Build][travis-image]][travis-url] | ||
[![Windows Build][appveyor-image]][appveyor-url] | ||
[![Test Coverage][coveralls-image]][coveralls-url] | ||
@@ -12,2 +13,6 @@ [![Gittip][gittip-image]][gittip-url] | ||
A favicon is a visual cue that client software, like browsers, use to identify | ||
a site. For an example and more information, please visit | ||
[the Wikipedia article on favicons](https://en.wikipedia.org/wiki/Favicon). | ||
Why use this module? | ||
@@ -24,2 +29,7 @@ | ||
**Note** This module is exclusively for serving the "default, implicit favicon", | ||
which is `GET /favicon.ico`. For additional vendor-specific icons that require | ||
HTML markup, additional middleware is required to serve the relevant files, for | ||
example [serve-static](https://npmjs.org/package/serve-static). | ||
## Install | ||
@@ -44,3 +54,3 @@ | ||
The `cache-control` `max-age` directive in `ms`, defaulting to 1 day. This can | ||
The `cache-control` `max-age` directive in `ms`, defaulting to 1 year. This can | ||
also be a string accepted by the [ms](https://www.npmjs.org/package/ms#readme) | ||
@@ -115,11 +125,13 @@ module. | ||
[npm-image]: https://img.shields.io/npm/v/serve-favicon.svg?style=flat | ||
[npm-image]: https://img.shields.io/npm/v/serve-favicon.svg | ||
[npm-url]: https://npmjs.org/package/serve-favicon | ||
[travis-image]: https://img.shields.io/travis/expressjs/serve-favicon.svg?style=flat | ||
[travis-image]: https://img.shields.io/travis/expressjs/serve-favicon/master.svg?label=linux | ||
[travis-url]: https://travis-ci.org/expressjs/serve-favicon | ||
[coveralls-image]: https://img.shields.io/coveralls/expressjs/serve-favicon.svg?style=flat | ||
[appveyor-image]: https://img.shields.io/appveyor/ci/dougwilson/serve-favicon/master.svg?label=windows | ||
[appveyor-url]: https://ci.appveyor.com/project/dougwilson/serve-favicon | ||
[coveralls-image]: https://img.shields.io/coveralls/expressjs/serve-favicon.svg | ||
[coveralls-url]: https://coveralls.io/r/expressjs/serve-favicon?branch=master | ||
[downloads-image]: https://img.shields.io/npm/dm/serve-favicon.svg?style=flat | ||
[downloads-image]: https://img.shields.io/npm/dm/serve-favicon.svg | ||
[downloads-url]: https://npmjs.org/package/serve-favicon | ||
[gittip-image]: https://img.shields.io/gittip/dougwilson.svg?style=flat | ||
[gittip-image]: https://img.shields.io/gittip/dougwilson.svg | ||
[gittip-url]: https://www.gittip.com/dougwilson/ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11329
133
+ Addedetag@1.6.0(transitive)
+ Addedms@0.7.1(transitive)
- Removedetag@1.5.1(transitive)
- Removedms@0.7.0(transitive)
Updatedetag@~1.6.0
Updatedms@0.7.1