diff --git a/bot_scripts/assign-approved-pr-to-test.js b/bot_scripts/assign-approved-pr-to-test.js index 957b48a..d100be4 100644 --- a/bot_scripts/assign-approved-pr-to-test.js +++ b/bot_scripts/assign-approved-pr-to-test.js @@ -15,7 +15,7 @@ const getConfig = require('probot-config') const defaultConfig = require('../lib/config') const gitHubHelpers = require('../lib/github-helpers') -const slackHelper = require('../lib/slack') +// const slackHelper = require('../lib/slack') const botName = 'assign-approved-pr-to-test' @@ -140,10 +140,10 @@ async function assignPullRequestToCorrectColumn (github, robot, repo, pullReques robot.log.info(`${botName} - Moved card ${existingGHCard.id} to ${dstColumn.name} for PR #${prInfo.number}`) } - slackHelper.sendMessage(robot, room, `Assigned PR to ${dstColumn.name} column\n${pullRequest.html_url}`) + // slackHelper.sendMessage(robot, room, `Assigned PR to ${dstColumn.name} column\n${pullRequest.html_url}`) } catch (err) { robot.log.error(`${botName} - Couldn't move project card for the PR: ${err}`, srcColumn.id, dstColumn.id, pullRequest.id) - slackHelper.sendMessage(robot, room, `I couldn't move the PR to ${dstColumn.name} column :confused:\n${pullRequest.html_url}`) + // slackHelper.sendMessage(robot, room, `I couldn't move the PR to ${dstColumn.name} column :confused:\n${pullRequest.html_url}`) } } else { try { diff --git a/bot_scripts/assign-new-pr-to-review.js b/bot_scripts/assign-new-pr-to-review.js index 1f89696..b723d03 100644 --- a/bot_scripts/assign-new-pr-to-review.js +++ b/bot_scripts/assign-new-pr-to-review.js @@ -10,7 +10,7 @@ // PombeirP const defaultConfig = require('../lib/config') -const slackHelper = require('../lib/slack') +// const slackHelper = require('../lib/slack') const gitHubHelpers = require('../lib/github-helpers') const getConfig = require('probot-config') @@ -65,7 +65,7 @@ async function assignPullRequestToReview (context, robot) { } // Send message to Slack - slackHelper.sendMessage(robot, config.slack.notification.room, `Assigned PR to ${reviewColumnName} in ${projectBoardName} project\n${payload.pull_request.html_url}`) + // slackHelper.sendMessage(robot, config.slack.notification.room, `Assigned PR to ${reviewColumnName} in ${projectBoardName} project\n${payload.pull_request.html_url}`) } catch (err) { robot.log.error(`${botName} - Couldn't create project card for the PR: ${err}`, column.id, payload.pull_request.id) } diff --git a/bot_scripts/assign-to-bounty-awaiting-for-approval.js b/bot_scripts/assign-to-bounty-awaiting-for-approval.js index 20d97ae..9fbf47c 100644 --- a/bot_scripts/assign-to-bounty-awaiting-for-approval.js +++ b/bot_scripts/assign-to-bounty-awaiting-for-approval.js @@ -10,7 +10,7 @@ // Author: // PombeirP -const slackHelper = require('../lib/slack') +// const slackHelper = require('../lib/slack') const gitHubHelpers = require('../lib/github-helpers') const defaultConfig = require('../lib/config') @@ -104,19 +104,19 @@ async function assignIssueToBountyAwaitingForApproval (context, robot, assign) { } } - const slackMessage = getSlackMessage(projectBoardConfig.name, approvalColumnName, payload, assign, isOfficialBounty, bountySize) - if (slackMessage && !process.env.DRY_RUN_BOUNTY_APPROVAL) { - // Send message to Slack - slackHelper.sendMessage(robot, config.slack.notification.room, slackMessage) + // const slackMessage = getSlackMessage(projectBoardConfig.name, approvalColumnName, payload, assign, isOfficialBounty, bountySize) + // if (slackMessage && !process.env.DRY_RUN_BOUNTY_APPROVAL) { + // // Send message to Slack + // slackHelper.sendMessage(robot, config.slack.notification.room, slackMessage) - // Cross-post approved bounties to a predefined room - if (!assign && isOfficialBounty) { - const slackRoom = projectBoardConfig['post-approved-bounties-to-slack-room'] - if (slackRoom) { - slackHelper.sendMessage(robot, slackRoom, slackMessage) - } - } - } + // // Cross-post approved bounties to a predefined room + // if (!assign && isOfficialBounty) { + // const slackRoom = projectBoardConfig['post-approved-bounties-to-slack-room'] + // if (slackRoom) { + // slackHelper.sendMessage(robot, slackRoom, slackMessage) + // } + // } + // } } function getSlackMessage (projectBoardName, approvalColumnName, payload, assign, isOfficialBounty, bountySize) { diff --git a/bot_scripts/assign-to-bounty-bug-column.js b/bot_scripts/assign-to-bounty-bug-column.js index 475ae0f..a8f08b2 100644 --- a/bot_scripts/assign-to-bounty-bug-column.js +++ b/bot_scripts/assign-to-bounty-bug-column.js @@ -9,7 +9,7 @@ // Author: // PombeirP -const slackHelper = require('../lib/slack') +// const slackHelper = require('../lib/slack') const gitHubHelpers = require('../lib/github-helpers') const defaultConfig = require('../lib/config') @@ -94,17 +94,17 @@ async function assignIssueToBountyBug (context, robot, assign) { } } - const slackMessage = getSlackMessage(projectBoardConfig.name, bountyBugColumnName, payload, assign) - if (slackMessage) { - // Send message to Slack - slackHelper.sendMessage(robot, config.slack.notification.room, slackMessage) - } + // const slackMessage = getSlackMessage(projectBoardConfig.name, bountyBugColumnName, payload, assign) + // if (slackMessage) { + // // Send message to Slack + // slackHelper.sendMessage(robot, config.slack.notification.room, slackMessage) + // } } -function getSlackMessage (projectBoardName, bountyBugColumnName, payload, assign) { - if (assign) { - return `Assigned issue to ${bountyBugColumnName} in ${projectBoardName} project\n${payload.issue.html_url}` - } +// function getSlackMessage (projectBoardName, bountyBugColumnName, payload, assign) { +// if (assign) { +// return `Assigned issue to ${bountyBugColumnName} in ${projectBoardName} project\n${payload.issue.html_url}` +// } - return `Unassigned issue from ${bountyBugColumnName} in ${projectBoardName} project\n${payload.issue.html_url}` -} +// return `Unassigned issue from ${bountyBugColumnName} in ${projectBoardName} project\n${payload.issue.html_url}` +// } diff --git a/bot_scripts/greet-new-contributor.js b/bot_scripts/greet-new-contributor.js index a23676e..790012f 100644 --- a/bot_scripts/greet-new-contributor.js +++ b/bot_scripts/greet-new-contributor.js @@ -11,7 +11,7 @@ const getConfig = require('probot-config') -const slackHelper = require('../lib/slack') +// const slackHelper = require('../lib/slack') const defaultConfig = require('../lib/config') const botName = 'greet-new-contributor' @@ -75,14 +75,14 @@ async function greetNewContributor (context, robot) { } // Send message to Slack - slackHelper.sendMessage(robot, config.slack.notification.room, `Greeted ${payload.pull_request.user.login} on his first PR in the ${repoInfo.repo} repo\n${payload.pull_request.html_url}`) + // slackHelper.sendMessage(robot, config.slack.notification.room, `Greeted ${payload.pull_request.user.login} on his first PR in the ${repoInfo.repo} repo\n${payload.pull_request.html_url}`) - const slackRecipients = welcomeBotConfig['slack-recipients'] - if (slackRecipients) { - for (const slackUsername of slackRecipients) { - await notifySlackRecipient(robot, slackUsername, payload, repoInfo) - } - } + // const slackRecipients = welcomeBotConfig['slack-recipients'] + // if (slackRecipients) { + // for (const slackUsername of slackRecipients) { + // await notifySlackRecipient(robot, slackUsername, payload, repoInfo) + // } + // } } catch (err) { if (err.code !== 404) { robot.log.error(`${botName} - Couldn't create comment on PR: ${err}`, repoInfo) @@ -96,20 +96,20 @@ async function greetNewContributor (context, robot) { } } -async function notifySlackRecipient (robot, slackUsername, payload, repoInfo) { - try { - const slackProfileCache = robot['slackProfileCache'] - const userID = await slackProfileCache.getSlackIdFromSlackUsername(slackUsername) - const resp = await robot.slackWeb.im.open(userID) +// async function notifySlackRecipient (robot, slackUsername, payload, repoInfo) { +// try { +// const slackProfileCache = robot['slackProfileCache'] +// const userID = await slackProfileCache.getSlackIdFromSlackUsername(slackUsername) +// const resp = await robot.slackWeb.im.open(userID) - const dmChannelID = resp.channel.id - const msg = `Greeted ${payload.pull_request.user.login} on his first PR in the ${repoInfo.repo} repo\n${payload.pull_request.html_url}` +// const dmChannelID = resp.channel.id +// const msg = `Greeted ${payload.pull_request.user.login} on his first PR in the ${repoInfo.repo} repo\n${payload.pull_request.html_url}` - robot.log.info(`${botName} - Opened DM Channel ${dmChannelID}`) - robot.log.info(`Notifying ${slackUsername} about user's first PM in ${payload.pull_request.url}`) +// robot.log.info(`${botName} - Opened DM Channel ${dmChannelID}`) +// robot.log.info(`Notifying ${slackUsername} about user's first PM in ${payload.pull_request.url}`) - robot.slackWeb.chat.postMessage(dmChannelID, msg, {unfurl_links: true, as_user: slackHelper.BotUserName}) - } catch (error) { - robot.log.warn(`Could not open DM channel to ${slackUsername} for new user's first PM notification`, error) - } -} +// robot.slackWeb.chat.postMessage(dmChannelID, msg, {unfurl_links: true, as_user: slackHelper.BotUserName}) +// } catch (error) { +// robot.log.warn(`Could not open DM channel to ${slackUsername} for new user's first PM notification`, error) +// } +// } diff --git a/index.js b/index.js index f8ec4f6..1b7efde 100644 --- a/index.js +++ b/index.js @@ -9,7 +9,7 @@ // Author: // PombeirP -const Slack = require('./lib/slack') +//const Slack = require('./lib/slack') const memjs = require('memjs') module.exports = async (robot) => { @@ -24,9 +24,9 @@ module.exports = async (robot) => { } setupMemcache(robot) - await setupSlack(robot) + // await setupSlack(robot) - robot['slackProfileCache'] = require('./lib/slack-profile-cache')(robot) + // robot['slackProfileCache'] = require('./lib/slack-profile-cache')(robot) require('./bot_scripts/assign-new-pr-to-review')(robot) require('./bot_scripts/assign-approved-pr-to-test')(robot) @@ -34,10 +34,10 @@ module.exports = async (robot) => { require('./bot_scripts/assign-to-bounty-bug-column')(robot) require('./bot_scripts/greet-new-contributor')(robot) require('./bot_scripts/trigger-automation-test-build')(robot) - require('./bot_scripts/bounty-awaiting-approval-slack-ping')(robot) - require('./bot_scripts/notify-reviewers-via-slack')(robot) - require('./bot_scripts/tip-kudos-recipients')(robot) - require('./bot_scripts/check-bot-balance')(robot) + // require('./bot_scripts/bounty-awaiting-approval-slack-ping')(robot) + // require('./bot_scripts/notify-reviewers-via-slack')(robot) + // require('./bot_scripts/tip-kudos-recipients')(robot) + // require('./bot_scripts/check-bot-balance')(robot) require('./bot_scripts/manage-pr-checklist')(robot) require('./bot_scripts/stale/index')(robot) @@ -48,21 +48,21 @@ module.exports = async (robot) => { // https://probot.github.io/docs/development/ } -async function setupSlack (robot) { - Slack.setup(robot, slack => {}) +// async function setupSlack (robot) { +// Slack.setup(robot, slack => {}) - await new Promise(resolve => { - robot.on('slack.connected', event => { - robot.log.info(`Connected to Slack`) +// await new Promise(resolve => { +// robot.on('slack.connected', event => { +// robot.log.info(`Connected to Slack`) - // Copy Slack RTM and Slack Web clients to the robot object - robot['slack'] = event.payload.slack - robot['slackWeb'] = event.payload.slackWeb +// // Copy Slack RTM and Slack Web clients to the robot object +// robot['slack'] = event.payload.slack +// robot['slackWeb'] = event.payload.slackWeb - resolve() - }) - }) -} +// resolve() +// }) +// }) +// } function setupMemcache (robot) { // Environment variables are defined in .env diff --git a/package-lock.json b/package-lock.json index aa5ef4d..b6675d1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -65,7 +65,7 @@ }, "@octokit/webhooks": { "version": "3.1.1", - "resolved": "http://registry.npmjs.org/@octokit/webhooks/-/webhooks-3.1.1.tgz", + "resolved": "https://registry.npmjs.org/@octokit/webhooks/-/webhooks-3.1.1.tgz", "integrity": "sha512-VqpGDClqhLw5sKV+or5AnkPmUyur/Oktr9paqiR+yH69Tew9QA/vXHjKP4zctxj5PVAsOdTQFhSzP53qbNLVOg==", "requires": { "buffer-equal-constant-time": "1.0.1", @@ -87,209 +87,6 @@ } } }, - "@slack/client": { - "version": "3.16.0", - "resolved": "https://registry.npmjs.org/@slack/client/-/client-3.16.0.tgz", - "integrity": "sha512-CWr7a3rTVrN5Vs8GYReRAvTourbXHOqB1zglcskj05ICH4GZL5BOAza2ARai+qc3Nz0nY08Bozi1x0014KOqlg==", - "requires": { - "async": "1.5.2", - "bluebird": "3.5.1", - "eventemitter3": "1.2.0", - "https-proxy-agent": "1.0.0", - "inherits": "2.0.3", - "lodash": "4.17.10", - "pkginfo": "0.4.1", - "request": "2.76.0", - "retry": "0.9.0", - "url-join": "0.0.1", - "winston": "2.4.0", - "ws": "1.1.5" - }, - "dependencies": { - "agent-base": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-2.1.1.tgz", - "integrity": "sha1-1t4Q1a9hMtW9aSQn1G/FOFOQlMc=", - "requires": { - "extend": "3.0.1", - "semver": "5.0.3" - } - }, - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" - }, - "assert-plus": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz", - "integrity": "sha1-104bh+ev/A24qttwIfP+SBAasjQ=" - }, - "aws-sign2": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz", - "integrity": "sha1-FDQt0428yU0OW4fXY81jYSwOeU8=" - }, - "boom": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/boom/-/boom-2.10.1.tgz", - "integrity": "sha1-OciRjO/1eZ+D+UkqhI9iWt0Mdm8=", - "requires": { - "hoek": "2.16.3" - } - }, - "caseless": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz", - "integrity": "sha1-cVuW6phBWTzDMGeSP17GDr2k99c=" - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "requires": { - "ansi-styles": "2.2.1", - "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" - } - }, - "cryptiles": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz", - "integrity": "sha1-O9/s3GCBR8HGcgL6KR59ylnqo7g=", - "requires": { - "boom": "2.10.1" - } - }, - "form-data": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.1.4.tgz", - "integrity": "sha1-M8GDrPGTJ27KqYFDpp6Uv+4XUNE=", - "requires": { - "asynckit": "0.4.0", - "combined-stream": "1.0.5", - "mime-types": "2.1.17" - } - }, - "har-validator": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz", - "integrity": "sha1-zcvAgYgmWtEZtqWnyKtw7s+10n0=", - "requires": { - "chalk": "1.1.3", - "commander": "2.13.0", - "is-my-json-valid": "2.17.1", - "pinkie-promise": "2.0.1" - } - }, - "hawk": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/hawk/-/hawk-3.1.3.tgz", - "integrity": "sha1-B4REvXwWQLD+VA0sm3PVlnjo4cQ=", - "requires": { - "boom": "2.10.1", - "cryptiles": "2.0.5", - "hoek": "2.16.3", - "sntp": "1.0.9" - } - }, - "hoek": { - "version": "2.16.3", - "resolved": "https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz", - "integrity": "sha1-ILt0A9POo5jpHcRxCo/xuCdKJe0=" - }, - "http-signature": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz", - "integrity": "sha1-33LiZwZs0Kxn+3at+OE0qPvPkb8=", - "requires": { - "assert-plus": "0.2.0", - "jsprim": "1.4.1", - "sshpk": "1.14.2" - } - }, - "https-proxy-agent": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-1.0.0.tgz", - "integrity": "sha1-NffabEjOTdv6JkiRrFk+5f+GceY=", - "requires": { - "agent-base": "2.1.1", - "debug": "2.6.9", - "extend": "3.0.1" - } - }, - "node-uuid": { - "version": "1.4.8", - "resolved": "https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.8.tgz", - "integrity": "sha1-sEDrCSOWivq/jTL7HxfxFn/auQc=" - }, - "qs": { - "version": "6.3.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.3.2.tgz", - "integrity": "sha1-51vV9uJoEioqDgvaYwslUMFmUCw=" - }, - "request": { - "version": "2.76.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.76.0.tgz", - "integrity": "sha1-vkRQWv73A2CgQ2lVEGvjlF2VVg4=", - "requires": { - "aws-sign2": "0.6.0", - "aws4": "1.6.0", - "caseless": "0.11.0", - "combined-stream": "1.0.5", - "extend": "3.0.1", - "forever-agent": "0.6.1", - "form-data": "2.1.4", - "har-validator": "2.0.6", - "hawk": "3.1.3", - "http-signature": "1.1.1", - "is-typedarray": "1.0.0", - "isstream": "0.1.2", - "json-stringify-safe": "5.0.1", - "mime-types": "2.1.17", - "node-uuid": "1.4.8", - "oauth-sign": "0.8.2", - "qs": "6.3.2", - "stringstream": "0.0.5", - "tough-cookie": "2.3.3", - "tunnel-agent": "0.4.3" - } - }, - "semver": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.0.3.tgz", - "integrity": "sha1-d0Zt5YnNXTyV8TiqeLxWmjy10no=" - }, - "sntp": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz", - "integrity": "sha1-ZUEYTMkK7qbG57NeJlkIJEPGYZg=", - "requires": { - "hoek": "2.16.3" - } - }, - "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "requires": { - "ansi-regex": "2.1.1" - } - }, - "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" - }, - "tunnel-agent": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", - "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=" - } - } - }, "abab": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/abab/-/abab-1.0.4.tgz", @@ -557,11 +354,6 @@ "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" }, - "aws4": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.6.0.tgz", - "integrity": "sha1-g+9cqGCysy5KDe7e6MdxudtXRx4=" - }, "axios": { "version": "0.18.0", "resolved": "https://registry.npmjs.org/axios/-/axios-0.18.0.tgz", @@ -971,11 +763,6 @@ } } }, - "bluebird": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", - "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==" - }, "bn.js": { "version": "4.11.8", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", @@ -1342,19 +1129,6 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" }, - "colors": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz", - "integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=" - }, - "combined-stream": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz", - "integrity": "sha1-k4NwpXtKUd6ix3wV1cX9+JUWQAk=", - "requires": { - "delayed-stream": "1.0.0" - } - }, "commander": { "version": "2.13.0", "resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz", @@ -1543,11 +1317,6 @@ "cssom": "0.3.2" } }, - "cycle": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/cycle/-/cycle-1.0.3.tgz", - "integrity": "sha1-IegLK+hYD5i0aPN5QwZisEbDStI=" - }, "d": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz", @@ -2459,7 +2228,7 @@ }, "uuid": { "version": "2.0.1", - "resolved": "http://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz", "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w=" } } @@ -2484,11 +2253,6 @@ "es5-ext": "0.10.38" } }, - "eventemitter3": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-1.2.0.tgz", - "integrity": "sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg=" - }, "eventsource": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-1.0.7.tgz", @@ -2664,11 +2428,6 @@ "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" }, - "eyes": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz", - "integrity": "sha1-Ys8SAjTGg3hdkCNIqADvPgzCC8A=" - }, "fast-deep-equal": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz", @@ -2906,12 +2665,14 @@ "generate-function": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/generate-function/-/generate-function-2.0.0.tgz", - "integrity": "sha1-aFj+fAlpt9TpCTM3ZHrHn2DfvnQ=" + "integrity": "sha1-aFj+fAlpt9TpCTM3ZHrHn2DfvnQ=", + "dev": true }, "generate-object-property": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/generate-object-property/-/generate-object-property-1.2.0.tgz", "integrity": "sha1-nA4cQDCM6AT0eDYYuTf6iPmdUNA=", + "dev": true, "requires": { "is-property": "1.0.2" } @@ -3685,6 +3446,7 @@ "version": "2.17.1", "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.17.1.tgz", "integrity": "sha512-Q2khNw+oBlWuaYvEEHtKSw/pCxD2L5Rc1C+UQme9X6JdRDh7m5D7HkozA0qa3DUkQ6VzCnEm8mVIQPyIRkI5sQ==", + "dev": true, "requires": { "generate-function": "2.0.0", "generate-object-property": "1.2.0", @@ -3695,7 +3457,8 @@ "xtend": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", - "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=" + "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=", + "dev": true } } }, @@ -3761,7 +3524,8 @@ "is-property": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz", - "integrity": "sha1-V/4cTkhHTt1lsJkR8msc1Ald2oQ=" + "integrity": "sha1-V/4cTkhHTt1lsJkR8msc1Ald2oQ=", + "dev": true }, "is-regex": { "version": "1.0.4", @@ -4685,7 +4449,8 @@ "jsonpointer": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-4.0.1.tgz", - "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=" + "integrity": "sha1-T9kss04OnbPInIYi7PUfm5eMbLk=", + "dev": true }, "jsonwebtoken": { "version": "8.1.0", @@ -5290,11 +5055,6 @@ "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.0.9.tgz", "integrity": "sha512-nlWFSCTYQcHk/6A9FFnfhKc14c3aFhfdNBXgo8Qgi9QTBu/qg3Ww+Uiz9wMzXd1T8GFxPc2QIHB6Qtf2XFryFQ==" }, - "oauth-sign": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz", - "integrity": "sha1-Rqarfwrq2N6unsBWV4C31O/rnUM=" - }, "object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -5461,11 +5221,6 @@ } } }, - "options": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/options/-/options-0.0.6.tgz", - "integrity": "sha1-7CLTEoBrtT5zF3Pnza788cZDEo8=" - }, "original": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz", @@ -5733,11 +5488,6 @@ } } }, - "pkginfo": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/pkginfo/-/pkginfo-0.4.1.tgz", - "integrity": "sha1-tUGO8EOd5UJfxJlQQtztFPsqhP8=" - }, "please-upgrade-node": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.1.1.tgz", @@ -6942,11 +6692,6 @@ "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==" }, - "retry": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.9.0.tgz", - "integrity": "sha1-b2l+UKDk3cjI9/tUeptg3q1DZ40=" - }, "right-align": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", @@ -7068,7 +6813,7 @@ }, "scrypt-js": { "version": "2.0.3", - "resolved": "http://registry.npmjs.org/scrypt-js/-/scrypt-js-2.0.3.tgz", + "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-2.0.3.tgz", "integrity": "sha1-uwBAvgMEPamgEqLOqfyfhSz8h9Q=" }, "secp256k1": { @@ -7919,11 +7664,6 @@ "safe-buffer": "5.1.1" } }, - "stringstream": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz", - "integrity": "sha1-TkhM1N5aC7vuGORjB3EKioFiGHg=" - }, "strip-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", @@ -8459,11 +8199,6 @@ "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", "optional": true }, - "ultron": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.0.2.tgz", - "integrity": "sha1-rOEWq1V80Zc4ak6I9GhTeMiy5Po=" - }, "unfurl": { "version": "github:probot/unfurl#81e04d68d7eafce7475ec6081a7b55ac5de2544b", "requires": { @@ -8481,7 +8216,7 @@ }, "dotenv": { "version": "5.0.1", - "resolved": "http://registry.npmjs.org/dotenv/-/dotenv-5.0.1.tgz", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-5.0.1.tgz", "integrity": "sha512-4As8uPrjfwb7VXC+WnLCbXK7y+Ueb2B3zgNCePYfhxS1PYeaO1YTeplffTEcbfLhvFNGLAz90VvJs9yomG7bow==" }, "probot": { @@ -8655,11 +8390,6 @@ "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=" }, - "url-join": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/url-join/-/url-join-0.0.1.tgz", - "integrity": "sha1-HbSK1CLTQCRpqH99l73r/k+x48g=" - }, "url-parse": { "version": "1.4.3", "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.4.3.tgz", @@ -8839,26 +8569,6 @@ "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=", "optional": true }, - "winston": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/winston/-/winston-2.4.0.tgz", - "integrity": "sha1-gIBQuT1SZh7Z+2wms/DIJnCLCu4=", - "requires": { - "async": "1.0.0", - "colors": "1.0.3", - "cycle": "1.0.3", - "eyes": "0.1.8", - "isstream": "0.1.2", - "stack-trace": "0.0.9" - }, - "dependencies": { - "async": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/async/-/async-1.0.0.tgz", - "integrity": "sha1-+PwEyjoTeErenhZBr5hXjPvWR6k=" - } - } - }, "wip": { "version": "github:gr2m/wip-bot#59cbc474de03f32654c2a52cbd1d124f1dd2ac75", "requires": { @@ -9035,15 +8745,6 @@ "signal-exit": "3.0.2" } }, - "ws": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/ws/-/ws-1.1.5.tgz", - "integrity": "sha512-o3KqipXNUdS7wpQzBHSe180lBGO60SoK0yVo3CYJgb2MkobuWuBX6dhkYP5ORCLd55y+SaflMOV5fqAB53ux4w==", - "requires": { - "options": "0.0.6", - "ultron": "1.0.2" - } - }, "xml-name-validator": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz", diff --git a/package.json b/package.json index d4791c6..0917ce3 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,6 @@ "test": "jest && standard" }, "dependencies": { - "@slack/client": "^3.16.0", "axios": "^0.18.0", "eslint": "^4.19.1", "ethers": "^3.0.29",