Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"node": true,

"curly": true,
"latedef": true,
"quotmark": true,
"undef": true,
"unused": true,
"trailing": true
}
30 changes: 17 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
"main": "src/index.js",
"scripts": {
"codestyle": "./node_modules/.bin/standard --format",
"test": "node ./node_modules/.bin/lab -r tap tests/test.js | ./node_modules/.bin/tap-spec",
"test-cov": "node ./node_modules/.bin/lab -t 90 tests/test.js"
"fixstyle": "./node_modules/.bin/standard --fix",
"test": "node ./node_modules/.bin/lab -r tap tests/test.js",
"test-cov": "node ./node_modules/.bin/lab -t 90 tests/test.js",
"lint": "jshint .",
"validate": "npm ls"
},
"pre-commit": [
"codestyle",
Expand All @@ -26,19 +29,20 @@
},
"homepage": "https://github.com/diasdavid/node-dirbuster",
"dependencies": {
"combined-stream": "0.0.7",
"funil": "0.0.0",
"parallel-transform": "^0.2.2",
"combined-stream": "1.0.5",
"funil": "0.0.1",
"parallel-transform": "^1.1.0",
"pause-stream": "0.0.11",
"request": "^2.53.0",
"ronin": "^0.3.10"
"request": "^2.81.0",
"ronin": "^0.3.11"
},
"devDependencies": {
"code": "^1.3.0",
"lab": "^5.5.0",
"nock": "^1.2.0",
"precommit-hook": "^2.0.1",
"standard": "^4.5.2",
"tap-spec": "^2.2.2"
"code": "^4.0.0",
"codestyle": "^20.2.1",
"lab": "^13.1.0",
"nock": "^9.0.13",
"precommit-hook": "^3.0.0",
"standard": "^10.0.2",
"tap-spec": "^4.1.1"
}
}
1 change: 0 additions & 1 deletion src/lib/gen-streams/cleaner.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ module.exports = function () {
}

return cleaner

}
6 changes: 1 addition & 5 deletions tests/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,11 @@ experiment(': ', function () {
function createOutStream (results, cb) {
var out = new Writable({
decodeStrings: false,
objMode: true
objectMode: true
})

out._write = function (chunk, enc, next) {
var result = JSON.parse(chunk.toString('utf8'))

results[result.path] = result.statusCode
next()
}
Expand Down Expand Up @@ -238,7 +237,6 @@ experiment(': ', function () {
scope
.post('/news')
.reply(200)

}

function setPUTNocks () {
Expand All @@ -261,7 +259,6 @@ experiment(': ', function () {
scope
.put('/news')
.reply(200)

}

function setDELETENocks () {
Expand All @@ -284,7 +281,6 @@ experiment(': ', function () {
scope
.delete('/news')
.reply(200)

}

function setGETAndExtensionNocks () {
Expand Down