diff --git a/package.json b/package.json index bf1359d..8154d24 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "start": "node main.js" }, "dependencies": { - "@slack/bolt": "2.x", + "@slack/bolt": "3.x", "date-fns": "2.x", "date-fns-tz": "1.x", "get-video-id": "3.x", diff --git a/yarn.lock b/yarn.lock index 3682a98..c892d18 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,18 +2,20 @@ # yarn lockfile v1 -"@slack/bolt@2.x": - version "2.6.1" - resolved "https://registry.yarnpkg.com/@slack/bolt/-/bolt-2.6.1.tgz#529ac58c8bd135b78ac175e50a9768ddaf425250" - integrity sha512-sFTlYEzijoKaiBwmdfcLAO/466mzsV2cIYBEUyw5kUvP31169rCT8wiysxed+Qu/c0R5Q8HQDSRWv/n5jRrrug== +"@slack/bolt@3.x": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@slack/bolt/-/bolt-3.0.0.tgz#3fb9cf4669178727b0345feb91a9c99038243784" + integrity sha512-AM+ZHVWkn9tqI0JKk6yzTnQxpJuk/b3umaPyiW0BtM7nt37ZUli07xL8MvhlPBD7blh9Ow1VRwJw/ufzASUNsQ== dependencies: - "@slack/logger" "^2.0.0" - "@slack/oauth" "^1.4.0" - "@slack/types" "^1.9.0" - "@slack/web-api" "^5.14.0" + "@slack/logger" "^3.0.0" + "@slack/oauth" "^2.0.0" + "@slack/socket-mode" "1.0.0" + "@slack/types" "^2.0.0" + "@slack/web-api" "^6.0.0" "@types/express" "^4.16.1" - "@types/node" ">=10" + "@types/node" ">=12" "@types/promise.allsettled" "^1.0.3" + "@types/tsscmp" "^1.0.0" axios "^0.21.1" express "^4.16.4" please-upgrade-node "^3.2.0" @@ -28,23 +30,51 @@ dependencies: "@types/node" ">=8.9.0" -"@slack/oauth@^1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@slack/oauth/-/oauth-1.4.0.tgz#1dd3eab5a18d1e55106a8fe4c8ca72568ccd4639" - integrity sha512-wTREPfNfkFqTy7ql4V7bHYBZ62miLyqMvcvnJFQ1W6CTbGaha8BU1aTQaVHhKQuFgR5YztnN5d66bsxSImtBDA== +"@slack/logger@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@slack/logger/-/logger-3.0.0.tgz#b736d4e1c112c22a10ffab0c2d364620aedcb714" + integrity sha512-DTuBFbqu4gGfajREEMrkq5jBhcnskinhr4+AnfJEk48zhVeEv3XnUKGIX98B74kxhYsIMfApGGySTn7V3b5yBA== + dependencies: + "@types/node" ">=12.0.0" + +"@slack/oauth@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@slack/oauth/-/oauth-2.0.0.tgz#20858672dc9e04ebe0b79b6029c72b724a32f152" + integrity sha512-cs+UvRnS78ZM/WNuAp4WDDsCOPMwT4YIvBDyoIZjhS0MyGv2xZ4w/Klu89DcnMe3OdRI1DDhsQOLcHr6EArxGQ== dependencies: "@slack/logger" "^2.0.0" "@slack/web-api" "^5.7.0" "@types/jsonwebtoken" "^8.3.7" - "@types/node" ">=6.0.0" + "@types/node" ">=12" jsonwebtoken "^8.5.1" lodash.isstring "^4.0.1" -"@slack/types@^1.7.0", "@slack/types@^1.9.0": +"@slack/socket-mode@1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@slack/socket-mode/-/socket-mode-1.0.0.tgz#b774e2e19b90b6a33f652afbd2cf2189eb7d497c" + integrity sha512-uDhFWljDsDjS1aME2gxzmbLvBBmPfOsEipI1+dPWEQdkcfGtM0Cg/TnqjbarHm58yNwAV6iS/RebJMC6CkeGEw== + dependencies: + "@slack/logger" "^2.0.0" + "@slack/web-api" "^5.14.0" + "@types/node" ">=12.0.0" + "@types/p-queue" "^2.3.2" + "@types/ws" "^7.2.5" + eventemitter3 "^3.1.0" + finity "^0.5.4" + p-cancelable "^1.1.0" + p-queue "^2.4.2" + ws "^7.3.1" + +"@slack/types@^1.7.0": version "1.10.0" resolved "https://registry.yarnpkg.com/@slack/types/-/types-1.10.0.tgz#cbf7d83e1027f4cbfd13d6b429f120c7fb09127a" integrity sha512-tA7GG7Tj479vojfV3AoxbckalA48aK6giGjNtgH6ihpLwTyHE3fIgRrvt8TWfLwW8X8dyu7vgmAsGLRG7hWWOg== +"@slack/types@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@slack/types/-/types-2.0.0.tgz#7b938ab576cd1d6c9ff9ad67a96f8058d101af10" + integrity sha512-Nu4jWC39mDY5egAX4oElwOypdu8Cx9tmR7bo3ghaHYaC7mkKM1+b+soanW5s2ssu4yOLxMdFExMh6wlR34B6CA== + "@slack/web-api@^5.14.0", "@slack/web-api@^5.7.0": version "5.15.0" resolved "https://registry.yarnpkg.com/@slack/web-api/-/web-api-5.15.0.tgz#6bcf1d0a833c0e87e45150c2fd1f9657e3ec0b0b" @@ -61,6 +91,22 @@ p-queue "^6.6.1" p-retry "^4.0.0" +"@slack/web-api@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@slack/web-api/-/web-api-6.0.0.tgz#14c65ed73c66a187e5f20e12c3898dfd8d5cbf7c" + integrity sha512-YD1wqWuzrYPf4RQyD7OnYS5lImUmNWn+G5V6Qt0N97fPYxqhT72YJtRdSnsTc3VkH5R5imKOhYxb+wqI9hiHnA== + dependencies: + "@slack/logger" ">=1.0.0 <3.0.0" + "@slack/types" "^1.7.0" + "@types/is-stream" "^1.1.0" + "@types/node" ">=12.0.0" + axios "^0.21.1" + eventemitter3 "^3.1.0" + form-data "^2.5.0" + is-stream "^1.1.0" + p-queue "^6.6.1" + p-retry "^4.0.0" + "@types/body-parser@*": version "1.19.0" resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.0.tgz#0685b3c47eb3006ffed117cdd55164b61f80538f" @@ -114,11 +160,16 @@ resolved "https://registry.yarnpkg.com/@types/mime/-/mime-2.0.3.tgz#c893b73721db73699943bfc3653b1deb7faa4a3a" integrity sha512-Jus9s4CDbqwocc5pOAnh8ShfrnMcPHuJYzVcSUU7lrh8Ni5HuIqX3oilL86p3dlTrk0LzHRCgA/GQ7uNCw6l2Q== -"@types/node@*", "@types/node@>=10", "@types/node@>=6.0.0", "@types/node@>=8.9.0": +"@types/node@*", "@types/node@>=12", "@types/node@>=12.0.0", "@types/node@>=8.9.0": version "14.14.20" resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.20.tgz#f7974863edd21d1f8a494a73e8e2b3658615c340" integrity sha512-Y93R97Ouif9JEOWPIUyU+eyIdyRqQR0I8Ez1dzku4hDx34NWh4HbtIc3WNzwB1Y9ULvNGeu5B8h8bVL5cAk4/A== +"@types/p-queue@^2.3.2": + version "2.3.2" + resolved "https://registry.yarnpkg.com/@types/p-queue/-/p-queue-2.3.2.tgz#16bc5fece69ef85efaf2bce8b13f3ebe39c5a1c8" + integrity sha512-eKAv5Ql6k78dh3ULCsSBxX6bFNuGjTmof5Q/T6PiECDq0Yf8IIn46jCyp3RJvCi8owaEmm3DZH1PEImjBMd/vQ== + "@types/promise.allsettled@^1.0.3": version "1.0.3" resolved "https://registry.yarnpkg.com/@types/promise.allsettled/-/promise.allsettled-1.0.3.tgz#6f3166618226a570b98c8250fc78687a912e56d5" @@ -147,6 +198,18 @@ "@types/mime" "*" "@types/node" "*" +"@types/tsscmp@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@types/tsscmp/-/tsscmp-1.0.0.tgz#761c885a530f9673ae6fda0cae38253ffd46cba6" + integrity sha512-rj18XR6c4Ohds86Lq8MI1NMRrXes4eLo4H06e5bJyKucE1rXGsfBBbFGD2oDC+DSufQCpnU3TTW7QAiwLx+7Yw== + +"@types/ws@^7.2.5": + version "7.4.0" + resolved "https://registry.yarnpkg.com/@types/ws/-/ws-7.4.0.tgz#499690ea08736e05a8186113dac37769ab251a0e" + integrity sha512-Y29uQ3Uy+58bZrFLhX36hcI3Np37nqWE7ky5tjiDoy1GDZnIwVxS0CgF+s+1bXMzjKBFy+fqaRfb708iNzdinw== + dependencies: + "@types/node" "*" + accepts@~1.3.7: version "1.3.7" resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd" @@ -464,6 +527,11 @@ finalhandler@~1.1.2: statuses "~1.5.0" unpipe "~1.0.0" +finity@^0.5.4: + version "0.5.4" + resolved "https://registry.yarnpkg.com/finity/-/finity-0.5.4.tgz#f2a8a9198e8286467328ec32c8bfcc19a2229c11" + integrity sha512-3l+5/1tuw616Lgb0QBimxfdd2TqaDGpfCBpfX6EqtFmqUV3FtQnVEX4Aa62DagYEqnsTIjZcTfbq9msDbXYgyA== + follow-redirects@^1.10.0: version "1.13.1" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.1.tgz#5f69b813376cee4fd0474a3aba835df04ab763b7" @@ -849,11 +917,21 @@ once@^1.3.0: dependencies: wrappy "1" +p-cancelable@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc" + integrity sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw== + p-finally@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4= +p-queue@^2.4.2: + version "2.4.2" + resolved "https://registry.yarnpkg.com/p-queue/-/p-queue-2.4.2.tgz#03609826682b743be9a22dba25051bd46724fc34" + integrity sha512-n8/y+yDJwBjoLQe1GSJbbaYQLTI7QHNZI2+rpmCDbe++WLf9HC3gf6iqj5yfPAV71W4UF3ql5W1+UBPXoXTxng== + p-queue@^6.6.1: version "6.6.2" resolved "https://registry.yarnpkg.com/p-queue/-/p-queue-6.6.2.tgz#2068a9dcf8e67dd0ec3e7a2bcb76810faa85e426" @@ -1083,6 +1161,11 @@ wrappy@1: resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= +ws@^7.3.1: + version "7.4.2" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.2.tgz#782100048e54eb36fe9843363ab1c68672b261dd" + integrity sha512-T4tewALS3+qsrpGI/8dqNMLIVdq/g/85U98HPMa6F0m6xTbvhXU6RCQLqPH3+SlomNV/LdY6RXEbBpMH6EOJnA== + zlibjs@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/zlibjs/-/zlibjs-0.3.1.tgz#50197edb28a1c42ca659cc8b4e6a9ddd6d444554"