winston-middleware 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.travis.yml +2 -2
- package/AUTHORS +3 -0
- package/LICENSE +1 -1
- package/Readme.md +4 -2
- package/package.json +5 -10
package/.travis.yml
CHANGED
package/AUTHORS
ADDED
package/LICENSE
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright (c) 2012
|
|
1
|
+
Copyright (c) 2012-2013 Heapsource.com - http://www.heapsource.com
|
|
2
2
|
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
4
|
of this software and associated documentation files (the "Software"), to deal
|
package/Readme.md
CHANGED
|
@@ -59,7 +59,7 @@ Use `expressWinston.logger(options)` to create a middleware to log your HTTP req
|
|
|
59
59
|
var express = require('express');
|
|
60
60
|
var expressWinston = require('winston-middleware');
|
|
61
61
|
var winston = require('winston'); // for transports.Console
|
|
62
|
-
var app = module.exports = express
|
|
62
|
+
var app = module.exports = express();
|
|
63
63
|
|
|
64
64
|
app.use(express.bodyParser());
|
|
65
65
|
app.use(express.methodOverride());
|
|
@@ -271,9 +271,11 @@ If you ran into any problems, please use the project [Issues section](https://gi
|
|
|
271
271
|
* [Lars Jacob](https://github.com/jaclar) (https://github.com/jaclar)
|
|
272
272
|
* [Jonathan Lomas](https://github.com/floatingLomas) (https://github.com/floatingLomas)
|
|
273
273
|
|
|
274
|
+
Also see AUTHORS file, add yourself if you are missing.
|
|
275
|
+
|
|
274
276
|
## MIT License
|
|
275
277
|
|
|
276
|
-
Copyright (c) 2012
|
|
278
|
+
Copyright (c) 2012-2013 Heapsource.com and Contributors - http://www.heapsource.com
|
|
277
279
|
|
|
278
280
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
279
281
|
of this software and associated documentation files (the "Software"), to deal
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
"author": "
|
|
2
|
+
"author": "Heapsource.com <npm@heapsource.com> (http://www.heapsource.com)",
|
|
3
3
|
"name": "winston-middleware",
|
|
4
4
|
"description": "express.js middleware for flatiron/winston",
|
|
5
5
|
"keywords": ["winston", "flatiron", "logging", "express", "log", "error", "handler", "middleware"],
|
|
6
|
-
"version": "0.2.
|
|
6
|
+
"version": "0.2.1",
|
|
7
7
|
"repository": {
|
|
8
|
-
"url": "https://github.com/
|
|
8
|
+
"url": "https://github.com/heapsource/winston-middleware.git"
|
|
9
9
|
},
|
|
10
10
|
"main": "index.js",
|
|
11
11
|
"scripts": {
|
|
12
|
-
"test": "
|
|
12
|
+
"test": "vows --spec"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"winston": "0.6.x"
|
|
@@ -20,10 +20,5 @@
|
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": "*"
|
|
22
22
|
},
|
|
23
|
-
"
|
|
24
|
-
{
|
|
25
|
-
"type" : "MIT",
|
|
26
|
-
"url" : "https://github.com/firebaseco/winston-middleware/blob/master/LICENSE"
|
|
27
|
-
}
|
|
28
|
-
]
|
|
23
|
+
"license": "MIT"
|
|
29
24
|
}
|