Skip to content

Commit

Permalink
chore(dependency): replace 'open' with 'opn'
Browse files Browse the repository at this point in the history
  • Loading branch information
chimurai committed May 3, 2016
1 parent 2ebe208 commit 0122a90
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/connect/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ http.createServer(app).listen(3000);
console.log('[DEMO] Server: listening on port 3000');
console.log('[DEMO] Opening: http://localhost:3000/api');

require('open')('http://localhost:3000/jokes/random/5?limitTo=[nerdy]');
require('opn')('http://localhost:3000/jokes/random/5?limitTo=[nerdy]');
2 changes: 1 addition & 1 deletion examples/express/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ app.listen(3000);
console.log('[DEMO] Server: listening on port 3000');
console.log('[DEMO] Opening: http://localhost:3000/api');

require('open')('http://localhost:3000/jokes/random/5?limitTo=[nerdy]');
require('opn')('http://localhost:3000/jokes/random/5?limitTo=[nerdy]');
2 changes: 1 addition & 1 deletion examples/websocket/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ server.on('upgrade', wsProxy.upgrade); // optional: upgrade ext
console.log('[DEMO] Server: listening on port 3000');
console.log('[DEMO] Opening: http://localhost:3000');

require('open')('http://localhost:3000');
require('opn')('http://localhost:3000');

/**
* Example:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"istanbul-coveralls": "^1.0.3",
"mocha": "^2.3.4",
"mocha-lcov-reporter": "1.2.0",
"open": "0.0.5",
"opn": "^4.0.1",
"ws": "^1.0.1"
},
"dependencies": {
Expand Down

0 comments on commit 0122a90

Please sign in to comment.