-
Notifications
You must be signed in to change notification settings - Fork 569
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use npm scripts instead of gulp #530
Merged
darrachequesne
merged 3 commits into
socketio:master
from
darrachequesne:chore/remove-gulp
Sep 1, 2017
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
node_modules | ||
npm-debug.log | ||
coverage.html | ||
lib-cov/ | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ language: node_js | |
node_js: | ||
- "4" | ||
- "6" | ||
- "7" | ||
- "8" | ||
git: | ||
depth: 1 | ||
notifications: | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "engine.io", | ||
"version": "3.1.0", | ||
"description": "The realtime engine behind Socket.IO. Provides the foundation of a bidirectional connection between client and server", | ||
"main": "./lib/engine.io", | ||
"main": "lib/engine.io", | ||
"author": "Guillermo Rauch <[email protected]>", | ||
"homepage": "https://github.com/socketio/engine.io", | ||
"contributors": [ | ||
|
@@ -33,17 +33,16 @@ | |
"cookie": "0.3.1" | ||
}, | ||
"devDependencies": { | ||
"babel-eslint": "5.0.0", | ||
"babel-eslint": "^7.2.3", | ||
"babel-preset-es2015": "^6.24.0", | ||
"engine.io-client": "3.1.0", | ||
"eslint-config-standard": "4.4.0", | ||
"eslint-plugin-standard": "1.3.2", | ||
"eslint": "^4.5.0", | ||
"eslint-config-standard": "^10.2.1", | ||
"eslint-plugin-import": "^2.7.0", | ||
"eslint-plugin-node": "^5.1.1", | ||
"eslint-plugin-promise": "^3.5.0", | ||
"eslint-plugin-standard": "^3.0.1", | ||
"expect.js": "^0.3.1", | ||
"gulp": "^3.9.1", | ||
"gulp-babel": "^6.1.2", | ||
"gulp-eslint": "1.1.1", | ||
"gulp-mocha": "^4.3.0", | ||
"gulp-nsp": "^2.4.1", | ||
"mocha": "^3.2.0", | ||
"s": "0.1.1", | ||
"superagent": "0.15.4" | ||
|
@@ -52,14 +51,14 @@ | |
"uws": "~0.14.4" | ||
}, | ||
"scripts": { | ||
"test": "gulp test; EIO_WS_ENGINE=ws gulp test;" | ||
"lint": "eslint lib/ test/ *.js", | ||
"test": "npm run lint && mocha && EIO_WS_ENGINE=ws mocha" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:socketio/engine.io.git" | ||
}, | ||
"files": [ | ||
"index.js", | ||
"lib/" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ChALkeR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@darrachequesne I think the question is, why add the
eslint-disable-line
instead of going with the advice in the deprecation message and usingBuffer.alloc(0)
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Next question then 😄 : do you suggest adding yet another dependency (
safe-buffer
), or losing support for Node.js<4.5.0
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@darrachequesne Any of those would be fine. Is there a reason for keeping support to Node.js versions
<4.5.0
? Those are obsolete and are not getting security updates. Even 4.x branch would be out of security support in a few months.Also, you can use
Buffer.concat([])
for this specific line (to construct an emptyBuffer
) to keep support for old Node.js versions and avoid hitting deprecated API. But I would recommend just to drop support for everything older than4.5.0
.