-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix npmrc * stop calling unref and export it as a function * v2.3.3 * fix test for node8 * (wip) format RELP output messages, include open and close commands * emit RSP events * minor refactor and add command to rsp attributes * resend test * add RELP instructions to sender readme * v2.4.0 * fix resend method return value * chore(package): update version and js-helper dependencie * update CHANGELOG and lockfile * tentative patch bump and changelog message for chore/update-version * fix write after end test, now it runs both in 12.x and 14.x * strict condition * emit after everything else * Update lib/sender.js Co-authored-by: tufosa <[email protected]> * rewrite if-else with ternaries * use constant * ternary, ternary, more ternary! * Update lib/sender.js Co-authored-by: tufosa <[email protected]> * Update docs/sender.md Co-authored-by: tufosa <[email protected]> * one-liners * Update docs/sender.md Co-authored-by: tufosa <[email protected]> * Update test/sender.js Co-authored-by: tufosa <[email protected]> * Update test/sender.js Co-authored-by: tufosa <[email protected]> * Update test/sender.js Co-authored-by: tufosa <[email protected]> * Update test/sender.js Co-authored-by: tufosa <[email protected]> * Update test/sender.js Co-authored-by: tufosa <[email protected]> * strict equality * be consistent at send/resend return value when using RELP * Update test/sender.js Co-authored-by: tufosa <[email protected]> * update linter forcing semicolons, huge fix --------- Co-authored-by: Alberto Bastos <[email protected]> Co-authored-by: José Ramón <[email protected]> Co-authored-by: Diego Lafuente <[email protected]> Co-authored-by: tufosa <[email protected]>
- Loading branch information
1 parent
0c16a08
commit 931d6ed
Showing
17 changed files
with
665 additions
and
429 deletions.
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,25 +1,36 @@ | ||
{ | ||
"env": { | ||
"node": true, | ||
"mocha": true, | ||
"es6": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"parserOptions": { | ||
"ecmaVersion": 2018, | ||
"sourceType": "module", | ||
"ecmaVersion": 2018, | ||
"ecmaFeatures": { | ||
"globalReturn": true, | ||
"modules": true | ||
} | ||
}, | ||
"env": { | ||
"es6": true, | ||
"node": true, | ||
"mocha": true | ||
}, | ||
"rules": { | ||
"quotes": ["error", "single"], | ||
"no-extra-semi": "error", | ||
"no-console": "off", | ||
"no-trailing-spaces": "error", | ||
"indent": ["error", 2], | ||
"max-len": ["error", {"code": 80}], | ||
"no-unused-vars": ["error", {"args": "none"}] | ||
"semi": ["error", "always"], | ||
"no-inner-declarations": 0, | ||
"no-unused-vars": ["error", { | ||
"args": "after-used", | ||
"argsIgnorePattern": "^_" | ||
}], | ||
"no-console": 0, | ||
"indent": ["error", 2, { | ||
"SwitchCase": 1 | ||
}], | ||
"max-len": ["error", { | ||
"code": 80, | ||
"tabWidth": 2 | ||
}], | ||
"linebreak-style": ["error", "unix"], | ||
"no-constant-condition": ["error", { | ||
"checkLoops": false | ||
}] | ||
} | ||
} |
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 +1 @@ | ||
strict-ssl=true | ||
strict-ssl=false |
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
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,5 +3,5 @@ | |
module.exports = { | ||
client: require('./lib/client.js').create, | ||
sender: require('./lib/sender.js').create, | ||
} | ||
}; | ||
|
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
Oops, something went wrong.