diff --git a/changelog.md b/changelog.md index 1bb0da9f3..223ce55d1 100644 --- a/changelog.md +++ b/changelog.md @@ -4,6 +4,19 @@ [Want to contribute? Read our guide!](https://github.com/howdyai/botkit/blob/master/CONTRIBUTING.md) +# 4.10.0 + +* Update dependencies to [Bot Framework 4.10.1](https://github.com/microsoft/botbuilder-js/releases/tag/4.10) +* Update some dev dependencies like lerna, eslint, etc. + +* NEW: Additional support for Microsoft Teams! [Read all about it](packages/docs/core.md#ms-teams-extensions) or [see these new methods in action](packages/testbot/features/teams_features.js) + * Bot workers spawned from the default adapter now feature `bot.teams` which is an instance to the [TeamsInfo helper class](https://docs.microsoft.com/en-us/javascript/api/botbuilder/teamsinfo?view=botbuilder-ts-latest). + * Botkit now includes an optional middleware [TeamsInvokeMiddleware](packages/docs/reference/core.md#TeamsInvokeMiddleware) for handling "invoke" responses from Teams including task modules. + * Botkit now includes [bot.replyWithTaskInfo()](packages/docs/reference/core.md#replyWithTaskInfo) which can be used to respond to task module events. [Read more about Task Modules](https://docs.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/what-are-task-modules) + +* FIX: Adjust mechanism for handling templates in channelData to avoid data loss. Thanks [@ashitikov](https://github.com/ashitikov) for the [pull request](https://github.com/howdyai/botkit/pull/1979) +* FIX: Botkit will now spawn the appropriate botworker if a custom adapter is passed in. Thanks to [@etiennellipse](https://github.com/etiennellipse) for [reporting this issue](https://github.com/howdyai/botkit/issues/1984)! + # 4.9.0 * Update dependencies to [Bot Framework 4.9](https://github.com/microsoft/botbuilder-js/releases/tag/4.9.0) diff --git a/package-lock.json b/package-lock.json index 6ec3257fb..4532b59c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,280 +4,270 @@ "lockfileVersion": 1, "dependencies": { "@babel/code-frame": { - "version": "7.5.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz", - "integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", + "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", "dev": true, "requires": { - "@babel/highlight": "^7.0.0" + "@babel/highlight": "^7.10.4" } }, "@babel/core": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.9.6.tgz", - "integrity": "sha512-nD3deLvbsApbHAHttzIssYqgb883yU/d9roe4RZymBCDaZryMJDbptVpEpeQuRh4BJ+SYI8le9YGxKvFEvl1Wg==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.8.3", - "@babel/generator": "^7.9.6", - "@babel/helper-module-transforms": "^7.9.0", - "@babel/helpers": "^7.9.6", - "@babel/parser": "^7.9.6", - "@babel/template": "^7.8.6", - "@babel/traverse": "^7.9.6", - "@babel/types": "^7.9.6", + "version": "7.11.4", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.11.4.tgz", + "integrity": "sha512-5deljj5HlqRXN+5oJTY7Zs37iH3z3b++KjiKtIsJy1NrjOOVSEaJHEetLBhyu0aQOSNNZ/0IuEAan9GzRuDXHg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.10.4", + "@babel/generator": "^7.11.4", + "@babel/helper-module-transforms": "^7.11.0", + "@babel/helpers": "^7.10.4", + "@babel/parser": "^7.11.4", + "@babel/template": "^7.10.4", + "@babel/traverse": "^7.11.0", + "@babel/types": "^7.11.0", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.1", "json5": "^2.1.2", - "lodash": "^4.17.13", + "lodash": "^4.17.19", "resolve": "^1.3.2", "semver": "^5.4.1", "source-map": "^0.5.0" }, "dependencies": { - "@babel/code-frame": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", - "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", - "dev": true, - "requires": { - "@babel/highlight": "^7.8.3" - } + "lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", + "dev": true }, - "@babel/highlight": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.9.0.tgz", - "integrity": "sha512-lJZPilxX7Op3Nv/2cvFdnlepPXDxi29wxteT57Q965oc5R9v86ztx0jfxVrTcBk8C2kcPkkDa2Z4T3ZsPPVWsQ==", - "dev": true, - "requires": { - "@babel/helper-validator-identifier": "^7.9.0", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true } } }, "@babel/generator": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.9.6.tgz", - "integrity": "sha512-+htwWKJbH2bL72HRluF8zumBxzuX0ZZUFl3JLNyoUjM/Ho8wnVpPXM6aUz8cfKDqQ/h7zHqKt4xzJteUosckqQ==", + "version": "7.11.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.11.4.tgz", + "integrity": "sha512-Rn26vueFx0eOoz7iifCN2UHT6rGtnkSGWSoDRIy8jZN3B91PzeSULbswfLoOWuTuAcNwpG/mxy+uCTDnZ9Mp1g==", "dev": true, "requires": { - "@babel/types": "^7.9.6", + "@babel/types": "^7.11.0", "jsesc": "^2.5.1", - "lodash": "^4.17.13", "source-map": "^0.5.0" } }, "@babel/helper-function-name": { - "version": "7.9.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.9.5.tgz", - "integrity": "sha512-JVcQZeXM59Cd1qanDUxv9fgJpt3NeKUaqBqUEvfmQ+BCOKq2xUgaWZW2hr0dkbyJgezYuplEoh5knmrnS68efw==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.4.tgz", + "integrity": "sha512-YdaSyz1n8gY44EmN7x44zBn9zQ1Ry2Y+3GTA+3vH6Mizke1Vw0aWDM66FOYEPw8//qKkmqOckrGgTYa+6sceqQ==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.8.3", - "@babel/template": "^7.8.3", - "@babel/types": "^7.9.5" + "@babel/helper-get-function-arity": "^7.10.4", + "@babel/template": "^7.10.4", + "@babel/types": "^7.10.4" } }, "@babel/helper-get-function-arity": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz", - "integrity": "sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz", + "integrity": "sha512-EkN3YDB+SRDgiIUnNgcmiD361ti+AVbL3f3Henf6dqqUyr5dMsorno0lJWJuLhDhkI5sYEpgj6y9kB8AOU1I2A==", "dev": true, "requires": { - "@babel/types": "^7.8.3" + "@babel/types": "^7.10.4" } }, "@babel/helper-member-expression-to-functions": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.8.3.tgz", - "integrity": "sha512-fO4Egq88utkQFjbPrSHGmGLFqmrshs11d46WI+WZDESt7Wu7wN2G2Iu+NMMZJFDOVRHAMIkB5SNh30NtwCA7RA==", + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.11.0.tgz", + "integrity": "sha512-JbFlKHFntRV5qKw3YC0CvQnDZ4XMwgzzBbld7Ly4Mj4cbFy3KywcR8NtNctRToMWJOVvLINJv525Gd6wwVEx/Q==", "dev": true, "requires": { - "@babel/types": "^7.8.3" + "@babel/types": "^7.11.0" } }, "@babel/helper-module-imports": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.8.3.tgz", - "integrity": "sha512-R0Bx3jippsbAEtzkpZ/6FIiuzOURPcMjHp+Z6xPe6DtApDJx+w7UYyOLanZqO8+wKR9G10s/FmHXvxaMd9s6Kg==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.10.4.tgz", + "integrity": "sha512-nEQJHqYavI217oD9+s5MUBzk6x1IlvoS9WTPfgG43CbMEeStE0v+r+TucWdx8KFGowPGvyOkDT9+7DHedIDnVw==", "dev": true, "requires": { - "@babel/types": "^7.8.3" + "@babel/types": "^7.10.4" } }, "@babel/helper-module-transforms": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.9.0.tgz", - "integrity": "sha512-0FvKyu0gpPfIQ8EkxlrAydOWROdHpBmiCiRwLkUiBGhCUPRRbVD2/tm3sFr/c/GWFrQ/ffutGUAnx7V0FzT2wA==", - "dev": true, - "requires": { - "@babel/helper-module-imports": "^7.8.3", - "@babel/helper-replace-supers": "^7.8.6", - "@babel/helper-simple-access": "^7.8.3", - "@babel/helper-split-export-declaration": "^7.8.3", - "@babel/template": "^7.8.6", - "@babel/types": "^7.9.0", - "lodash": "^4.17.13" + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.11.0.tgz", + "integrity": "sha512-02EVu8COMuTRO1TAzdMtpBPbe6aQ1w/8fePD2YgQmxZU4gpNWaL9gK3Jp7dxlkUlUCJOTaSeA+Hrm1BRQwqIhg==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.10.4", + "@babel/helper-replace-supers": "^7.10.4", + "@babel/helper-simple-access": "^7.10.4", + "@babel/helper-split-export-declaration": "^7.11.0", + "@babel/template": "^7.10.4", + "@babel/types": "^7.11.0", + "lodash": "^4.17.19" + }, + "dependencies": { + "lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", + "dev": true + } } }, "@babel/helper-optimise-call-expression": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.8.3.tgz", - "integrity": "sha512-Kag20n86cbO2AvHca6EJsvqAd82gc6VMGule4HwebwMlwkpXuVqrNRj6CkCV2sKxgi9MyAUnZVnZ6lJ1/vKhHQ==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.4.tgz", + "integrity": "sha512-n3UGKY4VXwXThEiKrgRAoVPBMqeoPgHVqiHZOanAJCG9nQUL2pLRQirUzl0ioKclHGpGqRgIOkgcIJaIWLpygg==", "dev": true, "requires": { - "@babel/types": "^7.8.3" + "@babel/types": "^7.10.4" } }, "@babel/helper-replace-supers": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.9.6.tgz", - "integrity": "sha512-qX+chbxkbArLyCImk3bWV+jB5gTNU/rsze+JlcF6Nf8tVTigPJSI1o1oBow/9Resa1yehUO9lIipsmu9oG4RzA==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.10.4.tgz", + "integrity": "sha512-sPxZfFXocEymYTdVK1UNmFPBN+Hv5mJkLPsYWwGBxZAxaWfFu+xqp7b6qWD0yjNuNL2VKc6L5M18tOXUP7NU0A==", "dev": true, "requires": { - "@babel/helper-member-expression-to-functions": "^7.8.3", - "@babel/helper-optimise-call-expression": "^7.8.3", - "@babel/traverse": "^7.9.6", - "@babel/types": "^7.9.6" + "@babel/helper-member-expression-to-functions": "^7.10.4", + "@babel/helper-optimise-call-expression": "^7.10.4", + "@babel/traverse": "^7.10.4", + "@babel/types": "^7.10.4" } }, "@babel/helper-simple-access": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.8.3.tgz", - "integrity": "sha512-VNGUDjx5cCWg4vvCTR8qQ7YJYZ+HBjxOgXEl7ounz+4Sn7+LMD3CFrCTEU6/qXKbA2nKg21CwhhBzO0RpRbdCw==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.10.4.tgz", + "integrity": "sha512-0fMy72ej/VEvF8ULmX6yb5MtHG4uH4Dbd6I/aHDb/JVg0bbivwt9Wg+h3uMvX+QSFtwr5MeItvazbrc4jtRAXw==", "dev": true, "requires": { - "@babel/template": "^7.8.3", - "@babel/types": "^7.8.3" + "@babel/template": "^7.10.4", + "@babel/types": "^7.10.4" } }, "@babel/helper-split-export-declaration": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz", - "integrity": "sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA==", + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.11.0.tgz", + "integrity": "sha512-74Vejvp6mHkGE+m+k5vHY93FX2cAtrw1zXrZXRlG4l410Nm9PxfEiVTn1PjDPV5SnmieiueY4AFg2xqhNFuuZg==", "dev": true, "requires": { - "@babel/types": "^7.8.3" + "@babel/types": "^7.11.0" } }, "@babel/helper-validator-identifier": { - "version": "7.9.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz", - "integrity": "sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", + "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==", "dev": true }, "@babel/helpers": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.9.6.tgz", - "integrity": "sha512-tI4bUbldloLcHWoRUMAj4g1bF313M/o6fBKhIsb3QnGVPwRm9JsNf/gqMkQ7zjqReABiffPV6RWj7hEglID5Iw==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.10.4.tgz", + "integrity": "sha512-L2gX/XeUONeEbI78dXSrJzGdz4GQ+ZTA/aazfUsFaWjSe95kiCuOZ5HsXvkiw3iwF+mFHSRUfJU8t6YavocdXA==", "dev": true, "requires": { - "@babel/template": "^7.8.3", - "@babel/traverse": "^7.9.6", - "@babel/types": "^7.9.6" + "@babel/template": "^7.10.4", + "@babel/traverse": "^7.10.4", + "@babel/types": "^7.10.4" } }, "@babel/highlight": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz", - "integrity": "sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz", + "integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==", "dev": true, "requires": { + "@babel/helper-validator-identifier": "^7.10.4", "chalk": "^2.0.0", - "esutils": "^2.0.2", "js-tokens": "^4.0.0" + }, + "dependencies": { + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + } } }, "@babel/parser": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.9.6.tgz", - "integrity": "sha512-AoeIEJn8vt+d/6+PXDRPaksYhnlbMIiejioBZvvMQsOjW/JYK6k/0dKnvvP3EhK5GfMBWDPtrxRtegWdAcdq9Q==", + "version": "7.11.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.4.tgz", + "integrity": "sha512-MggwidiH+E9j5Sh8pbrX5sJvMcsqS5o+7iB42M9/k0CD63MjYbdP4nhSh7uB5wnv2/RVzTZFTxzF/kIa5mrCqA==", "dev": true }, "@babel/template": { - "version": "7.8.6", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.6.tgz", - "integrity": "sha512-zbMsPMy/v0PWFZEhQJ66bqjhH+z0JgMoBWuikXybgG3Gkd/3t5oQ1Rw2WQhnSrsOmsKXnZOx15tkC4qON/+JPg==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.10.4.tgz", + "integrity": "sha512-ZCjD27cGJFUB6nmCB1Enki3r+L5kJveX9pq1SvAUKoICy6CZ9yD8xO086YXdYhvNjBdnekm4ZnaP5yC8Cs/1tA==", "dev": true, "requires": { - "@babel/code-frame": "^7.8.3", - "@babel/parser": "^7.8.6", - "@babel/types": "^7.8.6" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", - "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", - "dev": true, - "requires": { - "@babel/highlight": "^7.8.3" - } - }, - "@babel/highlight": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.9.0.tgz", - "integrity": "sha512-lJZPilxX7Op3Nv/2cvFdnlepPXDxi29wxteT57Q965oc5R9v86ztx0jfxVrTcBk8C2kcPkkDa2Z4T3ZsPPVWsQ==", - "dev": true, - "requires": { - "@babel/helper-validator-identifier": "^7.9.0", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } - } + "@babel/code-frame": "^7.10.4", + "@babel/parser": "^7.10.4", + "@babel/types": "^7.10.4" } }, "@babel/traverse": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.9.6.tgz", - "integrity": "sha512-b3rAHSjbxy6VEAvlxM8OV/0X4XrG72zoxme6q1MOoe2vd0bEc+TwayhuC1+Dfgqh1QEG+pj7atQqvUprHIccsg==", + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.0.tgz", + "integrity": "sha512-ZB2V+LskoWKNpMq6E5UUCrjtDUh5IOTAyIl0dTjIEoXum/iKWkoIEKIRDnUucO6f+2FzNkE0oD4RLKoPIufDtg==", "dev": true, "requires": { - "@babel/code-frame": "^7.8.3", - "@babel/generator": "^7.9.6", - "@babel/helper-function-name": "^7.9.5", - "@babel/helper-split-export-declaration": "^7.8.3", - "@babel/parser": "^7.9.6", - "@babel/types": "^7.9.6", + "@babel/code-frame": "^7.10.4", + "@babel/generator": "^7.11.0", + "@babel/helper-function-name": "^7.10.4", + "@babel/helper-split-export-declaration": "^7.11.0", + "@babel/parser": "^7.11.0", + "@babel/types": "^7.11.0", "debug": "^4.1.0", "globals": "^11.1.0", - "lodash": "^4.17.13" + "lodash": "^4.17.19" }, "dependencies": { - "@babel/code-frame": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", - "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", - "dev": true, - "requires": { - "@babel/highlight": "^7.8.3" - } + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true }, - "@babel/highlight": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.9.0.tgz", - "integrity": "sha512-lJZPilxX7Op3Nv/2cvFdnlepPXDxi29wxteT57Q965oc5R9v86ztx0jfxVrTcBk8C2kcPkkDa2Z4T3ZsPPVWsQ==", - "dev": true, - "requires": { - "@babel/helper-validator-identifier": "^7.9.0", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } + "lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", + "dev": true } } }, "@babel/types": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.9.6.tgz", - "integrity": "sha512-qxXzvBO//jO9ZnoasKF1uJzHd2+M6Q2ZPIVfnFps8JJvXy0ZBbwbNOmE6SGIY5XOY6d1Bo5lb9d9RJ8nv3WSeA==", + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz", + "integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.9.5", - "lodash": "^4.17.13", + "@babel/helper-validator-identifier": "^7.10.4", + "lodash": "^4.17.19", "to-fast-properties": "^2.0.0" + }, + "dependencies": { + "lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", + "dev": true + } } }, "@evocateur/libnpmaccess": { @@ -389,6 +379,15 @@ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "dev": true + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } } } }, @@ -550,6 +549,19 @@ "chalk": "^2.3.1", "execa": "^1.0.0", "strong-log-transformer": "^2.0.0" + }, + "dependencies": { + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + } } }, "@lerna/clean": { @@ -590,6 +602,19 @@ "chalk": "^2.3.1", "figgy-pudding": "^3.5.1", "npmlog": "^4.1.2" + }, + "dependencies": { + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + } } }, "@lerna/collect-updates": { @@ -624,9 +649,9 @@ } }, "@lerna/conventional-commits": { - "version": "3.18.5", - "resolved": "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-3.18.5.tgz", - "integrity": "sha512-qcvXIEJ3qSgalxXnQ7Yxp5H9Ta5TVyai6vEor6AAEHc20WiO7UIdbLDCxBtiiHMdGdpH85dTYlsoYUwsCJu3HQ==", + "version": "3.22.0", + "resolved": "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-3.22.0.tgz", + "integrity": "sha512-z4ZZk1e8Mhz7+IS8NxHr64wyklHctCJyWpJKEZZPJiLFJ8yKto/x38O80R10pIzC0rr8Sy/OsjSH4bl0TbbgqA==", "dev": true, "requires": { "@lerna/validation-error": "3.13.0", @@ -651,9 +676,9 @@ } }, "@lerna/create": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/@lerna/create/-/create-3.21.0.tgz", - "integrity": "sha512-cRIopzKzE2vXJPmsiwCDMWo4Ct+KTmX3nvvkQLDoQNrrRK7w+3KQT3iiorbj1koD95RsVQA7mS2haWok9SIv0g==", + "version": "3.22.0", + "resolved": "https://registry.npmjs.org/@lerna/create/-/create-3.22.0.tgz", + "integrity": "sha512-MdiQQzCcB4E9fBF1TyMOaAEz9lUjIHp1Ju9H7f3lXze5JK6Fl5NYkouAvsLgY6YSIhXMY8AHW2zzXeBDY4yWkw==", "dev": true, "requires": { "@evocateur/pacote": "^9.6.3", @@ -777,13 +802,13 @@ } }, "@lerna/github-client": { - "version": "3.16.5", - "resolved": "https://registry.npmjs.org/@lerna/github-client/-/github-client-3.16.5.tgz", - "integrity": "sha512-rHQdn8Dv/CJrO3VouOP66zAcJzrHsm+wFuZ4uGAai2At2NkgKH+tpNhQy2H1PSC0Ezj9LxvdaHYrUzULqVK5Hw==", + "version": "3.22.0", + "resolved": "https://registry.npmjs.org/@lerna/github-client/-/github-client-3.22.0.tgz", + "integrity": "sha512-O/GwPW+Gzr3Eb5bk+nTzTJ3uv+jh5jGho9BOqKlajXaOkMYGBELEAqV5+uARNGWZFvYAiF4PgqHb6aCUu7XdXg==", "dev": true, "requires": { "@lerna/child-process": "3.16.5", - "@octokit/plugin-enterprise-rest": "^3.6.1", + "@octokit/plugin-enterprise-rest": "^6.0.1", "@octokit/rest": "^16.28.4", "git-url-parse": "^11.1.2", "npmlog": "^4.1.2" @@ -825,9 +850,9 @@ } }, "@lerna/import": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/@lerna/import/-/import-3.21.0.tgz", - "integrity": "sha512-aISkL4XD0Dqf5asDaOZWu65jgj8fWUhuQseZWuQe3UfHxav69fTS2YLIngUfencaOSZVOcVCom28YCzp61YDxw==", + "version": "3.22.0", + "resolved": "https://registry.npmjs.org/@lerna/import/-/import-3.22.0.tgz", + "integrity": "sha512-uWOlexasM5XR6tXi4YehODtH9Y3OZrFht3mGUFFT3OIl2s+V85xIGFfqFGMTipMPAGb2oF1UBLL48kR43hRsOg==", "dev": true, "requires": { "@lerna/child-process": "3.16.5", @@ -898,6 +923,19 @@ "@lerna/query-graph": "3.18.5", "chalk": "^2.3.1", "columnify": "^1.5.4" + }, + "dependencies": { + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + } } }, "@lerna/log-packed": { @@ -1105,9 +1143,9 @@ } }, "@lerna/publish": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/@lerna/publish/-/publish-3.21.0.tgz", - "integrity": "sha512-JZ+ehZB9UCQ9nqH8Ld/Yqc/If++aK/7XIubkrB9sQ5hf2GeIbmI/BrJpMgLW/e9T5bKrUBZPUvoUN3daVipA5A==", + "version": "3.22.1", + "resolved": "https://registry.npmjs.org/@lerna/publish/-/publish-3.22.1.tgz", + "integrity": "sha512-PG9CM9HUYDreb1FbJwFg90TCBQooGjj+n/pb3gw/eH5mEDq0p8wKdLFe0qkiqUkm/Ub5C8DbVFertIo0Vd0zcw==", "dev": true, "requires": { "@evocateur/libnpmaccess": "^3.1.2", @@ -1131,7 +1169,7 @@ "@lerna/run-lifecycle": "3.16.2", "@lerna/run-topologically": "3.18.5", "@lerna/validation-error": "3.13.0", - "@lerna/version": "3.21.0", + "@lerna/version": "3.22.1", "figgy-pudding": "^3.5.1", "fs-extra": "^8.1.0", "npm-package-arg": "^6.1.0", @@ -1275,17 +1313,17 @@ } }, "@lerna/version": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/@lerna/version/-/version-3.21.0.tgz", - "integrity": "sha512-nIT3u43fCNj6uSMN1dRxFnF4GhmIiOEqSTkGSjrMU+8kHKwzOqS/6X6TOzklBmCyEZOpF/fLlGqH3BZHnwLDzQ==", + "version": "3.22.1", + "resolved": "https://registry.npmjs.org/@lerna/version/-/version-3.22.1.tgz", + "integrity": "sha512-PSGt/K1hVqreAFoi3zjD0VEDupQ2WZVlVIwesrE5GbrL2BjXowjCsTDPqblahDUPy0hp6h7E2kG855yLTp62+g==", "dev": true, "requires": { "@lerna/check-working-tree": "3.16.5", "@lerna/child-process": "3.16.5", "@lerna/collect-updates": "3.20.0", "@lerna/command": "3.21.0", - "@lerna/conventional-commits": "3.18.5", - "@lerna/github-client": "3.16.5", + "@lerna/conventional-commits": "3.22.0", + "@lerna/github-client": "3.22.0", "@lerna/gitlab-client": "3.15.0", "@lerna/output": "3.13.0", "@lerna/prerelease-id-from-version": "3.16.0", @@ -1308,6 +1346,17 @@ "write-json-file": "^3.2.0" }, "dependencies": { + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", @@ -1343,55 +1392,43 @@ "dev": true }, "@octokit/auth-token": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.0.tgz", - "integrity": "sha512-eoOVMjILna7FVQf96iWc3+ZtE/ZT6y8ob8ZzcqKY1ibSQCnu4O/B7pJvzMx5cyZ/RjAff6DAdEb0O0Cjcxidkg==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.2.tgz", + "integrity": "sha512-jE/lE/IKIz2v1+/P0u4fJqv0kYwXOTujKemJMFr6FeopsxlIK3+wKDCJGnysg81XID5TgZQbIfuJ5J0lnTiuyQ==", "dev": true, "requires": { - "@octokit/types": "^2.0.0" + "@octokit/types": "^5.0.0" } }, "@octokit/endpoint": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.1.tgz", - "integrity": "sha512-pOPHaSz57SFT/m3R5P8MUu4wLPszokn5pXcB/pzavLTQf2jbU+6iayTvzaY6/BiotuRS0qyEUkx3QglT4U958A==", + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.5.tgz", + "integrity": "sha512-70K5u6zd45ItOny6aHQAsea8HHQjlQq85yqOMe+Aj8dkhN2qSJ9T+Q3YjUjEYfPRBcuUWNgMn62DQnP/4LAIiQ==", "dev": true, "requires": { - "@octokit/types": "^2.11.1", - "is-plain-object": "^3.0.0", - "universal-user-agent": "^5.0.0" + "@octokit/types": "^5.0.0", + "is-plain-object": "^4.0.0", + "universal-user-agent": "^6.0.0" }, "dependencies": { "is-plain-object": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.0.tgz", - "integrity": "sha512-tZIpofR+P05k8Aocp7UI/2UTa9lTJSebCXpFFoR9aibpokDj/uXBsJ8luUu0tTVYKkMU6URDUuOfJZ7koewXvg==", - "dev": true, - "requires": { - "isobject": "^4.0.0" - } - }, - "isobject": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz", - "integrity": "sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-4.1.1.tgz", + "integrity": "sha512-5Aw8LLVsDlZsETVMhoMXzqsXwQqr/0vlnBYzIXJbYo2F4yYlhLHs+Ez7Bod7IIQKWkJbJfxrWD7pA1Dw1TKrwA==", "dev": true }, "universal-user-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-5.0.0.tgz", - "integrity": "sha512-B5TPtzZleXyPrUMKCpEHFmVhMN6EhmJYjG5PQna9s7mXeSqGTLap4OpqLl5FCEFUI3UBmllkETwKf/db66Y54Q==", - "dev": true, - "requires": { - "os-name": "^3.1.0" - } + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", + "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", + "dev": true } } }, "@octokit/plugin-enterprise-rest": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-3.6.2.tgz", - "integrity": "sha512-3wF5eueS5OHQYuAEudkpN+xVeUsg8vYEMMenEzLphUZ7PRZ8OJtDcsreL3ad9zxXmBbaFWzLmFcdob5CLyZftA==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz", + "integrity": "sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw==", "dev": true }, "@octokit/plugin-paginate-rest": { @@ -1401,6 +1438,17 @@ "dev": true, "requires": { "@octokit/types": "^2.0.1" + }, + "dependencies": { + "@octokit/types": { + "version": "2.16.2", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", + "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", + "dev": true, + "requires": { + "@types/node": ">= 8" + } + } } }, "@octokit/plugin-request-log": { @@ -1417,58 +1465,57 @@ "requires": { "@octokit/types": "^2.0.1", "deprecation": "^2.3.1" + }, + "dependencies": { + "@octokit/types": { + "version": "2.16.2", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", + "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", + "dev": true, + "requires": { + "@types/node": ">= 8" + } + } } }, "@octokit/request": { - "version": "5.4.2", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.4.2.tgz", - "integrity": "sha512-zKdnGuQ2TQ2vFk9VU8awFT4+EYf92Z/v3OlzRaSh4RIP0H6cvW1BFPXq4XYvNez+TPQjqN+0uSkCYnMFFhcFrw==", + "version": "5.4.7", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.4.7.tgz", + "integrity": "sha512-FN22xUDP0i0uF38YMbOfx6TotpcENP5W8yJM1e/LieGXn6IoRxDMnBf7tx5RKSW4xuUZ/1P04NFZy5iY3Rax1A==", "dev": true, "requires": { "@octokit/endpoint": "^6.0.1", "@octokit/request-error": "^2.0.0", - "@octokit/types": "^2.11.1", + "@octokit/types": "^5.0.0", "deprecation": "^2.0.0", - "is-plain-object": "^3.0.0", + "is-plain-object": "^4.0.0", "node-fetch": "^2.3.0", "once": "^1.4.0", - "universal-user-agent": "^5.0.0" + "universal-user-agent": "^6.0.0" }, "dependencies": { "@octokit/request-error": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.0.tgz", - "integrity": "sha512-rtYicB4Absc60rUv74Rjpzek84UbVHGHJRu4fNVlZ1mCcyUPPuzFfG9Rn6sjHrd95DEsmjSt1Axlc699ZlbDkw==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.2.tgz", + "integrity": "sha512-2BrmnvVSV1MXQvEkrb9zwzP0wXFNbPJij922kYBTLIlIafukrGOb+ABBT2+c6wZiuyWDH1K1zmjGQ0toN/wMWw==", "dev": true, "requires": { - "@octokit/types": "^2.0.0", + "@octokit/types": "^5.0.1", "deprecation": "^2.0.0", "once": "^1.4.0" } }, "is-plain-object": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.0.tgz", - "integrity": "sha512-tZIpofR+P05k8Aocp7UI/2UTa9lTJSebCXpFFoR9aibpokDj/uXBsJ8luUu0tTVYKkMU6URDUuOfJZ7koewXvg==", - "dev": true, - "requires": { - "isobject": "^4.0.0" - } - }, - "isobject": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz", - "integrity": "sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-4.1.1.tgz", + "integrity": "sha512-5Aw8LLVsDlZsETVMhoMXzqsXwQqr/0vlnBYzIXJbYo2F4yYlhLHs+Ez7Bod7IIQKWkJbJfxrWD7pA1Dw1TKrwA==", "dev": true }, "universal-user-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-5.0.0.tgz", - "integrity": "sha512-B5TPtzZleXyPrUMKCpEHFmVhMN6EhmJYjG5PQna9s7mXeSqGTLap4OpqLl5FCEFUI3UBmllkETwKf/db66Y54Q==", - "dev": true, - "requires": { - "os-name": "^3.1.0" - } + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", + "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", + "dev": true } } }, @@ -1481,12 +1528,23 @@ "@octokit/types": "^2.0.0", "deprecation": "^2.0.0", "once": "^1.4.0" + }, + "dependencies": { + "@octokit/types": { + "version": "2.16.2", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", + "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", + "dev": true, + "requires": { + "@types/node": ">= 8" + } + } } }, "@octokit/rest": { - "version": "16.43.1", - "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-16.43.1.tgz", - "integrity": "sha512-gfFKwRT/wFxq5qlNjnW2dh+qh74XgTQ2B179UX5K1HYCluioWj8Ndbgqw2PVqa1NnVJkGHp2ovMpVn/DImlmkw==", + "version": "16.43.2", + "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-16.43.2.tgz", + "integrity": "sha512-ngDBevLbBTFfrHZeiS7SAMAZ6ssuVmXuya+F/7RaVvlysgGa1JKJkKWY+jV6TCJYcW0OALfJ7nTIGXcBXzycfQ==", "dev": true, "requires": { "@octokit/auth-token": "^2.4.0", @@ -1508,9 +1566,9 @@ } }, "@octokit/types": { - "version": "2.16.2", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", - "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.4.1.tgz", + "integrity": "sha512-OlMlSySBJoJ6uozkr/i03nO5dlYQyE05vmQNZhAh9MyO4DPBP88QlwsDVLmVjIMFssvIZB6WO0ctIGMRG+xsJQ==", "dev": true, "requires": { "@types/node": ">= 8" @@ -1528,19 +1586,12 @@ "integrity": "sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==", "dev": true }, - "@types/events": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz", - "integrity": "sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g==", - "dev": true - }, "@types/glob": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.1.tgz", - "integrity": "sha512-1Bh06cbWJUHMC97acuD6UMG29nMt0Aqz1vF3guLfG+kHHJhy3AyohZFFxYk2f7Q1SQIrNwvncxAE0N/9s70F2w==", + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==", "dev": true, "requires": { - "@types/events": "*", "@types/minimatch": "*", "@types/node": "*" } @@ -1564,9 +1615,9 @@ "dev": true }, "@types/node": { - "version": "14.0.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.4.tgz", - "integrity": "sha512-k3NqigXWRzQZVBDS5D1U70A5E8Qk4Kh+Ha/x4M8Bt9pF0X05eggfnC9+63Usc9Q928hRUIpIhTQaXsZwZBl4Ew==", + "version": "14.6.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.6.0.tgz", + "integrity": "sha512-mikldZQitV94akrc4sCcSjtJfsTKt4p+e/s0AGscVA6XArQ9kFclP+ZiYUMnq987rc6QlYxXv/EivqlfSLxpKA==", "dev": true }, "@types/normalize-package-data": { @@ -1684,15 +1735,15 @@ "dev": true }, "acorn": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.1.tgz", - "integrity": "sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.0.tgz", + "integrity": "sha512-+G7P8jJmCHr+S+cLfQxygbWhXy+8YTVGzAkpEbcLo2mLoL7tij/VG41QSHACSf5QgYRhMZYHuNc6drJaO0Da+w==", "dev": true }, "acorn-jsx": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.1.0.tgz", - "integrity": "sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.2.0.tgz", + "integrity": "sha512-HiUX/+K2YpkpJ+SzBffkM/AQ2YE03S0U1kjTLVpoJdhZMOWy8qvXVN9JdLqv2QsaQ6MPYQIuNmwD8zOiYUofLQ==", "dev": true }, "agent-base": { @@ -1724,21 +1775,21 @@ } }, "ajv": { - "version": "6.10.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz", - "integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==", + "version": "6.12.4", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.4.tgz", + "integrity": "sha512-eienB2c9qVQs2KWexhkrdMLVDoIQCz5KSeLxwg9Lzk4DOfBtIK9PQwwufcsn1jjGuf9WZmqPMbGxOzfcuphJCQ==", "dev": true, "requires": { - "fast-deep-equal": "^2.0.1", + "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" } }, "ansi-colors": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.3.tgz", - "integrity": "sha512-LEHHyuhlPY3TmuUYMh2oz89lTShfvgbmzaBcxve9t/9Wuy7Dwf4yoAKcND7KFT1HAQfqZ12qtc+DUrBMeKF9nw==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", "dev": true }, "ansi-escapes": { @@ -1748,9 +1799,9 @@ "dev": true }, "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", "dev": true }, "ansi-styles": { @@ -1875,6 +1926,18 @@ "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", "dev": true }, + "array.prototype.map": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array.prototype.map/-/array.prototype.map-1.0.2.tgz", + "integrity": "sha512-Az3OYxgsa1g7xDYp86l0nnN4bcmuEITGe1rbdEBVkrqkzMgDcbdQ2R7r41pNzti+4NMces3H8gMmuioZUilLgw==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.0-next.1", + "es-array-method-boxes-properly": "^1.0.0", + "is-string": "^1.0.4" + } + }, "arrify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", @@ -1939,9 +2002,9 @@ "dev": true }, "aws4": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.9.1.tgz", - "integrity": "sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug==", + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.10.1.tgz", + "integrity": "sha512-zg7Hz2k5lI8kb7U32998pRRFin7zJlkfezGJjUc2heaD4Pw2wObakCDVzkKztTm/Ln7eiVvYsjqak0Ed4LkMDA==", "dev": true }, "balanced-match": { @@ -2021,9 +2084,9 @@ "dev": true }, "binary-extensions": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.0.0.tgz", - "integrity": "sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.1.0.tgz", + "integrity": "sha512-1Yj8h9Q+QDF5FzhMs/c9+6UntbD5MkRfRwac8DoEm9ZfUBZ7tZ55YcGVAzEe4bXsdQHEk+s9S5wsOKVdZrw0tQ==", "dev": true }, "bluebird": { @@ -2250,14 +2313,55 @@ "dev": true }, "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", + "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "dev": true, + "requires": { + "@types/color-name": "^1.1.1", + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", + "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } } }, "chardet": { @@ -2267,19 +2371,19 @@ "dev": true }, "chokidar": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.3.0.tgz", - "integrity": "sha512-dGmKLDdT3Gdl7fBUe8XK+gAtGmzy5Fn0XkkWQuYxGIgWVPPse2CxFA5mtrlD0TOHaHjEUqkWNyP1XdHoJES/4A==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.3.1.tgz", + "integrity": "sha512-4QYCEWOcK3OJrxwvyyAOxFuhpvOVCYkr33LPfFNBjAD/w3sEzWsp2BUOkI4l9bHvWioAd0rc6NlHUOEaWkTeqg==", "dev": true, "requires": { "anymatch": "~3.1.1", "braces": "~3.0.2", - "fsevents": "~2.1.1", + "fsevents": "~2.1.2", "glob-parent": "~5.1.0", "is-binary-path": "~2.1.0", "is-glob": "~4.0.1", "normalize-path": "~3.0.0", - "readdirp": "~3.2.0" + "readdirp": "~3.3.0" }, "dependencies": { "braces": { @@ -2368,9 +2472,9 @@ } }, "cli-width": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", - "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz", + "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==", "dev": true }, "cliui": { @@ -2390,17 +2494,6 @@ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", "dev": true }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, "strip-ansi": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", @@ -2468,6 +2561,23 @@ "requires": { "strip-ansi": "^3.0.0", "wcwidth": "^1.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + } } }, "combined-stream": { @@ -2479,13 +2589,6 @@ "delayed-stream": "~1.0.0" } }, - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true, - "optional": true - }, "commondir": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", @@ -2493,23 +2596,29 @@ "dev": true }, "compare-func": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-1.3.4.tgz", - "integrity": "sha512-sq2sWtrqKPkEXAC8tEJA1+BqAH9GbFkGBtUOqrUX57VSfwp8xyktctk+uLoRy5eccTdxzDcVIztlYDpKs3Jv1Q==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", + "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", "dev": true, "requires": { "array-ify": "^1.0.0", - "dot-prop": "^3.0.0" + "dot-prop": "^5.1.0" }, "dependencies": { "dot-prop": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-3.0.0.tgz", - "integrity": "sha1-G3CK8JSknJoOfbyteQq6U52sEXc=", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.2.0.tgz", + "integrity": "sha512-uEUyaDKoSQ1M4Oq8l45hSE26SnTxL6snNnqvK/VWx5wJhmff5z0FUVJDKDanor/6w3kzE3i7XZOk+7wC0EXr1A==", "dev": true, "requires": { - "is-obj": "^1.0.0" + "is-obj": "^2.0.0" } + }, + "is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "dev": true } } }, @@ -2554,12 +2663,12 @@ "dev": true }, "conventional-changelog-angular": { - "version": "5.0.10", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.10.tgz", - "integrity": "sha512-k7RPPRs0vp8+BtPsM9uDxRl6KcgqtCJmzRD1wRtgqmhQ96g8ifBGo9O/TZBG23jqlXS/rg8BKRDELxfnQQGiaA==", + "version": "5.0.11", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.11.tgz", + "integrity": "sha512-nSLypht/1yEflhuTogC03i7DX7sOrXGsRn14g131Potqi6cbGbGEE9PSDEHKldabB6N76HiSyw9Ph+kLmC04Qw==", "dev": true, "requires": { - "compare-func": "^1.3.1", + "compare-func": "^2.0.0", "q": "^1.5.1" } }, @@ -2585,11 +2694,12 @@ }, "dependencies": { "through2": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.1.tgz", - "integrity": "sha512-M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", + "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", "dev": true, "requires": { + "inherits": "^2.0.4", "readable-stream": "2 || 3" } } @@ -2602,12 +2712,12 @@ "dev": true }, "conventional-changelog-writer": { - "version": "4.0.16", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.0.16.tgz", - "integrity": "sha512-jmU1sDJDZpm/dkuFxBeRXvyNcJQeKhGtVcFFkwTphUAzyYWcwz2j36Wcv+Mv2hU3tpvLMkysOPXJTLO55AUrYQ==", + "version": "4.0.17", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.0.17.tgz", + "integrity": "sha512-IKQuK3bib/n032KWaSb8YlBFds+aLmzENtnKtxJy3+HqDq5kohu3g/UdNbIHeJWygfnEbZjnCKFxAW0y7ArZAw==", "dev": true, "requires": { - "compare-func": "^1.3.1", + "compare-func": "^2.0.0", "conventional-commits-filter": "^2.0.6", "dateformat": "^3.0.0", "handlebars": "^4.7.6", @@ -2626,11 +2736,12 @@ "dev": true }, "through2": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.1.tgz", - "integrity": "sha512-M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", + "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", "dev": true, "requires": { + "inherits": "^2.0.4", "readable-stream": "2 || 3" } } @@ -2662,11 +2773,12 @@ }, "dependencies": { "through2": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.1.tgz", - "integrity": "sha512-M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", + "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", "dev": true, "requires": { + "inherits": "^2.0.4", "readable-stream": "2 || 3" } } @@ -2746,12 +2858,6 @@ "trim-newlines": "^2.0.0" } }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true - }, "minimist-options": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz", @@ -2877,16 +2983,14 @@ } }, "cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", "dev": true, "requires": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" } }, "currently-unhandled": { @@ -3096,9 +3200,9 @@ } }, "diff": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", - "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", "dev": true }, "dir-glob": { @@ -3120,18 +3224,18 @@ } }, "dot-prop": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz", - "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.1.tgz", + "integrity": "sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ==", "dev": true, "requires": { "is-obj": "^1.0.0" } }, "duplexer": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz", - "integrity": "sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=", + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", + "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", "dev": true }, "duplexify": { @@ -3163,12 +3267,12 @@ "dev": true }, "encoding": { - "version": "0.1.12", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz", - "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=", + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", "dev": true, "requires": { - "iconv-lite": "~0.4.13" + "iconv-lite": "^0.6.2" } }, "end-of-stream": { @@ -3180,6 +3284,15 @@ "once": "^1.4.0" } }, + "enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "dev": true, + "requires": { + "ansi-colors": "^4.1.1" + } + }, "env-paths": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.0.tgz", @@ -3187,9 +3300,9 @@ "dev": true }, "envinfo": { - "version": "7.5.1", - "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.5.1.tgz", - "integrity": "sha512-hQBkDf2iO4Nv0CNHpCuSBeaSrveU6nThVxFGTrq/eDlV716UQk09zChaJae4mZRsos1x4YLY2TaH3LHUae3ZmQ==", + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.7.2.tgz", + "integrity": "sha512-k3Eh5bKuQnZjm49/L7H4cHzs2FlL5QjbTB3JrPxoTI8aJG7hVMe4uKyJxSYH4ahseby2waUwk5OaKX/nAsaYgg==", "dev": true }, "err-code": { @@ -3208,33 +3321,62 @@ } }, "es-abstract": { - "version": "1.17.4", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.4.tgz", - "integrity": "sha512-Ae3um/gb8F0mui/jPL+QiqmglkUsaQf7FwBEHYIFkztkneosu9imhqHpBzQ3h1vit8t5iQ74t6PEVvphBZiuiQ==", + "version": "1.17.6", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz", + "integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==", "dev": true, "requires": { "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", "has": "^1.0.3", "has-symbols": "^1.0.1", - "is-callable": "^1.1.5", - "is-regex": "^1.0.5", + "is-callable": "^1.2.0", + "is-regex": "^1.1.0", "object-inspect": "^1.7.0", "object-keys": "^1.1.1", "object.assign": "^4.1.0", - "string.prototype.trimleft": "^2.1.1", - "string.prototype.trimright": "^2.1.1" + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" } }, - "es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "es-array-method-boxes-properly": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz", + "integrity": "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==", + "dev": true + }, + "es-get-iterator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.0.tgz", + "integrity": "sha512-UfrmHuWQlNMTs35e1ypnvikg6jCz3SK8v8ImvmDsh36fCVUR1MqoFDiyn0/k52C8NqO3YsO8Oe0azeesNuqSsQ==", "dev": true, "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" + "es-abstract": "^1.17.4", + "has-symbols": "^1.0.1", + "is-arguments": "^1.0.4", + "is-map": "^2.0.1", + "is-set": "^2.0.1", + "is-string": "^1.0.5", + "isarray": "^2.0.5" + }, + "dependencies": { + "isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true + } + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" } }, "es6-error": { @@ -3265,22 +3407,23 @@ "dev": true }, "eslint": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.8.0.tgz", - "integrity": "sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig==", + "version": "7.7.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.7.0.tgz", + "integrity": "sha512-1KUxLzos0ZVsyL81PnRN335nDtQ8/vZUD6uMtWbF+5zDtjKcsklIi78XoE0MVL93QvWTu+E5y44VyyCsOMBrIg==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", "ajv": "^6.10.0", - "chalk": "^2.1.0", - "cross-spawn": "^6.0.5", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", "debug": "^4.0.1", "doctrine": "^3.0.0", - "eslint-scope": "^5.0.0", - "eslint-utils": "^1.4.3", - "eslint-visitor-keys": "^1.1.0", - "espree": "^6.1.2", - "esquery": "^1.0.1", + "enquirer": "^2.3.5", + "eslint-scope": "^5.1.0", + "eslint-utils": "^2.1.0", + "eslint-visitor-keys": "^1.3.0", + "espree": "^7.2.0", + "esquery": "^1.2.0", "esutils": "^2.0.2", "file-entry-cache": "^5.0.1", "functional-red-black-tree": "^1.0.1", @@ -3289,190 +3432,53 @@ "ignore": "^4.0.6", "import-fresh": "^3.0.0", "imurmurhash": "^0.1.4", - "inquirer": "^7.0.0", "is-glob": "^4.0.0", "js-yaml": "^3.13.1", "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.3.0", - "lodash": "^4.17.14", + "levn": "^0.4.1", + "lodash": "^4.17.19", "minimatch": "^3.0.4", - "mkdirp": "^0.5.1", "natural-compare": "^1.4.0", - "optionator": "^0.8.3", + "optionator": "^0.9.1", "progress": "^2.0.0", - "regexpp": "^2.0.1", - "semver": "^6.1.2", - "strip-ansi": "^5.2.0", - "strip-json-comments": "^3.0.1", + "regexpp": "^3.1.0", + "semver": "^7.2.1", + "strip-ansi": "^6.0.0", + "strip-json-comments": "^3.1.0", "table": "^5.2.3", "text-table": "^0.2.0", "v8-compile-cache": "^2.0.3" }, "dependencies": { - "ansi-escapes": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.0.tgz", - "integrity": "sha512-EiYhwo0v255HUL6eDyuLrXEkTi7WwVCLAw+SeOQ7M7qdun1z1pum4DEm/nuqIVbPvi9RPPc9k9LbyBv6H0DwVg==", - "dev": true, - "requires": { - "type-fest": "^0.8.1" - } - }, - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "dev": true - }, - "cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "dev": true, - "requires": { - "restore-cursor": "^3.1.0" - } - }, - "emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true - }, - "figures": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-3.1.0.tgz", - "integrity": "sha512-ravh8VRXqHuMvZt/d8GblBeqDMkdJMBdv/2KntFH+ra5MXkO7nxNKpzQ3n6QD/2da1kH0aWmNISdvhM7gl2gVg==", - "dev": true, - "requires": { - "escape-string-regexp": "^1.0.5" - } - }, - "globals": { - "version": "12.3.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-12.3.0.tgz", - "integrity": "sha512-wAfjdLgFsPZsklLJvOBUBmzYE8/CwhEqSBEMRXA3qxIiNtyqvjYurAtIfDh6chlEPUfmTY3MnZh5Hfh4q0UlIw==", - "dev": true, - "requires": { - "type-fest": "^0.8.1" - } - }, - "inquirer": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.0.4.tgz", - "integrity": "sha512-Bu5Td5+j11sCkqfqmUTiwv+tWisMtP0L7Q8WrqA2C/BbBhy1YTdFrvjjlrKq8oagA/tLQBski2Gcx/Sqyi2qSQ==", - "dev": true, - "requires": { - "ansi-escapes": "^4.2.1", - "chalk": "^2.4.2", - "cli-cursor": "^3.1.0", - "cli-width": "^2.0.0", - "external-editor": "^3.0.3", - "figures": "^3.0.0", - "lodash": "^4.17.15", - "mute-stream": "0.0.8", - "run-async": "^2.2.0", - "rxjs": "^6.5.3", - "string-width": "^4.1.0", - "strip-ansi": "^5.1.0", - "through": "^2.3.6" - } - }, - "is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true - }, - "mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true - }, - "mute-stream": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", - "dev": true - }, - "onetime": { + "eslint-scope": { "version": "5.1.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz", - "integrity": "sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q==", - "dev": true, - "requires": { - "mimic-fn": "^2.1.0" - } - }, - "restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.0.tgz", + "integrity": "sha512-iiGRvtxWqgtx5m8EyQUJihBloE4EnYeGE/bz1wSPwJE6tZuJUtHlhqDM4Xj2ukE8Dyy1+HCZ4hE0fzIVMzb58w==", "dev": true, "requires": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" } }, - "rxjs": { - "version": "6.5.4", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz", - "integrity": "sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q==", + "eslint-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", + "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", "dev": true, "requires": { - "tslib": "^1.9.0" + "eslint-visitor-keys": "^1.1.0" } }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", "dev": true }, - "string-width": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", - "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", - "dev": true, - "requires": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.0" - }, - "dependencies": { - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.0" - } - } - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - } - } - }, - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", "dev": true } } @@ -3503,14 +3509,22 @@ "dev": true }, "espree": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/espree/-/espree-6.1.2.tgz", - "integrity": "sha512-2iUPuuPP+yW1PZaMSDM9eyVf8D5P0Hi8h83YtZ5bPc/zHYjII5khoixIUTMO794NOY8F/ThF1Bo8ncZILarUTA==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-7.2.0.tgz", + "integrity": "sha512-H+cQ3+3JYRMEIOl87e7QdHX70ocly5iW4+dttuR8iYSPr/hXKFb+7dBsZ7+u1adC4VrnPlTkv0+OwuPnDop19g==", "dev": true, "requires": { - "acorn": "^7.1.0", - "acorn-jsx": "^5.1.0", - "eslint-visitor-keys": "^1.1.0" + "acorn": "^7.3.1", + "acorn-jsx": "^5.2.0", + "eslint-visitor-keys": "^1.3.0" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true + } } }, "esprima": { @@ -3520,12 +3534,20 @@ "dev": true }, "esquery": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", - "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.3.1.tgz", + "integrity": "sha512-olpvt9QG0vniUBZspVRN6lwB7hOZoTRtT+jzR+tS4ffYx2mzbw+z0XCOk44aaLYKApNX5nMm+E+P6o25ip/DHQ==", "dev": true, "requires": { - "estraverse": "^4.0.0" + "estraverse": "^5.1.0" + }, + "dependencies": { + "estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "dev": true + } } }, "esrecurse": { @@ -3544,9 +3566,9 @@ "dev": true }, "esutils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", - "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true }, "eventemitter3": { @@ -3568,6 +3590,57 @@ "p-finally": "^1.0.0", "signal-exit": "^3.0.0", "strip-eof": "^1.0.0" + }, + "dependencies": { + "cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "dev": true, + "requires": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, + "shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "dev": true, + "requires": { + "shebang-regex": "^1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "dev": true + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } } }, "expand-brackets": { @@ -3656,6 +3729,17 @@ "chardet": "^0.7.0", "iconv-lite": "^0.4.24", "tmp": "^0.0.33" + }, + "dependencies": { + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + } } }, "extglob": { @@ -3730,9 +3814,9 @@ "dev": true }, "fast-deep-equal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", - "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "dev": true }, "fast-glob": { @@ -3773,9 +3857,9 @@ } }, "fast-json-stable-stringify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", - "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", "dev": true }, "fast-levenshtein": { @@ -3940,9 +4024,9 @@ } }, "flatted": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz", - "integrity": "sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz", + "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==", "dev": true }, "flush-write-stream": { @@ -3969,49 +4053,6 @@ "requires": { "cross-spawn": "^7.0.0", "signal-exit": "^3.0.2" - }, - "dependencies": { - "cross-spawn": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.2.tgz", - "integrity": "sha512-PD6G8QG3S4FK/XCGFbEQrDqO2AnMMsy0meR7lerlIOHAAbkuavGU/pOqprrlvfTNjvowivTeBsjebAL0NSoMxw==", - "dev": true, - "requires": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - } - }, - "path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true - }, - "shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true - }, - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } - } } }, "forever-agent": { @@ -4051,9 +4092,9 @@ } }, "fromentries": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.2.0.tgz", - "integrity": "sha512-33X7H/wdfO99GdRLLgkjUrD4geAFdq/Uv0kl3HD4da6HDixd2GUg8Mw7dahLCV9r/EARkmtYBB6Tch4EEokFTQ==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.2.1.tgz", + "integrity": "sha512-Xu2Qh8yqYuDhQGOhD5iJGninErSfI9A3FrriD3tjUgV5VbJFeH8vfgZ9HnC6jWN80QDVNQK5vmxRAmEAp7Mevw==", "dev": true }, "fs-extra": { @@ -4127,6 +4168,43 @@ "string-width": "^1.0.1", "strip-ansi": "^3.0.1", "wide-align": "^1.1.0" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + } } }, "genfun": { @@ -4238,12 +4316,6 @@ "trim-newlines": "^1.0.0" } }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true - }, "parse-json": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", @@ -4431,12 +4503,6 @@ "trim-newlines": "^2.0.0" } }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true - }, "minimist-options": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz", @@ -4551,12 +4617,6 @@ "trim-newlines": "^2.0.0" } }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true - }, "minimist-options": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz", @@ -4604,9 +4664,9 @@ } }, "git-up": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/git-up/-/git-up-4.0.1.tgz", - "integrity": "sha512-LFTZZrBlrCrGCG07/dm1aCjjpL1z9L3+5aEeI9SBhAqSc+kiA9Or1bgZhQFNppJX6h/f5McrvJt1mQXTFm6Qrw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/git-up/-/git-up-4.0.2.tgz", + "integrity": "sha512-kbuvus1dWQB2sSW4cbfTeGpCMd8ge9jx9RKnhXhuJ7tnvT+NIrTVfYZxjtflZddQYcmdOTlkAcjmx7bor+15AQ==", "dev": true, "requires": { "is-ssh": "^1.3.0", @@ -4614,9 +4674,9 @@ } }, "git-url-parse": { - "version": "11.1.2", - "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-11.1.2.tgz", - "integrity": "sha512-gZeLVGY8QVKMIkckncX+iCq2/L8PlwncvDFKiWkBn9EtCfYDbliRTTp6qzyQ1VMdITUfq7293zDzfpjdiGASSQ==", + "version": "11.1.3", + "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-11.1.3.tgz", + "integrity": "sha512-GPsfwticcu52WQ+eHp0IYkAyaOASgYdtsQDIt4rUp6GbiNt1P9ddrh3O0kQB0eD4UJZszVqNT3+9Zwcg40fywA==", "dev": true, "requires": { "git-up": "^4.0.0" @@ -4632,9 +4692,9 @@ } }, "glob": { - "version": "7.1.4", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", - "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", "dev": true, "requires": { "fs.realpath": "^1.0.0", @@ -4646,9 +4706,9 @@ } }, "glob-parent": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz", - "integrity": "sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", + "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", "dev": true, "requires": { "is-glob": "^4.0.1" @@ -4661,10 +4721,13 @@ "dev": true }, "globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", + "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", + "dev": true, + "requires": { + "type-fest": "^0.8.1" + } }, "globby": { "version": "9.2.0", @@ -4683,9 +4746,9 @@ } }, "graceful-fs": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz", - "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==", + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", "dev": true }, "growl": { @@ -4707,12 +4770,6 @@ "wordwrap": "^1.0.0" }, "dependencies": { - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true - }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -4728,12 +4785,12 @@ "dev": true }, "har-validator": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", - "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", "dev": true, "requires": { - "ajv": "^6.5.5", + "ajv": "^6.12.3", "har-schema": "^2.0.0" } }, @@ -4817,12 +4874,6 @@ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", "dev": true - }, - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true } } }, @@ -4919,12 +4970,12 @@ } }, "iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz", + "integrity": "sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ==", "dev": true, "requires": { - "safer-buffer": ">= 2.1.2 < 3" + "safer-buffer": ">= 2.1.2 < 3.0.0" } }, "iferr": { @@ -5022,6 +5073,14 @@ "semver": "2.x || 3.x || 4 || 5", "validate-npm-package-license": "^3.0.1", "validate-npm-package-name": "^3.0.0" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + } } }, "inquirer": { @@ -5051,6 +5110,17 @@ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", "dev": true }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, "string-width": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", @@ -5117,6 +5187,12 @@ } } }, + "is-arguments": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.0.4.tgz", + "integrity": "sha512-xPh0Rmt8NE65sNzvyUmWgI1tz3mKq74lGA0mL8LYZcoIzKOzDh6HmrYm3d18k60nHerC8A9Km8kYu87zfSFnLA==", + "dev": true + }, "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", @@ -5139,9 +5215,9 @@ "dev": true }, "is-callable": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz", - "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz", + "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw==", "dev": true }, "is-ci": { @@ -5237,6 +5313,12 @@ "is-extglob": "^2.1.1" } }, + "is-map": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.1.tgz", + "integrity": "sha512-T/S49scO8plUiAOA2DBTBG3JHpn1yiw0kRp6dgiZ0v2/6twi5eiB0rHtHFH9ZIrvlWc6+4O+m4zg5+Z833aXgw==", + "dev": true + }, "is-number": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", @@ -5278,25 +5360,25 @@ "isobject": "^3.0.1" } }, - "is-promise": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", - "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", - "dev": true - }, "is-regex": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz", - "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz", + "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==", "dev": true, "requires": { - "has": "^1.0.3" + "has-symbols": "^1.0.1" } }, + "is-set": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.1.tgz", + "integrity": "sha512-eJEzOtVyenDs1TMzSQ3kU3K+E0GUS9sno+F0OBT97xsgcJsF9nXMBtkT9/kut5JEpM7oL7X/0qxR17K3mcwIAA==", + "dev": true + }, "is-ssh": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.3.1.tgz", - "integrity": "sha512-0eRIASHZt1E68/ixClI8bp2YK2wmBPVWEismTs6M+M099jKgrzl/3E976zIbImSIob48N2/XGe9y7ZiYdImSlg==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.3.2.tgz", + "integrity": "sha512-elEw0/0c2UscLrNG+OAorbP539E3rhliKPg+hDMWN9VwrDXfYK+4PBEykDPfxlYYtQvl84TascnQyobfQLHEhQ==", "dev": true, "requires": { "protocols": "^1.1.0" @@ -5308,6 +5390,12 @@ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", "dev": true }, + "is-string": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", + "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", + "dev": true + }, "is-symbol": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", @@ -5418,17 +5506,6 @@ "uuid": "^3.3.3" }, "dependencies": { - "cross-spawn": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.2.tgz", - "integrity": "sha512-PD6G8QG3S4FK/XCGFbEQrDqO2AnMMsy0meR7lerlIOHAAbkuavGU/pOqprrlvfTNjvowivTeBsjebAL0NSoMxw==", - "dev": true, - "requires": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - } - }, "make-dir": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", @@ -5447,12 +5524,6 @@ "aggregate-error": "^3.0.0" } }, - "path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true - }, "rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", @@ -5467,30 +5538,6 @@ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", "dev": true - }, - "shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true - }, - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } } } }, @@ -5566,6 +5613,22 @@ "istanbul-lib-report": "^3.0.0" } }, + "iterate-iterator": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/iterate-iterator/-/iterate-iterator-1.0.1.tgz", + "integrity": "sha512-3Q6tudGN05kbkDQDI4CqjaBf4qf85w6W6GnuZDtUVYwKgtC1q8yxYX7CZed7N+tLzQqS6roujWvszf13T+n9aw==", + "dev": true + }, + "iterate-value": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/iterate-value/-/iterate-value-1.0.2.tgz", + "integrity": "sha512-A6fMAio4D2ot2r/TYzr4yUWrmwNdsN5xL7+HUiyACE4DXm+q8HtPcnFTp+NnW3k4N05tZ7FVYFFb2CR13NxyHQ==", + "dev": true, + "requires": { + "es-get-iterator": "^1.0.2", + "iterate-iterator": "^1.0.1" + } + }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -5573,9 +5636,9 @@ "dev": true }, "js-yaml": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", - "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz", + "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==", "dev": true, "requires": { "argparse": "^1.0.7", @@ -5600,6 +5663,12 @@ "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", "dev": true }, + "json-parse-even-better-errors": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.0.tgz", + "integrity": "sha512-o3aP+RsWDJZayj1SbHNQAI8x0v3T3SKiGoZlNYfbUP1S3omJQ6i9CnqADqkSPaOAxwua4/1YWx5CM7oiChJt2Q==", + "dev": true + }, "json-schema": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", @@ -5631,14 +5700,6 @@ "dev": true, "requires": { "minimist": "^1.2.5" - }, - "dependencies": { - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true - } } }, "jsonfile": { @@ -5675,9 +5736,9 @@ "dev": true }, "lerna": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/lerna/-/lerna-3.21.0.tgz", - "integrity": "sha512-ux8yOwQEgIXOZVUfq+T8nVzPymL19vlIoPbysOP3YA4hcjKlqQIlsjI/1ugBe6b4MF7W4iV5vS3gH9cGqBBc1A==", + "version": "3.22.1", + "resolved": "https://registry.npmjs.org/lerna/-/lerna-3.22.1.tgz", + "integrity": "sha512-vk1lfVRFm+UuEFA7wkLKeSF7Iz13W+N/vFd48aW2yuS7Kv0RbNm2/qcDPV863056LMfkRlsEe+QYOw3palj5Lg==", "dev": true, "requires": { "@lerna/add": "3.21.0", @@ -5685,29 +5746,29 @@ "@lerna/changed": "3.21.0", "@lerna/clean": "3.21.0", "@lerna/cli": "3.18.5", - "@lerna/create": "3.21.0", + "@lerna/create": "3.22.0", "@lerna/diff": "3.21.0", "@lerna/exec": "3.21.0", - "@lerna/import": "3.21.0", + "@lerna/import": "3.22.0", "@lerna/info": "3.21.0", "@lerna/init": "3.21.0", "@lerna/link": "3.21.0", "@lerna/list": "3.21.0", - "@lerna/publish": "3.21.0", + "@lerna/publish": "3.22.1", "@lerna/run": "3.21.0", - "@lerna/version": "3.21.0", + "@lerna/version": "3.22.1", "import-local": "^2.0.0", "npmlog": "^4.1.2" } }, "levn": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, "requires": { - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2" + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" } }, "lines-and-columns": { @@ -5727,6 +5788,14 @@ "pify": "^4.0.1", "strip-bom": "^3.0.0", "type-fest": "^0.3.0" + }, + "dependencies": { + "type-fest": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.3.1.tgz", + "integrity": "sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ==", + "dev": true + } } }, "locate-path": { @@ -5740,9 +5809,9 @@ } }, "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", "dev": true }, "lodash._reinterpolate": { @@ -5819,6 +5888,19 @@ "dev": true, "requires": { "chalk": "^2.4.2" + }, + "dependencies": { + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + } } }, "loud-rejection": { @@ -5841,9 +5923,9 @@ } }, "macos-release": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/macos-release/-/macos-release-2.3.0.tgz", - "integrity": "sha512-OHhSbtcviqMPt7yfw5ef5aghS2jzFVKEFyCJndQt2YpSQ9qRVSEv2axSJI1paVThEu+FFGs584h/1YhxjVqajA==", + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/macos-release/-/macos-release-2.4.1.tgz", + "integrity": "sha512-H/QHeBIN1fIGJX517pvK8IEK53yQOW7YcEI55oYtgjDdoCQQz7eJS94qt5kNrscReEyuD/JcdFCm2XBEcGOITg==", "dev": true }, "make-dir": { @@ -5904,18 +5986,16 @@ } }, "meow": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-7.0.1.tgz", - "integrity": "sha512-tBKIQqVrAHqwit0vfuFPY3LlzJYkEOFyKa3bPgxzNl6q/RtN8KQ+ALYEASYuFayzSAsjlhXj/JZ10rH85Q6TUw==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-7.1.0.tgz", + "integrity": "sha512-kq5F0KVteskZ3JdfyQFivJEj2RaA8NFsS4+r9DaMKLcUHpk5OcHS3Q0XkCXONB1mZRPsu/Y/qImKri0nwSEZog==", "dev": true, "requires": { "@types/minimist": "^1.2.0", - "arrify": "^2.0.1", - "camelcase": "^6.0.0", "camelcase-keys": "^6.2.2", "decamelize-keys": "^1.1.0", "hard-rejection": "^2.1.0", - "minimist-options": "^4.0.2", + "minimist-options": "4.1.0", "normalize-package-data": "^2.5.0", "read-pkg-up": "^7.0.1", "redent": "^3.0.0", @@ -5924,18 +6004,6 @@ "yargs-parser": "^18.1.3" }, "dependencies": { - "arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "dev": true - }, - "camelcase": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.0.0.tgz", - "integrity": "sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w==", - "dev": true - }, "find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", @@ -5965,9 +6033,9 @@ } }, "parse-json": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.0.tgz", - "integrity": "sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.1.tgz", + "integrity": "sha512-ztoZ4/DYeXQq4E21v169sC8qWINGpcosGv9XhTDvg9/hWvx/zrFkc9BiWxR58OJLHGk28j5BL0SDLeV2WmFZlQ==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", @@ -6035,22 +6103,14 @@ "requires": { "camelcase": "^5.0.0", "decamelize": "^1.2.0" - }, - "dependencies": { - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - } } } } }, "merge2": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.3.0.tgz", - "integrity": "sha512-2j4DAdlBOkiSZIsaXk4mTE3sRS02yBHAtfy127xRV3bQUFqXkjHCHLW6Scv7DwNRbIWNHH8zpnz9zMaKXIdvYw==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", "dev": true }, "micromatch": { @@ -6096,9 +6156,9 @@ "dev": true }, "min-indent": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.0.tgz", - "integrity": "sha1-z8RcN+nsDY8KDsPdTvf3w6vjklY=", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", "dev": true }, "minimatch": { @@ -6111,9 +6171,9 @@ } }, "minimist": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", "dev": true }, "minimist-options": { @@ -6186,12 +6246,12 @@ } }, "mkdirp": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", "dev": true, "requires": { - "minimist": "0.0.8" + "minimist": "^1.2.5" } }, "mkdirp-promise": { @@ -6204,43 +6264,38 @@ } }, "mocha": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-7.1.2.tgz", - "integrity": "sha512-o96kdRKMKI3E8U0bjnfqW4QMk12MwZ4mhdBTf+B5a1q9+aq2HRnj+3ZdJu0B/ZhJeK78MgYuv6L8d/rA5AeBJA==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-8.1.1.tgz", + "integrity": "sha512-p7FuGlYH8t7gaiodlFreseLxEmxTgvyG9RgPHODFPySNhwUehu8NIb0vdSt3WFckSneswZ0Un5typYcWElk7HQ==", "dev": true, "requires": { - "ansi-colors": "3.2.3", + "ansi-colors": "4.1.1", "browser-stdout": "1.3.1", - "chokidar": "3.3.0", + "chokidar": "3.3.1", "debug": "3.2.6", - "diff": "3.5.0", + "diff": "4.0.2", "escape-string-regexp": "1.0.5", - "find-up": "3.0.0", - "glob": "7.1.3", + "find-up": "4.1.0", + "glob": "7.1.6", "growl": "1.10.5", "he": "1.2.0", "js-yaml": "3.13.1", "log-symbols": "3.0.0", "minimatch": "3.0.4", - "mkdirp": "0.5.5", - "ms": "2.1.1", - "node-environment-flags": "1.0.6", + "ms": "2.1.2", "object.assign": "4.1.0", - "strip-json-comments": "2.0.1", - "supports-color": "6.0.0", - "which": "1.3.1", + "promise.allsettled": "1.0.2", + "serialize-javascript": "4.0.0", + "strip-json-comments": "3.0.1", + "supports-color": "7.1.0", + "which": "2.0.2", "wide-align": "1.1.3", + "workerpool": "6.0.0", "yargs": "13.3.2", "yargs-parser": "13.1.2", - "yargs-unparser": "1.6.0" + "yargs-unparser": "1.6.1" }, "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, "debug": { "version": "3.2.6", "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", @@ -6250,74 +6305,69 @@ "ms": "^2.1.1" } }, - "glob": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" } }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, - "mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "js-yaml": { + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", + "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", "dev": true, "requires": { - "minimist": "^1.2.5" + "argparse": "^1.0.7", + "esprima": "^4.0.0" } }, - "ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", - "dev": true - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" + "p-locate": "^4.1.0" } }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "requires": { - "ansi-regex": "^4.1.0" + "p-limit": "^2.2.0" } }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, "strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz", + "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==", "dev": true }, "supports-color": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.0.0.tgz", - "integrity": "sha512-on9Kwidc1IUQo+bQdhi8+Tijpo0e1SS6RoGo2guUwn5vdaxw8RXOF9Vb2ws+ihWOmh4JnCJOvaziZWP1VABaLg==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", + "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "has-flag": "^4.0.0" } }, "yargs": { @@ -6336,6 +6386,42 @@ "which-module": "^2.0.0", "y18n": "^4.0.0", "yargs-parser": "^13.1.2" + }, + "dependencies": { + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "requires": { + "locate-path": "^3.0.0" + } + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + } } }, "yargs-parser": { @@ -6431,9 +6517,9 @@ "dev": true }, "neo-async": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz", - "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", "dev": true }, "nice-try": { @@ -6442,24 +6528,6 @@ "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", "dev": true }, - "node-environment-flags": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.6.tgz", - "integrity": "sha512-5Evy2epuL+6TM0lCQGpFIj6KwiEsGh1SrHUhTbNX+sLbBtjidPZFAnVK9y5yU1+h//RitLbRHTIMyxQPtxMdHw==", - "dev": true, - "requires": { - "object.getownpropertydescriptors": "^2.0.3", - "semver": "^5.7.0" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } - } - }, "node-fetch": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", @@ -6478,9 +6546,9 @@ } }, "node-gyp": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-5.1.0.tgz", - "integrity": "sha512-OUTryc5bt/P8zVgNUmC6xdXiDJxLMAW8cF5tLQOT9E5sOQj+UeQxnnPy74K3CLCa/SOjjBlbuzDLR8ANwA+wmw==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-5.1.1.tgz", + "integrity": "sha512-WH0WKGi+a4i4DUt2mHnvocex/xPLp9pYt5R6M2JdFB7pJ7Z34hveZ4nDTGTiLXCkitA9T8HFZjhinBCiVHYcWw==", "dev": true, "requires": { "env-paths": "^2.2.0", @@ -6501,6 +6569,15 @@ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "dev": true + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } } } }, @@ -6533,6 +6610,14 @@ "resolve": "^1.10.0", "semver": "2 || 3 || 4 || 5", "validate-npm-package-license": "^3.0.1" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + } } }, "normalize-path": { @@ -6570,6 +6655,17 @@ "uid-number": "0.0.6", "umask": "^1.1.0", "which": "^1.3.1" + }, + "dependencies": { + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } } }, "npm-normalize-package-bin": { @@ -6618,6 +6714,14 @@ "figgy-pudding": "^3.5.1", "npm-package-arg": "^6.0.0", "semver": "^5.4.1" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + } } }, "npm-run-path": { @@ -6627,6 +6731,14 @@ "dev": true, "requires": { "path-key": "^2.0.0" + }, + "dependencies": { + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true + } } }, "npmlog": { @@ -6648,9 +6760,9 @@ "dev": true }, "nyc": { - "version": "15.0.1", - "resolved": "https://registry.npmjs.org/nyc/-/nyc-15.0.1.tgz", - "integrity": "sha512-n0MBXYBYRqa67IVt62qW1r/d9UH/Qtr7SF1w/nQLJ9KxvWF6b2xCHImRAixHN9tnMMYHC2P14uo6KddNGwMgGg==", + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/nyc/-/nyc-15.1.0.tgz", + "integrity": "sha512-jMW04n9SxKdKi1ZMGhvUTHBN0EICCRkHemEoE5jm6mTYcqcdas0ATzgUgejlQUHMvpnOZqGB5Xxsv9KxJW1j8A==", "dev": true, "requires": { "@istanbuljs/load-nyc-config": "^1.0.0", @@ -6661,6 +6773,7 @@ "find-cache-dir": "^3.2.0", "find-up": "^4.1.0", "foreground-child": "^2.0.0", + "get-package-type": "^0.1.0", "glob": "^7.1.6", "istanbul-lib-coverage": "^3.0.0", "istanbul-lib-hook": "^3.0.0", @@ -6681,12 +6794,6 @@ "yargs": "^15.0.2" }, "dependencies": { - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "dev": true - }, "ansi-styles": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", @@ -6731,26 +6838,12 @@ }, "find-up": { "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" } }, "is-fullwidth-code-point": { @@ -6833,15 +6926,6 @@ "strip-ansi": "^6.0.0" } }, - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.0" - } - }, "wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -6854,9 +6938,9 @@ } }, "yargs": { - "version": "15.3.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.3.1.tgz", - "integrity": "sha512-92O1HWEjw27sBfgmXiixJWT5hRBp2eobqXicLtPBIDBhYB+1HpwZlXmbW2luivBJHBzki+7VyCLRtAkScbTBQA==", + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", "dev": true, "requires": { "cliui": "^6.0.0", @@ -6869,7 +6953,7 @@ "string-width": "^4.2.0", "which-module": "^2.0.0", "y18n": "^4.0.0", - "yargs-parser": "^18.1.1" + "yargs-parser": "^18.1.2" } }, "yargs-parser": { @@ -6928,9 +7012,9 @@ } }, "object-inspect": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz", - "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz", + "integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA==", "dev": true }, "object-keys": { @@ -7004,17 +7088,17 @@ } }, "optionator": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", - "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", "dev": true, "requires": { - "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.6", - "levn": "~0.3.0", - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2", - "word-wrap": "~1.2.3" + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" } }, "os-homedir": { @@ -7056,9 +7140,9 @@ "dev": true }, "p-limit": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz", - "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, "requires": { "p-try": "^2.0.0" @@ -7173,9 +7257,9 @@ } }, "parse-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/parse-path/-/parse-path-4.0.1.tgz", - "integrity": "sha512-d7yhga0Oc+PwNXDvQ0Jv1BuWkLVPXcAoQ/WREgd6vNNoKYaW52KI+RdOFjI63wjkmps9yUE8VS4veP+AgpQ/hA==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/parse-path/-/parse-path-4.0.2.tgz", + "integrity": "sha512-HSqVz6iuXSiL8C1ku5Gl1Z5cwDd9Wo0q8CoffdAghP6bz8pJa1tcMC+m4N+z6VAS8QdksnIGq1TB6EgR4vPR6w==", "dev": true, "requires": { "is-ssh": "^1.3.0", @@ -7183,9 +7267,9 @@ } }, "parse-url": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-5.0.1.tgz", - "integrity": "sha512-flNUPP27r3vJpROi0/R3/2efgKkyXqnXwyP1KQ2U0SfFRgdizOdWfvrrvJg1LuOoxs7GQhmxJlq23IpQ/BkByg==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-5.0.2.tgz", + "integrity": "sha512-Czj+GIit4cdWtxo3ISZCvLiUjErSo0iI3wJ+q9Oi3QuMYTI6OZu+7cewMWZ+C1YAnKhYTk6/TLuhIgCypLthPA==", "dev": true, "requires": { "is-ssh": "^1.3.0", @@ -7219,9 +7303,9 @@ "dev": true }, "path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true }, "path-parse": { @@ -7296,9 +7380,9 @@ "dev": true }, "prelude-ls": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true }, "process-nextick-args": { @@ -7338,6 +7422,19 @@ "retry": "^0.10.0" } }, + "promise.allsettled": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/promise.allsettled/-/promise.allsettled-1.0.2.tgz", + "integrity": "sha512-UpcYW5S1RaNKT6pd+s9jp9K9rlQge1UXKskec0j6Mmuq7UJCvlS2J2/s/yuPN8ehftf9HXMxWlKiPbGGUzpoRg==", + "dev": true, + "requires": { + "array.prototype.map": "^1.0.1", + "define-properties": "^1.1.3", + "es-abstract": "^1.17.0-next.1", + "function-bind": "^1.1.1", + "iterate-value": "^1.0.0" + } + }, "promzard": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/promzard/-/promzard-0.3.0.tgz", @@ -7354,9 +7451,9 @@ "dev": true }, "protocols": { - "version": "1.4.7", - "resolved": "https://registry.npmjs.org/protocols/-/protocols-1.4.7.tgz", - "integrity": "sha512-Fx65lf9/YDn3hUX08XUc0J8rSux36rEsyiv21ZGUC1mOyeM3lTRpZLcrm8aAolzS4itwVfm7TAPyxC2E5zd6xg==", + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/protocols/-/protocols-1.4.8.tgz", + "integrity": "sha512-IgjKyaUSjsROSO8/D49Ab7hP8mJgTYcqApOqdPhLoPxAplXmkp+zRvsrSQjFn5by0rhm4VH0GAUELIPpx7B1yg==", "dev": true }, "protoduck": { @@ -7431,6 +7528,15 @@ "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", "dev": true }, + "randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.0" + } + }, "read": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/read/-/read-1.0.7.tgz", @@ -7450,14 +7556,13 @@ } }, "read-package-json": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.1.tgz", - "integrity": "sha512-dAiqGtVc/q5doFz6096CcnXhpYk0ZN8dEKVkGLU0CsASt8SrgF6SF7OTKAYubfvFhWaqofl+Y8HK19GR8jwW+A==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-2.1.2.tgz", + "integrity": "sha512-D1KmuLQr6ZSJS0tW8hf3WGpRlwszJOXZ3E8Yd/DNRaM5d+1wVRZdHlpGBLAuovjr28LbWvjpWkBHMxpRGGjzNA==", "dev": true, "requires": { "glob": "^7.1.1", - "graceful-fs": "^4.1.2", - "json-parse-better-errors": "^1.0.1", + "json-parse-even-better-errors": "^2.3.0", "normalize-package-data": "^2.0.0", "npm-normalize-package-bin": "^1.0.0" } @@ -7595,12 +7700,12 @@ } }, "readdirp": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.2.0.tgz", - "integrity": "sha512-crk4Qu3pmXwgxdSgGhgA/eXiJAPQiX4GMOZZMXnqKxHX7TaoL+3gQVo/WeuAiogr07DpnfjIMpXXa+PAIvwPGQ==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.3.0.tgz", + "integrity": "sha512-zz0pAkSPOXXm1viEwygWIPSPkcBYjW1xU5j/JBh5t9bGCJwa6f9+BJa6VaB2g+b55yVrmXzqkyLf4xaWYM0IkQ==", "dev": true, "requires": { - "picomatch": "^2.0.4" + "picomatch": "^2.0.7" } }, "redent": { @@ -7624,9 +7729,9 @@ } }, "regexpp": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz", - "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz", + "integrity": "sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==", "dev": true }, "release-zalgo": { @@ -7700,9 +7805,9 @@ "dev": true }, "resolve": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.15.0.tgz", - "integrity": "sha512-+hTmAldEGE80U2wJJDC1lebb5jWqvTYAfm3YZ1ckk1gBr0MnCqUKlwK1e+anaFljIl+F5tR5IoZcm4ZDA1zMQw==", + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", + "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", "dev": true, "requires": { "path-parse": "^1.0.6" @@ -7769,13 +7874,10 @@ } }, "run-async": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", - "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", - "dev": true, - "requires": { - "is-promise": "^2.1.0" - } + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", + "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", + "dev": true }, "run-queue": { "version": "1.0.3", @@ -7787,9 +7889,9 @@ } }, "rxjs": { - "version": "6.5.5", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.5.tgz", - "integrity": "sha512-WfQI+1gohdf0Dai/Bbmk5L5ItH5tYqm3ki2c5GdWhKjalzjg93N3avFjVStyZZz+A2Em+ZxKH5bNghw9UeylGQ==", + "version": "6.6.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.2.tgz", + "integrity": "sha512-BHdBMVoWC2sL26w//BCu3YzKT4s2jip/WhwsGEDmeKYBhKDZeYezVUnHatYB7L85v5xs0BAQmg6BEYJEKxBabg==", "dev": true, "requires": { "tslib": "^1.9.0" @@ -7817,11 +7919,20 @@ "dev": true }, "semver": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", - "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==", + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", + "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", "dev": true }, + "serialize-javascript": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", + "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", + "dev": true, + "requires": { + "randombytes": "^2.1.0" + } + }, "set-blocking": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", @@ -7861,24 +7972,24 @@ } }, "shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, "requires": { - "shebang-regex": "^1.0.0" + "shebang-regex": "^3.0.0" } }, "shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true }, "signal-exit": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", - "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", + "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", "dev": true }, "slash": { @@ -8134,22 +8245,13 @@ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", "dev": true - }, - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } } } }, "spdx-correct": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", - "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", + "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", "dev": true, "requires": { "spdx-expression-parse": "^3.0.0", @@ -8275,45 +8377,51 @@ "dev": true }, "string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", "dev": true, "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" }, "dependencies": { - "is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "ansi-regex": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "dev": true + }, + "strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", "dev": true, "requires": { - "number-is-nan": "^1.0.0" + "ansi-regex": "^4.1.0" } } } }, - "string.prototype.trimleft": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz", - "integrity": "sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag==", + "string.prototype.trimend": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz", + "integrity": "sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g==", "dev": true, "requires": { "define-properties": "^1.1.3", - "function-bind": "^1.1.1" + "es-abstract": "^1.17.5" } }, - "string.prototype.trimright": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz", - "integrity": "sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g==", + "string.prototype.trimstart": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz", + "integrity": "sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw==", "dev": true, "requires": { "define-properties": "^1.1.3", - "function-bind": "^1.1.1" + "es-abstract": "^1.17.5" } }, "string_decoder": { @@ -8334,12 +8442,12 @@ } }, "strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", "dev": true, "requires": { - "ansi-regex": "^2.0.0" + "ansi-regex": "^5.0.0" } }, "strip-bom": { @@ -8364,9 +8472,9 @@ } }, "strip-json-comments": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz", - "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true }, "strong-log-transformer": { @@ -8378,14 +8486,6 @@ "duplexer": "^0.1.1", "minimist": "^1.2.0", "through": "^2.3.4" - }, - "dependencies": { - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true - } } }, "supports-color": { @@ -8407,34 +8507,6 @@ "lodash": "^4.17.14", "slice-ansi": "^2.1.0", "string-width": "^3.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - } } }, "tar": { @@ -8504,9 +8576,9 @@ "dev": true }, "thenify": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.0.tgz", - "integrity": "sha1-5p44obq+lpsBCCB5eLn2K4hgSDk=", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", + "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", "dev": true, "requires": { "any-promise": "^1.0.0" @@ -8656,18 +8728,18 @@ "dev": true }, "type-check": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, "requires": { - "prelude-ls": "~1.1.2" + "prelude-ls": "^1.2.1" } }, "type-fest": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.3.1.tgz", - "integrity": "sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ==", + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", "dev": true }, "typedarray": { @@ -8692,14 +8764,11 @@ "dev": true }, "uglify-js": { - "version": "3.9.3", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.9.3.tgz", - "integrity": "sha512-r5ImcL6QyzQGVimQoov3aL2ZScywrOgBXGndbWrdehKoSvGe/RmiE5Jpw/v+GvxODt6l2tpBXwA7n+qZVlHBMA==", + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.10.1.tgz", + "integrity": "sha512-RjxApKkrPJB6kjJxQS3iZlf///REXWYxYJxO/MpmlQzVkDWVI3PSnCBWezMecmTU/TRkNxrl8bmsfFQCp+LO+Q==", "dev": true, - "optional": true, - "requires": { - "commander": "~2.20.3" - } + "optional": true }, "uid-number": { "version": "0.0.6", @@ -8847,9 +8916,9 @@ "dev": true }, "v8-compile-cache": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz", - "integrity": "sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.1.tgz", + "integrity": "sha512-8OQ9CL+VWyt3JStj7HX7/ciTL2V3Rl1Wf5OL+SNTm0yK1KvtReVulksyeRnCANHHuUxHlQig+JJDlUhBt1NQDQ==", "dev": true }, "validate-npm-package-license": { @@ -8909,9 +8978,9 @@ } }, "which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, "requires": { "isexe": "^2.0.0" @@ -8930,12 +8999,39 @@ "dev": true, "requires": { "string-width": "^1.0.2 || 2" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } } }, "windows-release": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/windows-release/-/windows-release-3.3.0.tgz", - "integrity": "sha512-2HetyTg1Y+R+rUgrKeUEhAG/ZuOmTrI1NBb3ZyAGQMYmOJjBBPe4MTodghRkmLJZHwkuPi02anbeGP+Zf401LQ==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/windows-release/-/windows-release-3.3.3.tgz", + "integrity": "sha512-OSOGH1QYiW5yVor9TtmXKQvt2vjQqbYS+DqmsZw+r7xDwLXEeT3JGW0ZppFmHx4diyXmxt238KFR3N9jzevBRg==", "dev": true, "requires": { "execa": "^1.0.0" @@ -8953,6 +9049,12 @@ "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", "dev": true }, + "workerpool": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.0.0.tgz", + "integrity": "sha512-fU2OcNA/GVAJLLyKUoHkAgIhKb0JoCpSjLC/G2vYKxUjVmQwGbRVeoPJ1a8U4pnVofz4AQV5Y/NEw8oKqxEBtA==", + "dev": true + }, "wrap-ansi": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", @@ -8970,17 +9072,6 @@ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", "dev": true }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, "strip-ansi": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", @@ -9117,34 +9208,6 @@ "which-module": "^2.0.0", "y18n": "^4.0.0", "yargs-parser": "^15.0.1" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - } } }, "yargs-parser": { @@ -9158,70 +9221,16 @@ } }, "yargs-unparser": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-1.6.0.tgz", - "integrity": "sha512-W9tKgmSn0DpSatfri0nx52Joq5hVXgeLiqR/5G0sZNDoLZFOr/xjBUDcShCOGNsBnEMNo1KAMBkTej1Hm62HTw==", + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-1.6.1.tgz", + "integrity": "sha512-qZV14lK9MWsGCmcr7u5oXGH0dbGqZAIxTDrWXZDo5zUr6b6iUmelNKO6x6R1dQT24AH3LgRxJpr8meWy2unolA==", "dev": true, "requires": { + "camelcase": "^5.3.1", + "decamelize": "^1.2.0", "flat": "^4.1.0", - "lodash": "^4.17.15", - "yargs": "^13.3.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - }, - "yargs": { - "version": "13.3.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz", - "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==", - "dev": true, - "requires": { - "cliui": "^5.0.0", - "find-up": "^3.0.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^3.0.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^13.1.2" - } - }, - "yargs-parser": { - "version": "13.1.2", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz", - "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==", - "dev": true, - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } - } + "is-plain-obj": "^1.1.0", + "yargs": "^14.2.3" } } } diff --git a/package.json b/package.json index ff223cf5f..c7903adec 100644 --- a/package.json +++ b/package.json @@ -12,10 +12,10 @@ "devDependencies": { "@typescript-eslint/eslint-plugin": "^2.17.0", "@typescript-eslint/parser": "^2.17.0", - "eslint": "^6.8.0", - "lerna": "^3.21.0", - "mocha": "^7.1.2", - "nyc": "^15.0.1", + "eslint": "^7.7.0", + "lerna": "^3.22.1", + "mocha": "^8.1.1", + "nyc": "^15.1.0", "typescript": "^3.7.5" } } diff --git a/packages/botbuilder-adapter-facebook/CHANGELOG.md b/packages/botbuilder-adapter-facebook/CHANGELOG.md index 18de61d9d..d1750fa93 100644 --- a/packages/botbuilder-adapter-facebook/CHANGELOG.md +++ b/packages/botbuilder-adapter-facebook/CHANGELOG.md @@ -1,5 +1,9 @@ # botbuilder-adapter-facebook changelog +# 1.0.11 + +* Update dependencies to Botkit 4.10, Bot Framework 4.10 + # 1.0.10 * Update dependencies to Botkit 4.9, Bot Framework 4.9 diff --git a/packages/botbuilder-adapter-facebook/package.json b/packages/botbuilder-adapter-facebook/package.json index 1106c7b33..54bc7d500 100644 --- a/packages/botbuilder-adapter-facebook/package.json +++ b/packages/botbuilder-adapter-facebook/package.json @@ -1,6 +1,6 @@ { "name": "botbuilder-adapter-facebook", - "version": "1.0.10", + "version": "1.0.11", "description": "Connect Botkit or BotBuilder to Facebook Messenger", "main": "lib/index.js", "typings": "./lib/index.d.ts", @@ -34,15 +34,15 @@ "url": "https://github.com/howdyai/botkit.git" }, "dependencies": { - "botbuilder": "^4.9.0", - "botkit": "^4.9.0", + "botbuilder": "^4.10.1", + "botkit": "^4.10.0", "debug": "^4.1.0" }, "devDependencies": { - "eslint": "^6.8.0", - "eslint-config-standard": "^14.1.0", + "eslint": "^7.7.0", + "eslint-config-standard": "^14.1.1", "eslint-plugin-import": "^2.20.0", - "eslint-plugin-node": "^11.0.0", + "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.1" } diff --git a/packages/botbuilder-adapter-facebook/src/botworker.ts b/packages/botbuilder-adapter-facebook/src/botworker.ts index f9d9322ed..d3e04dfc3 100644 --- a/packages/botbuilder-adapter-facebook/src/botworker.ts +++ b/packages/botbuilder-adapter-facebook/src/botworker.ts @@ -68,7 +68,7 @@ export class FacebookBotWorker extends BotWorker { * @param userId the PSID of a user the bot has previously interacted with */ public async startConversationWithUser(userId): Promise { - return this.changeContext({ + await this.changeContext({ channelId: 'facebook', // @ts-ignore conversation: { id: userId }, diff --git a/packages/botbuilder-adapter-hangouts/CHANGELOG.md b/packages/botbuilder-adapter-hangouts/CHANGELOG.md index 36fbb60ed..a4d93eb0d 100644 --- a/packages/botbuilder-adapter-hangouts/CHANGELOG.md +++ b/packages/botbuilder-adapter-hangouts/CHANGELOG.md @@ -1,5 +1,10 @@ # botbuilder-adapter-hangouts changelog + +# 1.0.8 + +* Update dependencies to Botkit 4.10, Bot Framework 4.10 + # 1.0.7 * Update dependencies to Botkit 4.9, Bot Framework 4.9 diff --git a/packages/botbuilder-adapter-hangouts/package.json b/packages/botbuilder-adapter-hangouts/package.json index d4ce92b47..7f530c5fc 100644 --- a/packages/botbuilder-adapter-hangouts/package.json +++ b/packages/botbuilder-adapter-hangouts/package.json @@ -1,6 +1,6 @@ { "name": "botbuilder-adapter-hangouts", - "version": "1.0.7", + "version": "1.0.8", "description": "Connect Botkit or BotBuilder to Google Hangouts", "main": "./lib/index.js", "typings": "./lib/index.d.ts", @@ -34,16 +34,16 @@ "url": "https://github.com/howdyai/botkit.git" }, "dependencies": { - "botbuilder": "^4.9.0", + "botbuilder": "^4.10.1", "googleapis": "^34.0.0", - "botkit": "^4.9.0", + "botkit": "^4.10.0", "debug": "^4.1.0" }, "devDependencies": { - "eslint": "^6.8.0", - "eslint-config-standard": "^14.1.0", + "eslint": "^7.7.0", + "eslint-config-standard": "^14.1.1", "eslint-plugin-import": "^2.20.0", - "eslint-plugin-node": "^11.0.0", + "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.1" } diff --git a/packages/botbuilder-adapter-slack/CHANGELOG.md b/packages/botbuilder-adapter-slack/CHANGELOG.md index ba2a15a37..2c3ac5256 100644 --- a/packages/botbuilder-adapter-slack/CHANGELOG.md +++ b/packages/botbuilder-adapter-slack/CHANGELOG.md @@ -1,9 +1,17 @@ # botbuilder-adapter-slack changelog + +# 1.0.13 + +* Update dependencies to Botkit 4.10, Bot Framework 4.10 +* Update @slack/web-api to 5.11.0 + + # 1.0.12 * Adjust startPrivateConversation to use converations.open instead of im.open + # 1.0.11 * Update dependencies to Botkit 4.9, Bot Framework 4.9 diff --git a/packages/botbuilder-adapter-slack/package-lock.json b/packages/botbuilder-adapter-slack/package-lock.json index dfba34eed..27af991b2 100644 --- a/packages/botbuilder-adapter-slack/package-lock.json +++ b/packages/botbuilder-adapter-slack/package-lock.json @@ -1,31 +1,22 @@ { "name": "botbuilder-adapter-slack", - "version": "1.0.8", + "version": "1.0.12", "lockfileVersion": 1, "requires": true, "dependencies": { "@azure/ms-rest-js": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@azure/ms-rest-js/-/ms-rest-js-1.2.6.tgz", - "integrity": "sha512-8cmDpxsQjVdveJwYKtNnkJorxEORLYJu9UHaUvLZA6yHExzDeISHAcSVWE0J05+VkJtqheVHF17M+2ro18Cdnw==", + "version": "1.8.15", + "resolved": "https://registry.npmjs.org/@azure/ms-rest-js/-/ms-rest-js-1.8.15.tgz", + "integrity": "sha512-kIB71V3DcrA4iysBbOsYcxd4WWlOE7OFtCUYNfflPODM0lbIR23A236QeTn5iAeYwcHmMjR/TAKp5KQQh/WqoQ==", "requires": { - "axios": "^0.18.0", + "@types/tunnel": "0.0.0", + "axios": "^0.19.0", "form-data": "^2.3.2", "tough-cookie": "^2.4.3", "tslib": "^1.9.2", + "tunnel": "0.0.6", "uuid": "^3.2.1", "xml2js": "^0.4.19" - }, - "dependencies": { - "axios": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.18.1.tgz", - "integrity": "sha512-0BfJq4NSfQXd+SkFdrvFbG7addhYSBA2mQwISr46pD6E5iqkWg02RAs8vyTT/j0RTnoYmeXauBuSv1qKwR179g==", - "requires": { - "follow-redirects": "1.5.10", - "is-buffer": "^2.0.2" - } - } } }, "@microsoft/recognizers-text": { @@ -162,6 +153,14 @@ "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz", "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==" }, + "@types/tunnel": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/@types/tunnel/-/tunnel-0.0.0.tgz", + "integrity": "sha512-FGDp0iBRiBdPjOgjJmn1NH0KDLN+Z8fRmo+9J7XGBhubq1DPrGrbmG4UTlGzrpbCpesMqD0sWkzi27EYkOMHyg==", + "requires": { + "@types/node": "*" + } + }, "@types/ws": { "version": "6.0.4", "resolved": "https://registry.npmjs.org/@types/ws/-/ws-6.0.4.tgz", @@ -202,16 +201,16 @@ }, "dependencies": { "@types/node": { - "version": "8.10.59", - "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.59.tgz", - "integrity": "sha512-8RkBivJrDCyPpBXhVZcjh7cQxVBSmRk9QM7hOketZzp6Tg79c0N8kkpAIito9bnJ3HCVCHVYz+KHTEbfQNfeVQ==" + "version": "8.10.62", + "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.62.tgz", + "integrity": "sha512-76fupxOYVxk36kb7O/6KtrAPZ9jnSK3+qisAX4tQMEuGNdlvl7ycwatlHqjoE6jHfVtXFM3pCrCixZOidc5cuw==" } } }, "ajv": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.0.tgz", - "integrity": "sha512-D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw==", + "version": "6.12.4", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.4.tgz", + "integrity": "sha512-eienB2c9qVQs2KWexhkrdMLVDoIQCz5KSeLxwg9Lzk4DOfBtIK9PQwwufcsn1jjGuf9WZmqPMbGxOzfcuphJCQ==", "requires": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -286,9 +285,9 @@ "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" }, "aws4": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.9.1.tgz", - "integrity": "sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug==" + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.10.1.tgz", + "integrity": "sha512-zg7Hz2k5lI8kb7U32998pRRFin7zJlkfezGJjUc2heaD4Pw2wObakCDVzkKztTm/Ln7eiVvYsjqak0Ed4LkMDA==" }, "axios": { "version": "0.19.2", @@ -355,108 +354,110 @@ } }, "botbuilder": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/botbuilder/-/botbuilder-4.7.2.tgz", - "integrity": "sha512-3NzqEiiRh37CDVypk47nDBsH5zAV6pi4qW1Kv26lx89UxfgQNjoN9tF+PLAqzbQHrWYDCBWYgpmyFn1NKLsY0g==", + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/botbuilder/-/botbuilder-4.10.0.tgz", + "integrity": "sha512-A80shB/vmAS6omhqZ8tY6IkBvzVzvCTEE6PeRm07uhrnDRdqAEklxXqkAxzko/oCNQ1/WUljtf92R0fpi4WQiw==", "requires": { - "@azure/ms-rest-js": "1.2.6", - "@types/node": "^10.12.18", + "@azure/ms-rest-js": "1.8.15", + "@types/node": "^10.17.27", "axios": "^0.19.0", - "botbuilder-core": "4.7.2", - "botframework-connector": "4.7.2", - "botframework-streaming": "4.7.2", + "botbuilder-core": "4.10.0", + "botframework-connector": "4.10.0", + "botframework-streaming": "4.10.0", "filenamify": "^4.1.0", - "fs-extra": "^7.0.1" + "fs-extra": "^7.0.1", + "moment-timezone": "^0.5.28" }, "dependencies": { "@types/node": { - "version": "10.17.17", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.17.tgz", - "integrity": "sha512-gpNnRnZP3VWzzj5k3qrpRC6Rk3H/uclhAVo1aIvwzK5p5cOrs9yEyQ8H/HBsBY0u5rrWxXEiVPQ0dEB6pkjE8Q==" + "version": "10.17.28", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.28.tgz", + "integrity": "sha512-dzjES1Egb4c1a89C7lKwQh8pwjYmlOAG9dW1pBgxEk57tMrLnssOfEthz8kdkNaBd7lIqQx7APm5+mZ619IiCQ==" } } }, "botbuilder-core": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/botbuilder-core/-/botbuilder-core-4.7.2.tgz", - "integrity": "sha512-4adVtnCB6+d+R6SJQlpd9HLzvLcBmuu9i/wqcvLaTiWen2Jv6+n8mHNsSg2lR2grIIYbV0ZKqfb0FLnlvFWH4A==", + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/botbuilder-core/-/botbuilder-core-4.10.0.tgz", + "integrity": "sha512-pRj3STTivYiwpXazMNKyYSo8RfoFiPNvbwKeoVoeTfMveugbljHvWyydbDe9D0yM5iJGm8SkN4r8rIa1aDO8iQ==", "requires": { "assert": "^1.4.1", - "botframework-schema": "4.7.2" + "botframework-schema": "4.10.0" } }, "botbuilder-dialogs": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/botbuilder-dialogs/-/botbuilder-dialogs-4.7.2.tgz", - "integrity": "sha512-YQyP2msfA9x6zTtSHvoG0OXvQ34j5gz4b4sKH+wCm4UBjknaGp+s7D6ARSQ1ocQNzbzRd7z98lKgoMBf3GJ3KA==", + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/botbuilder-dialogs/-/botbuilder-dialogs-4.10.0.tgz", + "integrity": "sha512-aW9xy/20VSz3R3b94jR8yBvBUzhbfXkrsReO0X1ZgvIi1h32EOSntMQUhG6ponLvofkxs8u5Vyhrn6F5Ogdy6g==", "requires": { "@microsoft/recognizers-text-choice": "1.1.4", "@microsoft/recognizers-text-date-time": "1.1.4", "@microsoft/recognizers-text-number": "1.1.4", "@microsoft/recognizers-text-suite": "1.1.4", - "@types/node": "^10.12.18", - "botbuilder-core": "4.7.2", + "@types/node": "^10.17.27", + "botbuilder-core": "4.10.0", "globalize": "^1.4.2" }, "dependencies": { "@types/node": { - "version": "10.17.17", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.17.tgz", - "integrity": "sha512-gpNnRnZP3VWzzj5k3qrpRC6Rk3H/uclhAVo1aIvwzK5p5cOrs9yEyQ8H/HBsBY0u5rrWxXEiVPQ0dEB6pkjE8Q==" + "version": "10.17.28", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.28.tgz", + "integrity": "sha512-dzjES1Egb4c1a89C7lKwQh8pwjYmlOAG9dW1pBgxEk57tMrLnssOfEthz8kdkNaBd7lIqQx7APm5+mZ619IiCQ==" } } }, "botframework-connector": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/botframework-connector/-/botframework-connector-4.7.2.tgz", - "integrity": "sha512-Ow5/aKDm3+WUP+XOQ0axeC5fEE/zZW8ZMQKuVjQZ2BZ81He2jwKPg50+TNOe62ljZAhsnHh3KGD/aEfVv2DecA==", + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/botframework-connector/-/botframework-connector-4.10.0.tgz", + "integrity": "sha512-xjqeBo4bp1hLtYAjCawj4byRSRhtn6eM1U+bphKn9GVey813/sROEGhACrqjAJ4wXSVjW04/caWj/qDUNCN2Vg==", "requires": { - "@azure/ms-rest-js": "1.2.6", + "@azure/ms-rest-js": "1.8.15", "@types/jsonwebtoken": "7.2.8", - "@types/node": "^10.12.18", + "@types/node": "^10.17.27", "adal-node": "0.2.1", "base64url": "^3.0.0", - "botframework-schema": "4.7.2", + "botframework-schema": "4.10.0", "form-data": "^2.3.3", "jsonwebtoken": "8.0.1", - "node-fetch": "^2.2.1", + "node-fetch": "^2.6.0", "rsa-pem-from-mod-exp": "^0.8.4" }, "dependencies": { "@types/node": { - "version": "10.17.17", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.17.tgz", - "integrity": "sha512-gpNnRnZP3VWzzj5k3qrpRC6Rk3H/uclhAVo1aIvwzK5p5cOrs9yEyQ8H/HBsBY0u5rrWxXEiVPQ0dEB6pkjE8Q==" + "version": "10.17.28", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.28.tgz", + "integrity": "sha512-dzjES1Egb4c1a89C7lKwQh8pwjYmlOAG9dW1pBgxEk57tMrLnssOfEthz8kdkNaBd7lIqQx7APm5+mZ619IiCQ==" } } }, "botframework-schema": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/botframework-schema/-/botframework-schema-4.7.2.tgz", - "integrity": "sha512-rSTywVl5dYzL4FNoK86s9kFPNkRx5iYJi7MAWEaSrhUiDV3KEHX/5VEHLa00d4nzQxC/jI9BqfbqdffpO97KIA==" + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/botframework-schema/-/botframework-schema-4.10.0.tgz", + "integrity": "sha512-Llix9JsmeRDL2vHKPdtOoZ1Na69TR5uqAInTpkuudYexEu5Q0zb8L97stWpxEDLNsMdkT/FyZJKCXnFpaNK9ug==" }, "botframework-streaming": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/botframework-streaming/-/botframework-streaming-4.7.2.tgz", - "integrity": "sha512-nkj7WTviO/8G2QCq9qyjRz9wPpx9fd5yO6YxeWLV2n81rxlF0KBosBs1kUCpbpX0xZjCwAmJC8urdqEktfcz8Q==", + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/botframework-streaming/-/botframework-streaming-4.10.0.tgz", + "integrity": "sha512-+fpEqL/3JbCRE7+/mJVI3U1L4jeL76V0YQkOnfzJ5eW0tK0En2rix5potkpYRev/N2lg8WriP5Qeyz2yJz9uew==", "requires": { "@types/ws": "^6.0.3", - "uuid": "^3.3.2", + "uuid": "^3.4.0", "ws": "^7.1.2" } }, "botkit": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/botkit/-/botkit-4.6.2.tgz", - "integrity": "sha512-tWasAdmN9BCNl91aGPip/IVHekdVwoMm2z4BvZmfIVyS89/g4fwfu1JCAWo79FK7sfvDUz2ZyNUc21Uh2E+T7w==", - "requires": { - "body-parser": "^1.18.3", - "botbuilder": "^4.7.1", - "botbuilder-dialogs": "^4.7.1", - "botframework-connector": "^4.7.1", + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/botkit/-/botkit-4.9.0.tgz", + "integrity": "sha512-sw6oLmtv7M39N2LPFaoJ0lZkYKkUSrkBvl+Q1QXxteXLn0W0rD1a67EKwfigL2LCltHJSJ2Zt+5/v+AvfwdBGQ==", + "requires": { + "body-parser": "^1.19.0", + "botbuilder": "^4.9.0", + "botbuilder-core": "^4.9.0", + "botbuilder-dialogs": "^4.9.0", + "botframework-connector": "^4.9.0", "debug": "^4.1.0", - "express": "^4.16.4", - "mustache": "^3.0.1", + "express": "^4.17.1", + "mustache": "^4.0.1", "path": "^0.12.7", "request": "^2.88.0", "ware": "^1.3.0" @@ -488,9 +489,9 @@ "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" }, "cldrjs": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/cldrjs/-/cldrjs-0.5.1.tgz", - "integrity": "sha512-xyiP8uAm8K1IhmpDndZLraloW1yqu0L+HYdQ7O1aGPxx9Cr+BMnPANlNhSt++UKfxytL2hd2NPXgTjiy7k43Ew==" + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/cldrjs/-/cldrjs-0.5.4.tgz", + "integrity": "sha512-6QkI7oPLUZ9vA5BQAmUOfh5JIpESfnYy/M8d7Ddl9Yx+z2TAnQgnc3kbgjkIgxsk5Y0tOY+n6itMWXzQQQ2IWg==" }, "co": { "version": "3.1.0", @@ -1915,9 +1916,9 @@ "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" }, "fast-deep-equal": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz", - "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==" + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, "fast-json-stable-stringify": { "version": "2.1.0", @@ -2040,9 +2041,9 @@ } }, "globalize": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/globalize/-/globalize-1.4.2.tgz", - "integrity": "sha512-IfKeYI5mAITBmT5EnH8kSQB5uGson4Fkj2XtTpyEbIS7IHNfLHoeTyLJ6tfjiKC6cJXng3IhVurDk5C7ORqFhQ==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/globalize/-/globalize-1.5.0.tgz", + "integrity": "sha512-76fcPQO/WLthtSwjgIZ/Zv2XSXqv9ifvl1PwIxJNCZNFHigGCpg3fBZ0poJ30b2kdDgofPkYl478lVZA6esESQ==", "requires": { "cldrjs": "^0.5.0" } @@ -2063,11 +2064,11 @@ "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" }, "har-validator": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", - "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", "requires": { - "ajv": "^6.5.5", + "ajv": "^6.12.3", "har-schema": "^2.0.0" } }, @@ -2151,11 +2152,6 @@ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", "dev": true }, - "is-buffer": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.4.tgz", - "integrity": "sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A==" - }, "is-callable": { "version": "1.1.5", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz", @@ -2311,9 +2307,9 @@ } }, "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==" }, "lodash.escaperegexp": { "version": "4.1.2", @@ -2427,15 +2423,28 @@ "brace-expansion": "^1.1.7" } }, + "moment": { + "version": "2.27.0", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.27.0.tgz", + "integrity": "sha512-al0MUK7cpIcglMv3YF13qSgdAIqxHTO7brRtaz3DlSULbqfazqkc5kEjNrLDOM7fsjshoFIihnU8snrP7zUvhQ==" + }, + "moment-timezone": { + "version": "0.5.31", + "resolved": "https://registry.npmjs.org/moment-timezone/-/moment-timezone-0.5.31.tgz", + "integrity": "sha512-+GgHNg8xRhMXfEbv81iDtrVeTcWt0kWmTEY1XQK14dICTXnWJnT0dxdlPspwqF3keKMVPXwayEsk1DI0AA/jdA==", + "requires": { + "moment": ">= 2.9.0" + } + }, "ms": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, "mustache": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/mustache/-/mustache-3.2.1.tgz", - "integrity": "sha512-RERvMFdLpaFfSRIEe632yDm5nsd0SDKn8hGmcUwswnyiE5mtdZLDybtHAz6hjJhawokF0hXvGLtx9mrQfm6FkA==" + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.0.1.tgz", + "integrity": "sha512-yL5VE97+OXn4+Er3THSmTdCFCtx5hHWzrolvH+JObZnUYwuaG7XV+Ch4fR2cIrcYI0tFHxS7iyFYl14bW8y2sA==" }, "negotiator": { "version": "0.6.2", @@ -2635,9 +2644,9 @@ } }, "psl": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.7.0.tgz", - "integrity": "sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ==" + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" }, "punycode": { "version": "2.1.1", @@ -2751,9 +2760,9 @@ "integrity": "sha1-NipCxtMEBW1JOz8SvOq7LGV2ptQ=" }, "safe-buffer": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz", - "integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==" + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" }, "safer-buffer": { "version": "2.1.2", @@ -2939,9 +2948,14 @@ } }, "tslib": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.11.1.tgz", - "integrity": "sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==" + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz", + "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==" + }, + "tunnel": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", + "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==" }, "tunnel-agent": { "version": "0.6.0", @@ -2966,9 +2980,9 @@ } }, "underscore": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.2.tgz", - "integrity": "sha512-D39qtimx0c1fI3ya1Lnhk3E9nONswSKhnffBI0gME9C99fYOkNi04xs8K6pePLhvl1frbDemkaBQ5ikWllR2HQ==" + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.10.2.tgz", + "integrity": "sha512-N4P+Q/BuyuEKFJ43B9gYuOj4TQUHXX+j2FqguVOpjkssLUUrnJofCcBccJSCoeturDoZU6GorDTHSvUDlSQbTg==" }, "universalify": { "version": "0.1.2", @@ -3048,9 +3062,9 @@ } }, "ws": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.2.3.tgz", - "integrity": "sha512-HTDl9G9hbkNDk98naoR/cHDws7+EyYMOdL1BmjsZXRUjf7d+MficC4B7HLUPlSiho0vg+CWKrGIt/VJBd1xunQ==" + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.3.1.tgz", + "integrity": "sha512-D3RuNkynyHmEJIpD2qrgVkc9DQ23OrN/moAwZX4L8DfvszsJxpjQuUq3LMx6HoYji9fbIOBY18XWBsAux1ZZUA==" }, "xml2js": { "version": "0.4.23", diff --git a/packages/botbuilder-adapter-slack/package.json b/packages/botbuilder-adapter-slack/package.json index 2c913f2a1..f81520f8a 100644 --- a/packages/botbuilder-adapter-slack/package.json +++ b/packages/botbuilder-adapter-slack/package.json @@ -1,6 +1,6 @@ { "name": "botbuilder-adapter-slack", - "version": "1.0.12", + "version": "1.0.13", "description": "Connect Botkit or BotBuilder to Slack", "main": "./lib/index.js", "typings": "./lib/index.d.ts", @@ -33,16 +33,16 @@ "url": "https://github.com/howdyai/botkit.git" }, "dependencies": { - "@slack/web-api": "^5.8.0", - "botbuilder": "^4.9.0", - "botkit": "^4.9.0", + "@slack/web-api": "^5.11.0", + "botbuilder": "^4.10.1", + "botkit": "^4.10.0", "debug": "^4.1.0" }, "devDependencies": { - "eslint": "^6.8.0", - "eslint-config-standard": "^14.1.0", + "eslint": "^7.7.0", + "eslint-config-standard": "^14.1.1", "eslint-plugin-import": "^2.20.0", - "eslint-plugin-node": "^11.0.0", + "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.1" } diff --git a/packages/botbuilder-adapter-slack/src/slack_adapter.ts b/packages/botbuilder-adapter-slack/src/slack_adapter.ts index d71232166..5dc61148b 100644 --- a/packages/botbuilder-adapter-slack/src/slack_adapter.ts +++ b/packages/botbuilder-adapter-slack/src/slack_adapter.ts @@ -172,7 +172,7 @@ export class SlackAdapter extends BotAdapter { this.middlewares = { spawn: [ - async (bot, next) => { + async (bot, next): Promise => { // make the Slack API available to all bot instances. bot.api = await this.getAPI(bot.getConfig('activity')).catch((err) => { debug('An error occurred while trying to get API creds for team', err); diff --git a/packages/botbuilder-adapter-twilio-sms/CHANGELOG.md b/packages/botbuilder-adapter-twilio-sms/CHANGELOG.md index 5053f65c4..e874d1b83 100644 --- a/packages/botbuilder-adapter-twilio-sms/CHANGELOG.md +++ b/packages/botbuilder-adapter-twilio-sms/CHANGELOG.md @@ -1,5 +1,9 @@ # botbuilder-adapter-twilio changelog +# 1.0.7 + +* Update dependencies to Botkit 4.10, Bot Framework 4.10 + # 1.0.6 * Update dependencies to Botkit 4.9, Bot Framework 4.9 diff --git a/packages/botbuilder-adapter-twilio-sms/package.json b/packages/botbuilder-adapter-twilio-sms/package.json index af247eae9..820233588 100644 --- a/packages/botbuilder-adapter-twilio-sms/package.json +++ b/packages/botbuilder-adapter-twilio-sms/package.json @@ -1,6 +1,6 @@ { "name": "botbuilder-adapter-twilio-sms", - "version": "1.0.6", + "version": "1.0.7", "description": "Connect Botkit or BotBuilder to Twilio SMS", "main": "./lib/index.js", "typings": "./lib/index.d.ts", @@ -37,16 +37,16 @@ "url": "https://github.com/howdyai/botkit.git" }, "dependencies": { - "botbuilder": "^4.9.0", - "botkit": "^4.9.0", + "botbuilder": "^4.10.1", + "botkit": "^4.10.0", "debug": "^4.1.0", "twilio": "^3.29.2" }, "devDependencies": { - "eslint": "^6.8.0", - "eslint-config-standard": "^14.1.0", + "eslint": "^7.7.0", + "eslint-config-standard": "^14.1.1", "eslint-plugin-import": "^2.20.0", - "eslint-plugin-node": "^11.0.0", + "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.1" } diff --git a/packages/botbuilder-adapter-twilio-sms/src/index.ts b/packages/botbuilder-adapter-twilio-sms/src/index.ts index b71577730..cc10a75ee 100644 --- a/packages/botbuilder-adapter-twilio-sms/src/index.ts +++ b/packages/botbuilder-adapter-twilio-sms/src/index.ts @@ -7,3 +7,4 @@ */ export * from './twilio_adapter'; +export * from './botworker'; diff --git a/packages/botbuilder-adapter-web/CHANGELOG.md b/packages/botbuilder-adapter-web/CHANGELOG.md index 023e3a3f5..422efd70f 100644 --- a/packages/botbuilder-adapter-web/CHANGELOG.md +++ b/packages/botbuilder-adapter-web/CHANGELOG.md @@ -1,5 +1,11 @@ # botbuilder-adapter-web changelog +# 1.0.9 + +* Update dependencies to Botkit 4.10, Bot Framework 4.10 + +* Fix to websocket ping call. [Issue #2003](https://github.com/howdyai/botkit/issues/2003) + # 1.0.8 * Update dependencies to Botkit 4.9, Bot Framework 4.9 diff --git a/packages/botbuilder-adapter-web/package.json b/packages/botbuilder-adapter-web/package.json index 8f196182c..167564cd3 100644 --- a/packages/botbuilder-adapter-web/package.json +++ b/packages/botbuilder-adapter-web/package.json @@ -1,6 +1,6 @@ { "name": "botbuilder-adapter-web", - "version": "1.0.8", + "version": "1.0.9", "description": "Connect Botkit or BotBuilder to the Web", "main": "./lib/index.js", "typings": "./lib/index.d.ts", @@ -35,17 +35,17 @@ "url": "https://github.com/howdyai/botkit.git" }, "dependencies": { - "botkit": "^4.9.0", - "botbuilder": "^4.9.0", + "botkit": "^4.10.0", + "botbuilder": "^4.10.1", "debug": "^4.1.0", "url": "^0.11.0", - "ws": "^7.1.1" + "ws": "^7.3.1" }, "devDependencies": { - "eslint": "^6.8.0", - "eslint-config-standard": "^14.1.0", + "eslint": "^7.7.0", + "eslint-config-standard": "^14.1.1", "eslint-plugin-import": "^2.20.0", - "eslint-plugin-node": "^11.0.0", + "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.1" } diff --git a/packages/botbuilder-adapter-web/src/web_adapter.ts b/packages/botbuilder-adapter-web/src/web_adapter.ts index c525e7599..d32027ef5 100644 --- a/packages/botbuilder-adapter-web/src/web_adapter.ts +++ b/packages/botbuilder-adapter-web/src/web_adapter.ts @@ -157,7 +157,9 @@ export class WebAdapter extends BotAdapter { return ws.terminate(); } ws.isAlive = false; - ws.ping('', false, true); + ws.ping('', false, () => { + // noop + }); }); }, 30000); } diff --git a/packages/botbuilder-adapter-webex/CHANGELOG.md b/packages/botbuilder-adapter-webex/CHANGELOG.md index 016f40ce8..a0c2aed30 100644 --- a/packages/botbuilder-adapter-webex/CHANGELOG.md +++ b/packages/botbuilder-adapter-webex/CHANGELOG.md @@ -1,5 +1,13 @@ # botbuilder-adapter-webex changelog +# 1.0.9 + +* Test for presence of channelData before accessing it. Thanks [@viveksyngh](https://github.com/viveksyngh) for the [pull request](https://github.com/howdyai/botkit/pull/2010) + +* Update dependencies to Botkit 4.10, Bot Framework 4.10 + + + # 1.0.8 * Update dependencies to Botkit 4.9, Bot Framework 4.9 diff --git a/packages/botbuilder-adapter-webex/package.json b/packages/botbuilder-adapter-webex/package.json index 66200a0e2..a7227677f 100644 --- a/packages/botbuilder-adapter-webex/package.json +++ b/packages/botbuilder-adapter-webex/package.json @@ -1,6 +1,6 @@ { "name": "botbuilder-adapter-webex", - "version": "1.0.8", + "version": "1.0.9", "description": "Connect Botkit or BotBuilder to Webex Teams", "main": "./lib/index.js", "typings": "./lib/index.d.ts", @@ -33,17 +33,17 @@ "url": "https://github.com/howdyai/botkit.git" }, "dependencies": { - "botbuilder": "^4.9.0", - "botkit": "^4.9.0", + "botbuilder": "^4.10.1", + "botkit": "^4.10.0", "debug": "^4.1.0", "url": "^0.11.0", "webex": "^1.80.148" }, "devDependencies": { - "eslint": "^6.8.0", - "eslint-config-standard": "^14.1.0", + "eslint": "^7.7.0", + "eslint-config-standard": "^14.1.1", "eslint-plugin-import": "^2.20.0", - "eslint-plugin-node": "^11.0.0", + "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.1" } diff --git a/packages/botbuilder-adapter-webex/src/botworker.ts b/packages/botbuilder-adapter-webex/src/botworker.ts index 90c00c1c6..47c3edc58 100644 --- a/packages/botbuilder-adapter-webex/src/botworker.ts +++ b/packages/botbuilder-adapter-webex/src/botworker.ts @@ -82,7 +82,7 @@ export class WebexBotWorker extends BotWorker { channelId: 'webex' }); } - + /** * Switch a bot's context into a specific thread within a room. * After calling this method, messages sent with `bot.say` and any dialogs started with `bot.beginDialog` will occur in this new context. @@ -137,7 +137,7 @@ export class WebexBotWorker extends BotWorker { */ public async replyInThread(src: any, resp: any): Promise { // set parentId to src.id - resp.parentId = src.parentId ? src.parentId : src.id; + resp.parentId = src.parentId ? src.parentId : src.id; return this.reply(src, resp); } diff --git a/packages/botbuilder-adapter-webex/src/webex_adapter.ts b/packages/botbuilder-adapter-webex/src/webex_adapter.ts index 70da91a01..4e038f86b 100644 --- a/packages/botbuilder-adapter-webex/src/webex_adapter.ts +++ b/packages/botbuilder-adapter-webex/src/webex_adapter.ts @@ -393,7 +393,7 @@ export class WebexAdapter extends BotAdapter { } else if (activity.channelData && activity.channelData.attachments) { message.attachments = activity.channelData.attachments; } - + // @ts-ignore ignore this webex specific field if (activity.conversation && activity.conversation.parentId) { // @ts-ignore ignore this webex specific field @@ -401,7 +401,7 @@ export class WebexAdapter extends BotAdapter { } else if (activity.channelData && activity.channelData.parentId) { message.parentId = activity.channelData.parentId; } - + const response = await this._api.messages.create(message); responses.push(response); diff --git a/packages/botkit-plugin-cms/package.json b/packages/botkit-plugin-cms/package.json index 8885d6e14..ded44259b 100644 --- a/packages/botkit-plugin-cms/package.json +++ b/packages/botkit-plugin-cms/package.json @@ -34,10 +34,10 @@ "devDependencies": { "@types/express": "^4.17.2", "@types/node": "^10.17.5", - "eslint": "^6.8.0", - "eslint-config-standard": "^14.1.0", + "eslint": "^7.7.0", + "eslint-config-standard": "^14.1.1", "eslint-plugin-import": "^2.20.0", - "eslint-plugin-node": "^11.0.0", + "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.1" } diff --git a/packages/botkit/package.json b/packages/botkit/package.json index 4f8958a5a..efb4e0c1a 100644 --- a/packages/botkit/package.json +++ b/packages/botkit/package.json @@ -1,6 +1,6 @@ { "name": "botkit", - "version": "4.9.0", + "version": "4.10.0", "description": "Building Blocks for Building Bots", "main": "lib/index.js", "typings": "./lib/index.d.ts", @@ -32,25 +32,24 @@ }, "dependencies": { "body-parser": "^1.19.0", - "botbuilder": "^4.9.0", - "botbuilder-core": "^4.9.0", - "botbuilder-dialogs": "^4.9.0", - "botframework-connector": "^4.9.0", + "botbuilder": "^4.10.1", + "botbuilder-core": "^4.10.1", + "botbuilder-dialogs": "^4.10.1", + "botframework-connector": "^4.10.1", "debug": "^4.1.0", "express": "^4.17.1", "mustache": "^4.0.1", "path": "^0.12.7", - "request": "^2.88.0", "ware": "^1.3.0" }, "devDependencies": { "@types/debug": "^4.1.5", "@types/express": "^4.17.2", "@types/node": "^10.17.5", - "eslint": "^6.8.0", - "eslint-config-standard": "^14.1.0", + "eslint": "^7.7.0", + "eslint-config-standard": "^14.1.1", "eslint-plugin-import": "^2.20.0", - "eslint-plugin-node": "^11.0.0", + "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-standard": "^4.0.1" } diff --git a/packages/botkit/src/adapter.ts b/packages/botkit/src/adapter.ts index 2dd81ec35..9a8bc149e 100644 --- a/packages/botkit/src/adapter.ts +++ b/packages/botkit/src/adapter.ts @@ -5,9 +5,9 @@ * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ -import { BotFrameworkAdapter, TurnContext } from 'botbuilder'; +import { BotFrameworkAdapter, TurnContext, TeamsInfo, ChannelInfo } from 'botbuilder'; import { ConnectorClient, TokenApiClient } from 'botframework-connector'; -import * as request from 'request'; +import { TeamsBotWorker } from './teamsHelpers'; import * as os from 'os'; const pjson: any = require('../package.json'); // eslint-disable-line @typescript-eslint/no-var-requires @@ -27,19 +27,7 @@ const USER_AGENT: string = `Microsoft-BotFramework/3.1 Botkit/${ pjson.version } * * Adds middleware for adjusting location of tenant id field (MS Teams) */ export class BotkitBotFrameworkAdapter extends BotFrameworkAdapter { - public constructor(options) { - super(options); - - // Fix a (temporary) issue with transitional location of MS Teams tenantId - // this fix should already be present in botbuilder 4.4 - // when/if that happens, this can be removed. - this.use(async (context, next) => { - if (!context.activity.conversation.tenantId && context.activity.channelData && context.activity.channelData.tenant) { - context.activity.conversation.tenantId = context.activity.channelData.tenant.id; - } - await next(); - }); - } + public botkit_worker = TeamsBotWorker; /** * Allows for mocking of the connector client in unit tests. @@ -69,27 +57,10 @@ export class BotkitBotFrameworkAdapter extends BotFrameworkAdapter { * @param context A TurnContext object representing a message or event from a user in Teams * @returns an array of channels in the format [{name: string, id: string}] */ - public async getChannels(context: TurnContext): Promise<{id: string; name: string}[]> { + public async getChannels(context: TurnContext): Promise { if (context.activity.channelData && context.activity.channelData.team) { - const token = await this.credentials.getToken(true); - - const uri = context.activity.serviceUrl + 'v3/teams/' + context.activity.channelData.team.id + '/conversations/'; - return new Promise((resolve, reject) => { - request({ - method: 'GET', - headers: { - Authorization: 'Bearer ' + token - }, - json: true, - uri: uri - }, async function(err, res, json) { - if (err) { - reject(err); - } else { - resolve(json.conversations ? json.conversations.map((c) => { if (!c.name) { c.name = 'General'; } return c; }) : []); - } - }); - }); + const channels = await TeamsInfo.getTeamChannels(context); + return channels ? channels.map((c) => { if (!c.name) { c.name = 'General'; } return c; }) : []; } else { console.error('getChannels cannot be called from unknown team'); return []; diff --git a/packages/botkit/src/conversation.ts b/packages/botkit/src/conversation.ts index 4fd2e70e9..c3b5eb914 100644 --- a/packages/botkit/src/conversation.ts +++ b/packages/botkit/src/conversation.ts @@ -693,7 +693,6 @@ export class BotkitConversation extends Dialog { } if (line.action) { - const res = await this.handleAction(line, dc, step); if (res !== false) { return res; @@ -859,7 +858,7 @@ export class BotkitConversation extends Dialog { // copy all the values in channelData fields if (line.channelData && Object.keys(line.channelData).length > 0) { const channelDataParsed = this.parseTemplatesRecursive(JSON.parse(JSON.stringify(line.channelData)), vars); - + outgoing.channelData = { ...outgoing.channelData, ...channelDataParsed diff --git a/packages/botkit/src/core.ts b/packages/botkit/src/core.ts index 23bffcb89..07113ffe0 100644 --- a/packages/botkit/src/core.ts +++ b/packages/botkit/src/core.ts @@ -1090,7 +1090,7 @@ export class Botkit { } let worker: BotWorker = null; - const adapter = custom_adapter || (config && config.context && config.context.adapter) ? config.context.adapter : this.adapter; + const adapter = custom_adapter || ((config && config.context && config.context.adapter) ? config.context.adapter : this.adapter); if (adapter.botkit_worker) { const CustomBotWorker = adapter.botkit_worker; diff --git a/packages/botkit/src/index.ts b/packages/botkit/src/index.ts index c99f5b900..bd9ec77c3 100644 --- a/packages/botkit/src/index.ts +++ b/packages/botkit/src/index.ts @@ -10,4 +10,5 @@ export * from './core'; export * from './conversation'; export * from './botworker'; export * from './dialogWrapper'; +export * from './teamsHelpers'; export * from './testClient'; diff --git a/packages/botkit/src/teamsHelpers.ts b/packages/botkit/src/teamsHelpers.ts new file mode 100644 index 000000000..c95fca041 --- /dev/null +++ b/packages/botkit/src/teamsHelpers.ts @@ -0,0 +1,104 @@ +/** + * @module botkit + */ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. + */ +import { BotkitMessage } from './core'; +import { BotWorker } from './botworker'; +import { TeamsInfo, MiddlewareSet, TurnContext } from 'botbuilder'; + +/** + * This is a specialized version of [Botkit's core BotWorker class](core.md#BotWorker) that includes additional methods for interacting with Microsoft Teams. + * It includes all functionality from the base class, as well as the extension methods below. + * This BotWorker is used with the built-in Bot Framework adapter. + * @noInheritDoc + */ +export class TeamsBotWorker extends BotWorker { + /** + * Grants access to the TeamsInfo helper class + * See: https://docs.microsoft.com/en-us/javascript/api/botbuilder/teamsinfo?view=botbuilder-ts-latest + */ + public teams: TeamsInfo = TeamsInfo; + + /** + * Reply to a Teams task module task/fetch or task/submit with a task module response. + * See https://docs.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/task-modules/task-modules-bots + * @param message + * @param taskInfo an object in the form {type, value} + */ + public async replyWithTaskInfo(message: BotkitMessage, taskInfo: any): Promise { + if (!taskInfo || taskInfo === {}) { + // send a null response back + taskInfo = { + type: 'message', + value: '' + }; + } + return new Promise((resolve, reject) => { + this.controller.middleware.send.run(this, taskInfo, async (err, bot, taskInfo) => { + if (err) { + return reject(err); + } + resolve(await this.getConfig('context').sendActivity({ + type: 'invokeResponse', + value: { + status: 200, + body: { + task: taskInfo + } + } + })); + }); + }); + } +} + +/** + * When used, causes Botkit to emit special events for teams "invokes" + * Based on https://github.com/microsoft/botbuilder-js/blob/master/libraries/botbuilder/src/teamsActivityHandler.ts + * This allows Botkit bots to respond directly to task/fetch or task/submit events, as an example. + * To use this, bind it to the adapter before creating the Botkit controller: + * ```javascript + * const Botkit = new Botkit({...}); + * botkit.adapter.use(new TeamsInvokeMiddleware()); + * + * // can bind directly to task/fetch, task/submit and other invoke types used by teams + * controller.on('task/fetch', async(bot, message) => { + * await bot.replyWithTaskInfo(message, taskInfo); + * }); + * ``` + */ +export class TeamsInvokeMiddleware extends MiddlewareSet { + /** + * Not for direct use - implements the MiddlewareSet's required onTurn function used to process the event + * @param context + * @param next + */ + public async onTurn(context: TurnContext, next: () => Promise): Promise { + if (context.activity.type === 'invoke') { + if (!context.activity.name && context.activity.channelId === 'msteams') { + context.activity.channelData.botkitEventType = 'cardAction'; + } else { + switch (context.activity.name) { + case 'fileConsent/invoke': + case 'actionableMessage/executeAction': + case 'composeExtension/queryLink': + case 'composeExtension/query': + case 'composeExtension/selectItem': + case 'composeExtension/submitAction': + case 'composeExtension/fetchTask': + case 'composeExtension/querySettingUrl': + case 'composeExtension/setting': + case 'composeExtension/onCardButtonClicked': + case 'task/fetch': + case 'task/submit': + context.activity.channelData.botkitEventType = context.activity.name; + break; + } + } + } + await next(); + } +} diff --git a/packages/botkit/tests/Core.tests.js b/packages/botkit/tests/Core.tests.js index 8b063df55..bccef07c0 100644 --- a/packages/botkit/tests/Core.tests.js +++ b/packages/botkit/tests/Core.tests.js @@ -1,8 +1,36 @@ const assert = require('assert'); -const { Botkit } = require('../'); +const { Botkit, TeamsBotWorker } = require('../'); +const { TwilioAdapter, TwilioBotWorker } = require('../../botbuilder-adapter-twilio-sms'); describe('Botkit', function() { it('should create a Botkit controller', function() { assert((new Botkit({ disable_console: true, disable_webserver: true }) instanceof Botkit), 'Botkit is wrong type'); }); + it ('should spawn appropriate bot worker with a single adapter', async function() { + const controller = new Botkit({ + disable_webserver: true, + adapter: new TwilioAdapter({enable_incomplete: true}), + }); + + const bot = await controller.spawn({}); + assert((bot instanceof TwilioBotWorker), 'Bot worker is wrong type'); + + + }); + it ('should spawn appropriate bot worker with a multiple adapter', async function() { + + const controller = new Botkit({ + disable_webserver: true, + }); + + const anotherAdapter = new TwilioAdapter({enable_incomplete: true}); + + const bot = await controller.spawn({}); + assert((bot instanceof TeamsBotWorker), 'Default Bot worker is wrong type'); + + const tbot = await controller.spawn({}, anotherAdapter); + assert((tbot instanceof TwilioBotWorker), 'Secondary Bot worker is wrong type'); + + }); + }); diff --git a/packages/botkit/tests/CustomAdapter.tests.js b/packages/botkit/tests/CustomAdapter.tests.js new file mode 100644 index 000000000..fe3edc05c --- /dev/null +++ b/packages/botkit/tests/CustomAdapter.tests.js @@ -0,0 +1,67 @@ +const { Botkit, BotkitConversation, BotkitTestClient, BotWorker } = require('..'); +const { TestAdapter, AutoSaveStateMiddleware } = require('botbuilder'); +const assert = require('assert'); + +class FakeBotWorker extends BotWorker { + constructor(controller, config) { + super(controller, config); + } + + getUser() { + return { + id: 123, + name: 'Roger' + }; + }; +} + +class FakeAdapter extends TestAdapter { + // Enables overriding the type of the BotWorker + // (this uses a Botkit features that allows setting a worker type) + botkit_worker = FakeBotWorker; +} + +class CustomTestClient extends BotkitTestClient { + constructor(channelId, bot, dialogToTest) { + super(channelId, bot, dialogToTest); + this._testAdapter = new FakeAdapter(this._callback, { channelId: channelId }).use(new AutoSaveStateMiddleware(this.conversationState)); + } +} + +function createDialog(controller) { + const dialog = new BotkitConversation('try_custom_worker', controller); + + dialog.ask('How you like me now?', async (response, convo, bot) => { + const botUser = bot.getUser(); + return bot.say(`You are: ${ botUser.name }`); + }, 'question'); + + return dialog; +} + +describe('Test something with custom worker', () => { + let botkit; + let client; + let testAdapter; + + it('bot can access user identity through custom bot worker', async () => { + testAdapter = new FakeAdapter({}); + botkit = new Botkit({ + disable_webserver: true, + disable_console: true, + adapter: testAdapter + }); + botkit.addDialog(createDialog(botkit)); + client = new CustomTestClient('test', botkit, ['try_custom_worker']); + + // Test the dialog through the client + let message = await client.sendActivity(''); + assert(message.text === 'How you like me now?'); + message = await client.sendActivity('nice!'); + assert(message.text === 'You are: Roger','Custom adapter spawning invalid bot'); + }); + + afterEach(async () => { + await botkit.shutdown(); + }); +}); diff --git a/packages/docs/core.md b/packages/docs/core.md index 79af94aed..d9e5f3916 100644 --- a/packages/docs/core.md +++ b/packages/docs/core.md @@ -33,6 +33,7 @@ The Botkit project includes several official adapters. Using these plugins, your * [Google Hangouts](platforms/hangouts.md) * [Facebook Messenger](platforms/facebook.md) * [Twilio SMS](platforms/twilio-sms.md) +* [Microsoft Teams](#ms-teams-extensions) In addition, the open source community has created a variety of plugins and extensions to Bot Framework. Check out the [Bot Builder Community Repo](https://github.com/BotBuilderCommunity/botbuilder-community-js) for additional adapters, storage connectors and middlewares. @@ -541,6 +542,45 @@ const controller = new Botkit({ }); ``` +## MS Teams Extensions + +Several helper extensions are included for using Botkit with Microsoft Teams. Connecting to Teams does not require a customized adapter - Botkit's default adapter does the job. However, to ease the use of advanced features in Teams, Botkit includes several extensions. + +* The [TeamsInvokeMiddleware](reference/core.md#teamsinvokemiddleware) is an optional adapter middleware which will cause Botkit to emit specially named events related to Teams "invoke" events. With this middleware enabled, Botkit will emit "task/fetch" and "task/submit" events, rather than plain "invoke" events. +* The BotWorker returned by this adapter includes `bot.teams`, which is an instance of the TeamsInfo helper. Using this, bots can access additional information about Teams. [See Docs](https://docs.microsoft.com/en-us/javascript/api/botbuilder/teamsinfo?view=botbuilder-ts-latest). +* The BotWorker also includes a helper method, `bot.replyWithTaskInfo()` that can be used to respond to Task Module related events. [See Docs](reference/core.md#replywithtaskinfo) + +Set up adapter with middleware: + +```javascript +const controller = new Botkit({ + webhook_uri: '/api/messages', + adapterConfig: { + appId: process.env.appId, + appPassword: process.env.appPassword + } +}); +controller.adapter.use(new TeamsInvokeMiddleware()); +``` + +Access Teams specific APIs: +```javascript +controller.hears('getTeamDetails', 'message', async(bot, message) => { + try { + await bot.reply(message, JSON.stringify(await bot.teams.getTeamDetails(bot.getConfig('context')))); + } catch(err) { + await bot.reply(message, err.message); + } +}); +``` + +Respond to Task Modules: +```javascript +controller.on('task/fetch', async(bot, message) => { + await bot.replyWithTaskInfo(message, {type: 'continue', value: { ... }}); +}); +``` + ## Building & Using Plugins Botkit includes a plugin loader that allows external packages to plugin to and modify the Botkit application. diff --git a/packages/docs/index.json b/packages/docs/index.json index 2a6d40e9a..8968afc11 100644 --- a/packages/docs/index.json +++ b/packages/docs/index.json @@ -6,7 +6,7 @@ "path": "reference/core.md", "classes": [ { - "id": 126, + "id": 185, "name": "Botkit", "kind": 128, "kindString": "Class", @@ -19,7 +19,7 @@ }, "children": [ { - "id": 140, + "id": 199, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -34,7 +34,7 @@ }, "signatures": [ { - "id": 141, + "id": 200, "name": "new Botkit", "kind": 16384, "kindString": "Constructor signature", @@ -47,7 +47,7 @@ }, "parameters": [ { - "id": 142, + "id": 201, "name": "config", "kind": 32768, "kindString": "Parameter", @@ -59,14 +59,14 @@ }, "type": { "type": "reference", - "id": 80, + "id": 137, "name": "BotkitConfiguration" } } ], "type": { "type": "reference", - "id": 126, + "id": 185, "name": "Botkit" } } @@ -74,13 +74,13 @@ "sources": [ { "fileName": "core.ts", - "line": 299, + "line": 310, "character": 28 } ] }, { - "id": 139, + "id": 198, "name": "PATH", "kind": 1024, "kindString": "Property", @@ -95,7 +95,7 @@ "sources": [ { "fileName": "core.ts", - "line": 294, + "line": 305, "character": 15 } ], @@ -105,7 +105,7 @@ } }, { - "id": 137, + "id": 196, "name": "adapter", "kind": 1024, "kindString": "Property", @@ -120,7 +120,7 @@ "sources": [ { "fileName": "core.ts", - "line": 284, + "line": 295, "character": 18 } ], @@ -130,7 +130,7 @@ } }, { - "id": 138, + "id": 197, "name": "dialogSet", "kind": 1024, "kindString": "Property", @@ -145,7 +145,7 @@ "sources": [ { "fileName": "core.ts", - "line": 289, + "line": 300, "character": 20 } ], @@ -155,7 +155,7 @@ } }, { - "id": 136, + "id": 195, "name": "http", "kind": 1024, "kindString": "Property", @@ -170,7 +170,7 @@ "sources": [ { "fileName": "core.ts", - "line": 279, + "line": 290, "character": 15 } ], @@ -180,7 +180,7 @@ } }, { - "id": 134, + "id": 193, "name": "storage", "kind": 1024, "kindString": "Property", @@ -195,7 +195,7 @@ "sources": [ { "fileName": "core.ts", - "line": 269, + "line": 280, "character": 18 } ], @@ -205,7 +205,7 @@ } }, { - "id": 127, + "id": 186, "name": "version", "kind": 1024, "kindString": "Property", @@ -220,7 +220,7 @@ "sources": [ { "fileName": "core.ts", - "line": 229, + "line": 240, "character": 18 } ], @@ -231,7 +231,7 @@ "defaultValue": "require('../package.json').version" }, { - "id": 135, + "id": 194, "name": "webserver", "kind": 1024, "kindString": "Property", @@ -246,7 +246,7 @@ "sources": [ { "fileName": "core.ts", - "line": 274, + "line": 285, "character": 20 } ], @@ -256,7 +256,7 @@ } }, { - "id": 158, + "id": 217, "name": "plugins", "kind": 262144, "kindString": "Accessor", @@ -270,7 +270,7 @@ }, "getSignature": [ { - "id": 159, + "id": 218, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -283,7 +283,7 @@ "type": { "type": "reflection", "declaration": { - "id": 160, + "id": 219, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -292,7 +292,7 @@ }, "indexSignature": [ { - "id": 161, + "id": 220, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -301,7 +301,7 @@ }, "parameters": [ { - "id": 162, + "id": 221, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -323,7 +323,7 @@ "sources": [ { "fileName": "core.ts", - "line": 559, + "line": 572, "character": 25 } ] @@ -334,13 +334,13 @@ "sources": [ { "fileName": "core.ts", - "line": 559, + "line": 572, "character": 22 } ] }, { - "id": 170, + "id": 229, "name": "addDep", "kind": 2048, "kindString": "Method", @@ -351,7 +351,7 @@ }, "signatures": [ { - "id": 171, + "id": 230, "name": "addDep", "kind": 4096, "kindString": "Call signature", @@ -364,7 +364,7 @@ }, "parameters": [ { - "id": 172, + "id": 231, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -389,13 +389,13 @@ "sources": [ { "fileName": "core.ts", - "line": 610, + "line": 623, "character": 17 } ] }, { - "id": 229, + "id": 288, "name": "addDialog", "kind": 2048, "kindString": "Method", @@ -406,7 +406,7 @@ }, "signatures": [ { - "id": 230, + "id": 289, "name": "addDialog", "kind": 4096, "kindString": "Call signature", @@ -419,7 +419,7 @@ }, "parameters": [ { - "id": 231, + "id": 290, "name": "dialog", "kind": 32768, "kindString": "Parameter", @@ -444,13 +444,13 @@ "sources": [ { "fileName": "core.ts", - "line": 1161, + "line": 1178, "character": 20 } ] }, { - "id": 154, + "id": 213, "name": "addPluginExtension", "kind": 2048, "kindString": "Method", @@ -461,7 +461,7 @@ }, "signatures": [ { - "id": 155, + "id": 214, "name": "addPluginExtension", "kind": 4096, "kindString": "Call signature", @@ -474,7 +474,7 @@ }, "parameters": [ { - "id": 156, + "id": 215, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -490,7 +490,7 @@ } }, { - "id": 157, + "id": 216, "name": "extension", "kind": 32768, "kindString": "Parameter", @@ -515,13 +515,13 @@ "sources": [ { "fileName": "core.ts", - "line": 549, + "line": 562, "character": 29 } ] }, { - "id": 232, + "id": 291, "name": "afterDialog", "kind": 2048, "kindString": "Method", @@ -532,7 +532,7 @@ }, "signatures": [ { - "id": 233, + "id": 292, "name": "afterDialog", "kind": 4096, "kindString": "Call signature", @@ -545,7 +545,7 @@ }, "parameters": [ { - "id": 234, + "id": 293, "name": "dialog", "kind": 32768, "kindString": "Parameter", @@ -570,7 +570,7 @@ } }, { - "id": 235, + "id": 294, "name": "handler", "kind": 32768, "kindString": "Parameter", @@ -582,7 +582,7 @@ }, "type": { "type": "reference", - "id": 103, + "id": 162, "name": "BotkitHandler" } } @@ -596,13 +596,13 @@ "sources": [ { "fileName": "core.ts", - "line": 1188, + "line": 1205, "character": 22 } ] }, { - "id": 173, + "id": 232, "name": "completeDep", "kind": 2048, "kindString": "Method", @@ -613,7 +613,7 @@ }, "signatures": [ { - "id": 174, + "id": 233, "name": "completeDep", "kind": 4096, "kindString": "Call signature", @@ -625,7 +625,7 @@ }, "parameters": [ { - "id": 175, + "id": 234, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -650,13 +650,13 @@ "sources": [ { "fileName": "core.ts", - "line": 621, + "line": 634, "character": 22 } ] }, { - "id": 145, + "id": 204, "name": "getConfig", "kind": 2048, "kindString": "Method", @@ -667,7 +667,7 @@ }, "signatures": [ { - "id": 146, + "id": 205, "name": "getConfig", "kind": 4096, "kindString": "Call signature", @@ -681,7 +681,7 @@ }, "parameters": [ { - "id": 147, + "id": 206, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -707,13 +707,13 @@ "sources": [ { "fileName": "core.ts", - "line": 464, + "line": 477, "character": 20 } ] }, { - "id": 167, + "id": 226, "name": "getLocalView", "kind": 2048, "kindString": "Method", @@ -724,7 +724,7 @@ }, "signatures": [ { - "id": 168, + "id": 227, "name": "getLocalView", "kind": 4096, "kindString": "Call signature", @@ -736,7 +736,7 @@ }, "parameters": [ { - "id": 169, + "id": 228, "name": "path_to_view", "kind": 32768, "kindString": "Parameter", @@ -761,13 +761,13 @@ "sources": [ { "fileName": "core.ts", - "line": 588, + "line": 601, "character": 23 } ] }, { - "id": 181, + "id": 240, "name": "handleTurn", "kind": 2048, "kindString": "Method", @@ -778,7 +778,7 @@ }, "signatures": [ { - "id": 182, + "id": 241, "name": "handleTurn", "kind": 4096, "kindString": "Call signature", @@ -790,7 +790,7 @@ }, "parameters": [ { - "id": 183, + "id": 242, "name": "turnContext", "kind": 32768, "kindString": "Parameter", @@ -821,13 +821,13 @@ "sources": [ { "fileName": "core.ts", - "line": 698, + "line": 711, "character": 27 } ] }, { - "id": 187, + "id": 246, "name": "hears", "kind": 2048, "kindString": "Method", @@ -838,7 +838,7 @@ }, "signatures": [ { - "id": 188, + "id": 247, "name": "hears", "kind": 4096, "kindString": "Call signature", @@ -851,7 +851,7 @@ }, "parameters": [ { - "id": 189, + "id": 248, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -880,7 +880,7 @@ { "type": "reflection", "declaration": { - "id": 190, + "id": 249, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -889,7 +889,7 @@ }, "signatures": [ { - "id": 191, + "id": 250, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -898,7 +898,7 @@ }, "parameters": [ { - "id": 192, + "id": 251, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -907,7 +907,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } } @@ -940,7 +940,7 @@ { "type": "reflection", "declaration": { - "id": 193, + "id": 252, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -949,7 +949,7 @@ }, "signatures": [ { - "id": 194, + "id": 253, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -958,7 +958,7 @@ }, "parameters": [ { - "id": 195, + "id": 254, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -967,7 +967,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } } @@ -987,7 +987,7 @@ "sources": [ { "fileName": "core.ts", - "line": 899, + "line": 912, "character": 115 } ] @@ -997,7 +997,7 @@ } }, { - "id": 196, + "id": 255, "name": "events", "kind": 32768, "kindString": "Parameter", @@ -1025,7 +1025,7 @@ } }, { - "id": 197, + "id": 256, "name": "handler", "kind": 32768, "kindString": "Parameter", @@ -1037,7 +1037,7 @@ }, "type": { "type": "reference", - "id": 103, + "id": 162, "name": "BotkitHandler" } } @@ -1051,13 +1051,13 @@ "sources": [ { "fileName": "core.ts", - "line": 899, + "line": 912, "character": 16 } ] }, { - "id": 198, + "id": 257, "name": "interrupts", "kind": 2048, "kindString": "Method", @@ -1068,7 +1068,7 @@ }, "signatures": [ { - "id": 199, + "id": 258, "name": "interrupts", "kind": 4096, "kindString": "Call signature", @@ -1081,7 +1081,7 @@ }, "parameters": [ { - "id": 200, + "id": 259, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -1110,7 +1110,7 @@ { "type": "reflection", "declaration": { - "id": 201, + "id": 260, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1119,7 +1119,7 @@ }, "signatures": [ { - "id": 202, + "id": 261, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -1128,7 +1128,7 @@ }, "parameters": [ { - "id": 203, + "id": 262, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1137,7 +1137,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } } @@ -1177,7 +1177,7 @@ { "type": "reflection", "declaration": { - "id": 204, + "id": 263, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1186,7 +1186,7 @@ }, "signatures": [ { - "id": 205, + "id": 264, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -1195,7 +1195,7 @@ }, "parameters": [ { - "id": 206, + "id": 265, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1204,7 +1204,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } } @@ -1224,7 +1224,7 @@ "sources": [ { "fileName": "core.ts", - "line": 954, + "line": 967, "character": 131 } ] @@ -1234,7 +1234,7 @@ } }, { - "id": 207, + "id": 266, "name": "events", "kind": 32768, "kindString": "Parameter", @@ -1262,7 +1262,7 @@ } }, { - "id": 208, + "id": 267, "name": "handler", "kind": 32768, "kindString": "Parameter", @@ -1274,7 +1274,7 @@ }, "type": { "type": "reference", - "id": 103, + "id": 162, "name": "BotkitHandler" } } @@ -1288,13 +1288,13 @@ "sources": [ { "fileName": "core.ts", - "line": 954, + "line": 967, "character": 21 } ] }, { - "id": 222, + "id": 281, "name": "loadModule", "kind": 2048, "kindString": "Method", @@ -1305,7 +1305,7 @@ }, "signatures": [ { - "id": 223, + "id": 282, "name": "loadModule", "kind": 4096, "kindString": "Call signature", @@ -1317,7 +1317,7 @@ }, "parameters": [ { - "id": 224, + "id": 283, "name": "p", "kind": 32768, "kindString": "Parameter", @@ -1342,13 +1342,13 @@ "sources": [ { "fileName": "core.ts", - "line": 1104, + "line": 1121, "character": 21 } ] }, { - "id": 225, + "id": 284, "name": "loadModules", "kind": 2048, "kindString": "Method", @@ -1359,7 +1359,7 @@ }, "signatures": [ { - "id": 226, + "id": 285, "name": "loadModules", "kind": 4096, "kindString": "Call signature", @@ -1372,7 +1372,7 @@ }, "parameters": [ { - "id": 227, + "id": 286, "name": "p", "kind": 32768, "kindString": "Parameter", @@ -1388,7 +1388,7 @@ } }, { - "id": 228, + "id": 287, "name": "exts", "kind": 32768, "kindString": "Parameter", @@ -1417,13 +1417,13 @@ "sources": [ { "fileName": "core.ts", - "line": 1133, + "line": 1150, "character": 22 } ] }, { - "id": 209, + "id": 268, "name": "on", "kind": 2048, "kindString": "Method", @@ -1434,7 +1434,7 @@ }, "signatures": [ { - "id": 210, + "id": 269, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -1447,7 +1447,7 @@ }, "parameters": [ { - "id": 211, + "id": 270, "name": "events", "kind": 32768, "kindString": "Parameter", @@ -1475,7 +1475,7 @@ } }, { - "id": 212, + "id": 271, "name": "handler", "kind": 32768, "kindString": "Parameter", @@ -1487,7 +1487,7 @@ }, "type": { "type": "reference", - "id": 103, + "id": 162, "name": "BotkitHandler" } } @@ -1501,13 +1501,13 @@ "sources": [ { "fileName": "core.ts", - "line": 1006, + "line": 1019, "character": 13 } ] }, { - "id": 163, + "id": 222, "name": "publicFolder", "kind": 2048, "kindString": "Method", @@ -1518,7 +1518,7 @@ }, "signatures": [ { - "id": 164, + "id": 223, "name": "publicFolder", "kind": 4096, "kindString": "Call signature", @@ -1531,7 +1531,7 @@ }, "parameters": [ { - "id": 165, + "id": 224, "name": "alias", "kind": 32768, "kindString": "Parameter", @@ -1547,7 +1547,7 @@ } }, { - "id": 166, + "id": 225, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -1572,13 +1572,13 @@ "sources": [ { "fileName": "core.ts", - "line": 574, + "line": 587, "character": 23 } ] }, { - "id": 176, + "id": 235, "name": "ready", "kind": 2048, "kindString": "Method", @@ -1589,7 +1589,7 @@ }, "signatures": [ { - "id": 177, + "id": 236, "name": "ready", "kind": 4096, "kindString": "Call signature", @@ -1602,7 +1602,7 @@ }, "parameters": [ { - "id": 178, + "id": 237, "name": "handler", "kind": 32768, "kindString": "Parameter", @@ -1615,7 +1615,7 @@ "type": { "type": "reflection", "declaration": { - "id": 179, + "id": 238, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1624,7 +1624,7 @@ }, "signatures": [ { - "id": 180, + "id": 239, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -1640,7 +1640,7 @@ "sources": [ { "fileName": "core.ts", - "line": 663, + "line": 676, "character": 25 } ] @@ -1657,13 +1657,13 @@ "sources": [ { "fileName": "core.ts", - "line": 663, + "line": 676, "character": 16 } ] }, { - "id": 184, + "id": 243, "name": "saveState", "kind": 2048, "kindString": "Method", @@ -1674,7 +1674,7 @@ }, "signatures": [ { - "id": 185, + "id": 244, "name": "saveState", "kind": 4096, "kindString": "Call signature", @@ -1686,7 +1686,7 @@ }, "parameters": [ { - "id": 186, + "id": 245, "name": "bot", "kind": 32768, "kindString": "Parameter", @@ -1698,7 +1698,7 @@ }, "type": { "type": "reference", - "id": 25, + "id": 2, "name": "BotWorker" } } @@ -1718,13 +1718,13 @@ "sources": [ { "fileName": "core.ts", - "line": 770, + "line": 783, "character": 26 } ] }, { - "id": 143, + "id": 202, "name": "shutdown", "kind": 2048, "kindString": "Method", @@ -1735,7 +1735,7 @@ }, "signatures": [ { - "id": 144, + "id": 203, "name": "shutdown", "kind": 4096, "kindString": "Call signature", @@ -1761,13 +1761,13 @@ "sources": [ { "fileName": "core.ts", - "line": 440, + "line": 453, "character": 25 } ] }, { - "id": 218, + "id": 277, "name": "spawn", "kind": 2048, "kindString": "Method", @@ -1778,7 +1778,7 @@ }, "signatures": [ { - "id": 219, + "id": 278, "name": "spawn", "kind": 4096, "kindString": "Call signature", @@ -1790,7 +1790,7 @@ }, "parameters": [ { - "id": 220, + "id": 279, "name": "config", "kind": 32768, "kindString": "Parameter", @@ -1807,7 +1807,7 @@ } }, { - "id": 221, + "id": 280, "name": "custom_adapter", "kind": 32768, "kindString": "Parameter", @@ -1826,7 +1826,7 @@ "typeArguments": [ { "type": "reference", - "id": 25, + "id": 2, "name": "BotWorker" } ], @@ -1837,13 +1837,13 @@ "sources": [ { "fileName": "core.ts", - "line": 1062, + "line": 1075, "character": 22 } ] }, { - "id": 213, + "id": 272, "name": "trigger", "kind": 2048, "kindString": "Method", @@ -1854,7 +1854,7 @@ }, "signatures": [ { - "id": 214, + "id": 273, "name": "trigger", "kind": 4096, "kindString": "Call signature", @@ -1867,7 +1867,7 @@ }, "parameters": [ { - "id": 215, + "id": 274, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -1883,7 +1883,7 @@ } }, { - "id": 216, + "id": 275, "name": "bot", "kind": 32768, "kindString": "Parameter", @@ -1896,12 +1896,12 @@ }, "type": { "type": "reference", - "id": 25, + "id": 2, "name": "BotWorker" } }, { - "id": 217, + "id": 276, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -1914,7 +1914,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } } @@ -1934,13 +1934,13 @@ "sources": [ { "fileName": "core.ts", - "line": 1038, + "line": 1051, "character": 24 } ] }, { - "id": 148, + "id": 207, "name": "usePlugin", "kind": 2048, "kindString": "Method", @@ -1951,7 +1951,7 @@ }, "signatures": [ { - "id": 149, + "id": 208, "name": "usePlugin", "kind": 4096, "kindString": "Call signature", @@ -1963,7 +1963,7 @@ }, "parameters": [ { - "id": 150, + "id": 209, "name": "plugin_or_function", "kind": 32768, "kindString": "Parameter", @@ -1979,7 +1979,7 @@ { "type": "reflection", "declaration": { - "id": 151, + "id": 210, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -1988,7 +1988,7 @@ }, "signatures": [ { - "id": 152, + "id": 211, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -1997,7 +1997,7 @@ }, "parameters": [ { - "id": 153, + "id": 212, "name": "botkit", "kind": 32768, "kindString": "Parameter", @@ -2006,14 +2006,14 @@ }, "type": { "type": "reference", - "id": 126, + "id": 185, "name": "Botkit" } } ], "type": { "type": "reference", - "id": 114, + "id": 173, "name": "BotkitPlugin" } } @@ -2021,7 +2021,7 @@ "sources": [ { "fileName": "core.ts", - "line": 476, + "line": 489, "character": 40 } ] @@ -2029,7 +2029,7 @@ }, { "type": "reference", - "id": 114, + "id": 173, "name": "BotkitPlugin" } ] @@ -2045,13 +2045,13 @@ "sources": [ { "fileName": "core.ts", - "line": 476, + "line": 489, "character": 20 } ] }, { - "id": 128, + "id": 187, "name": "middleware", "kind": 2097152, "kindString": "Object literal", @@ -2066,7 +2066,7 @@ }, "children": [ { - "id": 130, + "id": 189, "name": "ingest", "kind": 32, "kindString": "Variable", @@ -2077,7 +2077,7 @@ "sources": [ { "fileName": "core.ts", - "line": 248, + "line": 259, "character": 14 } ], @@ -2088,7 +2088,7 @@ "defaultValue": "new Ware()" }, { - "id": 133, + "id": 192, "name": "interpret", "kind": 32, "kindString": "Variable", @@ -2099,7 +2099,7 @@ "sources": [ { "fileName": "core.ts", - "line": 251, + "line": 262, "character": 17 } ], @@ -2110,7 +2110,7 @@ "defaultValue": "new Ware()" }, { - "id": 132, + "id": 191, "name": "receive", "kind": 32, "kindString": "Variable", @@ -2121,7 +2121,7 @@ "sources": [ { "fileName": "core.ts", - "line": 250, + "line": 261, "character": 15 } ], @@ -2132,7 +2132,7 @@ "defaultValue": "new Ware()" }, { - "id": 131, + "id": 190, "name": "send", "kind": 32, "kindString": "Variable", @@ -2143,7 +2143,7 @@ "sources": [ { "fileName": "core.ts", - "line": 249, + "line": 260, "character": 12 } ], @@ -2154,7 +2154,7 @@ "defaultValue": "new Ware()" }, { - "id": 129, + "id": 188, "name": "spawn", "kind": 32, "kindString": "Variable", @@ -2165,7 +2165,7 @@ "sources": [ { "fileName": "core.ts", - "line": 247, + "line": 258, "character": 13 } ], @@ -2181,18 +2181,18 @@ "title": "Variables", "kind": 32, "children": [ - 130, - 133, - 132, - 131, - 129 + 189, + 192, + 191, + 190, + 188 ] } ], "sources": [ { "fileName": "core.ts", - "line": 246, + "line": 257, "character": 21 } ], @@ -2207,73 +2207,73 @@ "title": "Constructors", "kind": 512, "children": [ - 140 + 199 ] }, { "title": "Properties", "kind": 1024, "children": [ - 139, - 137, - 138, - 136, - 134, - 127, - 135 + 198, + 196, + 197, + 195, + 193, + 186, + 194 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 158 + 217 ] }, { "title": "Methods", "kind": 2048, "children": [ - 170, 229, - 154, + 288, + 213, + 291, 232, - 173, - 145, - 167, - 181, - 187, - 198, + 204, + 226, + 240, + 246, + 257, + 281, + 284, + 268, 222, - 225, - 209, - 163, - 176, - 184, - 143, - 218, - 213, - 148 + 235, + 243, + 202, + 277, + 272, + 207 ] }, { "title": "Object literals", "kind": 2097152, "children": [ - 128 + 187 ] } ], "sources": [ { "fileName": "core.ts", - "line": 176, + "line": 187, "character": 19 } ], "props": [ { - "id": 139, + "id": 198, "name": "PATH", "kind": 1024, "kindString": "Property", @@ -2288,7 +2288,7 @@ "sources": [ { "fileName": "core.ts", - "line": 294, + "line": 305, "character": 15 } ], @@ -2298,7 +2298,7 @@ } }, { - "id": 137, + "id": 196, "name": "adapter", "kind": 1024, "kindString": "Property", @@ -2313,7 +2313,7 @@ "sources": [ { "fileName": "core.ts", - "line": 284, + "line": 295, "character": 18 } ], @@ -2323,7 +2323,7 @@ } }, { - "id": 138, + "id": 197, "name": "dialogSet", "kind": 1024, "kindString": "Property", @@ -2338,7 +2338,7 @@ "sources": [ { "fileName": "core.ts", - "line": 289, + "line": 300, "character": 20 } ], @@ -2348,7 +2348,7 @@ } }, { - "id": 136, + "id": 195, "name": "http", "kind": 1024, "kindString": "Property", @@ -2363,7 +2363,7 @@ "sources": [ { "fileName": "core.ts", - "line": 279, + "line": 290, "character": 15 } ], @@ -2373,7 +2373,7 @@ } }, { - "id": 134, + "id": 193, "name": "storage", "kind": 1024, "kindString": "Property", @@ -2388,7 +2388,7 @@ "sources": [ { "fileName": "core.ts", - "line": 269, + "line": 280, "character": 18 } ], @@ -2398,7 +2398,7 @@ } }, { - "id": 127, + "id": 186, "name": "version", "kind": 1024, "kindString": "Property", @@ -2413,7 +2413,7 @@ "sources": [ { "fileName": "core.ts", - "line": 229, + "line": 240, "character": 18 } ], @@ -2424,7 +2424,7 @@ "defaultValue": "require('../package.json').version" }, { - "id": 135, + "id": 194, "name": "webserver", "kind": 1024, "kindString": "Property", @@ -2439,7 +2439,7 @@ "sources": [ { "fileName": "core.ts", - "line": 274, + "line": 285, "character": 20 } ], @@ -2449,7 +2449,7 @@ } }, { - "id": 158, + "id": 217, "name": "plugins", "kind": 262144, "kindString": "Accessor", @@ -2463,7 +2463,7 @@ }, "getSignature": [ { - "id": 159, + "id": 218, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -2476,7 +2476,7 @@ "type": { "type": "reflection", "declaration": { - "id": 160, + "id": 219, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -2485,7 +2485,7 @@ }, "indexSignature": [ { - "id": 161, + "id": 220, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -2494,7 +2494,7 @@ }, "parameters": [ { - "id": 162, + "id": 221, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -2516,7 +2516,7 @@ "sources": [ { "fileName": "core.ts", - "line": 559, + "line": 572, "character": 25 } ] @@ -2527,7 +2527,7 @@ "sources": [ { "fileName": "core.ts", - "line": 559, + "line": 572, "character": 22 } ] @@ -2535,7 +2535,7 @@ ], "methods": [ { - "id": 170, + "id": 229, "name": "addDep", "kind": 2048, "kindString": "Method", @@ -2546,7 +2546,7 @@ }, "signatures": [ { - "id": 171, + "id": 230, "name": "addDep", "kind": 4096, "kindString": "Call signature", @@ -2559,7 +2559,7 @@ }, "parameters": [ { - "id": 172, + "id": 231, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -2584,13 +2584,13 @@ "sources": [ { "fileName": "core.ts", - "line": 610, + "line": 623, "character": 17 } ] }, { - "id": 229, + "id": 288, "name": "addDialog", "kind": 2048, "kindString": "Method", @@ -2601,7 +2601,7 @@ }, "signatures": [ { - "id": 230, + "id": 289, "name": "addDialog", "kind": 4096, "kindString": "Call signature", @@ -2614,7 +2614,7 @@ }, "parameters": [ { - "id": 231, + "id": 290, "name": "dialog", "kind": 32768, "kindString": "Parameter", @@ -2639,13 +2639,13 @@ "sources": [ { "fileName": "core.ts", - "line": 1161, + "line": 1178, "character": 20 } ] }, { - "id": 154, + "id": 213, "name": "addPluginExtension", "kind": 2048, "kindString": "Method", @@ -2656,7 +2656,7 @@ }, "signatures": [ { - "id": 155, + "id": 214, "name": "addPluginExtension", "kind": 4096, "kindString": "Call signature", @@ -2669,7 +2669,7 @@ }, "parameters": [ { - "id": 156, + "id": 215, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -2685,7 +2685,7 @@ } }, { - "id": 157, + "id": 216, "name": "extension", "kind": 32768, "kindString": "Parameter", @@ -2710,13 +2710,13 @@ "sources": [ { "fileName": "core.ts", - "line": 549, + "line": 562, "character": 29 } ] }, { - "id": 232, + "id": 291, "name": "afterDialog", "kind": 2048, "kindString": "Method", @@ -2727,7 +2727,7 @@ }, "signatures": [ { - "id": 233, + "id": 292, "name": "afterDialog", "kind": 4096, "kindString": "Call signature", @@ -2740,7 +2740,7 @@ }, "parameters": [ { - "id": 234, + "id": 293, "name": "dialog", "kind": 32768, "kindString": "Parameter", @@ -2765,7 +2765,7 @@ } }, { - "id": 235, + "id": 294, "name": "handler", "kind": 32768, "kindString": "Parameter", @@ -2777,7 +2777,7 @@ }, "type": { "type": "reference", - "id": 103, + "id": 162, "name": "BotkitHandler" } } @@ -2791,13 +2791,13 @@ "sources": [ { "fileName": "core.ts", - "line": 1188, + "line": 1205, "character": 22 } ] }, { - "id": 173, + "id": 232, "name": "completeDep", "kind": 2048, "kindString": "Method", @@ -2808,7 +2808,7 @@ }, "signatures": [ { - "id": 174, + "id": 233, "name": "completeDep", "kind": 4096, "kindString": "Call signature", @@ -2820,7 +2820,7 @@ }, "parameters": [ { - "id": 175, + "id": 234, "name": "name", "kind": 32768, "kindString": "Parameter", @@ -2845,13 +2845,13 @@ "sources": [ { "fileName": "core.ts", - "line": 621, + "line": 634, "character": 22 } ] }, { - "id": 145, + "id": 204, "name": "getConfig", "kind": 2048, "kindString": "Method", @@ -2862,7 +2862,7 @@ }, "signatures": [ { - "id": 146, + "id": 205, "name": "getConfig", "kind": 4096, "kindString": "Call signature", @@ -2876,7 +2876,7 @@ }, "parameters": [ { - "id": 147, + "id": 206, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -2902,13 +2902,13 @@ "sources": [ { "fileName": "core.ts", - "line": 464, + "line": 477, "character": 20 } ] }, { - "id": 167, + "id": 226, "name": "getLocalView", "kind": 2048, "kindString": "Method", @@ -2919,7 +2919,7 @@ }, "signatures": [ { - "id": 168, + "id": 227, "name": "getLocalView", "kind": 4096, "kindString": "Call signature", @@ -2931,7 +2931,7 @@ }, "parameters": [ { - "id": 169, + "id": 228, "name": "path_to_view", "kind": 32768, "kindString": "Parameter", @@ -2956,13 +2956,13 @@ "sources": [ { "fileName": "core.ts", - "line": 588, + "line": 601, "character": 23 } ] }, { - "id": 181, + "id": 240, "name": "handleTurn", "kind": 2048, "kindString": "Method", @@ -2973,7 +2973,7 @@ }, "signatures": [ { - "id": 182, + "id": 241, "name": "handleTurn", "kind": 4096, "kindString": "Call signature", @@ -2985,7 +2985,7 @@ }, "parameters": [ { - "id": 183, + "id": 242, "name": "turnContext", "kind": 32768, "kindString": "Parameter", @@ -3016,13 +3016,13 @@ "sources": [ { "fileName": "core.ts", - "line": 698, + "line": 711, "character": 27 } ] }, { - "id": 187, + "id": 246, "name": "hears", "kind": 2048, "kindString": "Method", @@ -3033,7 +3033,7 @@ }, "signatures": [ { - "id": 188, + "id": 247, "name": "hears", "kind": 4096, "kindString": "Call signature", @@ -3046,7 +3046,7 @@ }, "parameters": [ { - "id": 189, + "id": 248, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -3075,7 +3075,7 @@ { "type": "reflection", "declaration": { - "id": 190, + "id": 249, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3084,7 +3084,7 @@ }, "signatures": [ { - "id": 191, + "id": 250, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -3093,7 +3093,7 @@ }, "parameters": [ { - "id": 192, + "id": 251, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -3102,7 +3102,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } } @@ -3135,7 +3135,7 @@ { "type": "reflection", "declaration": { - "id": 193, + "id": 252, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3144,7 +3144,7 @@ }, "signatures": [ { - "id": 194, + "id": 253, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -3153,7 +3153,7 @@ }, "parameters": [ { - "id": 195, + "id": 254, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -3162,7 +3162,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } } @@ -3182,7 +3182,7 @@ "sources": [ { "fileName": "core.ts", - "line": 899, + "line": 912, "character": 115 } ] @@ -3192,7 +3192,7 @@ } }, { - "id": 196, + "id": 255, "name": "events", "kind": 32768, "kindString": "Parameter", @@ -3220,7 +3220,7 @@ } }, { - "id": 197, + "id": 256, "name": "handler", "kind": 32768, "kindString": "Parameter", @@ -3232,7 +3232,7 @@ }, "type": { "type": "reference", - "id": 103, + "id": 162, "name": "BotkitHandler" } } @@ -3246,13 +3246,13 @@ "sources": [ { "fileName": "core.ts", - "line": 899, + "line": 912, "character": 16 } ] }, { - "id": 198, + "id": 257, "name": "interrupts", "kind": 2048, "kindString": "Method", @@ -3263,7 +3263,7 @@ }, "signatures": [ { - "id": 199, + "id": 258, "name": "interrupts", "kind": 4096, "kindString": "Call signature", @@ -3276,7 +3276,7 @@ }, "parameters": [ { - "id": 200, + "id": 259, "name": "patterns", "kind": 32768, "kindString": "Parameter", @@ -3305,7 +3305,7 @@ { "type": "reflection", "declaration": { - "id": 201, + "id": 260, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3314,7 +3314,7 @@ }, "signatures": [ { - "id": 202, + "id": 261, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -3323,7 +3323,7 @@ }, "parameters": [ { - "id": 203, + "id": 262, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -3332,7 +3332,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } } @@ -3372,7 +3372,7 @@ { "type": "reflection", "declaration": { - "id": 204, + "id": 263, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3381,7 +3381,7 @@ }, "signatures": [ { - "id": 205, + "id": 264, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -3390,7 +3390,7 @@ }, "parameters": [ { - "id": 206, + "id": 265, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -3399,7 +3399,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } } @@ -3419,7 +3419,7 @@ "sources": [ { "fileName": "core.ts", - "line": 954, + "line": 967, "character": 131 } ] @@ -3429,7 +3429,7 @@ } }, { - "id": 207, + "id": 266, "name": "events", "kind": 32768, "kindString": "Parameter", @@ -3457,7 +3457,7 @@ } }, { - "id": 208, + "id": 267, "name": "handler", "kind": 32768, "kindString": "Parameter", @@ -3469,7 +3469,7 @@ }, "type": { "type": "reference", - "id": 103, + "id": 162, "name": "BotkitHandler" } } @@ -3483,13 +3483,13 @@ "sources": [ { "fileName": "core.ts", - "line": 954, + "line": 967, "character": 21 } ] }, { - "id": 222, + "id": 281, "name": "loadModule", "kind": 2048, "kindString": "Method", @@ -3500,7 +3500,7 @@ }, "signatures": [ { - "id": 223, + "id": 282, "name": "loadModule", "kind": 4096, "kindString": "Call signature", @@ -3512,7 +3512,7 @@ }, "parameters": [ { - "id": 224, + "id": 283, "name": "p", "kind": 32768, "kindString": "Parameter", @@ -3537,13 +3537,13 @@ "sources": [ { "fileName": "core.ts", - "line": 1104, + "line": 1121, "character": 21 } ] }, { - "id": 225, + "id": 284, "name": "loadModules", "kind": 2048, "kindString": "Method", @@ -3554,7 +3554,7 @@ }, "signatures": [ { - "id": 226, + "id": 285, "name": "loadModules", "kind": 4096, "kindString": "Call signature", @@ -3567,7 +3567,7 @@ }, "parameters": [ { - "id": 227, + "id": 286, "name": "p", "kind": 32768, "kindString": "Parameter", @@ -3583,7 +3583,7 @@ } }, { - "id": 228, + "id": 287, "name": "exts", "kind": 32768, "kindString": "Parameter", @@ -3612,13 +3612,13 @@ "sources": [ { "fileName": "core.ts", - "line": 1133, + "line": 1150, "character": 22 } ] }, { - "id": 209, + "id": 268, "name": "on", "kind": 2048, "kindString": "Method", @@ -3629,7 +3629,7 @@ }, "signatures": [ { - "id": 210, + "id": 269, "name": "on", "kind": 4096, "kindString": "Call signature", @@ -3642,7 +3642,7 @@ }, "parameters": [ { - "id": 211, + "id": 270, "name": "events", "kind": 32768, "kindString": "Parameter", @@ -3670,7 +3670,7 @@ } }, { - "id": 212, + "id": 271, "name": "handler", "kind": 32768, "kindString": "Parameter", @@ -3682,7 +3682,7 @@ }, "type": { "type": "reference", - "id": 103, + "id": 162, "name": "BotkitHandler" } } @@ -3696,13 +3696,13 @@ "sources": [ { "fileName": "core.ts", - "line": 1006, + "line": 1019, "character": 13 } ] }, { - "id": 163, + "id": 222, "name": "publicFolder", "kind": 2048, "kindString": "Method", @@ -3713,7 +3713,7 @@ }, "signatures": [ { - "id": 164, + "id": 223, "name": "publicFolder", "kind": 4096, "kindString": "Call signature", @@ -3726,7 +3726,7 @@ }, "parameters": [ { - "id": 165, + "id": 224, "name": "alias", "kind": 32768, "kindString": "Parameter", @@ -3742,7 +3742,7 @@ } }, { - "id": 166, + "id": 225, "name": "path", "kind": 32768, "kindString": "Parameter", @@ -3767,13 +3767,13 @@ "sources": [ { "fileName": "core.ts", - "line": 574, + "line": 587, "character": 23 } ] }, { - "id": 176, + "id": 235, "name": "ready", "kind": 2048, "kindString": "Method", @@ -3784,7 +3784,7 @@ }, "signatures": [ { - "id": 177, + "id": 236, "name": "ready", "kind": 4096, "kindString": "Call signature", @@ -3797,7 +3797,7 @@ }, "parameters": [ { - "id": 178, + "id": 237, "name": "handler", "kind": 32768, "kindString": "Parameter", @@ -3810,7 +3810,7 @@ "type": { "type": "reflection", "declaration": { - "id": 179, + "id": 238, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -3819,7 +3819,7 @@ }, "signatures": [ { - "id": 180, + "id": 239, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -3835,7 +3835,7 @@ "sources": [ { "fileName": "core.ts", - "line": 663, + "line": 676, "character": 25 } ] @@ -3852,13 +3852,13 @@ "sources": [ { "fileName": "core.ts", - "line": 663, + "line": 676, "character": 16 } ] }, { - "id": 184, + "id": 243, "name": "saveState", "kind": 2048, "kindString": "Method", @@ -3869,7 +3869,7 @@ }, "signatures": [ { - "id": 185, + "id": 244, "name": "saveState", "kind": 4096, "kindString": "Call signature", @@ -3881,7 +3881,7 @@ }, "parameters": [ { - "id": 186, + "id": 245, "name": "bot", "kind": 32768, "kindString": "Parameter", @@ -3893,7 +3893,7 @@ }, "type": { "type": "reference", - "id": 25, + "id": 2, "name": "BotWorker" } } @@ -3913,13 +3913,13 @@ "sources": [ { "fileName": "core.ts", - "line": 770, + "line": 783, "character": 26 } ] }, { - "id": 143, + "id": 202, "name": "shutdown", "kind": 2048, "kindString": "Method", @@ -3930,7 +3930,7 @@ }, "signatures": [ { - "id": 144, + "id": 203, "name": "shutdown", "kind": 4096, "kindString": "Call signature", @@ -3956,13 +3956,13 @@ "sources": [ { "fileName": "core.ts", - "line": 440, + "line": 453, "character": 25 } ] }, { - "id": 218, + "id": 277, "name": "spawn", "kind": 2048, "kindString": "Method", @@ -3973,7 +3973,7 @@ }, "signatures": [ { - "id": 219, + "id": 278, "name": "spawn", "kind": 4096, "kindString": "Call signature", @@ -3985,7 +3985,7 @@ }, "parameters": [ { - "id": 220, + "id": 279, "name": "config", "kind": 32768, "kindString": "Parameter", @@ -4002,7 +4002,7 @@ } }, { - "id": 221, + "id": 280, "name": "custom_adapter", "kind": 32768, "kindString": "Parameter", @@ -4021,7 +4021,7 @@ "typeArguments": [ { "type": "reference", - "id": 25, + "id": 2, "name": "BotWorker" } ], @@ -4032,13 +4032,13 @@ "sources": [ { "fileName": "core.ts", - "line": 1062, + "line": 1075, "character": 22 } ] }, { - "id": 213, + "id": 272, "name": "trigger", "kind": 2048, "kindString": "Method", @@ -4049,7 +4049,7 @@ }, "signatures": [ { - "id": 214, + "id": 273, "name": "trigger", "kind": 4096, "kindString": "Call signature", @@ -4062,7 +4062,7 @@ }, "parameters": [ { - "id": 215, + "id": 274, "name": "event", "kind": 32768, "kindString": "Parameter", @@ -4078,7 +4078,7 @@ } }, { - "id": 216, + "id": 275, "name": "bot", "kind": 32768, "kindString": "Parameter", @@ -4091,12 +4091,12 @@ }, "type": { "type": "reference", - "id": 25, + "id": 2, "name": "BotWorker" } }, { - "id": 217, + "id": 276, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -4109,7 +4109,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } } @@ -4129,13 +4129,13 @@ "sources": [ { "fileName": "core.ts", - "line": 1038, + "line": 1051, "character": 24 } ] }, { - "id": 148, + "id": 207, "name": "usePlugin", "kind": 2048, "kindString": "Method", @@ -4146,7 +4146,7 @@ }, "signatures": [ { - "id": 149, + "id": 208, "name": "usePlugin", "kind": 4096, "kindString": "Call signature", @@ -4158,7 +4158,7 @@ }, "parameters": [ { - "id": 150, + "id": 209, "name": "plugin_or_function", "kind": 32768, "kindString": "Parameter", @@ -4174,7 +4174,7 @@ { "type": "reflection", "declaration": { - "id": 151, + "id": 210, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -4183,7 +4183,7 @@ }, "signatures": [ { - "id": 152, + "id": 211, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -4192,7 +4192,7 @@ }, "parameters": [ { - "id": 153, + "id": 212, "name": "botkit", "kind": 32768, "kindString": "Parameter", @@ -4201,14 +4201,14 @@ }, "type": { "type": "reference", - "id": 126, + "id": 185, "name": "Botkit" } } ], "type": { "type": "reference", - "id": 114, + "id": 173, "name": "BotkitPlugin" } } @@ -4216,7 +4216,7 @@ "sources": [ { "fileName": "core.ts", - "line": 476, + "line": 489, "character": 40 } ] @@ -4224,7 +4224,7 @@ }, { "type": "reference", - "id": 114, + "id": 173, "name": "BotkitPlugin" } ] @@ -4240,7 +4240,7 @@ "sources": [ { "fileName": "core.ts", - "line": 476, + "line": 489, "character": 20 } ] @@ -4248,7 +4248,7 @@ ], "constructors": [ { - "id": 140, + "id": 199, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4263,7 +4263,7 @@ }, "signatures": [ { - "id": 141, + "id": 200, "name": "new Botkit", "kind": 16384, "kindString": "Constructor signature", @@ -4276,7 +4276,7 @@ }, "parameters": [ { - "id": 142, + "id": 201, "name": "config", "kind": 32768, "kindString": "Parameter", @@ -4288,14 +4288,14 @@ }, "type": { "type": "reference", - "id": 80, + "id": 137, "name": "BotkitConfiguration" } } ], "type": { "type": "reference", - "id": 126, + "id": 185, "name": "Botkit" } } @@ -4303,7 +4303,7 @@ "sources": [ { "fileName": "core.ts", - "line": 299, + "line": 310, "character": 28 } ] @@ -4311,7 +4311,7 @@ ] }, { - "id": 2, + "id": 114, "name": "BotkitBotFrameworkAdapter", "kind": 128, "kindString": "Class", @@ -4324,56 +4324,31 @@ }, "children": [ { - "id": 3, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", + "id": 115, + "name": "botkit_worker", + "kind": 1024, + "kindString": "Property", "flags": { "isPublic": true, "isExported": true, "isExternal": true }, - "signatures": [ - { - "id": 4, - "name": "new BotkitBotFrameworkAdapter", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 5, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "any" - } - } - ], - "type": { - "type": "reference", - "id": 2, - "name": "BotkitBotFrameworkAdapter" - } - } - ], "sources": [ { "fileName": "adapter.ts", - "line": 29, - "character": 68 + "line": 31, + "character": 24 } - ] + ], + "type": { + "type": "reference", + "id": 52, + "name": "TeamsBotWorker" + }, + "defaultValue": "TeamsBotWorker" }, { - "id": 12, + "id": 122, "name": "getChannels", "kind": 2048, "kindString": "Method", @@ -4384,7 +4359,7 @@ }, "signatures": [ { - "id": 13, + "id": 123, "name": "getChannels", "kind": 4096, "kindString": "Call signature", @@ -4397,7 +4372,7 @@ }, "parameters": [ { - "id": 14, + "id": 124, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -4419,77 +4394,8 @@ { "type": "array", "elementType": { - "type": "reflection", - "declaration": { - "id": 15, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 16, - "name": "id", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "adapter.ts", - "line": 72, - "character": 63 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 17, - "name": "name", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "adapter.ts", - "line": 72, - "character": 77 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 16, - 17 - ] - } - ], - "sources": [ - { - "fileName": "adapter.ts", - "line": 72, - "character": 60 - } - ] - } + "type": "reference", + "name": "ChannelInfo" } } ], @@ -4500,7 +4406,7 @@ "sources": [ { "fileName": "adapter.ts", - "line": 72, + "line": 61, "character": 28 } ] @@ -4508,17 +4414,17 @@ ], "groups": [ { - "title": "Constructors", - "kind": 512, + "title": "Properties", + "kind": 1024, "children": [ - 3 + 115 ] }, { "title": "Methods", "kind": 2048, "children": [ - 12 + 122 ] } ], @@ -4535,10 +4441,35 @@ "name": "any" } ], - "props": [], + "props": [ + { + "id": 115, + "name": "botkit_worker", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true, + "isExported": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "adapter.ts", + "line": 31, + "character": 24 + } + ], + "type": { + "type": "reference", + "id": 52, + "name": "TeamsBotWorker" + }, + "defaultValue": "TeamsBotWorker" + } + ], "methods": [ { - "id": 12, + "id": 122, "name": "getChannels", "kind": 2048, "kindString": "Method", @@ -4549,7 +4480,7 @@ }, "signatures": [ { - "id": 13, + "id": 123, "name": "getChannels", "kind": 4096, "kindString": "Call signature", @@ -4562,7 +4493,7 @@ }, "parameters": [ { - "id": 14, + "id": 124, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -4584,77 +4515,8 @@ { "type": "array", "elementType": { - "type": "reflection", - "declaration": { - "id": 15, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 16, - "name": "id", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "adapter.ts", - "line": 72, - "character": 63 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 17, - "name": "name", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true, - "isExternal": true - }, - "sources": [ - { - "fileName": "adapter.ts", - "line": 72, - "character": 77 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "groups": [ - { - "title": "Variables", - "kind": 32, - "children": [ - 16, - 17 - ] - } - ], - "sources": [ - { - "fileName": "adapter.ts", - "line": 72, - "character": 60 - } - ] - } + "type": "reference", + "name": "ChannelInfo" } } ], @@ -4665,15 +4527,29 @@ "sources": [ { "fileName": "adapter.ts", - "line": 72, + "line": 61, "character": 28 } ] } ], - "constructors": [ + "constructors": [] + }, + { + "id": 52, + "name": "TeamsBotWorker", + "kind": 128, + "kindString": "Class", + "flags": { + "isExported": true, + "isExternal": true + }, + "comment": { + "shortText": "This is a specialized version of [Botkit's core BotWorker class](core.md#BotWorker) that includes additional methods for interacting with Microsoft Teams.\nIt includes all functionality from the base class, as well as the extension methods below.\nThis BotWorker is used with the built-in Bot Framework adapter." + }, + "children": [ { - "id": 3, + "id": 53, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4684,8 +4560,8 @@ }, "signatures": [ { - "id": 4, - "name": "new BotkitBotFrameworkAdapter", + "id": 54, + "name": "new TeamsBotWorker", "kind": 16384, "kindString": "Constructor signature", "flags": { @@ -4693,8 +4569,22 @@ }, "parameters": [ { - "id": 5, - "name": "options", + "id": 55, + "name": "controller", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 185, + "name": "Botkit" + } + }, + { + "id": 56, + "name": "config", "kind": 32768, "kindString": "Parameter", "flags": { @@ -4708,23 +4598,351 @@ ], "type": { "type": "reference", - "id": 2, - "name": "BotkitBotFrameworkAdapter" + "id": 52, + "name": "TeamsBotWorker" + }, + "overwrites": { + "type": "reference", + "id": 3, + "name": "BotWorker.__constructor" } } ], "sources": [ { - "fileName": "adapter.ts", - "line": 29, - "character": 68 + "fileName": "teamsHelpers.ts", + "line": 18, + "character": 47 + } + ], + "overwrites": { + "type": "reference", + "id": 3, + "name": "BotWorker.__constructor" + } + }, + { + "id": 57, + "name": "teams", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true, + "isExported": true, + "isExternal": true + }, + "comment": { + "shortText": "Grants access to the TeamsInfo helper class\nSee: https://docs.microsoft.com/en-us/javascript/api/botbuilder/teamsinfo?view=botbuilder-ts-latest" + }, + "sources": [ + { + "fileName": "teamsHelpers.ts", + "line": 28, + "character": 14 + } + ], + "type": { + "type": "reference", + "name": "TeamsInfo" + }, + "defaultValue": "TeamsInfo" + }, + { + "id": 58, + "name": "replyWithTaskInfo", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true, + "isExported": true, + "isExternal": true + }, + "signatures": [ + { + "id": 59, + "name": "replyWithTaskInfo", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Reply to a Teams task module task/fetch or task/submit with a task module response.\nSee https://docs.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/task-modules/task-modules-bots" + }, + "parameters": [ + { + "id": 60, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": {}, + "type": { + "type": "reference", + "id": 152, + "name": "BotkitMessage" + } + }, + { + "id": 61, + "name": "taskInfo", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "an object in the form {type, value}\n" + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "teamsHelpers.ts", + "line": 36, + "character": 32 } ] } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 53 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 57 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 58 + ] + } + ], + "sources": [ + { + "fileName": "teamsHelpers.ts", + "line": 18, + "character": 27 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 2, + "name": "BotWorker" + } + ], + "props": [ + { + "id": 57, + "name": "teams", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true, + "isExported": true, + "isExternal": true + }, + "comment": { + "shortText": "Grants access to the TeamsInfo helper class\nSee: https://docs.microsoft.com/en-us/javascript/api/botbuilder/teamsinfo?view=botbuilder-ts-latest" + }, + "sources": [ + { + "fileName": "teamsHelpers.ts", + "line": 28, + "character": 14 + } + ], + "type": { + "type": "reference", + "name": "TeamsInfo" + }, + "defaultValue": "TeamsInfo" + } + ], + "methods": [ + { + "id": 58, + "name": "replyWithTaskInfo", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true, + "isExported": true, + "isExternal": true + }, + "signatures": [ + { + "id": 59, + "name": "replyWithTaskInfo", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Reply to a Teams task module task/fetch or task/submit with a task module response.\nSee https://docs.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/task-modules/task-modules-bots" + }, + "parameters": [ + { + "id": 60, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": {}, + "type": { + "type": "reference", + "id": 152, + "name": "BotkitMessage" + } + }, + { + "id": 61, + "name": "taskInfo", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "an object in the form {type, value}\n" + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "teamsHelpers.ts", + "line": 36, + "character": 32 + } + ] + } + ], + "constructors": [ + { + "id": 53, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isPublic": true, + "isExported": true, + "isExternal": true + }, + "signatures": [ + { + "id": 54, + "name": "new TeamsBotWorker", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 55, + "name": "controller", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 185, + "name": "Botkit" + } + }, + { + "id": 56, + "name": "config", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "id": 52, + "name": "TeamsBotWorker" + }, + "overwrites": { + "type": "reference", + "id": 3, + "name": "BotWorker.__constructor" + } + } + ], + "sources": [ + { + "fileName": "teamsHelpers.ts", + "line": 18, + "character": 47 + } + ], + "overwrites": { + "type": "reference", + "id": 3, + "name": "BotWorker.__constructor" + } + } ] }, { - "id": 25, + "id": 2, "name": "BotWorker", "kind": 128, "kindString": "Class", @@ -4737,7 +4955,7 @@ }, "children": [ { - "id": 26, + "id": 3, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -4751,7 +4969,7 @@ }, "signatures": [ { - "id": 27, + "id": 4, "name": "new BotWorker", "kind": 16384, "kindString": "Constructor signature", @@ -4763,7 +4981,7 @@ }, "parameters": [ { - "id": 28, + "id": 5, "name": "controller", "kind": 32768, "kindString": "Parameter", @@ -4775,12 +4993,12 @@ }, "type": { "type": "reference", - "id": 126, + "id": 185, "name": "Botkit" } }, { - "id": 29, + "id": 6, "name": "config", "kind": 32768, "kindString": "Parameter", @@ -4798,7 +5016,7 @@ ], "type": { "type": "reference", - "id": 25, + "id": 2, "name": "BotWorker" } } @@ -4812,7 +5030,7 @@ ] }, { - "id": 30, + "id": 7, "name": "controller", "kind": 262144, "kindString": "Accessor", @@ -4826,7 +5044,7 @@ }, "getSignature": [ { - "id": 31, + "id": 8, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -4838,7 +5056,7 @@ }, "type": { "type": "reference", - "id": 126, + "id": 185, "name": "Botkit" } } @@ -4852,7 +5070,7 @@ ] }, { - "id": 42, + "id": 19, "name": "beginDialog", "kind": 2048, "kindString": "Method", @@ -4863,7 +5081,7 @@ }, "signatures": [ { - "id": 43, + "id": 20, "name": "beginDialog", "kind": 4096, "kindString": "Call signature", @@ -4876,7 +5094,7 @@ }, "parameters": [ { - "id": 44, + "id": 21, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -4892,7 +5110,7 @@ } }, { - "id": 45, + "id": 22, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -4930,7 +5148,7 @@ ] }, { - "id": 46, + "id": 23, "name": "cancelAllDialogs", "kind": 2048, "kindString": "Method", @@ -4941,7 +5159,7 @@ }, "signatures": [ { - "id": 47, + "id": 24, "name": "cancelAllDialogs", "kind": 4096, "kindString": "Call signature", @@ -4972,7 +5190,7 @@ ] }, { - "id": 59, + "id": 36, "name": "changeContext", "kind": 2048, "kindString": "Method", @@ -4983,7 +5201,7 @@ }, "signatures": [ { - "id": 60, + "id": 37, "name": "changeContext", "kind": 4096, "kindString": "Call signature", @@ -4996,7 +5214,7 @@ }, "parameters": [ { - "id": 61, + "id": 38, "name": "reference", "kind": 32768, "kindString": "Parameter", @@ -5023,7 +5241,7 @@ "typeArguments": [ { "type": "reference", - "id": 25, + "id": 2, "name": "BotWorker" } ], @@ -5040,7 +5258,7 @@ ] }, { - "id": 65, + "id": 42, "name": "ensureMessageFormat", "kind": 2048, "kindString": "Method", @@ -5051,7 +5269,7 @@ }, "signatures": [ { - "id": 66, + "id": 43, "name": "ensureMessageFormat", "kind": 4096, "kindString": "Call signature", @@ -5070,7 +5288,7 @@ }, "parameters": [ { - "id": 67, + "id": 44, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -5085,7 +5303,7 @@ "typeArguments": [ { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } ], @@ -5120,7 +5338,7 @@ ] }, { - "id": 48, + "id": 25, "name": "getActiveDialog", "kind": 2048, "kindString": "Method", @@ -5131,7 +5349,7 @@ }, "signatures": [ { - "id": 49, + "id": 26, "name": "getActiveDialog", "kind": 4096, "kindString": "Call signature", @@ -5166,7 +5384,7 @@ ] }, { - "id": 32, + "id": 9, "name": "getConfig", "kind": 2048, "kindString": "Method", @@ -5177,7 +5395,7 @@ }, "signatures": [ { - "id": 33, + "id": 10, "name": "getConfig", "kind": 4096, "kindString": "Call signature", @@ -5191,7 +5409,7 @@ }, "parameters": [ { - "id": 34, + "id": 11, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -5223,7 +5441,7 @@ ] }, { - "id": 50, + "id": 27, "name": "hasActiveDialog", "kind": 2048, "kindString": "Method", @@ -5234,7 +5452,7 @@ }, "signatures": [ { - "id": 51, + "id": 28, "name": "hasActiveDialog", "kind": 4096, "kindString": "Call signature", @@ -5260,7 +5478,7 @@ ] }, { - "id": 71, + "id": 48, "name": "httpBody", "kind": 2048, "kindString": "Method", @@ -5271,7 +5489,7 @@ }, "signatures": [ { - "id": 72, + "id": 49, "name": "httpBody", "kind": 4096, "kindString": "Call signature", @@ -5284,7 +5502,7 @@ }, "parameters": [ { - "id": 73, + "id": 50, "name": "body", "kind": 32768, "kindString": "Parameter", @@ -5315,7 +5533,7 @@ ] }, { - "id": 68, + "id": 45, "name": "httpStatus", "kind": 2048, "kindString": "Method", @@ -5326,7 +5544,7 @@ }, "signatures": [ { - "id": 69, + "id": 46, "name": "httpStatus", "kind": 4096, "kindString": "Call signature", @@ -5339,7 +5557,7 @@ }, "parameters": [ { - "id": 70, + "id": 47, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -5370,7 +5588,7 @@ ] }, { - "id": 52, + "id": 29, "name": "isDialogActive", "kind": 2048, "kindString": "Method", @@ -5381,7 +5599,7 @@ }, "signatures": [ { - "id": 53, + "id": 30, "name": "isDialogActive", "kind": 4096, "kindString": "Call signature", @@ -5394,7 +5612,7 @@ }, "parameters": [ { - "id": 54, + "id": 31, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -5425,7 +5643,7 @@ ] }, { - "id": 55, + "id": 32, "name": "replaceDialog", "kind": 2048, "kindString": "Method", @@ -5436,7 +5654,7 @@ }, "signatures": [ { - "id": 56, + "id": 33, "name": "replaceDialog", "kind": 4096, "kindString": "Call signature", @@ -5449,7 +5667,7 @@ }, "parameters": [ { - "id": 57, + "id": 34, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -5465,7 +5683,7 @@ } }, { - "id": 58, + "id": 35, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5503,7 +5721,7 @@ ] }, { - "id": 38, + "id": 15, "name": "reply", "kind": 2048, "kindString": "Method", @@ -5514,7 +5732,7 @@ }, "signatures": [ { - "id": 39, + "id": 16, "name": "reply", "kind": 4096, "kindString": "Call signature", @@ -5528,7 +5746,7 @@ }, "parameters": [ { - "id": 40, + "id": 17, "name": "src", "kind": 32768, "kindString": "Parameter", @@ -5543,7 +5761,7 @@ "typeArguments": [ { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } ], @@ -5551,7 +5769,7 @@ } }, { - "id": 41, + "id": 18, "name": "resp", "kind": 32768, "kindString": "Parameter", @@ -5569,7 +5787,7 @@ "typeArguments": [ { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } ], @@ -5604,7 +5822,7 @@ ] }, { - "id": 35, + "id": 12, "name": "say", "kind": 2048, "kindString": "Method", @@ -5615,7 +5833,7 @@ }, "signatures": [ { - "id": 36, + "id": 13, "name": "say", "kind": 4096, "kindString": "Call signature", @@ -5629,7 +5847,7 @@ }, "parameters": [ { - "id": 37, + "id": 14, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -5647,7 +5865,7 @@ "typeArguments": [ { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } ], @@ -5682,7 +5900,7 @@ ] }, { - "id": 62, + "id": 39, "name": "startConversationWithUser", "kind": 2048, "kindString": "Method", @@ -5693,7 +5911,7 @@ }, "signatures": [ { - "id": 63, + "id": 40, "name": "startConversationWithUser", "kind": 4096, "kindString": "Call signature", @@ -5702,7 +5920,7 @@ }, "parameters": [ { - "id": 64, + "id": 41, "name": "reference", "kind": 32768, "kindString": "Parameter", @@ -5741,34 +5959,34 @@ "title": "Constructors", "kind": 512, "children": [ - 26 + 3 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 30 + 7 ] }, { "title": "Methods", "kind": 2048, "children": [ + 19, + 23, + 36, 42, - 46, - 59, - 65, + 25, + 9, + 27, 48, + 45, + 29, 32, - 50, - 71, - 68, - 52, - 55, - 38, - 35, - 62 + 15, + 12, + 39 ] } ], @@ -5779,9 +5997,16 @@ "character": 22 } ], + "extendedBy": [ + { + "type": "reference", + "id": 52, + "name": "TeamsBotWorker" + } + ], "props": [ { - "id": 30, + "id": 7, "name": "controller", "kind": 262144, "kindString": "Accessor", @@ -5795,7 +6020,7 @@ }, "getSignature": [ { - "id": 31, + "id": 8, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -5807,7 +6032,7 @@ }, "type": { "type": "reference", - "id": 126, + "id": 185, "name": "Botkit" } } @@ -5823,7 +6048,7 @@ ], "methods": [ { - "id": 42, + "id": 19, "name": "beginDialog", "kind": 2048, "kindString": "Method", @@ -5834,7 +6059,7 @@ }, "signatures": [ { - "id": 43, + "id": 20, "name": "beginDialog", "kind": 4096, "kindString": "Call signature", @@ -5847,7 +6072,7 @@ }, "parameters": [ { - "id": 44, + "id": 21, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -5863,7 +6088,7 @@ } }, { - "id": 45, + "id": 22, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -5901,7 +6126,7 @@ ] }, { - "id": 46, + "id": 23, "name": "cancelAllDialogs", "kind": 2048, "kindString": "Method", @@ -5912,7 +6137,7 @@ }, "signatures": [ { - "id": 47, + "id": 24, "name": "cancelAllDialogs", "kind": 4096, "kindString": "Call signature", @@ -5943,7 +6168,7 @@ ] }, { - "id": 59, + "id": 36, "name": "changeContext", "kind": 2048, "kindString": "Method", @@ -5954,7 +6179,7 @@ }, "signatures": [ { - "id": 60, + "id": 37, "name": "changeContext", "kind": 4096, "kindString": "Call signature", @@ -5967,7 +6192,7 @@ }, "parameters": [ { - "id": 61, + "id": 38, "name": "reference", "kind": 32768, "kindString": "Parameter", @@ -5994,7 +6219,7 @@ "typeArguments": [ { "type": "reference", - "id": 25, + "id": 2, "name": "BotWorker" } ], @@ -6011,7 +6236,7 @@ ] }, { - "id": 65, + "id": 42, "name": "ensureMessageFormat", "kind": 2048, "kindString": "Method", @@ -6022,7 +6247,7 @@ }, "signatures": [ { - "id": 66, + "id": 43, "name": "ensureMessageFormat", "kind": 4096, "kindString": "Call signature", @@ -6041,7 +6266,7 @@ }, "parameters": [ { - "id": 67, + "id": 44, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -6056,7 +6281,7 @@ "typeArguments": [ { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } ], @@ -6091,7 +6316,7 @@ ] }, { - "id": 48, + "id": 25, "name": "getActiveDialog", "kind": 2048, "kindString": "Method", @@ -6102,7 +6327,7 @@ }, "signatures": [ { - "id": 49, + "id": 26, "name": "getActiveDialog", "kind": 4096, "kindString": "Call signature", @@ -6137,7 +6362,7 @@ ] }, { - "id": 32, + "id": 9, "name": "getConfig", "kind": 2048, "kindString": "Method", @@ -6148,7 +6373,7 @@ }, "signatures": [ { - "id": 33, + "id": 10, "name": "getConfig", "kind": 4096, "kindString": "Call signature", @@ -6162,7 +6387,7 @@ }, "parameters": [ { - "id": 34, + "id": 11, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -6194,7 +6419,7 @@ ] }, { - "id": 50, + "id": 27, "name": "hasActiveDialog", "kind": 2048, "kindString": "Method", @@ -6205,7 +6430,7 @@ }, "signatures": [ { - "id": 51, + "id": 28, "name": "hasActiveDialog", "kind": 4096, "kindString": "Call signature", @@ -6231,7 +6456,7 @@ ] }, { - "id": 71, + "id": 48, "name": "httpBody", "kind": 2048, "kindString": "Method", @@ -6242,7 +6467,7 @@ }, "signatures": [ { - "id": 72, + "id": 49, "name": "httpBody", "kind": 4096, "kindString": "Call signature", @@ -6255,7 +6480,7 @@ }, "parameters": [ { - "id": 73, + "id": 50, "name": "body", "kind": 32768, "kindString": "Parameter", @@ -6286,7 +6511,7 @@ ] }, { - "id": 68, + "id": 45, "name": "httpStatus", "kind": 2048, "kindString": "Method", @@ -6297,7 +6522,7 @@ }, "signatures": [ { - "id": 69, + "id": 46, "name": "httpStatus", "kind": 4096, "kindString": "Call signature", @@ -6310,7 +6535,7 @@ }, "parameters": [ { - "id": 70, + "id": 47, "name": "status", "kind": 32768, "kindString": "Parameter", @@ -6341,7 +6566,7 @@ ] }, { - "id": 52, + "id": 29, "name": "isDialogActive", "kind": 2048, "kindString": "Method", @@ -6352,7 +6577,7 @@ }, "signatures": [ { - "id": 53, + "id": 30, "name": "isDialogActive", "kind": 4096, "kindString": "Call signature", @@ -6365,7 +6590,7 @@ }, "parameters": [ { - "id": 54, + "id": 31, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -6396,7 +6621,7 @@ ] }, { - "id": 55, + "id": 32, "name": "replaceDialog", "kind": 2048, "kindString": "Method", @@ -6407,7 +6632,7 @@ }, "signatures": [ { - "id": 56, + "id": 33, "name": "replaceDialog", "kind": 4096, "kindString": "Call signature", @@ -6420,7 +6645,7 @@ }, "parameters": [ { - "id": 57, + "id": 34, "name": "id", "kind": 32768, "kindString": "Parameter", @@ -6436,7 +6661,7 @@ } }, { - "id": 58, + "id": 35, "name": "options", "kind": 32768, "kindString": "Parameter", @@ -6474,7 +6699,7 @@ ] }, { - "id": 38, + "id": 15, "name": "reply", "kind": 2048, "kindString": "Method", @@ -6485,7 +6710,7 @@ }, "signatures": [ { - "id": 39, + "id": 16, "name": "reply", "kind": 4096, "kindString": "Call signature", @@ -6499,7 +6724,7 @@ }, "parameters": [ { - "id": 40, + "id": 17, "name": "src", "kind": 32768, "kindString": "Parameter", @@ -6514,7 +6739,7 @@ "typeArguments": [ { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } ], @@ -6522,7 +6747,7 @@ } }, { - "id": 41, + "id": 18, "name": "resp", "kind": 32768, "kindString": "Parameter", @@ -6540,7 +6765,7 @@ "typeArguments": [ { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } ], @@ -6575,7 +6800,7 @@ ] }, { - "id": 35, + "id": 12, "name": "say", "kind": 2048, "kindString": "Method", @@ -6586,7 +6811,7 @@ }, "signatures": [ { - "id": 36, + "id": 13, "name": "say", "kind": 4096, "kindString": "Call signature", @@ -6600,7 +6825,7 @@ }, "parameters": [ { - "id": 37, + "id": 14, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -6618,7 +6843,7 @@ "typeArguments": [ { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } ], @@ -6653,7 +6878,7 @@ ] }, { - "id": 62, + "id": 39, "name": "startConversationWithUser", "kind": 2048, "kindString": "Method", @@ -6664,7 +6889,7 @@ }, "signatures": [ { - "id": 63, + "id": 40, "name": "startConversationWithUser", "kind": 4096, "kindString": "Call signature", @@ -6673,7 +6898,7 @@ }, "parameters": [ { - "id": 64, + "id": 41, "name": "reference", "kind": 32768, "kindString": "Parameter", @@ -6709,7 +6934,7 @@ ], "constructors": [ { - "id": 26, + "id": 3, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -6723,7 +6948,7 @@ }, "signatures": [ { - "id": 27, + "id": 4, "name": "new BotWorker", "kind": 16384, "kindString": "Constructor signature", @@ -6735,7 +6960,7 @@ }, "parameters": [ { - "id": 28, + "id": 5, "name": "controller", "kind": 32768, "kindString": "Parameter", @@ -6747,12 +6972,12 @@ }, "type": { "type": "reference", - "id": 126, + "id": 185, "name": "Botkit" } }, { - "id": 29, + "id": 6, "name": "config", "kind": 32768, "kindString": "Parameter", @@ -6770,7 +6995,7 @@ ], "type": { "type": "reference", - "id": 25, + "id": 2, "name": "BotWorker" } } @@ -6786,7 +7011,7 @@ ] }, { - "id": 320, + "id": 379, "name": "BotkitConversation", "kind": 128, "kindString": "Class", @@ -6800,7 +7025,7 @@ }, "typeParameter": [ { - "id": 321, + "id": 380, "name": "O", "kind": 131072, "kindString": "Type parameter", @@ -6815,7 +7040,7 @@ ], "children": [ { - "id": 323, + "id": 382, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -6829,7 +7054,7 @@ }, "signatures": [ { - "id": 324, + "id": 383, "name": "new BotkitConversation", "kind": 16384, "kindString": "Constructor signature", @@ -6841,7 +7066,7 @@ }, "parameters": [ { - "id": 325, + "id": 384, "name": "dialogId", "kind": 32768, "kindString": "Parameter", @@ -6857,7 +7082,7 @@ } }, { - "id": 326, + "id": 385, "name": "controller", "kind": 32768, "kindString": "Parameter", @@ -6869,14 +7094,14 @@ }, "type": { "type": "reference", - "id": 126, + "id": 185, "name": "Botkit" } } ], "type": { "type": "reference", - "id": 320, + "id": 379, "name": "BotkitConversation" } } @@ -6890,7 +7115,7 @@ ] }, { - "id": 322, + "id": 381, "name": "script", "kind": 1024, "kindString": "Property", @@ -6915,7 +7140,7 @@ } }, { - "id": 330, + "id": 389, "name": "addAction", "kind": 2048, "kindString": "Method", @@ -6926,7 +7151,7 @@ }, "signatures": [ { - "id": 331, + "id": 390, "name": "addAction", "kind": 4096, "kindString": "Call signature", @@ -6939,7 +7164,7 @@ }, "parameters": [ { - "id": 332, + "id": 391, "name": "action", "kind": 32768, "kindString": "Parameter", @@ -6955,7 +7180,7 @@ } }, { - "id": 333, + "id": 392, "name": "thread_name", "kind": 32768, "kindString": "Parameter", @@ -6974,7 +7199,7 @@ ], "type": { "type": "reference", - "id": 320, + "id": 379, "name": "BotkitConversation" } } @@ -6988,7 +7213,7 @@ ] }, { - "id": 334, + "id": 393, "name": "addChildDialog", "kind": 2048, "kindString": "Method", @@ -6999,7 +7224,7 @@ }, "signatures": [ { - "id": 335, + "id": 394, "name": "addChildDialog", "kind": 4096, "kindString": "Call signature", @@ -7012,7 +7237,7 @@ }, "parameters": [ { - "id": 336, + "id": 395, "name": "dialog_id", "kind": 32768, "kindString": "Parameter", @@ -7028,7 +7253,7 @@ } }, { - "id": 337, + "id": 396, "name": "key_name", "kind": 32768, "kindString": "Parameter", @@ -7045,7 +7270,7 @@ } }, { - "id": 338, + "id": 397, "name": "thread_name", "kind": 32768, "kindString": "Parameter", @@ -7064,7 +7289,7 @@ ], "type": { "type": "reference", - "id": 320, + "id": 379, "name": "BotkitConversation" } } @@ -7078,7 +7303,7 @@ ] }, { - "id": 339, + "id": 398, "name": "addGotoDialog", "kind": 2048, "kindString": "Method", @@ -7089,7 +7314,7 @@ }, "signatures": [ { - "id": 340, + "id": 399, "name": "addGotoDialog", "kind": 4096, "kindString": "Call signature", @@ -7102,7 +7327,7 @@ }, "parameters": [ { - "id": 341, + "id": 400, "name": "dialog_id", "kind": 32768, "kindString": "Parameter", @@ -7118,7 +7343,7 @@ } }, { - "id": 342, + "id": 401, "name": "thread_name", "kind": 32768, "kindString": "Parameter", @@ -7137,7 +7362,7 @@ ], "type": { "type": "reference", - "id": 320, + "id": 379, "name": "BotkitConversation" } } @@ -7151,7 +7376,7 @@ ] }, { - "id": 343, + "id": 402, "name": "addMessage", "kind": 2048, "kindString": "Method", @@ -7162,7 +7387,7 @@ }, "signatures": [ { - "id": 344, + "id": 403, "name": "addMessage", "kind": 4096, "kindString": "Call signature", @@ -7175,7 +7400,7 @@ }, "parameters": [ { - "id": 345, + "id": 404, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7193,7 +7418,7 @@ "typeArguments": [ { "type": "reference", - "id": 270, + "id": 329, "name": "BotkitMessageTemplate" } ], @@ -7207,7 +7432,7 @@ } }, { - "id": 346, + "id": 405, "name": "thread_name", "kind": 32768, "kindString": "Parameter", @@ -7225,7 +7450,7 @@ ], "type": { "type": "reference", - "id": 320, + "id": 379, "name": "BotkitConversation" } } @@ -7239,7 +7464,7 @@ ] }, { - "id": 354, + "id": 413, "name": "addQuestion", "kind": 2048, "kindString": "Method", @@ -7250,7 +7475,7 @@ }, "signatures": [ { - "id": 355, + "id": 414, "name": "addQuestion", "kind": 4096, "kindString": "Call signature", @@ -7263,7 +7488,7 @@ }, "parameters": [ { - "id": 356, + "id": 415, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7281,7 +7506,7 @@ "typeArguments": [ { "type": "reference", - "id": 270, + "id": 329, "name": "BotkitMessageTemplate" } ], @@ -7295,7 +7520,7 @@ } }, { - "id": 357, + "id": 416, "name": "handlers", "kind": 32768, "kindString": "Parameter", @@ -7310,14 +7535,14 @@ "types": [ { "type": "reference", - "id": 259, + "id": 318, "name": "BotkitConvoHandler" }, { "type": "array", "elementType": { "type": "reference", - "id": 265, + "id": 324, "name": "BotkitConvoTrigger" } } @@ -7325,7 +7550,7 @@ } }, { - "id": 358, + "id": 417, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7341,7 +7566,7 @@ { "type": "reflection", "declaration": { - "id": 359, + "id": 418, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7350,7 +7575,7 @@ }, "children": [ { - "id": 360, + "id": 419, "name": "key", "kind": 32, "kindString": "Variable", @@ -7376,7 +7601,7 @@ "title": "Variables", "kind": 32, "children": [ - 360 + 419 ] } ], @@ -7401,7 +7626,7 @@ } }, { - "id": 361, + "id": 420, "name": "thread_name", "kind": 32768, "kindString": "Parameter", @@ -7419,7 +7644,7 @@ ], "type": { "type": "reference", - "id": 320, + "id": 379, "name": "BotkitConversation" } } @@ -7433,7 +7658,7 @@ ] }, { - "id": 370, + "id": 429, "name": "after", "kind": 2048, "kindString": "Method", @@ -7444,7 +7669,7 @@ }, "signatures": [ { - "id": 371, + "id": 430, "name": "after", "kind": 4096, "kindString": "Call signature", @@ -7457,7 +7682,7 @@ }, "parameters": [ { - "id": 372, + "id": 431, "name": "handler", "kind": 32768, "kindString": "Parameter", @@ -7470,7 +7695,7 @@ "type": { "type": "reflection", "declaration": { - "id": 373, + "id": 432, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7479,7 +7704,7 @@ }, "signatures": [ { - "id": 374, + "id": 433, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -7488,7 +7713,7 @@ }, "parameters": [ { - "id": 375, + "id": 434, "name": "results", "kind": 32768, "kindString": "Parameter", @@ -7501,7 +7726,7 @@ } }, { - "id": 376, + "id": 435, "name": "bot", "kind": 32768, "kindString": "Parameter", @@ -7510,7 +7735,7 @@ }, "type": { "type": "reference", - "id": 25, + "id": 2, "name": "BotWorker" } } @@ -7547,7 +7772,7 @@ ] }, { - "id": 347, + "id": 406, "name": "ask", "kind": 2048, "kindString": "Method", @@ -7558,7 +7783,7 @@ }, "signatures": [ { - "id": 348, + "id": 407, "name": "ask", "kind": 4096, "kindString": "Call signature", @@ -7571,7 +7796,7 @@ }, "parameters": [ { - "id": 349, + "id": 408, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -7589,7 +7814,7 @@ "typeArguments": [ { "type": "reference", - "id": 270, + "id": 329, "name": "BotkitMessageTemplate" } ], @@ -7603,7 +7828,7 @@ } }, { - "id": 350, + "id": 409, "name": "handlers", "kind": 32768, "kindString": "Parameter", @@ -7618,14 +7843,14 @@ "types": [ { "type": "reference", - "id": 259, + "id": 318, "name": "BotkitConvoHandler" }, { "type": "array", "elementType": { "type": "reference", - "id": 265, + "id": 324, "name": "BotkitConvoTrigger" } } @@ -7633,7 +7858,7 @@ } }, { - "id": 351, + "id": 410, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -7649,7 +7874,7 @@ { "type": "reflection", "declaration": { - "id": 352, + "id": 411, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7658,7 +7883,7 @@ }, "children": [ { - "id": 353, + "id": 412, "name": "key", "kind": 32, "kindString": "Variable", @@ -7684,7 +7909,7 @@ "title": "Variables", "kind": 32, "children": [ - 353 + 412 ] } ], @@ -7711,7 +7936,7 @@ ], "type": { "type": "reference", - "id": 320, + "id": 379, "name": "BotkitConversation" } } @@ -7725,7 +7950,7 @@ ] }, { - "id": 362, + "id": 421, "name": "before", "kind": 2048, "kindString": "Method", @@ -7736,7 +7961,7 @@ }, "signatures": [ { - "id": 363, + "id": 422, "name": "before", "kind": 4096, "kindString": "Call signature", @@ -7749,7 +7974,7 @@ }, "parameters": [ { - "id": 364, + "id": 423, "name": "thread_name", "kind": 32768, "kindString": "Parameter", @@ -7765,7 +7990,7 @@ } }, { - "id": 365, + "id": 424, "name": "handler", "kind": 32768, "kindString": "Parameter", @@ -7778,7 +8003,7 @@ "type": { "type": "reflection", "declaration": { - "id": 366, + "id": 425, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7787,7 +8012,7 @@ }, "signatures": [ { - "id": 367, + "id": 426, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -7796,7 +8021,7 @@ }, "parameters": [ { - "id": 368, + "id": 427, "name": "convo", "kind": 32768, "kindString": "Parameter", @@ -7805,12 +8030,12 @@ }, "type": { "type": "reference", - "id": 238, + "id": 297, "name": "BotkitDialogWrapper" } }, { - "id": 369, + "id": 428, "name": "bot", "kind": 32768, "kindString": "Parameter", @@ -7819,7 +8044,7 @@ }, "type": { "type": "reference", - "id": 25, + "id": 2, "name": "BotWorker" } } @@ -7862,7 +8087,7 @@ ] }, { - "id": 377, + "id": 436, "name": "onChange", "kind": 2048, "kindString": "Method", @@ -7873,7 +8098,7 @@ }, "signatures": [ { - "id": 378, + "id": 437, "name": "onChange", "kind": 4096, "kindString": "Call signature", @@ -7886,7 +8111,7 @@ }, "parameters": [ { - "id": 379, + "id": 438, "name": "variable", "kind": 32768, "kindString": "Parameter", @@ -7902,7 +8127,7 @@ } }, { - "id": 380, + "id": 439, "name": "handler", "kind": 32768, "kindString": "Parameter", @@ -7915,7 +8140,7 @@ "type": { "type": "reflection", "declaration": { - "id": 381, + "id": 440, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -7924,7 +8149,7 @@ }, "signatures": [ { - "id": 382, + "id": 441, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -7933,7 +8158,7 @@ }, "parameters": [ { - "id": 383, + "id": 442, "name": "response", "kind": 32768, "kindString": "Parameter", @@ -7946,7 +8171,7 @@ } }, { - "id": 384, + "id": 443, "name": "convo", "kind": 32768, "kindString": "Parameter", @@ -7959,7 +8184,7 @@ } }, { - "id": 385, + "id": 444, "name": "bot", "kind": 32768, "kindString": "Parameter", @@ -8010,7 +8235,7 @@ ] }, { - "id": 327, + "id": 386, "name": "say", "kind": 2048, "kindString": "Method", @@ -8021,7 +8246,7 @@ }, "signatures": [ { - "id": 328, + "id": 387, "name": "say", "kind": 4096, "kindString": "Call signature", @@ -8034,7 +8259,7 @@ }, "parameters": [ { - "id": 329, + "id": 388, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -8052,7 +8277,7 @@ "typeArguments": [ { "type": "reference", - "id": 270, + "id": 329, "name": "BotkitMessageTemplate" } ], @@ -8068,7 +8293,7 @@ ], "type": { "type": "reference", - "id": 320, + "id": 379, "name": "BotkitConversation" } } @@ -8087,30 +8312,30 @@ "title": "Constructors", "kind": 512, "children": [ - 323 + 382 ] }, { "title": "Properties", "kind": 1024, "children": [ - 322 + 381 ] }, { "title": "Methods", "kind": 2048, "children": [ - 330, - 334, - 339, - 343, - 354, - 370, - 347, - 362, - 377, - 327 + 389, + 393, + 398, + 402, + 413, + 429, + 406, + 421, + 436, + 386 ] } ], @@ -8129,7 +8354,7 @@ ], "props": [ { - "id": 322, + "id": 381, "name": "script", "kind": 1024, "kindString": "Property", @@ -8156,7 +8381,7 @@ ], "methods": [ { - "id": 330, + "id": 389, "name": "addAction", "kind": 2048, "kindString": "Method", @@ -8167,7 +8392,7 @@ }, "signatures": [ { - "id": 331, + "id": 390, "name": "addAction", "kind": 4096, "kindString": "Call signature", @@ -8180,7 +8405,7 @@ }, "parameters": [ { - "id": 332, + "id": 391, "name": "action", "kind": 32768, "kindString": "Parameter", @@ -8196,7 +8421,7 @@ } }, { - "id": 333, + "id": 392, "name": "thread_name", "kind": 32768, "kindString": "Parameter", @@ -8215,7 +8440,7 @@ ], "type": { "type": "reference", - "id": 320, + "id": 379, "name": "BotkitConversation" } } @@ -8229,7 +8454,7 @@ ] }, { - "id": 334, + "id": 393, "name": "addChildDialog", "kind": 2048, "kindString": "Method", @@ -8240,7 +8465,7 @@ }, "signatures": [ { - "id": 335, + "id": 394, "name": "addChildDialog", "kind": 4096, "kindString": "Call signature", @@ -8253,7 +8478,7 @@ }, "parameters": [ { - "id": 336, + "id": 395, "name": "dialog_id", "kind": 32768, "kindString": "Parameter", @@ -8269,7 +8494,7 @@ } }, { - "id": 337, + "id": 396, "name": "key_name", "kind": 32768, "kindString": "Parameter", @@ -8286,7 +8511,7 @@ } }, { - "id": 338, + "id": 397, "name": "thread_name", "kind": 32768, "kindString": "Parameter", @@ -8305,7 +8530,7 @@ ], "type": { "type": "reference", - "id": 320, + "id": 379, "name": "BotkitConversation" } } @@ -8319,7 +8544,7 @@ ] }, { - "id": 339, + "id": 398, "name": "addGotoDialog", "kind": 2048, "kindString": "Method", @@ -8330,7 +8555,7 @@ }, "signatures": [ { - "id": 340, + "id": 399, "name": "addGotoDialog", "kind": 4096, "kindString": "Call signature", @@ -8343,7 +8568,7 @@ }, "parameters": [ { - "id": 341, + "id": 400, "name": "dialog_id", "kind": 32768, "kindString": "Parameter", @@ -8359,7 +8584,7 @@ } }, { - "id": 342, + "id": 401, "name": "thread_name", "kind": 32768, "kindString": "Parameter", @@ -8378,7 +8603,7 @@ ], "type": { "type": "reference", - "id": 320, + "id": 379, "name": "BotkitConversation" } } @@ -8392,7 +8617,7 @@ ] }, { - "id": 343, + "id": 402, "name": "addMessage", "kind": 2048, "kindString": "Method", @@ -8403,7 +8628,7 @@ }, "signatures": [ { - "id": 344, + "id": 403, "name": "addMessage", "kind": 4096, "kindString": "Call signature", @@ -8416,7 +8641,7 @@ }, "parameters": [ { - "id": 345, + "id": 404, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -8434,7 +8659,7 @@ "typeArguments": [ { "type": "reference", - "id": 270, + "id": 329, "name": "BotkitMessageTemplate" } ], @@ -8448,7 +8673,7 @@ } }, { - "id": 346, + "id": 405, "name": "thread_name", "kind": 32768, "kindString": "Parameter", @@ -8466,7 +8691,7 @@ ], "type": { "type": "reference", - "id": 320, + "id": 379, "name": "BotkitConversation" } } @@ -8480,7 +8705,7 @@ ] }, { - "id": 354, + "id": 413, "name": "addQuestion", "kind": 2048, "kindString": "Method", @@ -8491,7 +8716,7 @@ }, "signatures": [ { - "id": 355, + "id": 414, "name": "addQuestion", "kind": 4096, "kindString": "Call signature", @@ -8504,7 +8729,7 @@ }, "parameters": [ { - "id": 356, + "id": 415, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -8522,7 +8747,7 @@ "typeArguments": [ { "type": "reference", - "id": 270, + "id": 329, "name": "BotkitMessageTemplate" } ], @@ -8536,7 +8761,7 @@ } }, { - "id": 357, + "id": 416, "name": "handlers", "kind": 32768, "kindString": "Parameter", @@ -8551,14 +8776,14 @@ "types": [ { "type": "reference", - "id": 259, + "id": 318, "name": "BotkitConvoHandler" }, { "type": "array", "elementType": { "type": "reference", - "id": 265, + "id": 324, "name": "BotkitConvoTrigger" } } @@ -8566,7 +8791,7 @@ } }, { - "id": 358, + "id": 417, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -8582,7 +8807,7 @@ { "type": "reflection", "declaration": { - "id": 359, + "id": 418, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8591,7 +8816,7 @@ }, "children": [ { - "id": 360, + "id": 419, "name": "key", "kind": 32, "kindString": "Variable", @@ -8617,7 +8842,7 @@ "title": "Variables", "kind": 32, "children": [ - 360 + 419 ] } ], @@ -8642,7 +8867,7 @@ } }, { - "id": 361, + "id": 420, "name": "thread_name", "kind": 32768, "kindString": "Parameter", @@ -8660,7 +8885,7 @@ ], "type": { "type": "reference", - "id": 320, + "id": 379, "name": "BotkitConversation" } } @@ -8674,7 +8899,7 @@ ] }, { - "id": 370, + "id": 429, "name": "after", "kind": 2048, "kindString": "Method", @@ -8685,7 +8910,7 @@ }, "signatures": [ { - "id": 371, + "id": 430, "name": "after", "kind": 4096, "kindString": "Call signature", @@ -8698,7 +8923,7 @@ }, "parameters": [ { - "id": 372, + "id": 431, "name": "handler", "kind": 32768, "kindString": "Parameter", @@ -8711,7 +8936,7 @@ "type": { "type": "reflection", "declaration": { - "id": 373, + "id": 432, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8720,7 +8945,7 @@ }, "signatures": [ { - "id": 374, + "id": 433, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -8729,7 +8954,7 @@ }, "parameters": [ { - "id": 375, + "id": 434, "name": "results", "kind": 32768, "kindString": "Parameter", @@ -8742,7 +8967,7 @@ } }, { - "id": 376, + "id": 435, "name": "bot", "kind": 32768, "kindString": "Parameter", @@ -8751,7 +8976,7 @@ }, "type": { "type": "reference", - "id": 25, + "id": 2, "name": "BotWorker" } } @@ -8788,7 +9013,7 @@ ] }, { - "id": 347, + "id": 406, "name": "ask", "kind": 2048, "kindString": "Method", @@ -8799,7 +9024,7 @@ }, "signatures": [ { - "id": 348, + "id": 407, "name": "ask", "kind": 4096, "kindString": "Call signature", @@ -8812,7 +9037,7 @@ }, "parameters": [ { - "id": 349, + "id": 408, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -8830,7 +9055,7 @@ "typeArguments": [ { "type": "reference", - "id": 270, + "id": 329, "name": "BotkitMessageTemplate" } ], @@ -8844,7 +9069,7 @@ } }, { - "id": 350, + "id": 409, "name": "handlers", "kind": 32768, "kindString": "Parameter", @@ -8859,14 +9084,14 @@ "types": [ { "type": "reference", - "id": 259, + "id": 318, "name": "BotkitConvoHandler" }, { "type": "array", "elementType": { "type": "reference", - "id": 265, + "id": 324, "name": "BotkitConvoTrigger" } } @@ -8874,7 +9099,7 @@ } }, { - "id": 351, + "id": 410, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -8890,7 +9115,7 @@ { "type": "reflection", "declaration": { - "id": 352, + "id": 411, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -8899,7 +9124,7 @@ }, "children": [ { - "id": 353, + "id": 412, "name": "key", "kind": 32, "kindString": "Variable", @@ -8925,7 +9150,7 @@ "title": "Variables", "kind": 32, "children": [ - 353 + 412 ] } ], @@ -8952,7 +9177,7 @@ ], "type": { "type": "reference", - "id": 320, + "id": 379, "name": "BotkitConversation" } } @@ -8966,7 +9191,7 @@ ] }, { - "id": 362, + "id": 421, "name": "before", "kind": 2048, "kindString": "Method", @@ -8977,7 +9202,7 @@ }, "signatures": [ { - "id": 363, + "id": 422, "name": "before", "kind": 4096, "kindString": "Call signature", @@ -8990,7 +9215,7 @@ }, "parameters": [ { - "id": 364, + "id": 423, "name": "thread_name", "kind": 32768, "kindString": "Parameter", @@ -9006,7 +9231,7 @@ } }, { - "id": 365, + "id": 424, "name": "handler", "kind": 32768, "kindString": "Parameter", @@ -9019,7 +9244,7 @@ "type": { "type": "reflection", "declaration": { - "id": 366, + "id": 425, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9028,7 +9253,7 @@ }, "signatures": [ { - "id": 367, + "id": 426, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -9037,7 +9262,7 @@ }, "parameters": [ { - "id": 368, + "id": 427, "name": "convo", "kind": 32768, "kindString": "Parameter", @@ -9046,12 +9271,12 @@ }, "type": { "type": "reference", - "id": 238, + "id": 297, "name": "BotkitDialogWrapper" } }, { - "id": 369, + "id": 428, "name": "bot", "kind": 32768, "kindString": "Parameter", @@ -9060,7 +9285,7 @@ }, "type": { "type": "reference", - "id": 25, + "id": 2, "name": "BotWorker" } } @@ -9103,7 +9328,7 @@ ] }, { - "id": 377, + "id": 436, "name": "onChange", "kind": 2048, "kindString": "Method", @@ -9114,7 +9339,7 @@ }, "signatures": [ { - "id": 378, + "id": 437, "name": "onChange", "kind": 4096, "kindString": "Call signature", @@ -9127,7 +9352,7 @@ }, "parameters": [ { - "id": 379, + "id": 438, "name": "variable", "kind": 32768, "kindString": "Parameter", @@ -9143,7 +9368,7 @@ } }, { - "id": 380, + "id": 439, "name": "handler", "kind": 32768, "kindString": "Parameter", @@ -9156,7 +9381,7 @@ "type": { "type": "reflection", "declaration": { - "id": 381, + "id": 440, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9165,7 +9390,7 @@ }, "signatures": [ { - "id": 382, + "id": 441, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -9174,7 +9399,7 @@ }, "parameters": [ { - "id": 383, + "id": 442, "name": "response", "kind": 32768, "kindString": "Parameter", @@ -9187,7 +9412,7 @@ } }, { - "id": 384, + "id": 443, "name": "convo", "kind": 32768, "kindString": "Parameter", @@ -9200,7 +9425,7 @@ } }, { - "id": 385, + "id": 444, "name": "bot", "kind": 32768, "kindString": "Parameter", @@ -9251,7 +9476,7 @@ ] }, { - "id": 327, + "id": 386, "name": "say", "kind": 2048, "kindString": "Method", @@ -9262,7 +9487,7 @@ }, "signatures": [ { - "id": 328, + "id": 387, "name": "say", "kind": 4096, "kindString": "Call signature", @@ -9275,7 +9500,7 @@ }, "parameters": [ { - "id": 329, + "id": 388, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -9293,7 +9518,7 @@ "typeArguments": [ { "type": "reference", - "id": 270, + "id": 329, "name": "BotkitMessageTemplate" } ], @@ -9309,7 +9534,7 @@ ], "type": { "type": "reference", - "id": 320, + "id": 379, "name": "BotkitConversation" } } @@ -9325,7 +9550,7 @@ ], "constructors": [ { - "id": 323, + "id": 382, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -9339,7 +9564,7 @@ }, "signatures": [ { - "id": 324, + "id": 383, "name": "new BotkitConversation", "kind": 16384, "kindString": "Constructor signature", @@ -9351,7 +9576,7 @@ }, "parameters": [ { - "id": 325, + "id": 384, "name": "dialogId", "kind": 32768, "kindString": "Parameter", @@ -9367,7 +9592,7 @@ } }, { - "id": 326, + "id": 385, "name": "controller", "kind": 32768, "kindString": "Parameter", @@ -9379,14 +9604,14 @@ }, "type": { "type": "reference", - "id": 126, + "id": 185, "name": "Botkit" } } ], "type": { "type": "reference", - "id": 320, + "id": 379, "name": "BotkitConversation" } } @@ -9402,7 +9627,7 @@ ] }, { - "id": 238, + "id": 297, "name": "BotkitDialogWrapper", "kind": 128, "kindString": "Class", @@ -9415,7 +9640,7 @@ }, "children": [ { - "id": 243, + "id": 302, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -9426,7 +9651,7 @@ }, "signatures": [ { - "id": 244, + "id": 303, "name": "new BotkitDialogWrapper", "kind": 16384, "kindString": "Constructor signature", @@ -9435,7 +9660,7 @@ }, "parameters": [ { - "id": 245, + "id": 304, "name": "dc", "kind": 32768, "kindString": "Parameter", @@ -9448,7 +9673,7 @@ } }, { - "id": 246, + "id": 305, "name": "step", "kind": 32768, "kindString": "Parameter", @@ -9457,14 +9682,14 @@ }, "type": { "type": "reference", - "id": 307, + "id": 366, "name": "BotkitConversationStep" } } ], "type": { "type": "reference", - "id": 238, + "id": 297, "name": "BotkitDialogWrapper" } } @@ -9478,7 +9703,7 @@ ] }, { - "id": 239, + "id": 298, "name": "vars", "kind": 1024, "kindString": "Property", @@ -9500,7 +9725,7 @@ "type": { "type": "reflection", "declaration": { - "id": 240, + "id": 299, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9509,7 +9734,7 @@ }, "indexSignature": [ { - "id": 241, + "id": 300, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -9518,7 +9743,7 @@ }, "parameters": [ { - "id": 242, + "id": 301, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -9548,7 +9773,7 @@ } }, { - "id": 247, + "id": 306, "name": "gotoThread", "kind": 2048, "kindString": "Method", @@ -9559,7 +9784,7 @@ }, "signatures": [ { - "id": 248, + "id": 307, "name": "gotoThread", "kind": 4096, "kindString": "Call signature", @@ -9571,7 +9796,7 @@ }, "parameters": [ { - "id": 249, + "id": 308, "name": "thread", "kind": 32768, "kindString": "Parameter", @@ -9608,7 +9833,7 @@ ] }, { - "id": 250, + "id": 309, "name": "repeat", "kind": 2048, "kindString": "Method", @@ -9619,7 +9844,7 @@ }, "signatures": [ { - "id": 251, + "id": 310, "name": "repeat", "kind": 4096, "kindString": "Call signature", @@ -9650,7 +9875,7 @@ ] }, { - "id": 254, + "id": 313, "name": "setVar", "kind": 2048, "kindString": "Method", @@ -9661,7 +9886,7 @@ }, "signatures": [ { - "id": 255, + "id": 314, "name": "setVar", "kind": 4096, "kindString": "Call signature", @@ -9673,7 +9898,7 @@ }, "parameters": [ { - "id": 256, + "id": 315, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -9689,7 +9914,7 @@ } }, { - "id": 257, + "id": 316, "name": "val", "kind": 32768, "kindString": "Parameter", @@ -9720,7 +9945,7 @@ ] }, { - "id": 252, + "id": 311, "name": "stop", "kind": 2048, "kindString": "Method", @@ -9731,7 +9956,7 @@ }, "signatures": [ { - "id": 253, + "id": 312, "name": "stop", "kind": 4096, "kindString": "Call signature", @@ -9767,24 +9992,24 @@ "title": "Constructors", "kind": 512, "children": [ - 243 + 302 ] }, { "title": "Properties", "kind": 1024, "children": [ - 239 + 298 ] }, { "title": "Methods", "kind": 2048, "children": [ - 247, - 250, - 254, - 252 + 306, + 309, + 313, + 311 ] } ], @@ -9797,7 +10022,7 @@ ], "props": [ { - "id": 239, + "id": 298, "name": "vars", "kind": 1024, "kindString": "Property", @@ -9819,7 +10044,7 @@ "type": { "type": "reflection", "declaration": { - "id": 240, + "id": 299, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -9828,7 +10053,7 @@ }, "indexSignature": [ { - "id": 241, + "id": 300, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -9837,7 +10062,7 @@ }, "parameters": [ { - "id": 242, + "id": 301, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -9869,7 +10094,7 @@ ], "methods": [ { - "id": 247, + "id": 306, "name": "gotoThread", "kind": 2048, "kindString": "Method", @@ -9880,7 +10105,7 @@ }, "signatures": [ { - "id": 248, + "id": 307, "name": "gotoThread", "kind": 4096, "kindString": "Call signature", @@ -9892,7 +10117,7 @@ }, "parameters": [ { - "id": 249, + "id": 308, "name": "thread", "kind": 32768, "kindString": "Parameter", @@ -9929,7 +10154,7 @@ ] }, { - "id": 250, + "id": 309, "name": "repeat", "kind": 2048, "kindString": "Method", @@ -9940,7 +10165,7 @@ }, "signatures": [ { - "id": 251, + "id": 310, "name": "repeat", "kind": 4096, "kindString": "Call signature", @@ -9971,7 +10196,7 @@ ] }, { - "id": 254, + "id": 313, "name": "setVar", "kind": 2048, "kindString": "Method", @@ -9982,7 +10207,7 @@ }, "signatures": [ { - "id": 255, + "id": 314, "name": "setVar", "kind": 4096, "kindString": "Call signature", @@ -9994,7 +10219,7 @@ }, "parameters": [ { - "id": 256, + "id": 315, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -10010,7 +10235,7 @@ } }, { - "id": 257, + "id": 316, "name": "val", "kind": 32768, "kindString": "Parameter", @@ -10041,7 +10266,7 @@ ] }, { - "id": 252, + "id": 311, "name": "stop", "kind": 2048, "kindString": "Method", @@ -10052,7 +10277,7 @@ }, "signatures": [ { - "id": 253, + "id": 312, "name": "stop", "kind": 4096, "kindString": "Call signature", @@ -10085,7 +10310,7 @@ ], "constructors": [ { - "id": 243, + "id": 302, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -10096,7 +10321,7 @@ }, "signatures": [ { - "id": 244, + "id": 303, "name": "new BotkitDialogWrapper", "kind": 16384, "kindString": "Constructor signature", @@ -10105,7 +10330,7 @@ }, "parameters": [ { - "id": 245, + "id": 304, "name": "dc", "kind": 32768, "kindString": "Parameter", @@ -10118,7 +10343,7 @@ } }, { - "id": 246, + "id": 305, "name": "step", "kind": 32768, "kindString": "Parameter", @@ -10127,14 +10352,14 @@ }, "type": { "type": "reference", - "id": 307, + "id": 366, "name": "BotkitConversationStep" } } ], "type": { "type": "reference", - "id": 238, + "id": 297, "name": "BotkitDialogWrapper" } } @@ -10150,7 +10375,7 @@ ] }, { - "id": 403, + "id": 462, "name": "BotkitTestClient", "kind": 128, "kindString": "Class", @@ -10163,7 +10388,7 @@ }, "children": [ { - "id": 406, + "id": 465, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -10178,7 +10403,7 @@ }, "signatures": [ { - "id": 407, + "id": 466, "name": "new BotkitTestClient", "kind": 16384, "kindString": "Constructor signature", @@ -10191,7 +10416,7 @@ }, "parameters": [ { - "id": 408, + "id": 467, "name": "channelId", "kind": 32768, "kindString": "Parameter", @@ -10207,7 +10432,7 @@ } }, { - "id": 409, + "id": 468, "name": "bot", "kind": 32768, "kindString": "Parameter", @@ -10219,12 +10444,12 @@ }, "type": { "type": "reference", - "id": 126, + "id": 185, "name": "Botkit" } }, { - "id": 410, + "id": 469, "name": "dialogToTest", "kind": 32768, "kindString": "Parameter", @@ -10252,7 +10477,7 @@ } }, { - "id": 411, + "id": 470, "name": "initialDialogOptions", "kind": 32768, "kindString": "Parameter", @@ -10269,7 +10494,7 @@ } }, { - "id": 412, + "id": 471, "name": "middlewares", "kind": 32768, "kindString": "Parameter", @@ -10289,7 +10514,7 @@ } }, { - "id": 413, + "id": 472, "name": "conversationState", "kind": 32768, "kindString": "Parameter", @@ -10308,12 +10533,12 @@ ], "type": { "type": "reference", - "id": 403, + "id": 462, "name": "BotkitTestClient" } }, { - "id": 414, + "id": 473, "name": "new BotkitTestClient", "kind": 16384, "kindString": "Constructor signature", @@ -10326,7 +10551,7 @@ }, "parameters": [ { - "id": 415, + "id": 474, "name": "testAdapter", "kind": 32768, "kindString": "Parameter", @@ -10339,7 +10564,7 @@ } }, { - "id": 416, + "id": 475, "name": "bot", "kind": 32768, "kindString": "Parameter", @@ -10351,12 +10576,12 @@ }, "type": { "type": "reference", - "id": 126, + "id": 185, "name": "Botkit" } }, { - "id": 417, + "id": 476, "name": "dialogToTest", "kind": 32768, "kindString": "Parameter", @@ -10384,7 +10609,7 @@ } }, { - "id": 418, + "id": 477, "name": "initialDialogOptions", "kind": 32768, "kindString": "Parameter", @@ -10401,7 +10626,7 @@ } }, { - "id": 419, + "id": 478, "name": "middlewares", "kind": 32768, "kindString": "Parameter", @@ -10421,7 +10646,7 @@ } }, { - "id": 420, + "id": 479, "name": "conversationState", "kind": 32768, "kindString": "Parameter", @@ -10440,7 +10665,7 @@ ], "type": { "type": "reference", - "id": 403, + "id": 462, "name": "BotkitTestClient" } } @@ -10464,7 +10689,7 @@ ] }, { - "id": 405, + "id": 464, "name": "conversationState", "kind": 1024, "kindString": "Property", @@ -10486,7 +10711,7 @@ } }, { - "id": 404, + "id": 463, "name": "dialogTurnResult", "kind": 1024, "kindString": "Property", @@ -10508,7 +10733,7 @@ } }, { - "id": 424, + "id": 483, "name": "getNextReply", "kind": 2048, "kindString": "Method", @@ -10519,7 +10744,7 @@ }, "signatures": [ { - "id": 425, + "id": 484, "name": "getNextReply", "kind": 4096, "kindString": "Call signature", @@ -10550,7 +10775,7 @@ ] }, { - "id": 421, + "id": 480, "name": "sendActivity", "kind": 2048, "kindString": "Method", @@ -10561,7 +10786,7 @@ }, "signatures": [ { - "id": 422, + "id": 481, "name": "sendActivity", "kind": 4096, "kindString": "Call signature", @@ -10574,7 +10799,7 @@ }, "parameters": [ { - "id": 423, + "id": 482, "name": "activity", "kind": 32768, "kindString": "Parameter", @@ -10631,23 +10856,23 @@ "title": "Constructors", "kind": 512, "children": [ - 406 + 465 ] }, { "title": "Properties", "kind": 1024, "children": [ - 405, - 404 + 464, + 463 ] }, { "title": "Methods", "kind": 2048, "children": [ - 424, - 421 + 483, + 480 ] } ], @@ -10660,7 +10885,7 @@ ], "props": [ { - "id": 405, + "id": 464, "name": "conversationState", "kind": 1024, "kindString": "Property", @@ -10682,7 +10907,7 @@ } }, { - "id": 404, + "id": 463, "name": "dialogTurnResult", "kind": 1024, "kindString": "Property", @@ -10706,7 +10931,7 @@ ], "methods": [ { - "id": 424, + "id": 483, "name": "getNextReply", "kind": 2048, "kindString": "Method", @@ -10717,7 +10942,7 @@ }, "signatures": [ { - "id": 425, + "id": 484, "name": "getNextReply", "kind": 4096, "kindString": "Call signature", @@ -10748,7 +10973,7 @@ ] }, { - "id": 421, + "id": 480, "name": "sendActivity", "kind": 2048, "kindString": "Method", @@ -10759,7 +10984,7 @@ }, "signatures": [ { - "id": 422, + "id": 481, "name": "sendActivity", "kind": 4096, "kindString": "Call signature", @@ -10772,7 +10997,7 @@ }, "parameters": [ { - "id": 423, + "id": 482, "name": "activity", "kind": 32768, "kindString": "Parameter", @@ -10826,7 +11051,7 @@ ], "constructors": [ { - "id": 406, + "id": 465, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -10841,7 +11066,7 @@ }, "signatures": [ { - "id": 407, + "id": 466, "name": "new BotkitTestClient", "kind": 16384, "kindString": "Constructor signature", @@ -10854,7 +11079,7 @@ }, "parameters": [ { - "id": 408, + "id": 467, "name": "channelId", "kind": 32768, "kindString": "Parameter", @@ -10870,7 +11095,7 @@ } }, { - "id": 409, + "id": 468, "name": "bot", "kind": 32768, "kindString": "Parameter", @@ -10882,12 +11107,144 @@ }, "type": { "type": "reference", - "id": 126, + "id": 185, "name": "Botkit" } }, { - "id": 410, + "id": 469, + "name": "dialogToTest", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "(Required) The identifier of the skill to test in the bot." + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 470, + "name": "initialDialogOptions", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "comment": { + "shortText": "(Optional) additional argument(s) to pass to the dialog being started." + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 471, + "name": "middlewares", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "comment": { + "shortText": "(Optional) a stack of middleware to be run when testing" + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "name": "Middleware" + } + } + }, + { + "id": 472, + "name": "conversationState", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "comment": { + "shortText": "(Optional) A ConversationState instance to use in the test client\n" + }, + "type": { + "type": "reference", + "name": "ConversationState" + } + } + ], + "type": { + "type": "reference", + "id": 462, + "name": "BotkitTestClient" + } + }, + { + "id": 473, + "name": "new BotkitTestClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Create a BotkitTestClient to test a dialog without having to create a full-fledged adapter.", + "text": "```javascript\nlet client = new BotkitTestClient('test', bot, MY_DIALOG, MY_OPTIONS);\nlet reply = await client.sendActivity('first message');\nassert.strictEqual(reply.text, 'first reply', 'reply failed');\n```\n" + }, + "parameters": [ + { + "id": 474, + "name": "testAdapter", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "TestAdapter" + } + }, + { + "id": 475, + "name": "bot", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "(Required) The Botkit bot that has the skill to test." + }, + "type": { + "type": "reference", + "id": 185, + "name": "Botkit" + } + }, + { + "id": 476, "name": "dialogToTest", "kind": 32768, "kindString": "Parameter", @@ -10915,7 +11272,7 @@ } }, { - "id": 411, + "id": 477, "name": "initialDialogOptions", "kind": 32768, "kindString": "Parameter", @@ -10932,7 +11289,7 @@ } }, { - "id": 412, + "id": 478, "name": "middlewares", "kind": 32768, "kindString": "Parameter", @@ -10952,7 +11309,7 @@ } }, { - "id": 413, + "id": 479, "name": "conversationState", "kind": 32768, "kindString": "Parameter", @@ -10971,167 +11328,297 @@ ], "type": { "type": "reference", - "id": 403, + "id": 462, "name": "BotkitTestClient" } - }, + } + ], + "sources": [ + { + "fileName": "testClient.ts", + "line": 27, + "character": 48 + }, + { + "fileName": "testClient.ts", + "line": 47, + "character": 182 + }, + { + "fileName": "testClient.ts", + "line": 48, + "character": 189 + } + ] + } + ] + }, + { + "id": 106, + "name": "TeamsInvokeMiddleware", + "kind": 128, + "kindString": "Class", + "flags": { + "isExported": true, + "isExternal": true + }, + "comment": { + "shortText": "When used, causes Botkit to emit special events for teams \"invokes\"\nBased on https://github.com/microsoft/botbuilder-js/blob/master/libraries/botbuilder/src/teamsActivityHandler.ts\nThis allows Botkit bots to respond directly to task/fetch or task/submit events, as an example.\nTo use this, bind it to the adapter before creating the Botkit controller:\n```javascript\nconst Botkit = new Botkit({...});\nbotkit.adapter.use(new TeamsInvokeMiddleware());", + "text": "// can bind directly to task/fetch, task/submit and other invoke types used by teams\ncontroller.on('task/fetch', async(bot, message) => {\n await bot.replyWithTaskInfo(message, taskInfo);\n});\n```\n" + }, + "children": [ + { + "id": 107, + "name": "onTurn", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true, + "isExported": true, + "isExternal": true + }, + "signatures": [ + { + "id": 108, + "name": "onTurn", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Not for direct use - implements the MiddlewareSet's required onTurn function used to process the event" + }, + "parameters": [ + { + "id": 109, + "name": "context", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": {}, + "type": { + "type": "reference", + "name": "TurnContext" + } + }, + { + "id": 110, + "name": "next", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "\n" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 111, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 112, + "name": "__call", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "teamsHelpers.ts", + "line": 84, + "character": 51 + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise" + } + } + ], + "sources": [ { - "id": 414, - "name": "new BotkitTestClient", - "kind": 16384, - "kindString": "Constructor signature", + "fileName": "teamsHelpers.ts", + "line": 84, + "character": 23 + } + ] + } + ], + "groups": [ + { + "title": "Methods", + "kind": 2048, + "children": [ + 107 + ] + } + ], + "sources": [ + { + "fileName": "teamsHelpers.ts", + "line": 78, + "character": 34 + } + ], + "extendedTypes": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "props": [], + "methods": [ + { + "id": 107, + "name": "onTurn", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true, + "isExported": true, + "isExternal": true + }, + "signatures": [ + { + "id": 108, + "name": "onTurn", + "kind": 4096, + "kindString": "Call signature", "flags": { "isExported": true }, "comment": { - "shortText": "Create a BotkitTestClient to test a dialog without having to create a full-fledged adapter.", - "text": "```javascript\nlet client = new BotkitTestClient('test', bot, MY_DIALOG, MY_OPTIONS);\nlet reply = await client.sendActivity('first message');\nassert.strictEqual(reply.text, 'first reply', 'reply failed');\n```\n" + "shortText": "Not for direct use - implements the MiddlewareSet's required onTurn function used to process the event" }, "parameters": [ { - "id": 415, - "name": "testAdapter", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "reference", - "name": "TestAdapter" - } - }, - { - "id": 416, - "name": "bot", + "id": 109, + "name": "context", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, - "comment": { - "shortText": "(Required) The Botkit bot that has the skill to test." - }, + "comment": {}, "type": { "type": "reference", - "id": 126, - "name": "Botkit" + "name": "TurnContext" } }, { - "id": 417, - "name": "dialogToTest", + "id": 110, + "name": "next", "kind": 32768, "kindString": "Parameter", "flags": { "isExported": true }, "comment": { - "shortText": "(Required) The identifier of the skill to test in the bot." + "text": "\n" }, "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "string" + "type": "reflection", + "declaration": { + "id": 111, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true }, - { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" + "signatures": [ + { + "id": 112, + "name": "__call", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise" + } } - } - ] - } - }, - { - "id": 418, - "name": "initialDialogOptions", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "comment": { - "shortText": "(Optional) additional argument(s) to pass to the dialog being started." - }, - "type": { - "type": "intrinsic", - "name": "any" - } - }, - { - "id": 419, - "name": "middlewares", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "comment": { - "shortText": "(Optional) a stack of middleware to be run when testing" - }, - "type": { - "type": "array", - "elementType": { - "type": "reference", - "name": "Middleware" + ], + "sources": [ + { + "fileName": "teamsHelpers.ts", + "line": 84, + "character": 51 + } + ] } } - }, - { - "id": 420, - "name": "conversationState", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "comment": { - "shortText": "(Optional) A ConversationState instance to use in the test client\n" - }, - "type": { - "type": "reference", - "name": "ConversationState" - } } ], "type": { "type": "reference", - "id": 403, - "name": "BotkitTestClient" + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise" } } ], "sources": [ { - "fileName": "testClient.ts", - "line": 27, - "character": 48 - }, - { - "fileName": "testClient.ts", - "line": 47, - "character": 182 - }, - { - "fileName": "testClient.ts", - "line": 48, - "character": 189 + "fileName": "teamsHelpers.ts", + "line": 84, + "character": 23 } ] } - ] + ], + "constructors": [] } ], "interfaces": [ { - "id": 80, + "id": 137, "name": "BotkitConfiguration", "kind": 256, "kindString": "Interface", @@ -11144,7 +11631,7 @@ }, "children": [ { - "id": 83, + "id": 140, "name": "adapter", "kind": 1024, "kindString": "Property", @@ -11169,7 +11656,7 @@ } }, { - "id": 84, + "id": 141, "name": "adapterConfig", "kind": 1024, "kindString": "Property", @@ -11191,7 +11678,7 @@ "type": { "type": "reflection", "declaration": { - "id": 85, + "id": 142, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11200,7 +11687,7 @@ }, "indexSignature": [ { - "id": 86, + "id": 143, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -11209,7 +11696,7 @@ }, "parameters": [ { - "id": 87, + "id": 144, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -11239,7 +11726,7 @@ } }, { - "id": 82, + "id": 139, "name": "dialogStateProperty", "kind": 1024, "kindString": "Property", @@ -11264,7 +11751,7 @@ } }, { - "id": 92, + "id": 149, "name": "disable_console", "kind": 1024, "kindString": "Property", @@ -11285,12 +11772,62 @@ ], "type": { "type": "intrinsic", - "name": "boolean" + "name": "boolean" + } + }, + { + "id": 148, + "name": "disable_webserver", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Disable webserver. If true, Botkit will not create a webserver or expose any webhook endpoints automatically. Defaults to false." + }, + "sources": [ + { + "fileName": "core.ts", + "line": 70, + "character": 21 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 150, + "name": "jsonLimit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Limit of the size of incoming JSON payloads parsed by the Express bodyParser. Defaults to '100kb'" + }, + "sources": [ + { + "fileName": "core.ts", + "line": 80, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" } }, { - "id": 91, - "name": "disable_webserver", + "id": 147, + "name": "storage", "kind": 1024, "kindString": "Property", "flags": { @@ -11299,23 +11836,23 @@ "isOptional": true }, "comment": { - "shortText": "Disable webserver. If true, Botkit will not create a webserver or expose any webhook endpoints automatically. Defaults to false." + "shortText": "A Storage interface compatible with [this specification](https://docs.microsoft.com/en-us/javascript/api/botbuilder-core/storage?view=botbuilder-ts-latest)\nDefaults to the ephemeral [MemoryStorage](https://docs.microsoft.com/en-us/javascript/api/botbuilder-core/memorystorage?view=botbuilder-ts-latest) implementation." }, "sources": [ { "fileName": "core.ts", - "line": 70, - "character": 21 + "line": 65, + "character": 11 } ], "type": { - "type": "intrinsic", - "name": "boolean" + "type": "reference", + "name": "Storage" } }, { - "id": 90, - "name": "storage", + "id": 151, + "name": "urlEncodedLimit", "kind": 1024, "kindString": "Property", "flags": { @@ -11324,22 +11861,22 @@ "isOptional": true }, "comment": { - "shortText": "A Storage interface compatible with [this specification](https://docs.microsoft.com/en-us/javascript/api/botbuilder-core/storage?view=botbuilder-ts-latest)\nDefaults to the ephemeral [MemoryStorage](https://docs.microsoft.com/en-us/javascript/api/botbuilder-core/memorystorage?view=botbuilder-ts-latest) implementation." + "shortText": "Limit of the size of incoming URL encoded payloads parsed by the Express bodyParser. Defaults to '100kb'" }, "sources": [ { "fileName": "core.ts", - "line": 65, - "character": 11 + "line": 85, + "character": 19 } ], "type": { - "type": "reference", - "name": "Storage" + "type": "intrinsic", + "name": "string" } }, { - "id": 81, + "id": 138, "name": "webhook_uri", "kind": 1024, "kindString": "Property", @@ -11364,7 +11901,7 @@ } }, { - "id": 88, + "id": 145, "name": "webserver", "kind": 1024, "kindString": "Property", @@ -11374,7 +11911,7 @@ "isOptional": true }, "comment": { - "shortText": "An instance of Express used to define web endpoints. If not specified, oen will be created internally.\nNote: only use your own Express if you absolutely must for some reason. Otherwise, use `controller.webserver`" + "shortText": "An instance of Express used to define web endpoints. If not specified, one will be created internally.\nNote: only use your own Express if you absolutely must for some reason. Otherwise, use `controller.webserver`" }, "sources": [ { @@ -11389,7 +11926,7 @@ } }, { - "id": 89, + "id": 146, "name": "webserver_middlewares", "kind": 1024, "kindString": "Property", @@ -11422,15 +11959,17 @@ "title": "Properties", "kind": 1024, "children": [ - 83, - 84, - 82, - 92, - 91, - 90, - 81, - 88, - 89 + 140, + 141, + 139, + 149, + 148, + 150, + 147, + 151, + 138, + 145, + 146 ] } ], @@ -11443,7 +11982,7 @@ ], "props": [ { - "id": 83, + "id": 140, "name": "adapter", "kind": 1024, "kindString": "Property", @@ -11468,7 +12007,7 @@ } }, { - "id": 84, + "id": 141, "name": "adapterConfig", "kind": 1024, "kindString": "Property", @@ -11490,7 +12029,7 @@ "type": { "type": "reflection", "declaration": { - "id": 85, + "id": 142, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11499,7 +12038,7 @@ }, "indexSignature": [ { - "id": 86, + "id": 143, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -11508,7 +12047,7 @@ }, "parameters": [ { - "id": 87, + "id": 144, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -11538,7 +12077,7 @@ } }, { - "id": 82, + "id": 139, "name": "dialogStateProperty", "kind": 1024, "kindString": "Property", @@ -11563,7 +12102,7 @@ } }, { - "id": 92, + "id": 149, "name": "disable_console", "kind": 1024, "kindString": "Property", @@ -11588,7 +12127,7 @@ } }, { - "id": 91, + "id": 148, "name": "disable_webserver", "kind": 1024, "kindString": "Property", @@ -11613,7 +12152,32 @@ } }, { - "id": 90, + "id": 150, + "name": "jsonLimit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Limit of the size of incoming JSON payloads parsed by the Express bodyParser. Defaults to '100kb'" + }, + "sources": [ + { + "fileName": "core.ts", + "line": 80, + "character": 13 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 147, "name": "storage", "kind": 1024, "kindString": "Property", @@ -11638,7 +12202,32 @@ } }, { - "id": 81, + "id": 151, + "name": "urlEncodedLimit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Limit of the size of incoming URL encoded payloads parsed by the Express bodyParser. Defaults to '100kb'" + }, + "sources": [ + { + "fileName": "core.ts", + "line": 85, + "character": 19 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 138, "name": "webhook_uri", "kind": 1024, "kindString": "Property", @@ -11663,7 +12252,7 @@ } }, { - "id": 88, + "id": 145, "name": "webserver", "kind": 1024, "kindString": "Property", @@ -11673,7 +12262,7 @@ "isOptional": true }, "comment": { - "shortText": "An instance of Express used to define web endpoints. If not specified, oen will be created internally.\nNote: only use your own Express if you absolutely must for some reason. Otherwise, use `controller.webserver`" + "shortText": "An instance of Express used to define web endpoints. If not specified, one will be created internally.\nNote: only use your own Express if you absolutely must for some reason. Otherwise, use `controller.webserver`" }, "sources": [ { @@ -11688,7 +12277,7 @@ } }, { - "id": 89, + "id": 146, "name": "webserver_middlewares", "kind": 1024, "kindString": "Property", @@ -11718,7 +12307,7 @@ ] }, { - "id": 307, + "id": 366, "name": "BotkitConversationStep", "kind": 256, "kindString": "Interface", @@ -11728,7 +12317,7 @@ }, "children": [ { - "id": 308, + "id": 367, "name": "index", "kind": 1024, "kindString": "Property", @@ -11752,7 +12341,7 @@ } }, { - "id": 316, + "id": 375, "name": "next", "kind": 1024, "kindString": "Property", @@ -11773,7 +12362,7 @@ "type": { "type": "reflection", "declaration": { - "id": 317, + "id": 376, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -11782,7 +12371,7 @@ }, "signatures": [ { - "id": 318, + "id": 377, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -11791,7 +12380,7 @@ }, "parameters": [ { - "id": 319, + "id": 378, "name": "stepResult", "kind": 32768, "kindString": "Parameter", @@ -11827,7 +12416,7 @@ } }, { - "id": 312, + "id": 371, "name": "options", "kind": 1024, "kindString": "Property", @@ -11851,7 +12440,7 @@ } }, { - "id": 313, + "id": 372, "name": "reason", "kind": 1024, "kindString": "Property", @@ -11875,7 +12464,7 @@ } }, { - "id": 314, + "id": 373, "name": "result", "kind": 1024, "kindString": "Property", @@ -11899,7 +12488,7 @@ } }, { - "id": 311, + "id": 370, "name": "state", "kind": 1024, "kindString": "Property", @@ -11923,7 +12512,7 @@ } }, { - "id": 309, + "id": 368, "name": "thread", "kind": 1024, "kindString": "Property", @@ -11947,7 +12536,7 @@ } }, { - "id": 310, + "id": 369, "name": "threadLength", "kind": 1024, "kindString": "Property", @@ -11971,7 +12560,7 @@ } }, { - "id": 315, + "id": 374, "name": "values", "kind": 1024, "kindString": "Property", @@ -12000,15 +12589,15 @@ "title": "Properties", "kind": 1024, "children": [ - 308, - 316, - 312, - 313, - 314, - 311, - 309, - 310, - 315 + 367, + 375, + 371, + 372, + 373, + 370, + 368, + 369, + 374 ] } ], @@ -12021,7 +12610,7 @@ ], "props": [ { - "id": 308, + "id": 367, "name": "index", "kind": 1024, "kindString": "Property", @@ -12045,7 +12634,7 @@ } }, { - "id": 316, + "id": 375, "name": "next", "kind": 1024, "kindString": "Property", @@ -12066,7 +12655,7 @@ "type": { "type": "reflection", "declaration": { - "id": 317, + "id": 376, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -12075,7 +12664,7 @@ }, "signatures": [ { - "id": 318, + "id": 377, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -12084,7 +12673,7 @@ }, "parameters": [ { - "id": 319, + "id": 378, "name": "stepResult", "kind": 32768, "kindString": "Parameter", @@ -12120,7 +12709,7 @@ } }, { - "id": 312, + "id": 371, "name": "options", "kind": 1024, "kindString": "Property", @@ -12144,7 +12733,7 @@ } }, { - "id": 313, + "id": 372, "name": "reason", "kind": 1024, "kindString": "Property", @@ -12168,7 +12757,7 @@ } }, { - "id": 314, + "id": 373, "name": "result", "kind": 1024, "kindString": "Property", @@ -12192,7 +12781,7 @@ } }, { - "id": 311, + "id": 370, "name": "state", "kind": 1024, "kindString": "Property", @@ -12216,7 +12805,7 @@ } }, { - "id": 309, + "id": 368, "name": "thread", "kind": 1024, "kindString": "Property", @@ -12240,7 +12829,7 @@ } }, { - "id": 310, + "id": 369, "name": "threadLength", "kind": 1024, "kindString": "Property", @@ -12264,7 +12853,7 @@ } }, { - "id": 315, + "id": 374, "name": "values", "kind": 1024, "kindString": "Property", @@ -12290,7 +12879,7 @@ ] }, { - "id": 259, + "id": 318, "name": "BotkitConvoHandler", "kind": 256, "kindString": "Interface", @@ -12302,7 +12891,7 @@ }, "signatures": [ { - "id": 260, + "id": 319, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -12312,7 +12901,7 @@ }, "parameters": [ { - "id": 261, + "id": 320, "name": "answer", "kind": 32768, "kindString": "Parameter", @@ -12323,38 +12912,38 @@ } }, { - "id": 262, + "id": 321, "name": "convo", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 238, + "id": 297, "name": "BotkitDialogWrapper" } }, { - "id": 263, + "id": 322, "name": "bot", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 25, + "id": 2, "name": "BotWorker" } }, { - "id": 264, + "id": 323, "name": "message", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } } @@ -12380,7 +12969,7 @@ ] }, { - "id": 265, + "id": 324, "name": "BotkitConvoTrigger", "kind": 256, "kindString": "Interface", @@ -12392,7 +12981,7 @@ }, "children": [ { - "id": 269, + "id": 328, "name": "default", "kind": 1024, "kindString": "Property", @@ -12413,7 +13002,7 @@ } }, { - "id": 268, + "id": 327, "name": "handler", "kind": 1024, "kindString": "Property", @@ -12429,12 +13018,12 @@ ], "type": { "type": "reference", - "id": 259, + "id": 318, "name": "BotkitConvoHandler" } }, { - "id": 267, + "id": 326, "name": "pattern", "kind": 1024, "kindString": "Property", @@ -12464,7 +13053,7 @@ } }, { - "id": 266, + "id": 325, "name": "type", "kind": 1024, "kindString": "Property", @@ -12490,10 +13079,10 @@ "title": "Properties", "kind": 1024, "children": [ - 269, - 268, - 267, - 266 + 328, + 327, + 326, + 325 ] } ], @@ -12506,7 +13095,7 @@ ], "props": [ { - "id": 269, + "id": 328, "name": "default", "kind": 1024, "kindString": "Property", @@ -12527,7 +13116,7 @@ } }, { - "id": 268, + "id": 327, "name": "handler", "kind": 1024, "kindString": "Property", @@ -12543,12 +13132,12 @@ ], "type": { "type": "reference", - "id": 259, + "id": 318, "name": "BotkitConvoHandler" } }, { - "id": 267, + "id": 326, "name": "pattern", "kind": 1024, "kindString": "Property", @@ -12578,7 +13167,7 @@ } }, { - "id": 266, + "id": 325, "name": "type", "kind": 1024, "kindString": "Property", @@ -12601,7 +13190,7 @@ ] }, { - "id": 103, + "id": 162, "name": "BotkitHandler", "kind": 256, "kindString": "Interface", @@ -12615,7 +13204,7 @@ }, "signatures": [ { - "id": 104, + "id": 163, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -12628,7 +13217,7 @@ }, "parameters": [ { - "id": 105, + "id": 164, "name": "bot", "kind": 32768, "kindString": "Parameter", @@ -12637,12 +13226,12 @@ }, "type": { "type": "reference", - "id": 25, + "id": 2, "name": "BotWorker" } }, { - "id": 106, + "id": 165, "name": "message", "kind": 32768, "kindString": "Parameter", @@ -12651,7 +13240,7 @@ }, "type": { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } } @@ -12671,13 +13260,13 @@ "sources": [ { "fileName": "core.ts", - "line": 143, + "line": 154, "character": 30 } ] }, { - "id": 93, + "id": 152, "name": "BotkitMessage", "kind": 256, "kindString": "Interface", @@ -12690,7 +13279,7 @@ }, "indexSignature": [ { - "id": 101, + "id": 160, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -12702,7 +13291,7 @@ }, "parameters": [ { - "id": 102, + "id": 161, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -12723,7 +13312,7 @@ ], "children": [ { - "id": 98, + "id": 157, "name": "channel", "kind": 1024, "kindString": "Property", @@ -12737,7 +13326,7 @@ "sources": [ { "fileName": "core.ts", - "line": 106, + "line": 117, "character": 11 } ], @@ -12747,7 +13336,7 @@ } }, { - "id": 100, + "id": 159, "name": "incoming_message", "kind": 1024, "kindString": "Property", @@ -12761,7 +13350,7 @@ "sources": [ { "fileName": "core.ts", - "line": 117, + "line": 128, "character": 20 } ], @@ -12771,7 +13360,7 @@ } }, { - "id": 99, + "id": 158, "name": "reference", "kind": 1024, "kindString": "Property", @@ -12785,7 +13374,7 @@ "sources": [ { "fileName": "core.ts", - "line": 112, + "line": 123, "character": 13 } ], @@ -12795,7 +13384,7 @@ } }, { - "id": 95, + "id": 154, "name": "text", "kind": 1024, "kindString": "Property", @@ -12810,7 +13399,7 @@ "sources": [ { "fileName": "core.ts", - "line": 91, + "line": 102, "character": 8 } ], @@ -12820,7 +13409,7 @@ } }, { - "id": 94, + "id": 153, "name": "type", "kind": 1024, "kindString": "Property", @@ -12834,7 +13423,7 @@ "sources": [ { "fileName": "core.ts", - "line": 86, + "line": 97, "character": 8 } ], @@ -12844,7 +13433,7 @@ } }, { - "id": 97, + "id": 156, "name": "user", "kind": 1024, "kindString": "Property", @@ -12858,7 +13447,7 @@ "sources": [ { "fileName": "core.ts", - "line": 101, + "line": 112, "character": 8 } ], @@ -12868,7 +13457,7 @@ } }, { - "id": 96, + "id": 155, "name": "value", "kind": 1024, "kindString": "Property", @@ -12883,7 +13472,7 @@ "sources": [ { "fileName": "core.ts", - "line": 96, + "line": 107, "character": 9 } ], @@ -12898,26 +13487,26 @@ "title": "Properties", "kind": 1024, "children": [ - 98, - 100, - 99, - 95, - 94, - 97, - 96 + 157, + 159, + 158, + 154, + 153, + 156, + 155 ] } ], "sources": [ { "fileName": "core.ts", - "line": 82, + "line": 93, "character": 30 } ], "props": [ { - "id": 98, + "id": 157, "name": "channel", "kind": 1024, "kindString": "Property", @@ -12931,7 +13520,7 @@ "sources": [ { "fileName": "core.ts", - "line": 106, + "line": 117, "character": 11 } ], @@ -12941,7 +13530,7 @@ } }, { - "id": 100, + "id": 159, "name": "incoming_message", "kind": 1024, "kindString": "Property", @@ -12955,7 +13544,7 @@ "sources": [ { "fileName": "core.ts", - "line": 117, + "line": 128, "character": 20 } ], @@ -12965,7 +13554,7 @@ } }, { - "id": 99, + "id": 158, "name": "reference", "kind": 1024, "kindString": "Property", @@ -12979,7 +13568,7 @@ "sources": [ { "fileName": "core.ts", - "line": 112, + "line": 123, "character": 13 } ], @@ -12989,7 +13578,7 @@ } }, { - "id": 95, + "id": 154, "name": "text", "kind": 1024, "kindString": "Property", @@ -13004,7 +13593,7 @@ "sources": [ { "fileName": "core.ts", - "line": 91, + "line": 102, "character": 8 } ], @@ -13014,7 +13603,7 @@ } }, { - "id": 94, + "id": 153, "name": "type", "kind": 1024, "kindString": "Property", @@ -13028,7 +13617,7 @@ "sources": [ { "fileName": "core.ts", - "line": 86, + "line": 97, "character": 8 } ], @@ -13038,7 +13627,7 @@ } }, { - "id": 97, + "id": 156, "name": "user", "kind": 1024, "kindString": "Property", @@ -13052,7 +13641,7 @@ "sources": [ { "fileName": "core.ts", - "line": 101, + "line": 112, "character": 8 } ], @@ -13062,7 +13651,7 @@ } }, { - "id": 96, + "id": 155, "name": "value", "kind": 1024, "kindString": "Property", @@ -13077,7 +13666,7 @@ "sources": [ { "fileName": "core.ts", - "line": 96, + "line": 107, "character": 9 } ], @@ -13089,7 +13678,7 @@ ] }, { - "id": 270, + "id": 329, "name": "BotkitMessageTemplate", "kind": 256, "kindString": "Interface", @@ -13101,7 +13690,7 @@ }, "children": [ { - "id": 276, + "id": 335, "name": "action", "kind": 1024, "kindString": "Property", @@ -13122,7 +13711,7 @@ } }, { - "id": 296, + "id": 355, "name": "attachment", "kind": 1024, "kindString": "Property", @@ -13143,21 +13732,21 @@ { "type": "reflection", "declaration": { - "id": 297, + "id": 356, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 298, + "id": 357, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 299, + "id": 358, "name": "template", "kind": 32768, "kindString": "Parameter", @@ -13168,7 +13757,7 @@ } }, { - "id": 300, + "id": 359, "name": "vars", "kind": 32768, "kindString": "Parameter", @@ -13202,7 +13791,7 @@ } }, { - "id": 301, + "id": 360, "name": "attachmentLayout", "kind": 1024, "kindString": "Property", @@ -13223,7 +13812,7 @@ } }, { - "id": 286, + "id": 345, "name": "attachments", "kind": 1024, "kindString": "Property", @@ -13244,21 +13833,21 @@ { "type": "reflection", "declaration": { - "id": 287, + "id": 346, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 288, + "id": 347, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 289, + "id": 348, "name": "template", "kind": 32768, "kindString": "Parameter", @@ -13269,7 +13858,7 @@ } }, { - "id": 290, + "id": 349, "name": "vars", "kind": 32768, "kindString": "Parameter", @@ -13309,7 +13898,7 @@ } }, { - "id": 291, + "id": 350, "name": "blocks", "kind": 1024, "kindString": "Property", @@ -13330,21 +13919,21 @@ { "type": "reflection", "declaration": { - "id": 292, + "id": 351, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 293, + "id": 352, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 294, + "id": 353, "name": "template", "kind": 32768, "kindString": "Parameter", @@ -13355,7 +13944,7 @@ } }, { - "id": 295, + "id": 354, "name": "vars", "kind": 32768, "kindString": "Parameter", @@ -13395,7 +13984,7 @@ } }, { - "id": 302, + "id": 361, "name": "channelData", "kind": 1024, "kindString": "Property", @@ -13416,7 +14005,7 @@ } }, { - "id": 303, + "id": 362, "name": "collect", "kind": 1024, "kindString": "Property", @@ -13433,14 +14022,14 @@ "type": { "type": "reflection", "declaration": { - "id": 304, + "id": 363, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 305, + "id": 364, "name": "key", "kind": 32, "kindString": "Variable", @@ -13461,7 +14050,7 @@ } }, { - "id": 306, + "id": 365, "name": "options", "kind": 32, "kindString": "Variable", @@ -13480,7 +14069,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 265, + "id": 324, "name": "BotkitConvoTrigger" } } @@ -13491,8 +14080,8 @@ "title": "Variables", "kind": 32, "children": [ - 305, - 306 + 364, + 365 ] } ], @@ -13507,7 +14096,7 @@ } }, { - "id": 277, + "id": 336, "name": "execute", "kind": 1024, "kindString": "Property", @@ -13525,14 +14114,14 @@ "type": { "type": "reflection", "declaration": { - "id": 278, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 279, + "id": 338, "name": "script", "kind": 32, "kindString": "Variable", @@ -13552,7 +14141,7 @@ } }, { - "id": 280, + "id": 339, "name": "thread", "kind": 32, "kindString": "Variable", @@ -13578,8 +14167,8 @@ "title": "Variables", "kind": 32, "children": [ - 279, - 280 + 338, + 339 ] } ], @@ -13594,7 +14183,7 @@ } }, { - "id": 281, + "id": 340, "name": "quick_replies", "kind": 1024, "kindString": "Property", @@ -13615,21 +14204,21 @@ { "type": "reflection", "declaration": { - "id": 282, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 283, + "id": 342, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 284, + "id": 343, "name": "template", "kind": 32768, "kindString": "Parameter", @@ -13640,7 +14229,7 @@ } }, { - "id": 285, + "id": 344, "name": "vars", "kind": 32768, "kindString": "Parameter", @@ -13680,7 +14269,7 @@ } }, { - "id": 271, + "id": 330, "name": "text", "kind": 1024, "kindString": "Property", @@ -13700,21 +14289,21 @@ { "type": "reflection", "declaration": { - "id": 272, + "id": 331, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 273, + "id": 332, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 274, + "id": 333, "name": "template", "kind": 32768, "kindString": "Parameter", @@ -13725,7 +14314,7 @@ } }, { - "id": 275, + "id": 334, "name": "vars", "kind": 32768, "kindString": "Parameter", @@ -13737,11 +14326,8 @@ } ], "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "string" } } ], @@ -13770,16 +14356,16 @@ "title": "Properties", "kind": 1024, "children": [ - 276, - 296, - 301, - 286, - 291, - 302, - 303, - 277, - 281, - 271 + 335, + 355, + 360, + 345, + 350, + 361, + 362, + 336, + 340, + 330 ] } ], @@ -13792,7 +14378,7 @@ ], "props": [ { - "id": 276, + "id": 335, "name": "action", "kind": 1024, "kindString": "Property", @@ -13813,7 +14399,7 @@ } }, { - "id": 296, + "id": 355, "name": "attachment", "kind": 1024, "kindString": "Property", @@ -13834,21 +14420,21 @@ { "type": "reflection", "declaration": { - "id": 297, + "id": 356, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 298, + "id": 357, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 299, + "id": 358, "name": "template", "kind": 32768, "kindString": "Parameter", @@ -13859,7 +14445,7 @@ } }, { - "id": 300, + "id": 359, "name": "vars", "kind": 32768, "kindString": "Parameter", @@ -13893,7 +14479,7 @@ } }, { - "id": 301, + "id": 360, "name": "attachmentLayout", "kind": 1024, "kindString": "Property", @@ -13914,7 +14500,7 @@ } }, { - "id": 286, + "id": 345, "name": "attachments", "kind": 1024, "kindString": "Property", @@ -13935,21 +14521,21 @@ { "type": "reflection", "declaration": { - "id": 287, + "id": 346, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 288, + "id": 347, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 289, + "id": 348, "name": "template", "kind": 32768, "kindString": "Parameter", @@ -13960,7 +14546,7 @@ } }, { - "id": 290, + "id": 349, "name": "vars", "kind": 32768, "kindString": "Parameter", @@ -14000,7 +14586,7 @@ } }, { - "id": 291, + "id": 350, "name": "blocks", "kind": 1024, "kindString": "Property", @@ -14021,21 +14607,21 @@ { "type": "reflection", "declaration": { - "id": 292, + "id": 351, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 293, + "id": 352, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 294, + "id": 353, "name": "template", "kind": 32768, "kindString": "Parameter", @@ -14046,7 +14632,7 @@ } }, { - "id": 295, + "id": 354, "name": "vars", "kind": 32768, "kindString": "Parameter", @@ -14086,7 +14672,7 @@ } }, { - "id": 302, + "id": 361, "name": "channelData", "kind": 1024, "kindString": "Property", @@ -14107,7 +14693,7 @@ } }, { - "id": 303, + "id": 362, "name": "collect", "kind": 1024, "kindString": "Property", @@ -14124,14 +14710,14 @@ "type": { "type": "reflection", "declaration": { - "id": 304, + "id": 363, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 305, + "id": 364, "name": "key", "kind": 32, "kindString": "Variable", @@ -14152,7 +14738,7 @@ } }, { - "id": 306, + "id": 365, "name": "options", "kind": 32, "kindString": "Variable", @@ -14171,7 +14757,7 @@ "type": "array", "elementType": { "type": "reference", - "id": 265, + "id": 324, "name": "BotkitConvoTrigger" } } @@ -14182,8 +14768,8 @@ "title": "Variables", "kind": 32, "children": [ - 305, - 306 + 364, + 365 ] } ], @@ -14198,7 +14784,7 @@ } }, { - "id": 277, + "id": 336, "name": "execute", "kind": 1024, "kindString": "Property", @@ -14216,14 +14802,14 @@ "type": { "type": "reflection", "declaration": { - "id": 278, + "id": 337, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "children": [ { - "id": 279, + "id": 338, "name": "script", "kind": 32, "kindString": "Variable", @@ -14243,7 +14829,7 @@ } }, { - "id": 280, + "id": 339, "name": "thread", "kind": 32, "kindString": "Variable", @@ -14269,8 +14855,8 @@ "title": "Variables", "kind": 32, "children": [ - 279, - 280 + 338, + 339 ] } ], @@ -14285,7 +14871,7 @@ } }, { - "id": 281, + "id": 340, "name": "quick_replies", "kind": 1024, "kindString": "Property", @@ -14306,21 +14892,21 @@ { "type": "reflection", "declaration": { - "id": 282, + "id": 341, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 283, + "id": 342, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 284, + "id": 343, "name": "template", "kind": 32768, "kindString": "Parameter", @@ -14331,7 +14917,7 @@ } }, { - "id": 285, + "id": 344, "name": "vars", "kind": 32768, "kindString": "Parameter", @@ -14371,7 +14957,7 @@ } }, { - "id": 271, + "id": 330, "name": "text", "kind": 1024, "kindString": "Property", @@ -14391,21 +14977,21 @@ { "type": "reflection", "declaration": { - "id": 272, + "id": 331, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 273, + "id": 332, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 274, + "id": 333, "name": "template", "kind": 32768, "kindString": "Parameter", @@ -14416,7 +15002,7 @@ } }, { - "id": 275, + "id": 334, "name": "vars", "kind": 32768, "kindString": "Parameter", @@ -14428,11 +15014,8 @@ } ], "type": { - "type": "array", - "elementType": { - "type": "intrinsic", - "name": "string" - } + "type": "intrinsic", + "name": "string" } } ], @@ -14458,7 +15041,7 @@ ] }, { - "id": 114, + "id": 173, "name": "BotkitPlugin", "kind": 256, "kindString": "Interface", @@ -14471,7 +15054,7 @@ }, "indexSignature": [ { - "id": 124, + "id": 183, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -14483,7 +15066,7 @@ }, "parameters": [ { - "id": 125, + "id": 184, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -14504,7 +15087,7 @@ ], "children": [ { - "id": 120, + "id": 179, "name": "init", "kind": 1024, "kindString": "Property", @@ -14516,14 +15099,14 @@ "sources": [ { "fileName": "core.ts", - "line": 167, + "line": 178, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 121, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14532,7 +15115,7 @@ }, "signatures": [ { - "id": 122, + "id": 181, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -14541,7 +15124,7 @@ }, "parameters": [ { - "id": 123, + "id": 182, "name": "botkit", "kind": 32768, "kindString": "Parameter", @@ -14550,7 +15133,7 @@ }, "type": { "type": "reference", - "id": 126, + "id": 185, "name": "Botkit" } } @@ -14564,7 +15147,7 @@ "sources": [ { "fileName": "core.ts", - "line": 167, + "line": 178, "character": 10 } ] @@ -14572,7 +15155,7 @@ } }, { - "id": 116, + "id": 175, "name": "middlewares", "kind": 1024, "kindString": "Property", @@ -14584,14 +15167,14 @@ "sources": [ { "fileName": "core.ts", - "line": 164, + "line": 175, "character": 15 } ], "type": { "type": "reflection", "declaration": { - "id": 117, + "id": 176, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14600,7 +15183,7 @@ }, "indexSignature": [ { - "id": 118, + "id": 177, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -14609,7 +15192,7 @@ }, "parameters": [ { - "id": 119, + "id": 178, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -14634,7 +15217,7 @@ "sources": [ { "fileName": "core.ts", - "line": 164, + "line": 175, "character": 17 } ] @@ -14642,7 +15225,7 @@ } }, { - "id": 115, + "id": 174, "name": "name", "kind": 1024, "kindString": "Property", @@ -14653,7 +15236,7 @@ "sources": [ { "fileName": "core.ts", - "line": 163, + "line": 174, "character": 8 } ], @@ -14668,22 +15251,22 @@ "title": "Properties", "kind": 1024, "children": [ - 120, - 116, - 115 + 179, + 175, + 174 ] } ], "sources": [ { "fileName": "core.ts", - "line": 162, + "line": 173, "character": 29 } ], "props": [ { - "id": 120, + "id": 179, "name": "init", "kind": 1024, "kindString": "Property", @@ -14695,14 +15278,14 @@ "sources": [ { "fileName": "core.ts", - "line": 167, + "line": 178, "character": 8 } ], "type": { "type": "reflection", "declaration": { - "id": 121, + "id": 180, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14711,7 +15294,7 @@ }, "signatures": [ { - "id": 122, + "id": 181, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -14720,7 +15303,7 @@ }, "parameters": [ { - "id": 123, + "id": 182, "name": "botkit", "kind": 32768, "kindString": "Parameter", @@ -14729,7 +15312,7 @@ }, "type": { "type": "reference", - "id": 126, + "id": 185, "name": "Botkit" } } @@ -14743,7 +15326,7 @@ "sources": [ { "fileName": "core.ts", - "line": 167, + "line": 178, "character": 10 } ] @@ -14751,7 +15334,7 @@ } }, { - "id": 116, + "id": 175, "name": "middlewares", "kind": 1024, "kindString": "Property", @@ -14763,14 +15346,14 @@ "sources": [ { "fileName": "core.ts", - "line": 164, + "line": 175, "character": 15 } ], "type": { "type": "reflection", "declaration": { - "id": 117, + "id": 176, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -14779,7 +15362,7 @@ }, "indexSignature": [ { - "id": 118, + "id": 177, "name": "__index", "kind": 8192, "kindString": "Index signature", @@ -14788,7 +15371,7 @@ }, "parameters": [ { - "id": 119, + "id": 178, "name": "key", "kind": 32768, "kindString": "Parameter", @@ -14813,7 +15396,7 @@ "sources": [ { "fileName": "core.ts", - "line": 164, + "line": 175, "character": 17 } ] @@ -14821,7 +15404,7 @@ } }, { - "id": 115, + "id": 174, "name": "name", "kind": 1024, "kindString": "Property", @@ -14832,7 +15415,7 @@ "sources": [ { "fileName": "core.ts", - "line": 163, + "line": 174, "character": 8 } ], @@ -14844,7 +15427,7 @@ ] }, { - "id": 107, + "id": 166, "name": "BotkitTrigger", "kind": 256, "kindString": "Interface", @@ -14856,7 +15439,7 @@ }, "children": [ { - "id": 113, + "id": 172, "name": "handler", "kind": 1024, "kindString": "Property", @@ -14866,18 +15449,18 @@ "sources": [ { "fileName": "core.ts", - "line": 156, + "line": 167, "character": 11 } ], "type": { "type": "reference", - "id": 103, + "id": 162, "name": "BotkitHandler" } }, { - "id": 109, + "id": 168, "name": "pattern", "kind": 1024, "kindString": "Property", @@ -14887,7 +15470,7 @@ "sources": [ { "fileName": "core.ts", - "line": 155, + "line": 166, "character": 11 } ], @@ -14905,28 +15488,28 @@ { "type": "reflection", "declaration": { - "id": 110, + "id": 169, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 111, + "id": 170, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 112, + "id": 171, "name": "message", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } } @@ -14946,7 +15529,7 @@ "sources": [ { "fileName": "core.ts", - "line": 155, + "line": 166, "character": 30 } ] @@ -14956,7 +15539,7 @@ } }, { - "id": 108, + "id": 167, "name": "type", "kind": 1024, "kindString": "Property", @@ -14969,7 +15552,7 @@ "sources": [ { "fileName": "core.ts", - "line": 154, + "line": 165, "character": 8 } ], @@ -14984,22 +15567,22 @@ "title": "Properties", "kind": 1024, "children": [ - 113, - 109, - 108 + 172, + 168, + 167 ] } ], "sources": [ { "fileName": "core.ts", - "line": 150, + "line": 161, "character": 23 } ], "props": [ { - "id": 113, + "id": 172, "name": "handler", "kind": 1024, "kindString": "Property", @@ -15009,18 +15592,18 @@ "sources": [ { "fileName": "core.ts", - "line": 156, + "line": 167, "character": 11 } ], "type": { "type": "reference", - "id": 103, + "id": 162, "name": "BotkitHandler" } }, { - "id": 109, + "id": 168, "name": "pattern", "kind": 1024, "kindString": "Property", @@ -15030,7 +15613,7 @@ "sources": [ { "fileName": "core.ts", - "line": 155, + "line": 166, "character": 11 } ], @@ -15048,28 +15631,28 @@ { "type": "reflection", "declaration": { - "id": 110, + "id": 169, "name": "__type", "kind": 65536, "kindString": "Type literal", "flags": {}, "signatures": [ { - "id": 111, + "id": 170, "name": "__call", "kind": 4096, "kindString": "Call signature", "flags": {}, "parameters": [ { - "id": 112, + "id": 171, "name": "message", "kind": 32768, "kindString": "Parameter", "flags": {}, "type": { "type": "reference", - "id": 93, + "id": 152, "name": "BotkitMessage" } } @@ -15089,7 +15672,7 @@ "sources": [ { "fileName": "core.ts", - "line": 155, + "line": 166, "character": 30 } ] @@ -15099,7 +15682,7 @@ } }, { - "id": 108, + "id": 167, "name": "type", "kind": 1024, "kindString": "Property", @@ -15112,7 +15695,7 @@ "sources": [ { "fileName": "core.ts", - "line": 154, + "line": 165, "character": 8 } ], @@ -16692,7 +17275,7 @@ "path": "reference/webex.md", "classes": [ { - "id": 21, + "id": 30, "name": "WebexAdapter", "kind": 128, "kindString": "Class", @@ -16705,7 +17288,7 @@ }, "children": [ { - "id": 25, + "id": 34, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -16720,7 +17303,7 @@ }, "signatures": [ { - "id": 26, + "id": 35, "name": "new WebexAdapter", "kind": 16384, "kindString": "Constructor signature", @@ -16733,7 +17316,7 @@ }, "parameters": [ { - "id": 27, + "id": 36, "name": "config", "kind": 32768, "kindString": "Parameter", @@ -16742,14 +17325,14 @@ }, "type": { "type": "reference", - "id": 15, + "id": 24, "name": "WebexAdapterOptions" } } ], "type": { "type": "reference", - "id": 21, + "id": 30, "name": "WebexAdapter" } } @@ -16763,7 +17346,7 @@ ] }, { - "id": 30, + "id": 39, "name": "identity", "kind": 262144, "kindString": "Accessor", @@ -16777,7 +17360,7 @@ }, "getSignature": [ { - "id": 31, + "id": 40, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -16802,7 +17385,7 @@ ] }, { - "id": 55, + "id": 64, "name": "continueConversation", "kind": 2048, "kindString": "Method", @@ -16813,7 +17396,7 @@ }, "signatures": [ { - "id": 56, + "id": 65, "name": "continueConversation", "kind": 4096, "kindString": "Call signature", @@ -16825,7 +17408,7 @@ }, "parameters": [ { - "id": 57, + "id": 66, "name": "reference", "kind": 32768, "kindString": "Parameter", @@ -16847,7 +17430,7 @@ } }, { - "id": 58, + "id": 67, "name": "logic", "kind": 32768, "kindString": "Parameter", @@ -16860,7 +17443,7 @@ "type": { "type": "reflection", "declaration": { - "id": 59, + "id": 68, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -16869,7 +17452,7 @@ }, "signatures": [ { - "id": 60, + "id": 69, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -16878,7 +17461,7 @@ }, "parameters": [ { - "id": 61, + "id": 70, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -16906,7 +17489,7 @@ "sources": [ { "fileName": "webex_adapter.ts", - "line": 442, + "line": 450, "character": 87 } ] @@ -16929,13 +17512,13 @@ "sources": [ { "fileName": "webex_adapter.ts", - "line": 442, + "line": 450, "character": 37 } ] }, { - "id": 51, + "id": 60, "name": "deleteActivity", "kind": 2048, "kindString": "Method", @@ -16946,7 +17529,7 @@ }, "signatures": [ { - "id": 52, + "id": 61, "name": "deleteActivity", "kind": 4096, "kindString": "Call signature", @@ -16958,7 +17541,7 @@ }, "parameters": [ { - "id": 53, + "id": 62, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -16974,7 +17557,7 @@ } }, { - "id": 54, + "id": 63, "name": "reference", "kind": 32768, "kindString": "Parameter", @@ -17011,13 +17594,13 @@ "sources": [ { "fileName": "webex_adapter.ts", - "line": 424, + "line": 432, "character": 31 } ] }, { - "id": 28, + "id": 37, "name": "getIdentity", "kind": 2048, "kindString": "Method", @@ -17028,7 +17611,7 @@ }, "signatures": [ { - "id": 29, + "id": 38, "name": "getIdentity", "kind": 4096, "kindString": "Call signature", @@ -17059,7 +17642,7 @@ ] }, { - "id": 32, + "id": 41, "name": "init", "kind": 2048, "kindString": "Method", @@ -17070,7 +17653,7 @@ }, "signatures": [ { - "id": 33, + "id": 42, "name": "init", "kind": 4096, "kindString": "Call signature", @@ -17082,7 +17665,7 @@ }, "parameters": [ { - "id": 34, + "id": 43, "name": "botkit", "kind": 32768, "kindString": "Parameter", @@ -17110,7 +17693,7 @@ ] }, { - "id": 62, + "id": 71, "name": "processActivity", "kind": 2048, "kindString": "Method", @@ -17121,7 +17704,7 @@ }, "signatures": [ { - "id": 63, + "id": 72, "name": "processActivity", "kind": 4096, "kindString": "Call signature", @@ -17133,7 +17716,7 @@ }, "parameters": [ { - "id": 64, + "id": 73, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -17149,7 +17732,7 @@ } }, { - "id": 65, + "id": 74, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -17165,7 +17748,7 @@ } }, { - "id": 66, + "id": 75, "name": "logic", "kind": 32768, "kindString": "Parameter", @@ -17178,7 +17761,7 @@ "type": { "type": "reflection", "declaration": { - "id": 67, + "id": 76, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -17187,7 +17770,7 @@ }, "signatures": [ { - "id": 68, + "id": 77, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -17196,7 +17779,7 @@ }, "parameters": [ { - "id": 69, + "id": 78, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -17224,7 +17807,7 @@ "sources": [ { "fileName": "webex_adapter.ts", - "line": 459, + "line": 467, "character": 49 } ] @@ -17247,13 +17830,13 @@ "sources": [ { "fileName": "webex_adapter.ts", - "line": 459, + "line": 467, "character": 32 } ] }, { - "id": 40, + "id": 49, "name": "registerAdaptiveCardWebhookSubscription", "kind": 2048, "kindString": "Method", @@ -17264,7 +17847,7 @@ }, "signatures": [ { - "id": 41, + "id": 50, "name": "registerAdaptiveCardWebhookSubscription", "kind": 4096, "kindString": "Call signature", @@ -17276,7 +17859,7 @@ }, "parameters": [ { - "id": 42, + "id": 51, "name": "webhook_path", "kind": 32768, "kindString": "Parameter", @@ -17307,7 +17890,7 @@ ] }, { - "id": 37, + "id": 46, "name": "registerWebhookSubscription", "kind": 2048, "kindString": "Method", @@ -17318,7 +17901,7 @@ }, "signatures": [ { - "id": 38, + "id": 47, "name": "registerWebhookSubscription", "kind": 4096, "kindString": "Call signature", @@ -17330,7 +17913,7 @@ }, "parameters": [ { - "id": 39, + "id": 48, "name": "webhook_path", "kind": 32768, "kindString": "Parameter", @@ -17361,7 +17944,7 @@ ] }, { - "id": 35, + "id": 44, "name": "resetWebhookSubscriptions", "kind": 2048, "kindString": "Method", @@ -17372,7 +17955,7 @@ }, "signatures": [ { - "id": 36, + "id": 45, "name": "resetWebhookSubscriptions", "kind": 4096, "kindString": "Call signature", @@ -17403,7 +17986,7 @@ ] }, { - "id": 43, + "id": 52, "name": "sendActivities", "kind": 2048, "kindString": "Method", @@ -17414,7 +17997,7 @@ }, "signatures": [ { - "id": 44, + "id": 53, "name": "sendActivities", "kind": 4096, "kindString": "Call signature", @@ -17426,7 +18009,7 @@ }, "parameters": [ { - "id": 45, + "id": 54, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -17442,7 +18025,7 @@ } }, { - "id": 46, + "id": 55, "name": "activities", "kind": 32768, "kindString": "Parameter", @@ -17496,29 +18079,29 @@ "title": "Constructors", "kind": 512, "children": [ - 25 + 34 ] }, { "title": "Accessors", "kind": 262144, "children": [ - 30 + 39 ] }, { "title": "Methods", "kind": 2048, "children": [ - 55, - 51, - 28, - 32, - 62, - 40, + 64, + 60, 37, - 35, - 43 + 41, + 71, + 49, + 46, + 44, + 52 ] } ], @@ -17537,7 +18120,7 @@ ], "props": [ { - "id": 30, + "id": 39, "name": "identity", "kind": 262144, "kindString": "Accessor", @@ -17551,7 +18134,7 @@ }, "getSignature": [ { - "id": 31, + "id": 40, "name": "__get", "kind": 524288, "kindString": "Get signature", @@ -17578,7 +18161,7 @@ ], "methods": [ { - "id": 55, + "id": 64, "name": "continueConversation", "kind": 2048, "kindString": "Method", @@ -17589,7 +18172,7 @@ }, "signatures": [ { - "id": 56, + "id": 65, "name": "continueConversation", "kind": 4096, "kindString": "Call signature", @@ -17601,7 +18184,7 @@ }, "parameters": [ { - "id": 57, + "id": 66, "name": "reference", "kind": 32768, "kindString": "Parameter", @@ -17623,7 +18206,7 @@ } }, { - "id": 58, + "id": 67, "name": "logic", "kind": 32768, "kindString": "Parameter", @@ -17636,7 +18219,7 @@ "type": { "type": "reflection", "declaration": { - "id": 59, + "id": 68, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -17645,7 +18228,7 @@ }, "signatures": [ { - "id": 60, + "id": 69, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -17654,7 +18237,7 @@ }, "parameters": [ { - "id": 61, + "id": 70, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -17682,7 +18265,7 @@ "sources": [ { "fileName": "webex_adapter.ts", - "line": 442, + "line": 450, "character": 87 } ] @@ -17705,13 +18288,13 @@ "sources": [ { "fileName": "webex_adapter.ts", - "line": 442, + "line": 450, "character": 37 } ] }, { - "id": 51, + "id": 60, "name": "deleteActivity", "kind": 2048, "kindString": "Method", @@ -17722,7 +18305,7 @@ }, "signatures": [ { - "id": 52, + "id": 61, "name": "deleteActivity", "kind": 4096, "kindString": "Call signature", @@ -17734,7 +18317,7 @@ }, "parameters": [ { - "id": 53, + "id": 62, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -17750,7 +18333,7 @@ } }, { - "id": 54, + "id": 63, "name": "reference", "kind": 32768, "kindString": "Parameter", @@ -17787,13 +18370,13 @@ "sources": [ { "fileName": "webex_adapter.ts", - "line": 424, + "line": 432, "character": 31 } ] }, { - "id": 28, + "id": 37, "name": "getIdentity", "kind": 2048, "kindString": "Method", @@ -17804,7 +18387,7 @@ }, "signatures": [ { - "id": 29, + "id": 38, "name": "getIdentity", "kind": 4096, "kindString": "Call signature", @@ -17835,7 +18418,7 @@ ] }, { - "id": 32, + "id": 41, "name": "init", "kind": 2048, "kindString": "Method", @@ -17846,7 +18429,7 @@ }, "signatures": [ { - "id": 33, + "id": 42, "name": "init", "kind": 4096, "kindString": "Call signature", @@ -17858,7 +18441,7 @@ }, "parameters": [ { - "id": 34, + "id": 43, "name": "botkit", "kind": 32768, "kindString": "Parameter", @@ -17886,7 +18469,7 @@ ] }, { - "id": 62, + "id": 71, "name": "processActivity", "kind": 2048, "kindString": "Method", @@ -17897,7 +18480,7 @@ }, "signatures": [ { - "id": 63, + "id": 72, "name": "processActivity", "kind": 4096, "kindString": "Call signature", @@ -17909,7 +18492,7 @@ }, "parameters": [ { - "id": 64, + "id": 73, "name": "req", "kind": 32768, "kindString": "Parameter", @@ -17925,7 +18508,7 @@ } }, { - "id": 65, + "id": 74, "name": "res", "kind": 32768, "kindString": "Parameter", @@ -17941,7 +18524,7 @@ } }, { - "id": 66, + "id": 75, "name": "logic", "kind": 32768, "kindString": "Parameter", @@ -17954,7 +18537,7 @@ "type": { "type": "reflection", "declaration": { - "id": 67, + "id": 76, "name": "__type", "kind": 65536, "kindString": "Type literal", @@ -17963,7 +18546,7 @@ }, "signatures": [ { - "id": 68, + "id": 77, "name": "__call", "kind": 4096, "kindString": "Call signature", @@ -17972,7 +18555,7 @@ }, "parameters": [ { - "id": 69, + "id": 78, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -18000,7 +18583,7 @@ "sources": [ { "fileName": "webex_adapter.ts", - "line": 459, + "line": 467, "character": 49 } ] @@ -18023,13 +18606,13 @@ "sources": [ { "fileName": "webex_adapter.ts", - "line": 459, + "line": 467, "character": 32 } ] }, { - "id": 40, + "id": 49, "name": "registerAdaptiveCardWebhookSubscription", "kind": 2048, "kindString": "Method", @@ -18040,7 +18623,7 @@ }, "signatures": [ { - "id": 41, + "id": 50, "name": "registerAdaptiveCardWebhookSubscription", "kind": 4096, "kindString": "Call signature", @@ -18052,7 +18635,7 @@ }, "parameters": [ { - "id": 42, + "id": 51, "name": "webhook_path", "kind": 32768, "kindString": "Parameter", @@ -18083,7 +18666,7 @@ ] }, { - "id": 37, + "id": 46, "name": "registerWebhookSubscription", "kind": 2048, "kindString": "Method", @@ -18094,7 +18677,7 @@ }, "signatures": [ { - "id": 38, + "id": 47, "name": "registerWebhookSubscription", "kind": 4096, "kindString": "Call signature", @@ -18106,7 +18689,7 @@ }, "parameters": [ { - "id": 39, + "id": 48, "name": "webhook_path", "kind": 32768, "kindString": "Parameter", @@ -18137,7 +18720,7 @@ ] }, { - "id": 35, + "id": 44, "name": "resetWebhookSubscriptions", "kind": 2048, "kindString": "Method", @@ -18148,7 +18731,7 @@ }, "signatures": [ { - "id": 36, + "id": 45, "name": "resetWebhookSubscriptions", "kind": 4096, "kindString": "Call signature", @@ -18179,7 +18762,7 @@ ] }, { - "id": 43, + "id": 52, "name": "sendActivities", "kind": 2048, "kindString": "Method", @@ -18190,7 +18773,7 @@ }, "signatures": [ { - "id": 44, + "id": 53, "name": "sendActivities", "kind": 4096, "kindString": "Call signature", @@ -18202,7 +18785,7 @@ }, "parameters": [ { - "id": 45, + "id": 54, "name": "context", "kind": 32768, "kindString": "Parameter", @@ -18218,7 +18801,7 @@ } }, { - "id": 46, + "id": 55, "name": "activities", "kind": 32768, "kindString": "Parameter", @@ -18269,7 +18852,7 @@ ], "constructors": [ { - "id": 25, + "id": 34, "name": "constructor", "kind": 512, "kindString": "Constructor", @@ -18284,7 +18867,7 @@ }, "signatures": [ { - "id": 26, + "id": 35, "name": "new WebexAdapter", "kind": 16384, "kindString": "Constructor signature", @@ -18297,7 +18880,7 @@ }, "parameters": [ { - "id": 27, + "id": 36, "name": "config", "kind": 32768, "kindString": "Parameter", @@ -18306,14 +18889,14 @@ }, "type": { "type": "reference", - "id": 15, + "id": 24, "name": "WebexAdapterOptions" } } ], "type": { "type": "reference", - "id": 21, + "id": 30, "name": "WebexAdapter" } } @@ -18368,7 +18951,7 @@ } }, { - "id": 11, + "id": 20, "name": "deleteMessage", "kind": 2048, "kindString": "Method", @@ -18379,7 +18962,7 @@ }, "signatures": [ { - "id": 12, + "id": 21, "name": "deleteMessage", "kind": 4096, "kindString": "Call signature", @@ -18392,7 +18975,7 @@ }, "parameters": [ { - "id": 13, + "id": 22, "name": "update", "kind": 32768, "kindString": "Parameter", @@ -18429,14 +19012,167 @@ "sources": [ { "fileName": "botworker.ts", - "line": 99, - "character": 30 + "line": 157, + "character": 30 + } + ] + }, + { + "id": 16, + "name": "replyInThread", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true, + "isExported": true, + "isExternal": true + }, + "signatures": [ + { + "id": 17, + "name": "replyInThread", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Like bot.reply, but as a threaded response to the incoming message rather than a new message in the main channel." + }, + "parameters": [ + { + "id": 18, + "name": "src", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "an incoming message object" + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 19, + "name": "resp", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "an outgoing message object (or part of one or just reply text)\n" + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "botworker.ts", + "line": 138, + "character": 30 + } + ] + }, + { + "id": 7, + "name": "startConversationInRoom", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true, + "isExported": true, + "isExternal": true + }, + "signatures": [ + { + "id": 8, + "name": "startConversationInRoom", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Switch a bot's context into a different room.\nAfter calling this method, messages sent with `bot.say` and any dialogs started with `bot.beginDialog` will occur in this new context.", + "text": "```javascript\ncontroller.hears('take this offline', 'message', async(bot, message) => {\n\n // switch to a different channel\n await bot.startConversationInRoom(WEBEX_ROOM_ID, message.user);\n\n // say hello\n await bot.say('Shall we discuss this matter over here?');\n // ... continue...\n await bot.beginDialog(ANOTHER_DIALOG);\n\n});\n```\n\nAlso useful when sending pro-active messages such as those sent on a schedule or in response to external events:\n```javascript\n// Spawn a worker\nlet bot = await controller.spawn();\n\n// Set the context for the bot's next action...\nawait bot.startConversationInRoom(CACHED_ROOM_ID, CACHED_USER_ID);\n\n// Begin a dialog in the 1:1 context\nawait bot.beginDialog(ALERT_DIALOG);\n```\n" + }, + "parameters": [ + { + "id": 9, + "name": "roomId", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "A Webex rooom id, like one found in `message.channel`" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 10, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "A Webex user id, like one found in `message.user`\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "botworker.ts", + "line": 75, + "character": 40 } ] }, { - "id": 7, - "name": "startConversationInRoom", + "id": 11, + "name": "startConversationInThread", "kind": 2048, "kindString": "Method", "flags": { @@ -18446,20 +19182,20 @@ }, "signatures": [ { - "id": 8, - "name": "startConversationInRoom", + "id": 12, + "name": "startConversationInThread", "kind": 4096, "kindString": "Call signature", "flags": { "isExported": true }, "comment": { - "shortText": "Switch a bot's context into a different room.\nAfter calling this method, messages sent with `bot.say` and any dialogs started with `bot.beginDialog` will occur in this new context.", - "text": "```javascript\ncontroller.hears('take this offline', 'message', async(bot, message) => {\n\n // switch to a different channel\n await bot.startConversationInRoom(WEBEX_ROOM_ID, message.user);\n\n // say hello\n await bot.say('Shall we discuss this matter over here?');\n // ... continue...\n await bot.beginDialog(ANOTHER_DIALOG);\n\n});\n```\n\nAlso useful when sending pro-active messages such as those sent on a schedule or in response to external events:\n```javascript\n// Spawn a worker\nlet bot = await controller.spawn();\n\n// Set the context for the bot's next action...\nawait bot.startConversationInRoom(CACHED_ROOM_ID, CACHED_USER_ID);\n\n// Begin a dialog in the 1:1 context\nawait bot.beginDialog(ALERT_DIALOG);\n```\n" + "shortText": "Switch a bot's context into a specific thread within a room.\nAfter calling this method, messages sent with `bot.say` and any dialogs started with `bot.beginDialog` will occur in this new context.", + "text": "```javascript\ncontroller.hears('take this offline', 'message', async(bot, message) => {\n\n // switch to a different channel\n await bot.startConversationInThread(WEBEX_ROOM_ID, message.user, message.id);\n\n // say hello\n await bot.say('Shall we discuss this matter over here?');\n // ... continue...\n await bot.beginDialog(ANOTHER_DIALOG);\n\n});\n```\n\nAlso useful when sending pro-active messages such as those sent on a schedule or in response to external events:\n```javascript\n// Spawn a worker\nlet bot = await controller.spawn();\n\n// Set the context for the bot's next action...\nawait bot.startConversationInRoom(CACHED_ROOM_ID, CACHED_USER_ID);\n\n// Begin a dialog in the 1:1 context\nawait bot.beginDialog(ALERT_DIALOG);\n```\n" }, "parameters": [ { - "id": 9, + "id": 13, "name": "roomId", "kind": 32768, "kindString": "Parameter", @@ -18475,7 +19211,7 @@ } }, { - "id": 10, + "id": 14, "name": "userId", "kind": 32768, "kindString": "Parameter", @@ -18483,7 +19219,23 @@ "isExported": true }, "comment": { - "text": "A Webex user id, like one found in `message.user`\n" + "text": "A Webex user id, like one found in `message.user`" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 15, + "name": "parentId", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "A webex message id that should be the parent message, like the one found in `message.id`\n" }, "type": { "type": "intrinsic", @@ -18506,8 +19258,8 @@ "sources": [ { "fileName": "botworker.ts", - "line": 75, - "character": 40 + "line": 120, + "character": 42 } ] }, @@ -18584,8 +19336,10 @@ "title": "Methods", "kind": 2048, "children": [ - 11, + 20, + 16, 7, + 11, 4 ] } @@ -18632,7 +19386,7 @@ ], "methods": [ { - "id": 11, + "id": 20, "name": "deleteMessage", "kind": 2048, "kindString": "Method", @@ -18643,7 +19397,7 @@ }, "signatures": [ { - "id": 12, + "id": 21, "name": "deleteMessage", "kind": 4096, "kindString": "Call signature", @@ -18656,7 +19410,7 @@ }, "parameters": [ { - "id": 13, + "id": 22, "name": "update", "kind": 32768, "kindString": "Parameter", @@ -18693,7 +19447,83 @@ "sources": [ { "fileName": "botworker.ts", - "line": 99, + "line": 157, + "character": 30 + } + ] + }, + { + "id": 16, + "name": "replyInThread", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true, + "isExported": true, + "isExternal": true + }, + "signatures": [ + { + "id": 17, + "name": "replyInThread", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Like bot.reply, but as a threaded response to the incoming message rather than a new message in the main channel." + }, + "parameters": [ + { + "id": 18, + "name": "src", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "an incoming message object" + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 19, + "name": "resp", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "an outgoing message object (or part of one or just reply text)\n" + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "botworker.ts", + "line": 138, "character": 30 } ] @@ -18775,6 +19605,99 @@ } ] }, + { + "id": 11, + "name": "startConversationInThread", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPublic": true, + "isExported": true, + "isExternal": true + }, + "signatures": [ + { + "id": 12, + "name": "startConversationInThread", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Switch a bot's context into a specific thread within a room.\nAfter calling this method, messages sent with `bot.say` and any dialogs started with `bot.beginDialog` will occur in this new context.", + "text": "```javascript\ncontroller.hears('take this offline', 'message', async(bot, message) => {\n\n // switch to a different channel\n await bot.startConversationInThread(WEBEX_ROOM_ID, message.user, message.id);\n\n // say hello\n await bot.say('Shall we discuss this matter over here?');\n // ... continue...\n await bot.beginDialog(ANOTHER_DIALOG);\n\n});\n```\n\nAlso useful when sending pro-active messages such as those sent on a schedule or in response to external events:\n```javascript\n// Spawn a worker\nlet bot = await controller.spawn();\n\n// Set the context for the bot's next action...\nawait bot.startConversationInRoom(CACHED_ROOM_ID, CACHED_USER_ID);\n\n// Begin a dialog in the 1:1 context\nawait bot.beginDialog(ALERT_DIALOG);\n```\n" + }, + "parameters": [ + { + "id": 13, + "name": "roomId", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "A Webex rooom id, like one found in `message.channel`" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 14, + "name": "userId", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "A Webex user id, like one found in `message.user`" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 15, + "name": "parentId", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "A webex message id that should be the parent message, like the one found in `message.id`\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "botworker.ts", + "line": 120, + "character": 42 + } + ] + }, { "id": 4, "name": "startPrivateConversation", @@ -18841,7 +19764,7 @@ ], "interfaces": [ { - "id": 15, + "id": 24, "name": "WebexAdapterOptions", "kind": 256, "kindString": "Interface", @@ -18851,7 +19774,7 @@ }, "children": [ { - "id": 16, + "id": 25, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -18875,7 +19798,7 @@ } }, { - "id": 20, + "id": 29, "name": "enable_incomplete", "kind": 1024, "kindString": "Property", @@ -18900,7 +19823,7 @@ } }, { - "id": 18, + "id": 27, "name": "public_address", "kind": 1024, "kindString": "Property", @@ -18924,7 +19847,7 @@ } }, { - "id": 17, + "id": 26, "name": "secret", "kind": 1024, "kindString": "Property", @@ -18949,7 +19872,7 @@ } }, { - "id": 19, + "id": 28, "name": "webhook_name", "kind": 1024, "kindString": "Property", @@ -18979,11 +19902,11 @@ "title": "Properties", "kind": 1024, "children": [ - 16, - 20, - 18, - 17, - 19 + 25, + 29, + 27, + 26, + 28 ] } ], @@ -18996,7 +19919,7 @@ ], "props": [ { - "id": 16, + "id": 25, "name": "access_token", "kind": 1024, "kindString": "Property", @@ -19020,7 +19943,7 @@ } }, { - "id": 20, + "id": 29, "name": "enable_incomplete", "kind": 1024, "kindString": "Property", @@ -19045,7 +19968,7 @@ } }, { - "id": 18, + "id": 27, "name": "public_address", "kind": 1024, "kindString": "Property", @@ -19069,7 +19992,7 @@ } }, { - "id": 17, + "id": 26, "name": "secret", "kind": 1024, "kindString": "Property", @@ -19094,7 +20017,7 @@ } }, { - "id": 19, + "id": 28, "name": "webhook_name", "kind": 1024, "kindString": "Property", @@ -19367,7 +20290,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 447, + "line": 452, "character": 87 } ] @@ -19390,7 +20313,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 447, + "line": 452, "character": 37 } ] @@ -19472,7 +20395,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 424, + "line": 429, "character": 31 } ] @@ -19762,7 +20685,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 508, + "line": 513, "character": 49 } ] @@ -19785,7 +20708,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 508, + "line": 513, "character": 32 } ] @@ -19873,7 +20796,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 356, + "line": 361, "character": 31 } ] @@ -19955,7 +20878,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 401, + "line": 406, "character": 31 } ] @@ -20228,7 +21151,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 447, + "line": 452, "character": 87 } ] @@ -20251,7 +21174,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 447, + "line": 452, "character": 37 } ] @@ -20333,7 +21256,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 424, + "line": 429, "character": 31 } ] @@ -20623,7 +21546,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 508, + "line": 513, "character": 49 } ] @@ -20646,7 +21569,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 508, + "line": 513, "character": 32 } ] @@ -20734,7 +21657,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 356, + "line": 361, "character": 31 } ] @@ -20816,7 +21739,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 401, + "line": 406, "character": 31 } ] @@ -26527,7 +27450,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 792, + "line": 797, "character": 6 } ], @@ -26547,7 +27470,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 789, + "line": 794, "character": 8 } ], @@ -26567,7 +27490,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 790, + "line": 795, "character": 11 } ], @@ -26587,7 +27510,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 788, + "line": 793, "character": 8 } ], @@ -26607,7 +27530,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 791, + "line": 796, "character": 11 } ], @@ -26633,7 +27556,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 787, + "line": 792, "character": 24 } ], @@ -26655,7 +27578,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 792, + "line": 797, "character": 6 } ], @@ -26675,7 +27598,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 789, + "line": 794, "character": 8 } ], @@ -26695,7 +27618,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 790, + "line": 795, "character": 11 } ], @@ -26715,7 +27638,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 788, + "line": 793, "character": 8 } ], @@ -26735,7 +27658,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 791, + "line": 796, "character": 11 } ], @@ -26766,7 +27689,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 778, + "line": 783, "character": 11 } ], @@ -26786,7 +27709,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 780, + "line": 785, "character": 11 } ], @@ -26810,7 +27733,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 781, + "line": 786, "character": 12 } ], @@ -26832,7 +27755,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 780, + "line": 785, "character": 12 } ] @@ -26850,7 +27773,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 779, + "line": 784, "character": 6 } ], @@ -26874,7 +27797,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 777, + "line": 782, "character": 31 } ], @@ -26896,7 +27819,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 778, + "line": 783, "character": 11 } ], @@ -26916,7 +27839,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 780, + "line": 785, "character": 11 } ], @@ -26940,7 +27863,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 781, + "line": 786, "character": 12 } ], @@ -26962,7 +27885,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 780, + "line": 785, "character": 12 } ] @@ -26980,7 +27903,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 779, + "line": 784, "character": 6 } ], @@ -27020,7 +27943,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 734, + "line": 739, "character": 12 } ], @@ -27045,7 +27968,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 739, + "line": 744, "character": 12 } ], @@ -27070,7 +27993,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 743, + "line": 748, "character": 16 } ], @@ -27095,7 +28018,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 730, + "line": 735, "character": 23 } ], @@ -27120,7 +28043,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 772, + "line": 777, "character": 21 } ], @@ -27145,7 +28068,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 765, + "line": 770, "character": 20 } ], @@ -27198,7 +28121,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 765, + "line": 770, "character": 22 } ] @@ -27221,7 +28144,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 760, + "line": 765, "character": 19 } ], @@ -27274,7 +28197,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 760, + "line": 765, "character": 21 } ] @@ -27297,7 +28220,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 751, + "line": 756, "character": 16 } ], @@ -27322,7 +28245,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 755, + "line": 760, "character": 15 } ], @@ -27347,7 +28270,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 747, + "line": 752, "character": 10 } ], @@ -27375,7 +28298,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 726, + "line": 731, "character": 21 } ], @@ -27407,7 +28330,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 722, + "line": 727, "character": 36 } ], @@ -27428,7 +28351,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 734, + "line": 739, "character": 12 } ], @@ -27453,7 +28376,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 739, + "line": 744, "character": 12 } ], @@ -27478,7 +28401,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 743, + "line": 748, "character": 16 } ], @@ -27503,7 +28426,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 730, + "line": 735, "character": 23 } ], @@ -27528,7 +28451,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 772, + "line": 777, "character": 21 } ], @@ -27553,7 +28476,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 765, + "line": 770, "character": 20 } ], @@ -27606,7 +28529,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 765, + "line": 770, "character": 22 } ] @@ -27629,7 +28552,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 760, + "line": 765, "character": 19 } ], @@ -27682,7 +28605,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 760, + "line": 765, "character": 21 } ] @@ -27705,7 +28628,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 751, + "line": 756, "character": 16 } ], @@ -27730,7 +28653,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 755, + "line": 760, "character": 15 } ], @@ -27755,7 +28678,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 747, + "line": 752, "character": 10 } ], @@ -27783,7 +28706,7 @@ "sources": [ { "fileName": "slack_adapter.ts", - "line": 726, + "line": 731, "character": 21 } ], diff --git a/packages/docs/package-lock.json b/packages/docs/package-lock.json index 27f7e2a31..80e8ef746 100644 --- a/packages/docs/package-lock.json +++ b/packages/docs/package-lock.json @@ -71,9 +71,9 @@ } }, "graceful-fs": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz", - "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==" + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" }, "handlebars": { "version": "4.7.2", @@ -87,9 +87,9 @@ } }, "highlight.js": { - "version": "9.18.0", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.18.0.tgz", - "integrity": "sha512-A97kI1KAUzKoAiEoaGcf2O9YPS8nbDTCRFokaaeBhnqjQTvbAuAJrQMm21zw8s8xzaMtCQBtgbyGXLGxdxQyqQ==" + "version": "9.18.3", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-9.18.3.tgz", + "integrity": "sha512-zBZAmhSupHIl5sITeMqIJnYCDfAEc3Gdkqj65wC1lpI468MMQeeQkhcIAvk+RylAkxrCcI9xy9piHiXeQ1BdzQ==" }, "inflight": { "version": "1.0.6", @@ -106,9 +106,9 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "interpret": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.2.0.tgz", - "integrity": "sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw==" + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", + "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==" }, "jquery": { "version": "3.5.1", @@ -124,19 +124,19 @@ } }, "lodash": { - "version": "4.17.15", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==" }, "lunr": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.8.tgz", - "integrity": "sha512-oxMeX/Y35PNFuZoHp+jUj5OSEmLCaIH4KTFJh7a93cHBoFmpw2IoPs22VIz7vyO2YUnx2Tn9dzIwO2P/4quIRg==" + "version": "2.3.9", + "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz", + "integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==" }, "marked": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/marked/-/marked-0.8.0.tgz", - "integrity": "sha512-MyUe+T/Pw4TZufHkzAfDj6HarCBWia2y27/bhuYkTaiUnfDYFnCP3KUN+9oM7Wi6JA2rymtVYbQu3spE0GCmxQ==" + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/marked/-/marked-0.8.2.tgz", + "integrity": "sha512-EGwzEeCcLniFX51DhTpmTom+dSA/MG/OBUDjnWtHbEnjAH180VzUeAw+oE4+Zv+CoYBWyRlYOTR0N8SO9R1PVw==" }, "minimatch": { "version": "3.0.4", @@ -197,17 +197,17 @@ } }, "resolve": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.15.0.tgz", - "integrity": "sha512-+hTmAldEGE80U2wJJDC1lebb5jWqvTYAfm3YZ1ckk1gBr0MnCqUKlwK1e+anaFljIl+F5tR5IoZcm4ZDA1zMQw==", + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", + "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", "requires": { "path-parse": "^1.0.6" } }, "shelljs": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.3.tgz", - "integrity": "sha512-fc0BKlAWiLpwZljmOvAOTE/gXawtCoNrP5oaY7KIaQbbyHeQVg01pSEuEGvGh3HEdBU4baCD7wQBwADmM/7f7A==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.4.tgz", + "integrity": "sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ==", "requires": { "glob": "^7.0.0", "interpret": "^1.0.0", @@ -220,9 +220,9 @@ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" }, "typedoc": { - "version": "0.16.9", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.16.9.tgz", - "integrity": "sha512-UvOGoy76yqwCXwxPgatwgXWfsQ3FczyZ6ZNLjhCPK+TsDir6LiU3YB6N9XZmPv36E+7LA860mnc8a0v6YADKFw==", + "version": "0.16.11", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.16.11.tgz", + "integrity": "sha512-YEa5i0/n0yYmLJISJ5+po6seYfJQJ5lQYcHCPF9ffTF92DB/TAZO/QrazX5skPHNPtmlIht5FdTXCM2kC7jQFQ==", "requires": { "@types/minimatch": "3.0.3", "fs-extra": "^8.1.0", @@ -249,9 +249,15 @@ } }, "typedoc-plugin-external-module-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/typedoc-plugin-external-module-name/-/typedoc-plugin-external-module-name-2.0.0.tgz", - "integrity": "sha512-BJONvKQWolyNqnzjKQIJflsuvyjapsCPR07maHiRvUOXIbhY56SqmYs+VKevq7SIFXsnlfTEE7meP+6Y/Q2Pyw==" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/typedoc-plugin-external-module-name/-/typedoc-plugin-external-module-name-2.1.0.tgz", + "integrity": "sha512-uYYe1yj6COwgyhl3Of71lkkhbEw7LVBEqAlXVvd7b9INGhJq59M1q9wdQdIWfpqe/9JegWSIR9ZDfY6mkPedJg==" + }, + "typedoc-plugin-no-inherit": { + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/typedoc-plugin-no-inherit/-/typedoc-plugin-no-inherit-1.1.10.tgz", + "integrity": "sha512-BhSFAWlBTh9Bf6PSfruIqdQBM8gd/Gj8hVuRk5pVWkHu4I/SB24LzFr5gAo52ZlaQSeN72+VOkkRD6tNYl8Enw==", + "dev": true }, "typescript": { "version": "3.7.5", @@ -269,9 +275,9 @@ } }, "underscore": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.2.tgz", - "integrity": "sha512-D39qtimx0c1fI3ya1Lnhk3E9nONswSKhnffBI0gME9C99fYOkNi04xs8K6pePLhvl1frbDemkaBQ5ikWllR2HQ==" + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.10.2.tgz", + "integrity": "sha512-N4P+Q/BuyuEKFJ43B9gYuOj4TQUHXX+j2FqguVOpjkssLUUrnJofCcBccJSCoeturDoZU6GorDTHSvUDlSQbTg==" }, "universalify": { "version": "0.1.2", diff --git a/packages/docs/package.json b/packages/docs/package.json index 56e4e86d9..68ad1bccd 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -10,6 +10,9 @@ "dependencies": { "handlebars": "^4.7.2", "typedoc": "^0.16.9", - "typedoc-plugin-external-module-name": "^2.0.0" + "typedoc-plugin-external-module-name": "2.1.0" + }, + "devDependencies": { + "typedoc-plugin-no-inherit": "^1.1.10" } } diff --git a/packages/docs/platforms/slack.md b/packages/docs/platforms/slack.md index 55da07a9e..b8ab0d7b1 100644 --- a/packages/docs/platforms/slack.md +++ b/packages/docs/platforms/slack.md @@ -241,6 +241,11 @@ Botkit will automatically construct your outgoing messages according to Slack's The preferred way of composing interactive messages is using Slack's Block Kit. [Read the official Slack documentation here](https://api.slack.com/messaging/composing/layouts). Slack provides a UI to help create your interactive messages. Check out [Block Kit Builder](https://api.slack.com/tools/block-kit-builder). +Additionally, there are open-source libraries available that assist with building out UIs for Slack: + +* [**Block Builder**](https://github.com/raycharius/slack-block-builder) – Zero-dependency library, with a SwiftUI-like builder syntax. +* [**JSX-Slack**](https://github.com/speee/jsx-slack) – JSX that transpiles to Slack API-compatible JSON. + Interactive messages using blocks can be sent via any of Botkit's built in functions by passing in the appropriate "blocks" as part of the message. Here is an example: ```javascript diff --git a/packages/docs/reference/core.md b/packages/docs/reference/core.md index 287010e0d..74794a8d1 100644 --- a/packages/docs/reference/core.md +++ b/packages/docs/reference/core.md @@ -9,10 +9,12 @@ This is a class reference for all the methods exposed by the [botkit](https://gi * Botkit * BotkitBotFrameworkAdapter +* TeamsBotWorker * BotWorker * BotkitConversation * BotkitDialogWrapper * BotkitTestClient +* TeamsInvokeMiddleware ## Interfaces @@ -524,16 +526,12 @@ This class includes the following methods: -### Create a new BotkitBotFrameworkAdapter() -**Parameters** - -| Argument | Type | Description -|--- |--- |--- -| options | any | - - +## Properties and Accessors +| Name | Type | Description +|--- |--- |--- +| botkit_worker | [TeamsBotWorker](#TeamsBotWorker) | ## BotkitBotFrameworkAdapter Class Methods @@ -556,6 +554,60 @@ an array of channels in the format [{name: string, id: string}] + +## TeamsBotWorker +This is a specialized version of [Botkit's core BotWorker class](core.md#BotWorker) that includes additional methods for interacting with Microsoft Teams. +It includes all functionality from the base class, as well as the extension methods below. +This BotWorker is used with the built-in Bot Framework adapter. + +To use this class in your application, first install the package: +```bash +npm install --save botkit +``` + +Then import this and other classes into your code: +```javascript +const { TeamsBotWorker } = require('botkit'); +``` + +This class includes the following methods: +* [replyWithTaskInfo()](#replyWithTaskInfo) + + + +### Create a new TeamsBotWorker() +**Parameters** + +| Argument | Type | Description +|--- |--- |--- +| controller | [Botkit](#Botkit) | +| config | any | + + + + +## Properties and Accessors + +| Name | Type | Description +|--- |--- |--- +| teams | TeamsInfo | Grants access to the TeamsInfo helper class
See: https://docs.microsoft.com/en-us/javascript/api/botbuilder/teamsinfo?view=botbuilder-ts-latest + +## TeamsBotWorker Class Methods + +### replyWithTaskInfo() +Reply to a Teams task module task/fetch or task/submit with a task module response. +See https://docs.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/task-modules/task-modules-bots + +**Parameters** + +| Argument | Type | description +|--- |--- |--- +| message| [BotkitMessage](#BotkitMessage) | +| taskInfo| any | an object in the form {type, value}
+ + + + ## BotWorker A base class for a `bot` instance, an object that contains the information and functionality for taking action in response to an incoming message. @@ -1419,6 +1471,55 @@ a TestFlow that can be used to assert replies etc + +## TeamsInvokeMiddleware +When used, causes Botkit to emit special events for teams "invokes" +Based on https://github.com/microsoft/botbuilder-js/blob/master/libraries/botbuilder/src/teamsActivityHandler.ts +This allows Botkit bots to respond directly to task/fetch or task/submit events, as an example. +To use this, bind it to the adapter before creating the Botkit controller: +```javascript +const Botkit = new Botkit({...}); +botkit.adapter.use(new TeamsInvokeMiddleware()); + +// can bind directly to task/fetch, task/submit and other invoke types used by teams +controller.on('task/fetch', async(bot, message) => { + await bot.replyWithTaskInfo(message, taskInfo); +}); +``` + + +To use this class in your application, first install the package: +```bash +npm install --save botkit +``` + +Then import this and other classes into your code: +```javascript +const { TeamsInvokeMiddleware } = require('botkit'); +``` + +This class includes the following methods: +* [onTurn()](#onTurn) + + + + + +## TeamsInvokeMiddleware Class Methods + +### onTurn() +Not for direct use - implements the MiddlewareSet's required onTurn function used to process the event + +**Parameters** + +| Argument | Type | description +|--- |--- |--- +| context| TurnContext | +| next| |
+ + + + ## Interface BotkitConfiguration @@ -1433,9 +1534,11 @@ Defines the options used when instantiating Botkit to create the main app contro | dialogStateProperty | string | Name of the dialogState property in the ConversationState that will be used to automatically track the dialog state. Defaults to `dialogState`.
| disable_console | boolean | Disable messages normally sent to the console during startup.
| disable_webserver | boolean | Disable webserver. If true, Botkit will not create a webserver or expose any webhook endpoints automatically. Defaults to false.
+| jsonLimit | string | Limit of the size of incoming JSON payloads parsed by the Express bodyParser. Defaults to '100kb'
| storage | Storage | A Storage interface compatible with [this specification](https://docs.microsoft.com/en-us/javascript/api/botbuilder-core/storage?view=botbuilder-ts-latest)
Defaults to the ephemeral [MemoryStorage](https://docs.microsoft.com/en-us/javascript/api/botbuilder-core/memorystorage?view=botbuilder-ts-latest) implementation.
+| urlEncodedLimit | string | Limit of the size of incoming URL encoded payloads parsed by the Express bodyParser. Defaults to '100kb'
| webhook_uri | string | Path used to create incoming webhook URI. Defaults to `/api/messages`
-| webserver | any | An instance of Express used to define web endpoints. If not specified, oen will be created internally.
Note: only use your own Express if you absolutely must for some reason. Otherwise, use `controller.webserver`
+| webserver | any | An instance of Express used to define web endpoints. If not specified, one will be created internally.
Note: only use your own Express if you absolutely must for some reason. Otherwise, use `controller.webserver`
| webserver_middlewares | | An array of middlewares that will be automatically bound to the webserver.
Should be in the form (req, res, next) => {}
## Interface BotkitConversationStep diff --git a/packages/docs/reference/index.md b/packages/docs/reference/index.md index 742ea665f..51421a3ac 100644 --- a/packages/docs/reference/index.md +++ b/packages/docs/reference/index.md @@ -5,10 +5,12 @@ * [Botkit Core](../reference/core.md) * [Botkit](../reference/core.md#Botkit) * [BotkitBotFrameworkAdapter](../reference/core.md#BotkitBotFrameworkAdapter) + * [TeamsBotWorker](../reference/core.md#TeamsBotWorker) * [BotWorker](../reference/core.md#BotWorker) * [BotkitConversation](../reference/core.md#BotkitConversation) * [BotkitDialogWrapper](../reference/core.md#BotkitDialogWrapper) * [BotkitTestClient](../reference/core.md#BotkitTestClient) + * [TeamsInvokeMiddleware](../reference/core.md#TeamsInvokeMiddleware) * [Botkit for the Web](../reference/web.md) * [WebAdapter](../reference/web.md#WebAdapter) * [Botkit for Webex Teams](../reference/webex.md) diff --git a/packages/docs/reference/webex.md b/packages/docs/reference/webex.md index 9aace192c..fefc7ae73 100644 --- a/packages/docs/reference/webex.md +++ b/packages/docs/reference/webex.md @@ -223,7 +223,9 @@ const { WebexBotWorker } = require('botbuilder-adapter-webex'); This class includes the following methods: * [deleteMessage()](#deleteMessage) +* [replyInThread()](#replyInThread) * [startConversationInRoom()](#startConversationInRoom) +* [startConversationInThread()](#startConversationInThread) * [startPrivateConversation()](#startPrivateConversation) @@ -257,6 +259,19 @@ await bot.deleteMessage(sent); ``` + +### replyInThread() +Like bot.reply, but as a threaded response to the incoming message rather than a new message in the main channel. + +**Parameters** + +| Argument | Type | description +|--- |--- |--- +| src| any | an incoming message object +| resp| any | an outgoing message object (or part of one or just reply text)
+ + + ### startConversationInRoom() Switch a bot's context into a different room. @@ -298,6 +313,48 @@ await bot.beginDialog(ALERT_DIALOG); ``` + +### startConversationInThread() +Switch a bot's context into a specific thread within a room. +After calling this method, messages sent with `bot.say` and any dialogs started with `bot.beginDialog` will occur in this new context. + +**Parameters** + +| Argument | Type | description +|--- |--- |--- +| roomId| string | A Webex rooom id, like one found in `message.channel` +| userId| string | A Webex user id, like one found in `message.user` +| parentId| string | A webex message id that should be the parent message, like the one found in `message.id`
+ + + +```javascript +controller.hears('take this offline', 'message', async(bot, message) => { + + // switch to a different channel + await bot.startConversationInThread(WEBEX_ROOM_ID, message.user, message.id); + + // say hello + await bot.say('Shall we discuss this matter over here?'); + // ... continue... + await bot.beginDialog(ANOTHER_DIALOG); + +}); +``` + +Also useful when sending pro-active messages such as those sent on a schedule or in response to external events: +```javascript +// Spawn a worker +let bot = await controller.spawn(); + +// Set the context for the bot's next action... +await bot.startConversationInRoom(CACHED_ROOM_ID, CACHED_USER_ID); + +// Begin a dialog in the 1:1 context +await bot.beginDialog(ALERT_DIALOG); +``` + + ### startPrivateConversation() Change the context of the _next_ message diff --git a/packages/generator-botkit/CHANGELOG.md b/packages/generator-botkit/CHANGELOG.md index 57b855b35..73b36d762 100644 --- a/packages/generator-botkit/CHANGELOG.md +++ b/packages/generator-botkit/CHANGELOG.md @@ -1,3 +1,7 @@ +# 4.10.0 + +* Update to Botkit 4.10 + # 4.6.3 Fix issue introduced in 4.6.2 that removed required .env file templates diff --git a/packages/generator-botkit/generators/app/templates/package.json b/packages/generator-botkit/generators/app/templates/package.json index 499159b45..c7a3bfa02 100644 --- a/packages/generator-botkit/generators/app/templates/package.json +++ b/packages/generator-botkit/generators/app/templates/package.json @@ -8,7 +8,7 @@ "test": "echo \"Error: no test specified\" && exit 1" }, "dependencies": { - "botkit": "^4.9.0", + "botkit": "^4.10.0", "botkit-plugin-cms": "^1.0.3", "botbuilder-storage-mongodb":"^0.9.5", "dotenv": "^7.0.0" diff --git a/packages/generator-botkit/package.json b/packages/generator-botkit/package.json index ffffbb2e9..a6a367e71 100644 --- a/packages/generator-botkit/package.json +++ b/packages/generator-botkit/package.json @@ -1,6 +1,6 @@ { "name": "generator-botkit", - "version": "4.9.1", + "version": "4.10.0", "description": "Automatically generate a Botkit application template for any supported platform", "scripts": {}, "files": [ diff --git a/packages/testbot/features/middlewares.js b/packages/testbot/features/middlewares.js index 48d670d4a..056e173e9 100644 --- a/packages/testbot/features/middlewares.js +++ b/packages/testbot/features/middlewares.js @@ -1,12 +1,12 @@ module.exports = function(controller) { controller.middleware.receive.use((bot, message, next) => { - console.log('IN > ', message.text); + console.log('IN > ', message.text, message.type); next(); }); controller.middleware.send.use((bot, message, next) => { - console.log('OUT > ', message.text, message.channelData.quick_replies ? message.channelData.quick_replies : null, message.channelData.attachments ? message.channelData.attachments : null); + console.log('OUT > ', message.text, message.channelData && message.channelData.quick_replies ? message.channelData.quick_replies : null, message.channelData && message.channelData.attachments ? message.channelData.attachments : null); next(); }); diff --git a/packages/testbot/features/teams_features.js b/packages/testbot/features/teams_features.js new file mode 100644 index 000000000..a1cb20a14 --- /dev/null +++ b/packages/testbot/features/teams_features.js @@ -0,0 +1,145 @@ +const { TeamsInvokeMiddleware } = require('botkit'); + +module.exports = function(controller) { + + if (!controller.adapter.name) { + + controller.adapter.use(new TeamsInvokeMiddleware()); + + const adaptiveCard = { + "type": "AdaptiveCard", + "body": [ + { + "type": "TextBlock", + "text": "Here is a ninja cat:" + }, + { + "type": "Image", + "url": "http://adaptivecards.io/content/cats/1.png", + "size": "Medium" + }, + { + "type": "ActionSet", + "actions": [ + { + "type": "Action.Submit", + "title": "Message Submit", + "id": "begin", + "data": { + "command": "message" + } + }, + { + "type": "Action.Submit", + "title": "Card Submit", + "id": "begin", + "data": { + "command": "card" + } + }, + { + "type": "Action.Submit", + "title": "Close", + "id": "begin", + "data": { + "command": "close" + } + }, + ], + "horizontalAlignment": "Center" + } + ], + "version": "1.0" + } + + controller.hears('getTeamDetails', 'message', async(bot, message) => { + try { + await bot.reply(message, JSON.stringify(await bot.teams.getTeamDetails(bot.getConfig('context')))); + } catch(err) { + await bot.reply(message, err.message); + } + }); + + controller.hears('getTeamChannels', 'message', async(bot, message) => { + try { + await bot.reply(message, JSON.stringify(await bot.teams.getTeamChannels(bot.getConfig('context')))); + } catch(err) { + await bot.reply(message, err.message); + } + }); + + + controller.hears('getMember', 'message', async(bot, message) => { + try { + await bot.reply(message, JSON.stringify(await bot.teams.getMember(bot.getConfig('context'), message.user))); + } catch(err) { + await bot.reply(message, err.message); + } + }); + + controller.hears('taskModule', 'message', async(bot, message) => { + await bot.reply(message,{ + attachments: [{ + "contentType": "application/vnd.microsoft.card.hero", + "content": { + "buttons": [ + { + "type": "invoke", + "title": "Task Module", + "value": {type: 'task/fetch'} + } + ], + "text": "Launch a task module by clicking the button.", + "title": "INVOKE A TASK MODULE!" + } + }] + }); + }); + + controller.on('task/fetch', async(bot, message) => { + await bot.replyWithTaskInfo(message,{ + "type": "continue", + "value": { + "title": "Task module title", + "height": 500, + "width": "medium", + card: { + contentType: 'application/vnd.microsoft.card.adaptive', + content: adaptiveCard, + } + } + }) + }); + + + controller.on('task/submit', async(bot, message) => { + + if (message.value.data.command == 'message') { + // reply with a message + await bot.replyWithTaskInfo(message, { + type: 'message', + value: 'Submitted!', + }); + } else if (message.value.data.command == 'card') { + // reply with another card + await bot.replyWithTaskInfo(message, { + "type": "continue", + "value": { + "title": "Task module title", + "height": 500, + "width": "medium", + card: { + contentType: 'application/vnd.microsoft.card.adaptive', + content: adaptiveCard, + } + } + }); + } else { + // just close the task module + await bot.replyWithTaskInfo(message, null); + } + + }); + + } +} \ No newline at end of file diff --git a/packages/testbot/package.json b/packages/testbot/package.json index 63b3c9d64..724c8582b 100644 --- a/packages/testbot/package.json +++ b/packages/testbot/package.json @@ -9,9 +9,9 @@ "author": "benbrown@gmail.com", "license": "MIT", "dependencies": { - "botbuilder": "^4.9.0", - "botbuilder-ai": "^4.9.0", - "botbuilder-dialogs": "^4.9.0", + "botbuilder": "^4.10.1", + "botbuilder-ai": "^4.10.1", + "botbuilder-dialogs": "^4.10.1", "botbuilder-adapter-facebook": "^1.0.0", "botbuilder-adapter-hangouts": "^1.0.0", "botbuilder-adapter-slack": "^1.0.0", @@ -20,7 +20,7 @@ "botbuilder-adapter-webex": "^1.0.0", "botbuilder-dialogs-botkit-cms": "0.0.1", "botbuilder-storage-mongodb": "^0.9.5", - "botkit": "^4.9.0", + "botkit": "^4.10.0", "botkit-plugin-cms": "^1.0.3", "dotenv": "^6.2.0", "express-basic-auth": "^1.1.6",