Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d112d01

Browse files
author
Gareth Jones
committed
updated dependencies, making sure it works with log4js@4.0.2
1 parent 1ebe645 commit d112d01

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

‎.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ build/Release
2323
# Deployed apps should consider commenting this line out:
2424
# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git
2525
node_modules
26+
package-lock.json

‎app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var app = express();
1616

1717
// view engine setup
1818
app.set('views', path.join(__dirname, 'views'));
19-
app.set('view engine', 'jade');
19+
app.set('view engine', 'pug');
2020

2121
app.use(favicon());
2222

@@ -25,7 +25,7 @@ app.use(favicon());
2525
app.use(log4js.connectLogger(log4js.getLogger("http"), { level: 'auto' }));
2626

2727
app.use(bodyParser.json());
28-
app.use(bodyParser.urlencoded());
28+
app.use(bodyParser.urlencoded({extended: false}));
2929
app.use(cookieParser());
3030
app.use(express.static(path.join(__dirname, 'public')));
3131

‎package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
"start": "node ./bin/www"
77
},
88
"dependencies": {
9-
"express": "~4.16.2",
10-
"static-favicon": "~1.0.0",
11-
"cookie-parser": "~1.0.1",
12-
"body-parser": "~1.0.0",
13-
"debug": "~3.1.0",
14-
"jade": "~1.3.0",
15-
"log4js": "~2.5.2",
16-
"express-cluster": "0.0.5"
9+
"body-parser": "^1.18.3",
10+
"cookie-parser": "^1.4.3",
11+
"debug": "^3.2.6",
12+
"express": "^4.16.4",
13+
"express-cluster": "^0.0.5",
14+
"log4js": "^4.0.2",
15+
"pug": "^2.0.3",
16+
"static-favicon": "^1.0.0"
1717
}
1818
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /