Skip to content

Commit

Permalink
Remove lodash from dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rlidwka committed May 25, 2021
1 parent c0abda6 commit 87d327d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
3 changes: 1 addition & 2 deletions lib/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
'use strict';


const _ = require('lodash');
const crypto = require('crypto');
const Denque = require('denque');
const debug_err = require('debug')('nntp-server.error');
Expand Down Expand Up @@ -191,7 +190,7 @@ Session.prototype.tick = function () {
this.tick();

} else if (cmd.state === CMD_REJECTED) {
_.set(cmd.rejected_value, 'nntp_command', cmd.cmd_line);
if (cmd.rejected_value) cmd.rejected_value.nntp_command = cmd.cmd_line;
this.write(status._403_FUCKUP);
debug_err('ERROR: %O', serializeError(cmd.rejected_value));
this.server._onError(cmd.rejected_value);
Expand Down
11 changes: 3 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"dependencies": {
"debug": "^4.3.1",
"denque": "^1.5.0",
"lodash": "^4.17.21",
"serialize-error": "^8.1.0",
"split2": "^3.2.2"
},
Expand Down

0 comments on commit 87d327d

Please sign in to comment.