From 1e3a210e62c7d3ca0684c8bbf3e4156cb31212c8 Mon Sep 17 00:00:00 2001 From: 0x15F9 Date: Sat, 26 Oct 2019 21:04:04 +0400 Subject: [PATCH] remove redundant import --- bot/modules/tipbot.js | 1 - package-lock.json | 32 -------------------------------- package.json | 1 - 3 files changed, 34 deletions(-) diff --git a/bot/modules/tipbot.js b/bot/modules/tipbot.js index 62c4499..3292fef 100644 --- a/bot/modules/tipbot.js +++ b/bot/modules/tipbot.js @@ -3,7 +3,6 @@ const bitcoin = require('bitcoin'); let config = require('config'); let spamchannel = config.get('sandboxchannel'); -let regex = require('regex'); let lbrycrdConfig = config.get('lbrycrd'); const lbry = new bitcoin.Client(lbrycrdConfig); const helpmsg = { diff --git a/package-lock.json b/package-lock.json index 04d2f47..586bc42 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2885,38 +2885,6 @@ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" }, - "regex": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/regex/-/regex-0.1.1.tgz", - "integrity": "sha1-BYCZXRhGxTdqdiudNYuDBo0geu8=", - "requires": { - "augment": "3.2.1", - "jison": "0.4.4", - "lex": "1.7.4", - "statemachines": "0.1.0" - }, - "dependencies": { - "esprima": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-1.0.4.tgz", - "integrity": "sha1-n1V+CPw7TSbs6d00+Pv0drYlha0=" - }, - "jison": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/jison/-/jison-0.4.4.tgz", - "integrity": "sha1-hrA7Ze/sAHqR9JPs6r5W+QqmtDk=", - "requires": { - "JSONSelect": "0.4.0", - "ebnf-parser": "0.1.x", - "escodegen": "0.0.21", - "esprima": "1.0.x", - "jison-lex": "0.2.x", - "lex-parser": "0.1.x", - "nomnom": "1.5.2" - } - } - } - }, "regex-cache": { "version": "0.4.4", "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", diff --git a/package.json b/package.json index 6f6e6f4..5da5be7 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,6 @@ "mongoose": "^5.5.0", "node-config": "^0.0.2", "numeral": "^2.0.6", - "regex": "^0.1.1", "request": "^2.88.0" }, "scripts": {