Commit Graph

29 Commits

Author SHA1 Message Date
Andy
cd4debea25 Remove BOM character from the start of files (#12838) 2016-11-28 10:40:45 -08:00
Ryan Cavanaugh
ede3f0a99c Merge commit 'upstream/master~550' into merge_7_25 2016-07-26 11:29:27 -07:00
Ryan Cavanaugh
347311a5f0 Partial merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-25 14:26:20 -07:00
Ryan Cavanaugh
a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
omegascorp
26a1f8c44f Make possible to import ServeStaticOptions from outside. (#9540) 2016-06-07 00:51:57 +09:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Daniel Whitney
25fde56c8d Added fallthrough option as added in v 1.10.0 (#9121)
* Update to include fallthrough option 

Fallthough added in 1.10.0: https://github.com/expressjs/serve-static/releases/tag/v1.10.0

* Update serve-static-tests.ts
2016-05-01 22:15:43 +09:00
Ryan Cavanaugh
fa204a87d1 Remove obsolesced reference comments 2016-04-27 21:53:46 -07:00
Ryan Cavanaugh
e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Ryan Cavanaugh
371c1a2e0d Update serve-static 2016-04-27 10:24:08 -07:00
Ryan Cavanaugh
4a433abbf4 Unwrap all lone ambient external modules 2016-04-22 14:12:45 -07:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
David Gardiner
40191cf78c Remove circular dependency
express.d.ts and serve-static.d.ts had a circular dependency, which causes NuGet pain.
Extract core definitions from express.d.ts and move them to express-serve-static-core.d.ts
Update serve-static.d.ts to depend on express-serve-static-core.d.ts
2016-02-19 10:05:49 +10:30
Tanguy Krotoff
0fa4e9e613 Remove trailing spaces 2016-01-04 10:57:38 +01:00
Kyle Gretchev
52ef0043e7 Converted imports to ES6 module syntax 2015-08-04 20:47:16 -04:00
Kwang Yul Seo
6bac4335fd Improve types of serveStatic's option parameter.
* index accepts a new index string or an array of string.
* maxAges accepts a string accepted by the ms module.
2015-07-18 15:58:23 +09:00
Ole Rehmsen
813035a67f Add type definition for the mime property exposed on serve-static.
JS source of serve-static exposes npm module mime, see: https://github.com/expressjs/serve-static/blob/master/index.js#L122
2015-06-11 21:35:17 +02:00
Florian Holzapfel
6c3794e396 fix header 2015-03-19 16:59:53 +01:00
Florian Holzapfel
fbf1fa4327 add tests 2015-03-19 16:35:26 +01:00
Florian Holzapfel
85ea8ee338 fix types 2015-03-19 16:35:16 +01:00
Uros Smolnik
332c0f8d56 express 4.x middleware
- response-time
 - serve-favicon
 - serve-static
2014-11-04 21:22:07 +01:00