Skip to content

Commit 69b092f

Browse files
committed
Compatibility updates for package web-dev-server 2.1.
1 parent 788ef60 commit 69b092f

File tree

6 files changed

+23
-7
lines changed

6 files changed

+23
-7
lines changed

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# http://EditorConfig.org
2+
3+
root = true
4+
5+
[*]
6+
indent_style = tab
7+
tab_width = 4
8+
charset = utf-8
9+
end_of_line = lf
10+
insert_final_newline = false
11+
trim_trailing_whitespace = false

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,7 @@ Temporary Items
5757

5858
# third party node modules
5959
node_modules
60-
package-lock.json
60+
package-lock.json
61+
62+
# log files
63+
*.log

.npmignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ src/
22
node_modules/
33
tests/
44
Workspace.code-workspace
5-
*.log
5+
.editorconfig
6+
*.log
7+
TODO.md

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Example - Hello World - Javascript
22

3-
[![Latest Stable Version](https://img.shields.io/badge/Stable-v2.0.0-brightgreen.svg?style=plastic)](https://github.com/web-dev-server/example-helloworld/releases)
3+
[![Latest Stable Version](https://img.shields.io/badge/Stable-v2.1.0-brightgreen.svg?style=plastic)](https://github.com/web-dev-server/example-helloworld/releases)
44
[![License](https://img.shields.io/badge/Licence-BSD-brightgreen.svg?style=plastic)](https://github.com/web-dev-server/example-helloworld/blob/master/LICENCE.md)
55

66
Hallo world example with static and dynamic content in Javascript.

dynamic-content/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ App.prototype = {
4444
* @param {response} response Current http response object.
4545
* @return {Promise}
4646
*/
47-
handleHttpRequest: function (request, response) {
47+
HandleHttpRequest: function (request, response) {
4848
// Called every request:
4949
console.log("Application has been requested.");
5050

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web-dev-server-example-helloworld",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"keywords": [
55
"hello",
66
"world",
@@ -10,7 +10,7 @@
1010
"node"
1111
],
1212
"description": "Hello world example with static and dynamic content in Javascript.",
13-
"homepage": "https://github.com/web-dev-server",
13+
"homepage": "https://github.com/web-dev-server/example-helloworld",
1414
"repository": {
1515
"type": "git",
1616
"url": "https://github.com/web-dev-server/example-helloworld.git"
@@ -23,6 +23,6 @@
2323
},
2424
"main": "run-server.js",
2525
"dependencies": {
26-
"web-dev-server": "^2.0.2"
26+
"web-dev-server": "^2.1"
2727
}
2828
}

0 commit comments

Comments
 (0)