From c6adf8ea27526ac0a32ddd8d96db1ad9a2580760 Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:24:07 +0200 Subject: [PATCH 01/23] Change fetch to node-fetch --- package.json | 2 +- yarn.lock | 346 ++++----------------------------------------------- 2 files changed, 25 insertions(+), 323 deletions(-) diff --git a/package.json b/package.json index bd898cd..5b2f700 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "author": "Marc Hagen ", "license": "MIT", "dependencies": { - "request": "^2.88.0" + "node-fetch": "^2.6.0" }, "devDependencies": {}, "bugs": { diff --git a/yarn.lock b/yarn.lock index 1493f2c..891aa70 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,325 +2,27 @@ # yarn lockfile v1 -ajv@^6.5.5: - version "6.12.6" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" - integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== - dependencies: - fast-deep-equal "^3.1.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.2" - -asn1@~0.2.3: - version "0.2.4" - resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136" - integrity sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg== - dependencies: - safer-buffer "~2.1.0" - -assert-plus@1.0.0, assert-plus@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" - integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU= - -asynckit@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= - -aws-sign2@~0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" - integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg= - -aws4@^1.8.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f" - integrity sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ== - -bcrypt-pbkdf@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" - integrity sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4= - dependencies: - tweetnacl "^0.14.3" - -caseless@~0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" - integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= - -combined-stream@^1.0.6, combined-stream@~1.0.6: - version "1.0.8" - resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" - integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== - dependencies: - delayed-stream "~1.0.0" - -core-util-is@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" - integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= - -dashdash@^1.12.0: - version "1.14.1" - resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" - integrity sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA= - dependencies: - assert-plus "^1.0.0" - -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= - -ecc-jsbn@~0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" - integrity sha1-OoOpBOVDUyh4dMVkt1SThoSamMk= - dependencies: - jsbn "~0.1.0" - safer-buffer "^2.1.0" - -extend@~3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" - integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== - -extsprintf@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" - integrity sha1-lpGEQOMEGnpBT4xS48V06zw+HgU= - -extsprintf@^1.2.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" - integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8= - -fast-deep-equal@^3.1.1: - version "3.1.3" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" - integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== - -fast-json-stable-stringify@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" - integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== - -forever-agent@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" - integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE= - -form-data@~2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" - integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.6" - mime-types "^2.1.12" - -getpass@^0.1.1: - version "0.1.7" - resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" - integrity sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo= - dependencies: - assert-plus "^1.0.0" - -har-schema@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" - integrity sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI= - -har-validator@~5.1.0: - version "5.1.3" - resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.3.tgz#1ef89ebd3e4996557675eed9893110dc350fa080" - integrity sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g== - dependencies: - ajv "^6.5.5" - har-schema "^2.0.0" - -http-signature@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" - integrity sha1-muzZJRFHcvPZW2WmCruPfBj7rOE= - dependencies: - assert-plus "^1.0.0" - jsprim "^1.2.2" - sshpk "^1.7.0" - -is-typedarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= - -isstream@~0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" - integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= - -jsbn@~0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" - integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM= - -json-schema-traverse@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" - integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== - -json-schema@0.2.3: - version "0.2.3" - resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" - integrity sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM= - -json-stringify-safe@~5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus= - -jsprim@^1.2.2: - version "1.4.1" - resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" - integrity sha1-MT5mvB5cwG5Di8G3SZwuXFastqI= - dependencies: - assert-plus "1.0.0" - extsprintf "1.3.0" - json-schema "0.2.3" - verror "1.10.0" - -mime-db@1.40.0: - version "1.40.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.40.0.tgz#a65057e998db090f732a68f6c276d387d4126c32" - integrity sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA== - -mime-types@^2.1.12, mime-types@~2.1.19: - version "2.1.24" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.24.tgz#b6f8d0b3e951efb77dedeca194cff6d16f676f81" - integrity sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ== - dependencies: - mime-db "1.40.0" - -oauth-sign@~0.9.0: - version "0.9.0" - resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" - integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== - -performance-now@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" - integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= - -psl@^1.1.24: - version "1.1.31" - resolved "https://registry.yarnpkg.com/psl/-/psl-1.1.31.tgz#e9aa86d0101b5b105cbe93ac6b784cd547276184" - integrity sha512-/6pt4+C+T+wZUieKR620OpzN/LlnNKuWjy1iFLQ/UG35JqHlR/89MP1d96dUfkf6Dne3TuLQzOYEYshJ+Hx8mw== - -punycode@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" - integrity sha1-wNWmOycYgArY4esPpSachN1BhF4= - -punycode@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" - integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== - -qs@~6.5.2: - version "6.5.2" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" - integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== - -request@^2.88.0: - version "2.88.0" - resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef" - integrity sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg== - dependencies: - aws-sign2 "~0.7.0" - aws4 "^1.8.0" - caseless "~0.12.0" - combined-stream "~1.0.6" - extend "~3.0.2" - forever-agent "~0.6.1" - form-data "~2.3.2" - har-validator "~5.1.0" - http-signature "~1.2.0" - is-typedarray "~1.0.0" - isstream "~0.1.2" - json-stringify-safe "~5.0.1" - mime-types "~2.1.19" - oauth-sign "~0.9.0" - performance-now "^2.1.0" - qs "~6.5.2" - safe-buffer "^5.1.2" - tough-cookie "~2.4.3" - tunnel-agent "^0.6.0" - uuid "^3.3.2" - -safe-buffer@^5.0.1, safe-buffer@^5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== - -safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: - version "2.1.2" - resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" - integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== - -sshpk@^1.7.0: - version "1.16.1" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877" - integrity sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg== - dependencies: - asn1 "~0.2.3" - assert-plus "^1.0.0" - bcrypt-pbkdf "^1.0.0" - dashdash "^1.12.0" - ecc-jsbn "~0.1.1" - getpass "^0.1.1" - jsbn "~0.1.0" - safer-buffer "^2.0.2" - tweetnacl "~0.14.0" - -tough-cookie@~2.4.3: - version "2.4.3" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781" - integrity sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ== - dependencies: - psl "^1.1.24" - punycode "^1.4.1" - -tunnel-agent@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" - integrity sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0= - dependencies: - safe-buffer "^5.0.1" - -tweetnacl@^0.14.3, tweetnacl@~0.14.0: - version "0.14.5" - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" - integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q= - -uri-js@^4.2.2: - version "4.4.1" - resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" - integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== - dependencies: - punycode "^2.1.0" - -uuid@^3.3.2: - version "3.3.2" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" - integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA== - -verror@1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" - integrity sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA= - dependencies: - assert-plus "^1.0.0" - core-util-is "1.0.2" - extsprintf "^1.2.0" +node-fetch@^2.6.0: + version "2.6.7" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" + integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== + dependencies: + whatwg-url "^5.0.0" + +tr46@~0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" + integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== + +webidl-conversions@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" + integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== + +whatwg-url@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" + integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== + dependencies: + tr46 "~0.0.3" + webidl-conversions "^3.0.0" From 372aa1554ce97cdb3138648dc5e5581104f5f1a8 Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:34:10 +0200 Subject: [PATCH 02/23] Import node-fetch --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ee1f3b6..8e72459 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ const instanceSkel = require('../../instance_skel'); const http = require('http'); -const request = require('request'); +const fetch = require('node-fetch'); let debug, log; const feedbacks = require('./feedbacks'); From 158521ea983884b2b0bb3e75ad1ef433df749a58 Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:34:44 +0200 Subject: [PATCH 03/23] Rewrite _sendRequest to use node-fetch --- index.js | 103 +++++++++++++++++++++++-------------------------------- 1 file changed, 42 insertions(+), 61 deletions(-) diff --git a/index.js b/index.js index 8e72459..b205328 100644 --- a/index.js +++ b/index.js @@ -609,10 +609,8 @@ class EpiphanPearl extends instanceSkel { * @param {String} type - post, get, put * @param {String} url - Full URL to send request to * @param {?Object} body - Optional body to send - * @param {?Function} callback - Optional callback function for data */ - _sendRequest(type, url, body = {}, callback = () => { - }) { + async _sendRequest(type, url, body = {}) { const self = this; const apiHost = this.config.host, apiPort = this.config.host_port, @@ -624,12 +622,6 @@ class EpiphanPearl extends instanceSkel { return false; } - if (this.defaultRequest === undefined) { - this._setStatus(this.STATUS_ERROR, 'Error, no request interface...'); - this.log('error', 'Error, no request interface...'); - return false; - } - type = type.toUpperCase(); if (['GET', 'POST', 'PUT'].indexOf(type) === -1) { this._setStatus(this.STATUS_ERROR, 'Wrong request type: ' + type); @@ -642,69 +634,58 @@ class EpiphanPearl extends instanceSkel { body = {}; } - // Check if we have a valid callback - if (callback === undefined || callback == null || typeof callback !== 'function') { - callback = () => { - }; - } - const requestUrl = baseUrl + url; this.debug('Starting request to: ' + type + ' ' + baseUrl + url); this.debug(body); - this.defaultRequest({ + + let response; + try { + let options = { method: type, - uri: requestUrl, - json: body - }, - (error, response, body) => { - self.debug('error: ' + JSON.stringify(error)); - //self.debug('response: ' + JSON.stringify(response)); - self.debug('body:' + JSON.stringify(body)); - - if (error && error.code === 'ETIMEDOUT') { - self._setStatus(self.STATUS_ERROR, 'Connection timeout while connecting to ' + requestUrl); - self.log('error', 'Connection timeout while connecting to ' + requestUrl); - callback(error); - return; + timeout: 10000, + headers: { + 'Authorization': 'Basic ' + Buffer.from(this.config.username + ':' + this.config.password).toString('base64') } + } - if (error && error.code === 'ECONNREFUSED') { - self._setStatus(self.STATUS_ERROR, 'Connection refused for ' + requestUrl); - self.log('error', 'Connection refused for ' + requestUrl); - callback(error); - return; - } + if (type !== 'GET') { + options.body = body; + options.headers['Content-Type'] = 'application/json' + } - if (error && error.connect === true) { - self._setStatus(self.STATUS_ERROR, 'Read timeout waiting for response from: ' + requestUrl); - self.log('error', 'Read timeout waiting for response from: ' + requestUrl); - callback(error); - return; - } + response = await fetch(requestUrl, options); + } catch (error) { + if (error.name === 'AbortError') { + this._setStatus(this.STATUS_ERROR, 'Request was aborted: ' + requestUrl + ' reason: ' + error.message); + this.debug(error.message) + return; + } - if (response && - (response.statusCode < 200 || response.statusCode > 299)) { - self._setStatus(self.STATUS_ERROR, 'Non-successful response status code: ' + http.STATUS_CODES[response.statusCode] + ' ' + requestUrl); - self.log('error', 'Non-successful response status code: ' + http.STATUS_CODES[response.statusCode] + ' ' + requestUrl); - callback(error); - return; - } + this._setStatus(this.STATUS_ERROR, error.message); + this.debug(error.message) + return; + } - if (body && body.status && body.status !== 'ok') { - self._setStatus(self.STATUS_ERROR, 'Non-successful response from pearl: ' + requestUrl + ' - ' + (body.message ? body.message : 'No error message')); - self.log('error', 'Non-successful response from pearl: ' + requestUrl + ' - ' + (body.message ? body.message : 'No error message')); - callback(error); - return; - } + if (!response.ok) { + this._setStatus(this.STATUS_ERROR, 'Non-successful response status code: ' + http.STATUS_CODES[response.status] + ' ' + requestUrl); + this.debug('Non-successful response status code: ' + http.STATUS_CODES[response.status] + ' ' + requestUrl) + return; + } - let result = body; - if (body && body.result) { - result = body.result; - } + const responseBody = await response.json(); + if (responseBody && responseBody.status && responseBody.status !== 'ok') { + this._setStatus(this.STATUS_ERROR, 'Non-successful response from pearl: ' + requestUrl + ' - ' + (body.message ? body.message : 'No error message')); + this.debug('Non-successful response from pearl: ' + requestUrl + ' - ' + (body.message ? body.message : 'No error message')); + return; + } - self._setStatus(self.STATUS_OK); - callback(null, result); - }); + let result = responseBody; + if (responseBody && responseBody.result) { + result = responseBody.result; + } + + this._setStatus(this.STATUS_OK); + return result; } /** From 96d32f7aec5f95f0180a925f4509237028856275 Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:35:37 +0200 Subject: [PATCH 04/23] Up interval to 20 seconds --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index b205328..b5edd27 100644 --- a/index.js +++ b/index.js @@ -718,8 +718,8 @@ class EpiphanPearl extends instanceSkel { _initInterval() { // Run 2 times first this._dataPoller(); - // Poll data from pearl every 10 secs - this.timer = setInterval(this._dataPoller.bind(this), 10000); + // Poll data from pearl every 20 secs + this.timer = setInterval(this._dataPoller.bind(this), 20000); } From 3c3a8b8fe54cf3cd6ba9a053f323b70f1e19981f Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:42:16 +0200 Subject: [PATCH 05/23] Rewrite _updateRecorderStatus --- index.js | 40 ++++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/index.js b/index.js index b5edd27..3109094 100644 --- a/index.js +++ b/index.js @@ -948,33 +948,29 @@ class EpiphanPearl extends instanceSkel { * @private * @since 1.0.0 */ - _updateRecorderStatus() { - const self = this; - + async _updateRecorderStatus() { // For get status for recorders - this._sendRequest('get', '/api/recorders/status', {}, (err, recoders) => { - if (err) { - return; - } + const recoders = await this._sendRequest('get', '/api/recorders/status', {}); + if (!recoders) { + return; + } - for (const a in recoders) { - const recoder = recoders[a]; - const currentRecoder = self._getRecorderById(recoder.id); - if (currentRecoder === undefined) { - continue; - } + for (const a in recoders) { + const recorder = recoders[a]; + const currentRecorder = this._getRecorderById(recorder.id); + if (currentRecorder === undefined) { + continue; + } - const status = recoder.status; - currentRecoder.status = { - isRecording: status.state !== 'stopped', - duration: status.state !== 'stopped' ? parseInt(status.duration) : 0, - } + const status = recorder.status; + currentRecorder.status = { + isRecording: status.state !== 'stopped', + duration: status.state !== 'stopped' ? parseInt(status.duration) : 0, } + } - self.debug('Updating RECORDER_STATES and then call _updateSystem()'); - self.checkFeedbacks('recorderRecording'); - self._updateSystem(); - }); + this.debug('Updating RECORDER_STATES and then call checkFeedbacks(recorderRecording)'); + this.checkFeedbacks('recorderRecording'); } } From ab965a1cd07ef81aab8957f296aeb119ed32b489 Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:42:30 +0200 Subject: [PATCH 06/23] Rewrite _updateChannelPublishers --- index.js | 71 +++++++++++++++++++++++++++----------------------------- 1 file changed, 34 insertions(+), 37 deletions(-) diff --git a/index.js b/index.js index 3109094..71aec65 100644 --- a/index.js +++ b/index.js @@ -890,55 +890,52 @@ class EpiphanPearl extends instanceSkel { * @private * @since 1.0.0 */ - _updateChannelPublishers() { - const self = this; - + async _updateChannelPublishers() { // For get publishers and encoders let tempPublishers = []; - this._sendRequest('get', '/api/channels/status?publishers=yes&encoders=yes', {}, (err, channels) => { - if (err) { - return; + const channels = await this._sendRequest('get', '/api/channels/status?publishers=yes&encoders=yes', {}); + if (!channels) { + return; + } + + for (const a in channels) { + const apiChannel = channels[a]; + const currentChannel = this._getChannelById(apiChannel.id); + if (!currentChannel) { + continue } - for (const a in channels) { - const apiChannel = channels[a]; - const currentChannel = self._getChannelById(apiChannel.id); - if (!currentChannel) { - continue + + tempPublishers.push({ + id: currentChannel.id + '-all', + label: currentChannel.label + ' - All encoders', + channelLabel: currentChannel.label, + publisherLabel: 'All encoders' + }); + for (const b in apiChannel.publishers) { + const publisher = apiChannel.publishers[b]; + const currentPublisher = currentChannel.publishers.find(obj => obj.id === parseInt(publisher.id)); + if (!currentPublisher) { + continue; } tempPublishers.push({ - id: currentChannel.id + '-all', - label: currentChannel.label + ' - All', + id: currentChannel.id + '-' + currentPublisher.id, + label: currentChannel.label + ' - ' + currentPublisher.label, channelLabel: currentChannel.label, - publisherLabel: 'All' + publisherLabel: currentPublisher.label }); - for (const b in apiChannel.publishers) { - const publisher = apiChannel.publishers[b]; - const currentPublisher = currentChannel.publishers.find(obj => obj.id === parseInt(publisher.id)); - if (!currentPublisher) { - continue; - } - - tempPublishers.push({ - id: currentChannel.id + '-' + currentPublisher.id, - label: currentChannel.label + ' - ' + currentPublisher.label, - channelLabel: currentChannel.label, - publisherLabel: currentPublisher.label - }); - const status = publisher.status; - currentPublisher.status = { - isStreaming: status.started && status.state === 'started', - duration: status.started && status.state === 'started' ? parseInt(status.duration) : 0, - } + const status = publisher.status; + currentPublisher.status = { + isStreaming: status.started && status.state === 'started', + duration: status.started && status.state === 'started' ? parseInt(status.duration) : 0, } } + } - self.debug('Updating CHOICES_CHANNELS_PUBLISHERS and then call _updateSystem()'); - self.CHOICES_CHANNELS_PUBLISHERS = tempPublishers.slice(); - self.checkFeedbacks('channelStreaming'); - self._updateSystem(); - }); + this.debug('Updating CHOICES_CHANNELS_PUBLISHERS and then call checkFeedbacks(channelStreaming)'); + this.CHOICES_CHANNELS_PUBLISHERS = tempPublishers.slice(); + this.checkFeedbacks('channelStreaming'); } /** From 464306f4b1fd5ffb81d6af062a4e3573142aba51 Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:42:56 +0200 Subject: [PATCH 07/23] Rewrite _dataPoller --- index.js | 155 ++++++++++++++++++++++++++----------------------------- 1 file changed, 74 insertions(+), 81 deletions(-) diff --git a/index.js b/index.js index 71aec65..2b58d9d 100644 --- a/index.js +++ b/index.js @@ -731,107 +731,100 @@ class EpiphanPearl extends instanceSkel { * @private * @since 1.0.0 */ - _dataPoller() { - const self = this; - + async _dataPoller() { // Get all channels available - this._sendRequest('get', '/api/channels?publishers=yes&encoders=yes', {}, (err, channels) => { - if (err) { - return; - } - for (const a in channels) { - const channel = channels[a]; + const channels = await this._sendRequest('get', '/api/channels?publishers=yes&encoders=yes', {}); - const channelUpdate = { - id: parseInt(channel.id), - label: channel.name + for (const a in channels) { + const channel = channels[a]; + + const channelUpdate = { + id: parseInt(channel.id), + label: channel.name + }; + + let currentChannel = this._getChannelById(channelUpdate.id); + if (currentChannel === undefined) { + currentChannel = { + ...channelUpdate, + ...{ + layouts: [], + publishers: [], + encoders: [] + } }; + this.CHANNEL_STATES.push(currentChannel); + } else { + currentChannel = {...currentChannel, ...channelUpdate}; + } + + for (const b in channel.publishers) { + const publisher = channel.publishers[b]; + let currentPublisher = currentChannel.publishers.find(obj => obj.id === parseInt(publisher.id)); - let currentChannel = self._getChannelById(channelUpdate.id); - if (currentChannel === undefined) { - currentChannel = { - ...channelUpdate, + const updatedPublisher = { + id: parseInt(publisher.id), + label: publisher.name, + }; + if (currentPublisher === undefined) { + currentChannel.publishers.push({ + ...updatedPublisher, ...{ - layouts: [], - publishers: [], - encoders: [] + status: { + isStreaming: false, + duration: 0 + } } - }; - self.CHANNEL_STATES.push(currentChannel); + }); } else { - currentChannel = {...currentChannel, ...channelUpdate}; - } - - for (const b in channel.publishers) { - const publisher = channel.publishers[b]; - let currentPublisher = currentChannel.publishers.find(obj => obj.id === parseInt(publisher.id)); - - const updatedPublisher = { - id: parseInt(publisher.id), - label: publisher.name, - }; - if (currentPublisher === undefined) { - currentChannel.publishers.push({ - ...updatedPublisher, - ...{ - status: { - isStreaming: false, - duration: 0 - } - } - }); - } else { - currentPublisher = {...currentPublisher, ...updatedPublisher}; - } + currentPublisher = {...currentPublisher, ...updatedPublisher}; } } + } - self.debug('Updating CHANNEL_STATES and call _updateSystem()'); - self._updateSystem(system); + this.debug('Updating CHANNEL_STATES'); - // Update layouts and publishers - self._updateChannelLayouts(); - self._updateChannelPublishers(); - }); + // Update layouts and publishers + await this._updateChannelLayouts(); + await this._updateChannelPublishers(); // Get all recorders let tempRecorders = []; - this._sendRequest('get', '/api/recorders', {}, (err, recoders) => { - if (err) { - return; - } + const recorders = await this._sendRequest('get', '/api/recorders', {}); - for (const a in recoders) { - const recoder = recoders[a]; - const updatedRecorder = { - id: recoder.id, - label: recoder.name - }; - tempRecorders.push(updatedRecorder); + for (const a in recorders) { + const recorder = recorders[a]; + const updatedRecorder = { + id: recorder.id, + label: recorder.name + }; + tempRecorders.push(updatedRecorder); - let currentRecoder = self._getRecorderById(updatedRecorder.id); - if (currentRecoder === undefined) { - self.RECORDER_STATES.push({ - ...updatedRecorder, - ...{ - status: { - isRecording: false, - duration: 0 - } + let currentRecorder = this._getRecorderById(updatedRecorder.id); + if (currentRecorder === undefined) { + this.RECORDER_STATES.push({ + ...updatedRecorder, + ...{ + status: { + isRecording: false, + duration: 0 } - }); - } else { - currentRecoder = {...currentRecoder, ...updatedRecorder}; - } + } + }); + } else { + currentRecorder = {...currentRecorder, ...updatedRecorder}; } + } - self.debug('Updating RECORDER_STATES and then call _updateSystem()'); - self.CHOICES_RECORDERS = tempRecorders.slice(); - self._updateSystem(); + this.debug('Updating RECORDER_STATES and then call _updateSystem()'); + this.CHOICES_RECORDERS = tempRecorders.slice(); + this._updateSystem(); - // Update status - self._updateRecorderStatus(); - }); + // Update status + await this._updateRecorderStatus(); + + this.debug('Call _updateSystem() for update'); + this._updateSystem(system); } /** From 75a2567953b747c2a09c8e1360a3f5610af2af2d Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:43:50 +0200 Subject: [PATCH 08/23] Rewrite _updateChannelLayouts --- index.js | 62 ++++++++++++++++++++++++++------------------------------ 1 file changed, 29 insertions(+), 33 deletions(-) diff --git a/index.js b/index.js index 2b58d9d..36faee8 100644 --- a/index.js +++ b/index.js @@ -611,7 +611,6 @@ class EpiphanPearl extends instanceSkel { * @param {?Object} body - Optional body to send */ async _sendRequest(type, url, body = {}) { - const self = this; const apiHost = this.config.host, apiPort = this.config.host_port, baseUrl = 'http://' + apiHost + ':' + apiPort; @@ -834,45 +833,42 @@ class EpiphanPearl extends instanceSkel { * @private * @since 1.0.0 */ - _updateChannelLayouts() { - const self = this; - + async _updateChannelLayouts() { // For every channel get layouts and populate/update actions() let tempLayouts = []; for (const a in this.CHANNEL_STATES) { - let channel = self.CHANNEL_STATES[a]; + let channel = this.CHANNEL_STATES[a]; - this._sendRequest('get', '/api/channels/' + channel.id + '/layouts', {}, (err, layouts) => { - if (err) { - return; - } - for (const b in layouts) { - const layout = layouts[b]; - tempLayouts.push({ - id: channel.id + '-' + layout.id, - label: channel.label + ' - ' + layout.name, - channelLabel: channel.label, - layoutLabel: layout.name - }); + const layouts = await this._sendRequest('get', '/api/channels/' + channel.id + '/layouts', {}); + if (!layouts) { + return; + } - const objIndex = channel.layouts.findIndex(obj => obj.id === parseInt(layout.id)); - const updatedLayout = { - id: parseInt(layout.id), - label: layout.name, - active: layout.active - }; - if (objIndex === -1) { - channel.layouts.push(updatedLayout); - } else { - channel.layouts[objIndex] = updatedLayout; - } + for (const b in layouts) { + const layout = layouts[b]; + tempLayouts.push({ + id: channel.id + '-' + layout.id, + label: channel.label + ' - ' + layout.name, + channelLabel: channel.label, + layoutLabel: layout.name + }); + + const objIndex = channel.layouts.findIndex(obj => obj.id === parseInt(layout.id)); + const updatedLayout = { + id: parseInt(layout.id), + label: layout.name, + active: layout.active + }; + if (objIndex === -1) { + channel.layouts.push(updatedLayout); + } else { + channel.layouts[objIndex] = updatedLayout; } + } - self.debug('Updating CHOICES_CHANNELS_LAYOUTS and then call _updateSystem()'); - self.CHOICES_CHANNELS_LAYOUTS = tempLayouts.slice(); - self.checkFeedbacks('channelLayout'); - self._updateSystem(); - }); + this.debug('Updating CHOICES_CHANNELS_LAYOUTS and then call checkFeedbacks(channelLayout)'); + this.CHOICES_CHANNELS_LAYOUTS = tempLayouts.slice(); + this.checkFeedbacks('channelLayout'); } } From 51b0d0658fa6911f17e50e10374d9443b10413a1 Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:44:15 +0200 Subject: [PATCH 09/23] Use callback as then() --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 36faee8..7089067 100644 --- a/index.js +++ b/index.js @@ -245,7 +245,8 @@ class EpiphanPearl extends instanceSkel { // Send request if (url) { - this._sendRequest(type, url, body, callback); + this._sendRequest(type, url, body) + .then(callback); } } From 9b7494c49c67f42b9e6899b25e3f907351480d9a Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:45:17 +0200 Subject: [PATCH 10/23] Add extra check on channelIdlayoutId --- index.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/index.js b/index.js index 7089067..0d637d6 100644 --- a/index.js +++ b/index.js @@ -143,6 +143,15 @@ class EpiphanPearl extends instanceSkel { switch (action.action) { case 'channelChangeLayout': { + if (!action.options.channelIdlayoutId || !action.options.channelIdlayoutId.includes('-')) { + this._setStatus( + this.STATUS_ERROR, + 'Channel and Layout are not know! Please review you\'re button config' + ); + this.debug('channelIdlayoutId: ' + action.options.channelIdlayoutId); + break; + } + const [channelId, layoutId] = action.options.channelIdlayoutId.split('-'); if (!this._getChannelById(channelId)) { this._setStatus( From 2af9504e4c6e5c0eddd25f8e38cda21c5673ffdd Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:47:55 +0200 Subject: [PATCH 11/23] Rewrite callback --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 0d637d6..6d1d247 100644 --- a/index.js +++ b/index.js @@ -173,7 +173,7 @@ class EpiphanPearl extends instanceSkel { type = 'put'; url = '/api/channels/' + channelId + '/layouts/active'; body = {id: layoutId}; - callback = (err, response) => { + callback = response => { if (response && response.status === 'ok') { this._updateActiveChannelLayout(channelId, layoutId); } @@ -241,9 +241,9 @@ class EpiphanPearl extends instanceSkel { type = 'post'; url = '/api/recorders/' + recorderId + '/control/' + startStopAction; - callback = (err, response) => { + callback = async response => { if (response && response.status === 'ok') { - this._updateRecorderStatus(recorderId); + await this._updateRecorderStatus(recorderId); } }; break; From b67f97e7f301d581766bec6bb6fe27e42641524e Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:48:12 +0200 Subject: [PATCH 12/23] Add extra checks on channelIdpublisherId --- index.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/index.js b/index.js index 6d1d247..f87d62b 100644 --- a/index.js +++ b/index.js @@ -181,6 +181,15 @@ class EpiphanPearl extends instanceSkel { break; } case 'channelStreaming': { + if (!action.options.channelIdpublisherId || !action.options.channelIdpublisherId.includes('-')) { + this._setStatus( + this.STATUS_ERROR, + 'Channel and Publisher are not know! Please review you\'re button config' + ); + this.debug('Undefined channelIdpublisherId ... ' + action.options.channelIdpublisherId); + break; + } + const [channelId, publishersId] = action.options.channelIdpublisherId.split('-'); if (!this._getChannelById(channelId)) { this._setStatus( From 88f582080dbdf9f6f52432a723dfae528d677548 Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:48:21 +0200 Subject: [PATCH 13/23] Remove extra space --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index f87d62b..bcbe00b 100644 --- a/index.js +++ b/index.js @@ -228,7 +228,7 @@ class EpiphanPearl extends instanceSkel { } case 'recorderRecording': { this.debug(action); - const recorderId = action.options.recorderId; + const recorderId = action.options.recorderId; if (!this._getRecorderById(recorderId)) { this._setStatus( this.STATUS_ERROR, From fe8835f663f020c11884e99028e2f71de151e2bc Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:49:38 +0200 Subject: [PATCH 14/23] Remove defaultRequest --- index.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/index.js b/index.js index bcbe00b..ad3694a 100644 --- a/index.js +++ b/index.js @@ -319,7 +319,6 @@ class EpiphanPearl extends instanceSkel { destroy() { clearInterval(this.timer); this.status(this.STATUS_UNKNOWN); - this.defaultRequest = null; this.debug('destroy', this.id); } @@ -349,23 +348,6 @@ class EpiphanPearl extends instanceSkel { */ updateConfig(config) { this.config = config; - this._initRequest(); - } - - /** - * INTERNAL: setup default request data for requests - * - * @private - * @since 1.0.0 - */ - _initRequest() { - this.defaultRequest = request.defaults({ - auth: { - user: this.config.username, - pass: this.config.password, - }, - timeout: 10000, - }); } /** From e2003a647c42fda61d16ff2bdb6ab30c251b96c0 Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:50:10 +0200 Subject: [PATCH 15/23] When setting status also log --- index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.js b/index.js index ad3694a..4e4a50d 100644 --- a/index.js +++ b/index.js @@ -360,6 +360,12 @@ class EpiphanPearl extends instanceSkel { */ _setStatus(level, message = '') { this.status(level, message); + + if (level === this.STATUS_ERROR) { + this.log('error', message); + } else if (level === this.STATUS_WARNING) { + this.log('warning', message); + } } /** From fb07fcabb468087df10328b0a9e5cb26365c9773 Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:51:07 +0200 Subject: [PATCH 16/23] Make the function smaller --- index.js | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/index.js b/index.js index 4e4a50d..c1c5f0d 100644 --- a/index.js +++ b/index.js @@ -376,17 +376,10 @@ class EpiphanPearl extends instanceSkel { * @param {Object} options - Option object gotten from a performed action [action()] */ _getStartStopActionFromOptions(options) { - const startStopActionId = parseInt(options.startStopAction); + const startStopActionId = parseInt(options.startStopAction); + const startStopActionObj = this.CHOICES_STARTSTOP.find(obj => obj.id === startStopActionId); - if (typeof options.startStopAction === 'undefined' || options.startStopAction === null || startStopActionId === 99) { - return null; - } - - const action = this.CHOICES_STARTSTOP.find((e) => { - return e.id === startStopActionId; - }).action - - return action ? action : null; + return typeof startStopActionObj !== "undefined" ? startStopActionObj.action : null; } /** From 7f194624cbf923d07ec801c1eecf3ddd992b5fa2 Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:52:50 +0200 Subject: [PATCH 17/23] Add check for 'm' --- index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index c1c5f0d..31fe9d8 100644 --- a/index.js +++ b/index.js @@ -532,12 +532,16 @@ class EpiphanPearl extends instanceSkel { * * @private * @since 1.0.0 - * @param {String} id + * @param {String|Number} id Can have a "m" in the id */ _getRecorderById(id) { if (!id) { return; } + if (typeof id !== 'number' && !id.includes('m')) { + // recorders can have an 'm' in their name as id... + id = parseInt(id) + } return this.RECORDER_STATES.find(obj => obj.id === id); } From 374e5e76d60143b4451ff69ea0e0eccf65ec1e02 Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:53:25 +0200 Subject: [PATCH 18/23] If publisher is all, return true --- index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/index.js b/index.js index 31fe9d8..1097cb0 100644 --- a/index.js +++ b/index.js @@ -573,6 +573,11 @@ class EpiphanPearl extends instanceSkel { return; } + if (publisherId === 'all') { + // We can start and stop all encoders at the same time. + return true; + } + return this._getTypeFromChannelById(TYPE_PUBLISHER, channel, publisherId) } From 1159181512a24b92c3c785bcef89dfa1d7d08ed9 Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 20:55:20 +0200 Subject: [PATCH 19/23] remove _updateSystem here --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 1097cb0..9f5dbfa 100644 --- a/index.js +++ b/index.js @@ -824,9 +824,9 @@ class EpiphanPearl extends instanceSkel { } } - this.debug('Updating RECORDER_STATES and then call _updateSystem()'); + this.debug('Updating RECORDER_STATES'); + this.debug('Updating CHOICES_RECORDERS'); this.CHOICES_RECORDERS = tempRecorders.slice(); - this._updateSystem(); // Update status await this._updateRecorderStatus(); From 6f8ed655b6c7b35120297c8590f830523ed3c7d7 Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 21:00:09 +0200 Subject: [PATCH 20/23] Fix _getTypeFromChannelById with number for channel --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 9f5dbfa..27a8f02 100644 --- a/index.js +++ b/index.js @@ -268,6 +268,7 @@ class EpiphanPearl extends instanceSkel { } } + // noinspection JSUnusedGlobalSymbols /** * Creates the configuration fields for web config. * @@ -339,6 +340,7 @@ class EpiphanPearl extends instanceSkel { this._initInterval(); } + // noinspection JSUnusedGlobalSymbols /** * Process an updated configuration array. * @@ -412,7 +414,7 @@ class EpiphanPearl extends instanceSkel { if (!channel || !id) { return; } else if (typeof channel === 'number') { - let channel = this._getChannelById(channel); + channel = this._getChannelById(channel); if (!channel) { return; } From 775a72dd631cf045e310a21076a8ffd56bcdb02a Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 21:00:39 +0200 Subject: [PATCH 21/23] Add noinspection for instance_skel --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 27a8f02..afb262d 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,4 @@ +// noinspection JSFileReferences const instanceSkel = require('../../instance_skel'); const http = require('http'); const fetch = require('node-fetch'); From 6f072b83b720005e8e8158a450daa203d3087687 Mon Sep 17 00:00:00 2001 From: Marc Hagen Date: Mon, 26 Sep 2022 21:08:20 +0200 Subject: [PATCH 22/23] Add eslint and fix small format errors --- .eslintrc | 22 ++++++++++++++++++++++ index.js | 8 ++++---- 2 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 .eslintrc diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..74c5200 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,22 @@ +{ + "globals": { + "angular": false, + "module": false, + "inject": false, + "document": false + }, + "env": { + "es6": true, + "browser": true, + "amd": true, + "node": true + }, + "extends": [ + "eslint:recommended" + ], + "parserOptions": { + "ecmaVersion": 9, + "sourceType": "module" + }, + "rules": {} +} diff --git a/index.js b/index.js index afb262d..1d3156b 100644 --- a/index.js +++ b/index.js @@ -85,13 +85,13 @@ class EpiphanPearl extends instanceSkel { // Companion has difficulties with the first 'default' selected value. // It will then return undefined (null) until you change/update the dropdown selection. let channels = [{id: '0-0', label: '---'}]; - Array.prototype.push.apply(channels,this.CHOICES_CHANNELS_LAYOUTS); + Array.prototype.push.apply(channels, this.CHOICES_CHANNELS_LAYOUTS); let publishers = [{id: '0-0', label: '---'}]; - Array.prototype.push.apply(publishers,this.CHOICES_CHANNELS_PUBLISHERS); + Array.prototype.push.apply(publishers, this.CHOICES_CHANNELS_PUBLISHERS); let recorders = [{id: '0', label: '---'}]; - Array.prototype.push.apply(recorders,this.CHOICES_RECORDERS); + Array.prototype.push.apply(recorders, this.CHOICES_RECORDERS); this.setActions({ 'channelChangeLayout': { @@ -624,7 +624,7 @@ class EpiphanPearl extends instanceSkel { */ async _sendRequest(type, url, body = {}) { const apiHost = this.config.host, - apiPort = this.config.host_port, + apiPort = this.config.host_port, baseUrl = 'http://' + apiHost + ':' + apiPort; if (url === null || url === '') { From f5e4d698851759d1ab51d8fe37f34e87f516d325 Mon Sep 17 00:00:00 2001 From: dnmeid Date: Wed, 24 May 2023 04:12:12 +0200 Subject: [PATCH 23/23] Feat: update for Companion v3 --- .gitignore | 2 + CHANGELOG.md | 18 + actions.js | 220 ++++ HELP.md => companion/HELP.md | 0 companion/manifest.json | 30 + config.js | 55 + doc/requests | 54 + feedbacks.js | 144 +-- index.js | 736 +++++------- package.json | 22 +- presets.js | 216 ++-- yarn.lock | 2157 +++++++++++++++++++++++++++++++++- 12 files changed, 2976 insertions(+), 678 deletions(-) create mode 100644 actions.js rename HELP.md => companion/HELP.md (100%) create mode 100644 companion/manifest.json create mode 100644 config.js diff --git a/.gitignore b/.gitignore index 1dd238d..9a66763 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ node_modules/ +pkg +pkg.tgz # Temp store for pearl files. # Which cannot be commited due to licence diff --git a/CHANGELOG.md b/CHANGELOG.md index c18885d..1fb4e76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --- ## [Unreleased] +--- +## [2.0.0] (2023-05-24) + +## Major +* Rewrite of the module code for compatibility with Companion v3. The code is not backwards compatible, but configuration data is. + +## New Features +* Upgraded Feedbacks to boolean type +* Added Reset option to recorder control +* Added option to change the feedback polling interval + +## Dependencies +* Bump qs from 6.5.2 to 6.5.3 +* Changed REST connection from request module to node's internal fetch + +## Bugfixes +* Corrected some typos + --- ## [1.0.9] (2022-09-26) diff --git a/actions.js b/actions.js new file mode 100644 index 0000000..c876651 --- /dev/null +++ b/actions.js @@ -0,0 +1,220 @@ +const { InstanceStatus } = require('@companion-module/base') + +module.exports = { + /** + * Setup the actions. + * + * @access public + * @since 2.0.0 + * @returns {Object} the action definitions + */ + get_actions() { + const startStopOption = { + type: 'dropdown', + id: 'startStopAction', + label: 'Action', + choices: this.CHOICES_STARTSTOP, + default: this.CHOICES_STARTSTOP[0].id, + } + + // Companion has difficulties with the first 'default' selected value. + let channels = [{ id: '0-0', label: '---' }] + Array.prototype.push.apply(channels, this.CHOICES_CHANNELS_LAYOUTS) + + let publishers = [{ id: '0-0', label: '---' }] + Array.prototype.push.apply(publishers, this.CHOICES_CHANNELS_PUBLISHERS) + + let recorders = [{ id: '0', label: '---' }] + Array.prototype.push.apply(recorders, this.CHOICES_RECORDERS) + + const actions = {} + actions['channelChangeLayout'] = { + name: 'Change channel layout', + options: [ + { + type: 'dropdown', + id: 'channelIdlayoutId', + label: 'Change layout to:', + choices: channels, + default: channels[0].id, + }, + ], + callback: (action) => { + let type = 'get', + url, + body, + callback + + if (!action.options.channelIdlayoutId || !action.options.channelIdlayoutId.includes('-')) { + this._setStatus( + InstanceStatus.UnknownWarning, + 'Channel and layout are not known! Please review your button config' + ) + this.debug('channelIdlayoutId: ' + action.options.channelIdlayoutId) + return + } + + const [channelId, layoutId] = action.options.channelIdlayoutId.split('-') + if (!this._getChannelById(channelId)) { + this._setStatus( + InstanceStatus.UnknownWarning, + 'Action on non existing channel! Please review your button config' + ) + this.log('error', 'Action on non existing channel: ' + channelId) + return + } + if (!this._checkValidLayoutId(channelId, layoutId)) { + this._setStatus( + InstanceStatus.UnknownWarning, + 'Action on non existing layout! Please review your button config' + ) + this.log('error', 'Action on non existing layout ' + layoutId + ' on channel ' + channelId) + return + } + + type = 'put' + url = '/api/channels/' + channelId + '/layouts/active' + body = { id: Number(layoutId) } + callback = (response) => { + if (response && response.status === 'ok') { + this._updateActiveChannelLayout(channelId, layoutId) + } + } + + // Send request + this._sendRequest(type, url, body).then(callback) + }, + } + + actions['channelStreaming'] = { + name: 'Start/stop streaming', + options: [ + { + type: 'dropdown', + label: 'Channel publishers', + id: 'channelIdpublisherId', + choices: publishers, + default: publishers[0].id, + tooltip: + 'If a channel has only one "publisher" or "stream" then you just select all. Else you can pick the "publisher" you want to start/stop', + }, + startStopOption, + ], + callback: (action) => { + let type = 'get', + url, + body, + callback + + if (!action.options.channelIdpublisherId || !action.options.channelIdpublisherId.includes('-')) { + this._setStatus( + InstanceStatus.UnknownWarning, + 'Channel and Publisher are not known! Please review your button config' + ) + this.debug('Undefined channelIdpublisherId ... ' + action.options.channelIdpublisherId) + return + } + + const [channelId, publishersId] = action.options.channelIdpublisherId.split('-') + if (!this._getChannelById(channelId)) { + this._setStatus( + InstanceStatus.UnknownWarning, + 'Action on non existing channel! Please review your button config.' + ) + this.log('error', 'Action on non existing channel: ' + channelId) + return + } + if (publishersId !== 'all' && !this._checkValidPublisherId(channelId, publishersId)) { + this._setStatus( + InstanceStatus.UnknownWarning, + 'Action on non existing publisher! Please review your button config.' + ) + this.log('error', 'Action on non existing publisher ' + publishersId + ' on channel ' + channelId) + return + } + + const startStopAction = this._getStartStopActionFromOptions(action.options) + if (startStopAction === null) { + this._setStatus(InstanceStatus.UnknownWarning, 'Called an unknown action! Please review your button config.') + this.log('error', 'Called an unknown action: ' + action.options.startStopAction) + return + } + + type = 'post' + if (publishersId !== 'all') { + url = '/api/channels/' + channelId + '/publishers/' + publishersId + '/control/' + startStopAction + } else { + url = '/api/channels/' + channelId + '/publishers/control/' + startStopAction + } + + // Send request + this._sendRequest(type, url, body).then(callback) + }, + } + + actions['recorderRecording'] = { + name: 'Control recording', + options: [ + { + type: 'dropdown', + label: 'Recorder', + id: 'recorderId', + choices: this.CHOICES_RECORDERS, + default: this.CHOICES_RECORDERS.length > 0 ? this.CHOICES_RECORDERS[0].id : '', + }, + { + type: 'dropdown', + id: 'startStopAction', + label: 'Action', + choices: [ + { id: 99, label: '---' }, + { id: 1, label: 'Start' }, + { id: 0, label: 'Stop' }, + { id: 2, label: 'Reset' }, + ], + default: 1, + }, + ], + callback: (action) => { + let type = 'post', + url, + body, + callback + + const recorderId = action.options.recorderId + if (!this._getRecorderById(recorderId)) { + this._setStatus( + InstanceStatus.UnknownWarning, + 'Action on non existing recorder! Please review your button config.' + ) + this.log('error', 'Action on non existing recorder ' + recorderId) + return + } + + const startStopAction = action.options.startStopAction + if (startStopAction === 0) { + url = `/api/recorders/${recorderId}/control/stop` + } else if (startStopAction === 1) { + url = `/api/recorders/${recorderId}/control/start` + } else if (startStopAction === 2) { + url = `/api/recorders/${recorderId}/control/reset` + } else if (startStopAction === 99) { + return + } else { + this._setStatus(InstanceStatus.UnknownWarning, 'Called an unknown action! Please review your button config.') + this.log('error', 'Called an unknown action: ' + action.options.startStopAction) + return + } + + callback = async (response) => { + if (response && response.status === 'ok') { + await this._updateRecorderStatus(recorderId) + } + } + // Send request + this._sendRequest(type, url, body).then(callback) + }, + } + return actions + }, +} diff --git a/HELP.md b/companion/HELP.md similarity index 100% rename from HELP.md rename to companion/HELP.md diff --git a/companion/manifest.json b/companion/manifest.json new file mode 100644 index 0000000..2634a70 --- /dev/null +++ b/companion/manifest.json @@ -0,0 +1,30 @@ +{ + "id": "epiphan-pearl", + "name": "epiphan-pearl", + "shortname": "pearl", + "description": "Epiphan Pearl module for Companion", + "version": "0.0.0", + "license": "MIT", + "repository": "git+https://github.com/bitfocus/companion-module-epiphan-pearl.git", + "bugs": "https://github.com/bitfocus/companion-module-epiphan-pearl/issues", + "maintainers": [ + { + "name": "Marc Hagen", + "email": "hello@marchagen.nl" + }, + { + "name": "Dorian Meid", + "email": "meid@backstage.org" + } + ], + "legacyIds": [], + "runtime": { + "type": "node18", + "api": "nodejs-ipc", + "apiVersion": "0.0.0", + "entrypoint": "../index.js" + }, + "manufacturer": "Epiphan", + "products": ["Pearl"], + "keywords": ["Stream", "Encode", "Recording"] +} diff --git a/config.js b/config.js new file mode 100644 index 0000000..1e5fe50 --- /dev/null +++ b/config.js @@ -0,0 +1,55 @@ +const { Regex } = require('@companion-module/base') + +// noinspection JSUnusedGlobalSymbols +/** + * Creates the configuration fields for web config. + * + * @access public + * @since 1.0.0 + * @returns {Array} the config fields + */ +const get_config_fields = () => { + return [ + { + type: 'textinput', + id: 'host', + label: 'Target IP', + width: 6, + default: '192.168.255.250', + regex: Regex.IP, + }, + { + type: 'textinput', + id: 'host_port', + label: 'Target Port', + width: 6, + default: '80', + regex: Regex.PORT, + }, + { + type: 'textinput', + id: 'username', + label: 'Username', + width: 6, + default: 'admin', + }, + { + type: 'textinput', + id: 'password', + label: 'Password', + width: 6, + default: '', + }, + { + type: 'number', + id: 'pollfreq', + label: 'Feedback polling frequency in seconds', + width: 6, + default: 10, + min: 1, + max: 300, + }, + ] +} + +module.exports = { get_config_fields } diff --git a/doc/requests b/doc/requests index 00bf54b..ec6ef13 100644 --- a/doc/requests +++ b/doc/requests @@ -32,3 +32,57 @@ GET /api/recorders/status GET /api/recorders {"status":"ok","result":[{"id":"7","name":"Summer courses RECORDING","multisource":false},{"id":"10","name":"overflow","multisource":false},{"id":"11","name":"REGIE","multisource":false},{"id":"m1","name":"All CAM","multisource":true}]} + +GET ws: /wsms/preview/channel?id=1&resolution=452x254&fps=10&keep-ar=1&auth-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJUU0hCMDA2OTQiLCJhdWQiOiJwcmV2aWV3XC9jaGFubmVsIiwibmJmIjoxNjg0ODc2MDIxLCJleHAiOjE2ODQ4NzYwODF9.xGfBaFOjvZwhVRHzQldiIKUWBRDwSo6UhJeq2AolMrM + +self.ws.onmessage = function(evt) { + var serverData = new Uint8Array(evt.data); + var headerLength = (serverData[0] << 8) | serverData[1]; + var payload = serverData.subarray(headerLength, serverData.length); + var frameType = serverData[2]; + var streamId = serverData[3]; // Ignore it + var outData = []; + if (frameType == 0x01) { + outData[0] = 1; + outData[1] = "data:image/jpeg;base64," + byteArrayToBase64(payload); + postMessage(outData); + } else if (frameType == 0x41) { + // Audio volume + // Payload format: + // Offset Type Description + // +00 int8 Number of channels: + // 0x00 - reserved for the future use (to support arbitrary layout AV_CH_LAYOUT_XXX from ffmpeg). + // 0x01 - mono (fixed channel layout - AV_CH_LAYOUT_MONO) + // 0x02 - stereo (fixed channel layout - AV_CH_LAYOUT_STEREO) + // +01 int8 Number of frequency bands. Always 0x01. + // +02 int32 RMS dBFS value for mono(AV_CH_LAYOUT_MONO)or the left channel (AV_CH_LAYOUT_STEREO). + // +06 int32 Peak dBFS value for mono(AV_CH_LAYOUT_MONO) or the left channel (AV_CH_LAYOUT_STEREO). + // +10 int32 RMS dBFS value for the right channel (AV_CH_LAYOUT_STEREO). + // +14 int32 Peak dBFS value for the right channel (AV_CH_LAYOUT_STEREO). + var levels = { + rms: [], + peak: [] + }; + var channels = payload[0]; + if (channels == 1 || channels == 2) { + levels.rms.push(unpackdB(payload, 2)); + levels.peak.push(unpackdB(payload, 6)); + } + if (channels == 2) { + levels.rms.push(unpackdB(payload, 10)); + levels.peak.push(unpackdB(payload, 14)); + } + outData[0] = 2; + outData[1] = levels; + postMessage(outData); + + } else { + // Unknown + console.log('View: ' + viewId + '. Received unknonw frame ' + frameType); + } +}; + +// Read packed mdB value and return it as dB +var unpackdB = function(bytes, offset) { + return (bytes[offset + 0] << 24 | bytes[offset + 1] << 16 | bytes[offset + 2] << 8 | bytes[offset + 3]) / 1000.0; +} diff --git a/feedbacks.js b/feedbacks.js index efdb826..6b62985 100644 --- a/feedbacks.js +++ b/feedbacks.js @@ -1,144 +1,118 @@ +const { combineRgb } = require('@companion-module/base') + module.exports = { - /** * INTERNAL: Get the available feedbacks. * * @access protected * @since 1.0.0 - * @returns {Object[]} - the available feedbacks + * @returns {Object} - the available feedbacks */ getFeedbacks() { - let feedbacks = {}; + let feedbacks = {} feedbacks['channelLayout'] = { - label: 'Change colors on channel layout change', - description: 'If the current layout is active, change color of the bank', + name: 'Change style on channel layout change', + type: 'boolean', + description: 'Change style if the specified layout is active', + defaultStyle: { + color: combineRgb(255, 255, 255), + bgcolor: combineRgb(255, 0, 0), + }, options: [ - { - type: 'colorpicker', - label: 'Foreground color', - id: 'fg', - default: this.rgb(255, 255, 255), - }, - { - type: 'colorpicker', - label: 'Background color', - id: 'bg', - default: this.rgb(255, 0, 0), - }, { type: 'dropdown', label: 'Channel', id: 'channelIdlayoutId', choices: this.CHOICES_CHANNELS_LAYOUTS, + default: this.CHOICES_CHANNELS_LAYOUTS.length > 0 ? this.CHOICES_CHANNELS_LAYOUTS[0].id : '', }, ], - callback: (feedback, bank) => { + callback: (feedback) => { if (!feedback.options.channelIdlayoutId) { - return {}; + return false } - const [channelId, layoutId] = feedback.options.channelIdlayoutId.split('-'); - const layout = this._getLayoutFromChannelById(this._getChannelById(channelId), layoutId); + const [channelId, layoutId] = feedback.options.channelIdlayoutId.split('-') + const layout = this._getLayoutFromChannelById(this._getChannelById(channelId), layoutId) if (!layout) { - return {}; + return false } if (layout.active) { - return { - color: feedback.options.fg, - bgcolor: feedback.options.bg - }; + return true } - return {}; - } - }; + return false + }, + } feedbacks['channelStreaming'] = { - label: 'Change colors if streaming', - description: 'If channel is streaming, change colors of the bank', + name: 'Change style if streaming', + type: 'boolean', + description: 'Change style if specified channel is streaming', + defaultStyle: { + color: combineRgb(255, 255, 255), + bgcolor: combineRgb(0, 255, 0), + }, options: [ - { - type: 'colorpicker', - label: 'Foreground color', - id: 'fg', - default: this.rgb(255, 255, 255), - }, - { - type: 'colorpicker', - label: 'Background color', - id: 'bg', - default: this.rgb(0, 255, 0), - }, { type: 'dropdown', - label: 'Channel publishers', + label: 'Channel publisher', id: 'channelIdpublisherId', choices: this.CHOICES_CHANNELS_PUBLISHERS, + default: this.CHOICES_CHANNELS_PUBLISHERS.length > 0 ? this.CHOICES_CHANNELS_PUBLISHERS[0].id : '', }, ], - callback: (feedback, bank) => { + callback: (feedback) => { if (!feedback.options.channelIdpublisherId) { - return {}; + return false } - const [channelId, publisherId] = feedback.options.channelIdpublisherId.split('-'); - const channel = this._getChannelById(channelId); + const [channelId, publisherId] = feedback.options.channelIdpublisherId.split('-') + const channel = this._getChannelById(channelId) if (!channel) { - return {}; + return false } - const publisher = this._getPublisherFromChannelById(channel, publisherId); - let isStreaming = false; + const publisher = this._getPublisherFromChannelById(channel, publisherId) + let isStreaming = false if (publisherId === 'all') { - isStreaming = this._getActivePublishersFromChannel(channel); + isStreaming = this._getActivePublishersFromChannel(channel) } if (this._isPublisherStreaming(publisher) || isStreaming) { - return { - color: feedback.options.fg, - bgcolor: feedback.options.bg - }; + return true } - return {}; - } - }; + return false + }, + } feedbacks['recorderRecording'] = { - label: 'Change colors if recording', - description: 'If channel/recorder is recording, change colors of the bank', + name: 'Change style if recording', + type: 'boolean', + description: 'Change style if channel/recorder is recording', + defaultStyle: { + color: combineRgb(255, 255, 255), + bgcolor: combineRgb(0, 255, 0), + }, options: [ - { - type: 'colorpicker', - label: 'Foreground color', - id: 'fg', - default: this.rgb(255, 255, 255), - }, - { - type: 'colorpicker', - label: 'Background color', - id: 'bg', - default: this.rgb(0, 255, 0), - }, { type: 'dropdown', label: 'Recorders', id: 'recorderId', choices: this.CHOICES_RECORDERS, + default: this.CHOICES_RECORDERS.length > 0 ? this.CHOICES_RECORDERS[0].id : '', }, ], - callback: (feedback, bank) => { - const recorder = this._getRecorderById(feedback.options.recorderId); + callback: (feedback) => { + const recorder = this._getRecorderById(feedback.options.recorderId) if (this._isRecorderRecording(recorder)) { - return { - color: feedback.options.fg, - bgcolor: feedback.options.bg - }; + return true } - return {}; - } - }; + return false + }, + } - return feedbacks; - } -}; + return feedbacks + }, +} diff --git a/index.js b/index.js index 1d3156b..97e2c47 100644 --- a/index.js +++ b/index.js @@ -1,14 +1,20 @@ // noinspection JSFileReferences -const instanceSkel = require('../../instance_skel'); -const http = require('http'); -const fetch = require('node-fetch'); -let debug, log; - -const feedbacks = require('./feedbacks'); -const presets = require('./presets'); - -const TYPE_LAYOUT = 1; -const TYPE_PUBLISHER = 2; +const { + CreateConvertToBooleanFeedbackUpgradeScript, + InstanceBase, + InstanceStatus, + Regex, + runEntrypoint, +} = require('@companion-module/base') +const http = require('http') + +const actions = require('./actions') +const feedbacks = require('./feedbacks') +const presets = require('./presets') +const { get_config_fields } = require('./config') + +const TYPE_LAYOUT = 1 +const TYPE_PUBLISHER = 2 /** * Companion instance class for the Epiphan Pearl. @@ -18,8 +24,7 @@ const TYPE_PUBLISHER = 2; * @since 1.0.0 * @author Marc Hagen */ -class EpiphanPearl extends instanceSkel { - +class EpiphanPearl extends InstanceBase { /** * Create an instance of a EpiphanPearl module. * @@ -29,244 +34,42 @@ class EpiphanPearl extends instanceSkel { * @param {string} id - the instance ID * @param {Object} config - saved user configuration parameters */ - constructor(system, id, config) { - super(system, id, config); + constructor(internal) { + super(internal) /** * Array with channel objects containing channel information like layouts * recorders and encoders with the states of these properties * @type {Array} */ - this.CHANNEL_STATES = []; - this.RECORDER_STATES = []; + this.CHANNEL_STATES = [] + this.RECORDER_STATES = {} /* * Array with channel objects containing channel information like layouts * @type {Array} */ - this.CHOICES_CHANNELS_LAYOUTS = []; - this.CHOICES_CHANNELS_PUBLISHERS = []; + this.CHOICES_CHANNELS_LAYOUTS = [] + this.CHOICES_CHANNELS_PUBLISHERS = [] /** * Array with recorders objects * @type {Array} */ - this.CHOICES_RECORDERS = []; + this.CHOICES_RECORDERS = [] this.CHOICES_STARTSTOP = [ - {id: 99, label: '---', action: ''}, - {id: 1, label: 'Start', action: 'start'}, - {id: 0, label: 'Stop', action: 'stop'} - ]; + { id: 99, label: '---', action: '' }, + { id: 1, label: 'Start', action: 'start' }, + { id: 0, label: 'Stop', action: 'stop' }, + ] Object.assign(this, { - //...actions, + ...actions, ...feedbacks, ...presets, //...variables - }); - } - - /** - * Setup the actions. - * - * @access public - * @since 1.0.0 - * @param {EventEmitter} system - the brains of the operation - */ - actions(system = null) { - const startStopOption = { - type: 'dropdown', - id: 'startStopAction', - label: 'Action', - choices: this.CHOICES_STARTSTOP - }; - - // Companion has difficulties with the first 'default' selected value. - // It will then return undefined (null) until you change/update the dropdown selection. - let channels = [{id: '0-0', label: '---'}]; - Array.prototype.push.apply(channels, this.CHOICES_CHANNELS_LAYOUTS); - - let publishers = [{id: '0-0', label: '---'}]; - Array.prototype.push.apply(publishers, this.CHOICES_CHANNELS_PUBLISHERS); - - let recorders = [{id: '0', label: '---'}]; - Array.prototype.push.apply(recorders, this.CHOICES_RECORDERS); - - this.setActions({ - 'channelChangeLayout': { - label: 'Change channel layout', - options: [{ - type: 'dropdown', - id: 'channelIdlayoutId', - label: 'Change layout to:', - choices: channels - }] - }, - 'channelStreaming': { - label: 'Start/stop streaming', - options: [ - { - type: 'dropdown', - label: 'Channel publishers', - id: 'channelIdpublisherId', - choices: publishers, - tooltip: 'If a channel has only one "publisher" or "stream" then you just select all. Else you can pick the "publisher" you want to start/stop' - }, - startStopOption - ], - }, - 'recorderRecording': { - label: 'Start/stop recording', - options: [ - { - type: 'dropdown', - label: 'Recorder', - id: 'recorderId', - choices: recorders, - }, - startStopOption - ], - }, - }); - } - - /** - * Executes the provided action. - * - * @access public - * @since 1.0.0 - * @param {Object} action - the action to be executed - * @param {Object} deviceInfo - information from where the button was pressed... - */ - action(action, deviceInfo) { - let type = 'get', url, body, callback; - - switch (action.action) { - case 'channelChangeLayout': { - if (!action.options.channelIdlayoutId || !action.options.channelIdlayoutId.includes('-')) { - this._setStatus( - this.STATUS_ERROR, - 'Channel and Layout are not know! Please review you\'re button config' - ); - this.debug('channelIdlayoutId: ' + action.options.channelIdlayoutId); - break; - } - - const [channelId, layoutId] = action.options.channelIdlayoutId.split('-'); - if (!this._getChannelById(channelId)) { - this._setStatus( - this.STATUS_ERROR, - 'Action on non existing channel! Please review you\'re button config' - ); - this.log('error', 'Action on non existing channel: ' + channelId); - break; - } - if (!this._checkValidLayoutId(channelId, layoutId)) { - this._setStatus( - this.STATUS_ERROR, - 'Action on non existing layout! Please review you\'re button config' - ); - this.log('error', 'Action on non existing layout ' + layoutId + ' on channel ' + channelId); - break; - } - - type = 'put'; - url = '/api/channels/' + channelId + '/layouts/active'; - body = {id: layoutId}; - callback = response => { - if (response && response.status === 'ok') { - this._updateActiveChannelLayout(channelId, layoutId); - } - }; - break; - } - case 'channelStreaming': { - if (!action.options.channelIdpublisherId || !action.options.channelIdpublisherId.includes('-')) { - this._setStatus( - this.STATUS_ERROR, - 'Channel and Publisher are not know! Please review you\'re button config' - ); - this.debug('Undefined channelIdpublisherId ... ' + action.options.channelIdpublisherId); - break; - } - - const [channelId, publishersId] = action.options.channelIdpublisherId.split('-'); - if (!this._getChannelById(channelId)) { - this._setStatus( - this.STATUS_ERROR, - 'Action on non existing channel! Please review you\'re button config.' - ); - this.log('error', 'Action on non existing channel: ' + channelId); - break; - } - if (publishersId !== 'all' && !this._checkValidPublisherId(channelId, publishersId)) { - this._setStatus( - this.STATUS_ERROR, - 'Action on non existing publisher! Please review you\'re button config.' - ); - this.log('error', 'Action on non existing publisher ' + publishersId + ' on channel ' + channelId); - break; - } - - const startStopAction = this._getStartStopActionFromOptions(action.options); - if (startStopAction === null) { - this._setStatus( - this.STATUS_ERROR, - 'The was called for a unknow action! Please review you\'re button config.' - ); - this.log('error', 'The was called for a unknow action: ' + action.options.startStopAction); - break; - } - - type = 'post'; - if (publishersId !== 'all') { - url = '/api/channels/' + channelId + '/publishers/' + publishersId + '/control/' + startStopAction; - } else { - url = '/api/channels/' + channelId + '/publishers/control/' + startStopAction; - } - break; - } - case 'recorderRecording': { - this.debug(action); - const recorderId = action.options.recorderId; - if (!this._getRecorderById(recorderId)) { - this._setStatus( - this.STATUS_ERROR, - 'Action on non existing recorder! Please review you\'re button config.' - ); - this.log('error', 'Action on non existing recorder ' + recorderId); - break; - } - - const startStopAction = this._getStartStopActionFromOptions(action.options); - if (startStopAction === null) { - this._setStatus( - this.STATUS_ERROR, - 'The was called for a unknow action! Please review you\'re button config.' - ); - this.log('error', 'The was called for a unknow action: ' + action.options.startStopAction); - break; - } - - type = 'post'; - url = '/api/recorders/' + recorderId + '/control/' + startStopAction; - callback = async response => { - if (response && response.status === 'ok') { - await this._updateRecorderStatus(recorderId); - } - }; - break; - } - default: - return; - } - - // Send request - if (url) { - this._sendRequest(type, url, body) - .then(callback); - } + }) } // noinspection JSUnusedGlobalSymbols @@ -277,39 +80,8 @@ class EpiphanPearl extends instanceSkel { * @since 1.0.0 * @returns {Array} the config fields */ - config_fields() { - return [ - { - type: 'textinput', - id: 'host', - label: 'Target IP', - width: 6, - default: '127.0.0.1', - regex: this.REGEX_IP, - }, - { - type: 'textinput', - id: 'host_port', - label: 'Target Port', - width: 6, - default: '80', - regex: this.REGEX_PORT, - }, - { - type: 'textinput', - id: 'username', - label: 'Username', - width: 6, - default: 'admin', - }, - { - type: 'textinput', - id: 'password', - label: 'Password', - width: 6, - default: '', - }, - ]; + getConfigFields() { + return get_config_fields() } /** @@ -318,10 +90,10 @@ class EpiphanPearl extends instanceSkel { * @access public * @since 1.0.0 */ - destroy() { - clearInterval(this.timer); - this.status(this.STATUS_UNKNOWN); - this.debug('destroy', this.id); + async destroy() { + clearInterval(this.timer) + this.updateStatus(InstanceStatus.Disconnected) + this.log('debug', 'destroy', this.id) } /** @@ -330,15 +102,14 @@ class EpiphanPearl extends instanceSkel { * * @access public * @since 1.0.0 + * @param config the configuration object */ - init() { - debug = this.debug; - log = this.log; + async init(config) { + this.updateStatus(InstanceStatus.Connecting) - this.status(this.STATUS_UNKNOWN); - - this._initRequest(); - this._initInterval(); + await this.configUpdated(config) + this._updateSystem() + this._initInterval() } // noinspection JSUnusedGlobalSymbols @@ -349,8 +120,35 @@ class EpiphanPearl extends instanceSkel { * @since 1.0.0 * @param {Object} config - the new configuration */ - updateConfig(config) { - this.config = config; + async configUpdated(config) { + if (!config.host || config.host.match(new RegExp(Regex.IP.slice(1, -1))) === null) { + this.log('error', 'invalid IP given in configuration: ' + config.host) + return + } + if (!config.host_port || parseInt(config.host_port) < 1 || parseInt(config.host_port) > 65536) { + this.log('error', 'invalid portnumber given in configuration: ' + config.host_port) + return + } + + if (typeof config.pollfreq !== 'number') { + config.pollfreq = 10 + this.saveConfig(config) + } + + if (this.config === undefined) { + // get config for the first time after init + this.config = config + } else { + let oldconfig = { ...this.config } + + this.config = config + + if (oldconfig.pollfreq !== this.config.pollfreq) { + // polling frequency has changed, update interval + clearInterval(this.timer) + this._initInterval() + } + } } /** @@ -362,12 +160,12 @@ class EpiphanPearl extends instanceSkel { * @param {?String} message */ _setStatus(level, message = '') { - this.status(level, message); + this.updateStatus(level, message) - if (level === this.STATUS_ERROR) { - this.log('error', message); - } else if (level === this.STATUS_WARNING) { - this.log('warning', message); + if (level === 'error') { + this.log('error', message) + } else if (level === 'warning') { + this.log('warning', message) } } @@ -379,10 +177,10 @@ class EpiphanPearl extends instanceSkel { * @param {Object} options - Option object gotten from a performed action [action()] */ _getStartStopActionFromOptions(options) { - const startStopActionId = parseInt(options.startStopAction); - const startStopActionObj = this.CHOICES_STARTSTOP.find(obj => obj.id === startStopActionId); + const startStopActionId = parseInt(options.startStopAction) + const startStopActionObj = this.CHOICES_STARTSTOP.find((obj) => obj.id === startStopActionId) - return typeof startStopActionObj !== "undefined" ? startStopActionObj.action : null; + return typeof startStopActionObj !== 'undefined' ? startStopActionObj.action : null } /** @@ -394,12 +192,12 @@ class EpiphanPearl extends instanceSkel { */ _getChannelById(id) { if (!id) { - return; + return } if (typeof id !== 'number') { - id = parseInt(id); + id = parseInt(id) } - return this.CHANNEL_STATES.find(obj => obj.id === id) + return this.CHANNEL_STATES.find((obj) => obj.id === id) } /** @@ -413,11 +211,11 @@ class EpiphanPearl extends instanceSkel { */ _getTypeFromChannelById(type, channel, id) { if (!channel || !id) { - return; + return } else if (typeof channel === 'number') { - channel = this._getChannelById(channel); + channel = this._getChannelById(channel) if (!channel) { - return; + return } } @@ -430,13 +228,12 @@ class EpiphanPearl extends instanceSkel { } else if (type === TYPE_PUBLISHER) { type = channel.publishers } else { - return; + return } - return type.find(obj => obj.id === id) + return type.find((obj) => obj.id === id) } - /** * INTERNAL: Get layout by id from channel * @@ -446,7 +243,7 @@ class EpiphanPearl extends instanceSkel { * @param {String|Number} id */ _getLayoutFromChannelById(channel, id) { - return this._getTypeFromChannelById(TYPE_LAYOUT, channel, id); + return this._getTypeFromChannelById(TYPE_LAYOUT, channel, id) } /** @@ -458,9 +255,9 @@ class EpiphanPearl extends instanceSkel { */ _getActiveLayoutFromChannel(channel) { if (!channel) { - return; + return } - return channel.layouts.find(obj => obj.active === true) + return channel.layouts.find((obj) => obj.active === true) } /** @@ -472,21 +269,21 @@ class EpiphanPearl extends instanceSkel { * @param {String|Number} newLayoutId */ _updateActiveChannelLayout(channelId, newLayoutId) { - let channel = this._getChannelById(channelId); + let channel = this._getChannelById(channelId) if (!channel) { - return; + return } - let activeLayout = this._getActiveLayoutFromChannel(channel); - let newActiveLayout = this._getLayoutFromChannelById(channel, newLayoutId); + let activeLayout = this._getActiveLayoutFromChannel(channel) + let newActiveLayout = this._getLayoutFromChannelById(channel, newLayoutId) if (!activeLayout || !newActiveLayout) { return } // Be positive and switch channels in advance. - activeLayout.active = false; - newActiveLayout.active = true; - this.checkFeedbacks('channelLayout'); + activeLayout.active = false + newActiveLayout.active = true + this.checkFeedbacks('channelLayout') } /** @@ -498,7 +295,7 @@ class EpiphanPearl extends instanceSkel { * @param {String|Number} id */ _getPublisherFromChannelById(channel, id) { - return this._getTypeFromChannelById(TYPE_PUBLISHER, channel, id); + return this._getTypeFromChannelById(TYPE_PUBLISHER, channel, id) } /** @@ -510,10 +307,10 @@ class EpiphanPearl extends instanceSkel { */ _isPublisherStreaming(publisher) { if (!publisher) { - return false; + return false } - return publisher.status.isStreaming ? publisher.status.isStreaming : false; + return publisher.status.isStreaming ? publisher.status.isStreaming : false } /** @@ -525,27 +322,25 @@ class EpiphanPearl extends instanceSkel { */ _getActivePublishersFromChannel(channel) { if (!channel) { - return; + return } - return channel.publishers.find(obj => obj.status.isStreaming === true) + return channel.publishers.find((obj) => obj.status.isStreaming === true) } /** - * INTERNAL: Get channel by id + * INTERNAL: Get recorder by id * * @private * @since 1.0.0 * @param {String|Number} id Can have a "m" in the id */ _getRecorderById(id) { - if (!id) { - return; - } - if (typeof id !== 'number' && !id.includes('m')) { - // recorders can have an 'm' in their name as id... - id = parseInt(id) + // eslint-disable-next-line no-prototype-builtins + if (id && this.RECORDER_STATES.hasOwnProperty(id.toString())) { + return this.RECORDER_STATES[id.toString()] + } else { + return undefined } - return this.RECORDER_STATES.find(obj => obj.id === id); } /** @@ -557,9 +352,9 @@ class EpiphanPearl extends instanceSkel { */ _isRecorderRecording(recorder) { if (!recorder) { - return false; + return false } - return recorder.status.isRecording ? recorder.status.isRecording : false; + return recorder.status.isRecording ? recorder.status.isRecording : false } /** @@ -571,14 +366,14 @@ class EpiphanPearl extends instanceSkel { * @param {String|Number} publisherId */ _checkValidPublisherId(channelId, publisherId) { - const channel = this._getChannelById(channelId); + const channel = this._getChannelById(channelId) if (!channel) { - return; + return } if (publisherId === 'all') { // We can start and stop all encoders at the same time. - return true; + return true } return this._getTypeFromChannelById(TYPE_PUBLISHER, channel, publisherId) @@ -593,9 +388,9 @@ class EpiphanPearl extends instanceSkel { * @param {String|Number} layoutId */ _checkValidLayoutId(channelId, layoutId) { - const channel = this._getChannelById(channelId); + const channel = this._getChannelById(channelId) if (!channel) { - return; + return } return this._getTypeFromChannelById(TYPE_LAYOUT, channel, layoutId) @@ -608,9 +403,9 @@ class EpiphanPearl extends instanceSkel { * @since 1.0.0 */ _updateSystem() { - this.actions(); - this._updateFeedbacks(); - this._updatePresets(); + this.setActionDefinitions(this.get_actions()) + this._updateFeedbacks() + this._updatePresets() } /** @@ -624,79 +419,91 @@ class EpiphanPearl extends instanceSkel { */ async _sendRequest(type, url, body = {}) { const apiHost = this.config.host, - apiPort = this.config.host_port, - baseUrl = 'http://' + apiHost + ':' + apiPort; + apiPort = this.config.host_port, + baseUrl = 'http://' + apiHost + ':' + apiPort if (url === null || url === '') { - this._setStatus(this.STATUS_ERROR, 'No URL given for _sendRequest'); - this.log('error', 'No URL given for _sendRequest'); - return false; + this._setStatus(InstanceStatus.BadConfig, 'No URL given for _sendRequest') + this.log('error', 'No URL given for _sendRequest') + return false } - type = type.toUpperCase(); + type = type.toUpperCase() if (['GET', 'POST', 'PUT'].indexOf(type) === -1) { - this._setStatus(this.STATUS_ERROR, 'Wrong request type: ' + type); - this.log('error', 'Wrong request type: ' + type); - return false; + this._setStatus(InstanceStatus.UnknownError, 'Wrong request type: ' + type) + this.log('error', 'Wrong request type: ' + type) + return false } // Check if body is not empty if (body === undefined) { - body = {}; + body = {} } - const requestUrl = baseUrl + url; - this.debug('Starting request to: ' + type + ' ' + baseUrl + url); - this.debug(body); + const requestUrl = baseUrl + url + this.log('debug', 'Starting request to: ' + type + ' ' + baseUrl + url) + this.log('debug', 'body: ' + JSON.stringify(body)) - let response; + let response try { let options = { method: type, - timeout: 10000, + timeout: 3000, headers: { - 'Authorization': 'Basic ' + Buffer.from(this.config.username + ':' + this.config.password).toString('base64') - } + Authorization: 'Basic ' + Buffer.from(this.config.username + ':' + this.config.password).toString('base64'), + }, } if (type !== 'GET') { - options.body = body; + options.body = JSON.stringify(body) options.headers['Content-Type'] = 'application/json' } - response = await fetch(requestUrl, options); + response = await fetch(requestUrl, options) } catch (error) { if (error.name === 'AbortError') { - this._setStatus(this.STATUS_ERROR, 'Request was aborted: ' + requestUrl + ' reason: ' + error.message); - this.debug(error.message) - return; + this._setStatus( + InstanceStatus.ConnectionFailure, + 'Request was aborted: ' + requestUrl + ' reason: ' + error.message + ) + this.log('debug', error.message) + return } - this._setStatus(this.STATUS_ERROR, error.message); - this.debug(error.message) - return; + this._setStatus(InstanceStatus.ConnectionFailure, error.message) + this.log('debug', error.message) + return } if (!response.ok) { - this._setStatus(this.STATUS_ERROR, 'Non-successful response status code: ' + http.STATUS_CODES[response.status] + ' ' + requestUrl); - this.debug('Non-successful response status code: ' + http.STATUS_CODES[response.status] + ' ' + requestUrl) - return; + this._setStatus( + InstanceStatus.ConnectionFailure, + 'Non-successful response status code: ' + http.STATUS_CODES[response.status] + ' ' + requestUrl + ) + this.log('debug', 'Non-successful response status code: ' + http.STATUS_CODES[response.status] + ' ' + requestUrl) + return } - const responseBody = await response.json(); + const responseBody = await response.json() if (responseBody && responseBody.status && responseBody.status !== 'ok') { - this._setStatus(this.STATUS_ERROR, 'Non-successful response from pearl: ' + requestUrl + ' - ' + (body.message ? body.message : 'No error message')); - this.debug('Non-successful response from pearl: ' + requestUrl + ' - ' + (body.message ? body.message : 'No error message')); - return; + this._setStatus( + InstanceStatus.ConnectionFailure, + 'Non-successful response from pearl: ' + requestUrl + ' - ' + (body.message ? body.message : 'No error message') + ) + this.log( + 'debug', + 'Non-successful response from pearl: ' + requestUrl + ' - ' + (body.message ? body.message : 'No error message') + ) + return } - let result = responseBody; + let result = responseBody if (responseBody && responseBody.result) { - result = responseBody.result; + result = responseBody.result } - this._setStatus(this.STATUS_OK); - return result; + this._setStatus(InstanceStatus.Ok) + return result } /** @@ -706,7 +513,7 @@ class EpiphanPearl extends instanceSkel { * @since 1.0.0 */ _updateFeedbacks() { - this.setFeedbackDefinitions(this.getFeedbacks()); + this.setFeedbackDefinitions(this.getFeedbacks()) } /** @@ -716,7 +523,7 @@ class EpiphanPearl extends instanceSkel { * @since [Unreleased] */ _updatePresets() { - this.setPresetDefinitions(this.getPresets()); + this.setPresetDefinitions(this.getPresets()) } /** @@ -727,13 +534,12 @@ class EpiphanPearl extends instanceSkel { * @since 1.0.0 */ _initInterval() { - // Run 2 times first - this._dataPoller(); - // Poll data from pearl every 20 secs - this.timer = setInterval(this._dataPoller.bind(this), 20000); + // Run one time first + this._dataPoller() + // Poll data from pearl regulary + this.timer = setInterval(this._dataPoller.bind(this), Math.ceil(this.config.pollfreq * 1000) || 10000) } - /** * Part of poller * INTERNAL: The data poller will actively make requests to update feedbacks and dropdown options. @@ -744,98 +550,97 @@ class EpiphanPearl extends instanceSkel { */ async _dataPoller() { // Get all channels available - const channels = await this._sendRequest('get', '/api/channels?publishers=yes&encoders=yes', {}); + const channels = await this._sendRequest('get', '/api/channels?publishers=yes&encoders=yes', {}) for (const a in channels) { - const channel = channels[a]; + const channel = channels[a] const channelUpdate = { id: parseInt(channel.id), - label: channel.name - }; + label: channel.name, + } - let currentChannel = this._getChannelById(channelUpdate.id); + let currentChannel = this._getChannelById(channelUpdate.id) if (currentChannel === undefined) { currentChannel = { ...channelUpdate, ...{ layouts: [], publishers: [], - encoders: [] - } - }; - this.CHANNEL_STATES.push(currentChannel); + encoders: [], + }, + } + this.CHANNEL_STATES.push(currentChannel) } else { - currentChannel = {...currentChannel, ...channelUpdate}; + currentChannel = { ...currentChannel, ...channelUpdate } } for (const b in channel.publishers) { - const publisher = channel.publishers[b]; - let currentPublisher = currentChannel.publishers.find(obj => obj.id === parseInt(publisher.id)); + const publisher = channel.publishers[b] + let currentPublisher = currentChannel.publishers.find((obj) => obj.id === parseInt(publisher.id)) const updatedPublisher = { id: parseInt(publisher.id), label: publisher.name, - }; + } if (currentPublisher === undefined) { currentChannel.publishers.push({ ...updatedPublisher, ...{ status: { isStreaming: false, - duration: 0 - } - } - }); + duration: 0, + }, + }, + }) } else { - currentPublisher = {...currentPublisher, ...updatedPublisher}; + currentPublisher = { ...currentPublisher, ...updatedPublisher } } } } - this.debug('Updating CHANNEL_STATES'); + this.log('debug', 'Updating CHANNEL_STATES') // Update layouts and publishers - await this._updateChannelLayouts(); - await this._updateChannelPublishers(); + await this._updateChannelLayouts() + await this._updateChannelPublishers() // Get all recorders - let tempRecorders = []; - const recorders = await this._sendRequest('get', '/api/recorders', {}); - - for (const a in recorders) { - const recorder = recorders[a]; - const updatedRecorder = { - id: recorder.id, - label: recorder.name - }; - tempRecorders.push(updatedRecorder); - - let currentRecorder = this._getRecorderById(updatedRecorder.id); - if (currentRecorder === undefined) { - this.RECORDER_STATES.push({ - ...updatedRecorder, - ...{ - status: { - isRecording: false, - duration: 0 - } - } - }); - } else { - currentRecorder = {...currentRecorder, ...updatedRecorder}; + this.log('debug', 'Updating RECORDER_STATES') + let tempRecorders = [] + const recorders = await this._sendRequest('get', '/api/recorders', {}) + + if (Array.isArray(recorders)) { + this.RECORDER_STATES = {} + for (const recorder of recorders) { + const updatedRecorder = { + id: recorder.id, + label: recorder.name, + } + tempRecorders.push(updatedRecorder) + + this.RECORDER_STATES[recorder.id] = { + id: recorder.id, + label: recorder.name, + status: { + state: '', + isRecording: false, + duration: 0, + }, + } } + } else { + this.log('error', 'Got no valid response for recorders ' + JSON.stringify(recorders)) } - this.debug('Updating RECORDER_STATES'); - this.debug('Updating CHOICES_RECORDERS'); - this.CHOICES_RECORDERS = tempRecorders.slice(); + this.log('debug', 'Updating CHOICES_RECORDERS') + this.CHOICES_RECORDERS = tempRecorders.slice() // Update status - await this._updateRecorderStatus(); + await this._updateRecorderStatus() - this.debug('Call _updateSystem() for update'); - this._updateSystem(system); + this.log('debug', 'Call _updateSystem() for update') + this._updateSystem() } /** @@ -847,40 +652,40 @@ class EpiphanPearl extends instanceSkel { */ async _updateChannelLayouts() { // For every channel get layouts and populate/update actions() - let tempLayouts = []; + let tempLayouts = [] for (const a in this.CHANNEL_STATES) { - let channel = this.CHANNEL_STATES[a]; + let channel = this.CHANNEL_STATES[a] - const layouts = await this._sendRequest('get', '/api/channels/' + channel.id + '/layouts', {}); + const layouts = await this._sendRequest('get', '/api/channels/' + channel.id + '/layouts', {}) if (!layouts) { - return; + return } for (const b in layouts) { - const layout = layouts[b]; + const layout = layouts[b] tempLayouts.push({ id: channel.id + '-' + layout.id, label: channel.label + ' - ' + layout.name, channelLabel: channel.label, - layoutLabel: layout.name - }); + layoutLabel: layout.name, + }) - const objIndex = channel.layouts.findIndex(obj => obj.id === parseInt(layout.id)); + const objIndex = channel.layouts.findIndex((obj) => obj.id === parseInt(layout.id)) const updatedLayout = { id: parseInt(layout.id), label: layout.name, - active: layout.active - }; + active: layout.active, + } if (objIndex === -1) { - channel.layouts.push(updatedLayout); + channel.layouts.push(updatedLayout) } else { - channel.layouts[objIndex] = updatedLayout; + channel.layouts[objIndex] = updatedLayout } } - this.debug('Updating CHOICES_CHANNELS_LAYOUTS and then call checkFeedbacks(channelLayout)'); - this.CHOICES_CHANNELS_LAYOUTS = tempLayouts.slice(); - this.checkFeedbacks('channelLayout'); + this.log('debug', 'Updating CHOICES_CHANNELS_LAYOUTS and then call checkFeedbacks(channelLayout)') + this.CHOICES_CHANNELS_LAYOUTS = tempLayouts.slice() + this.checkFeedbacks('channelLayout') } } @@ -893,15 +698,15 @@ class EpiphanPearl extends instanceSkel { */ async _updateChannelPublishers() { // For get publishers and encoders - let tempPublishers = []; - const channels = await this._sendRequest('get', '/api/channels/status?publishers=yes&encoders=yes', {}); + let tempPublishers = [] + const channels = await this._sendRequest('get', '/api/channels/status?publishers=yes&encoders=yes', {}) if (!channels) { - return; + return } for (const a in channels) { - const apiChannel = channels[a]; - const currentChannel = this._getChannelById(apiChannel.id); + const apiChannel = channels[a] + const currentChannel = this._getChannelById(apiChannel.id) if (!currentChannel) { continue } @@ -910,23 +715,23 @@ class EpiphanPearl extends instanceSkel { id: currentChannel.id + '-all', label: currentChannel.label + ' - All encoders', channelLabel: currentChannel.label, - publisherLabel: 'All encoders' - }); + publisherLabel: 'All encoders', + }) for (const b in apiChannel.publishers) { - const publisher = apiChannel.publishers[b]; - const currentPublisher = currentChannel.publishers.find(obj => obj.id === parseInt(publisher.id)); + const publisher = apiChannel.publishers[b] + const currentPublisher = currentChannel.publishers.find((obj) => obj.id === parseInt(publisher.id)) if (!currentPublisher) { - continue; + continue } tempPublishers.push({ id: currentChannel.id + '-' + currentPublisher.id, label: currentChannel.label + ' - ' + currentPublisher.label, channelLabel: currentChannel.label, - publisherLabel: currentPublisher.label - }); + publisherLabel: currentPublisher.label, + }) - const status = publisher.status; + const status = publisher.status currentPublisher.status = { isStreaming: status.started && status.state === 'started', duration: status.started && status.state === 'started' ? parseInt(status.duration) : 0, @@ -934,9 +739,9 @@ class EpiphanPearl extends instanceSkel { } } - this.debug('Updating CHOICES_CHANNELS_PUBLISHERS and then call checkFeedbacks(channelStreaming)'); - this.CHOICES_CHANNELS_PUBLISHERS = tempPublishers.slice(); - this.checkFeedbacks('channelStreaming'); + this.log('debug', 'Updating CHOICES_CHANNELS_PUBLISHERS and then call checkFeedbacks(channelStreaming)') + this.CHOICES_CHANNELS_PUBLISHERS = tempPublishers.slice() + this.checkFeedbacks('channelStreaming') } /** @@ -948,28 +753,43 @@ class EpiphanPearl extends instanceSkel { */ async _updateRecorderStatus() { // For get status for recorders - const recoders = await this._sendRequest('get', '/api/recorders/status', {}); + const recoders = await this._sendRequest('get', '/api/recorders/status', {}) if (!recoders) { - return; + return } - for (const a in recoders) { - const recorder = recoders[a]; - const currentRecorder = this._getRecorderById(recorder.id); + for (const recorder of recoders) { + const currentRecorder = this._getRecorderById(recorder.id) if (currentRecorder === undefined) { - continue; + continue } - const status = recorder.status; + const status = recorder.status currentRecorder.status = { + state: status.state, isRecording: status.state !== 'stopped', duration: status.state !== 'stopped' ? parseInt(status.duration) : 0, } } - this.debug('Updating RECORDER_STATES and then call checkFeedbacks(recorderRecording)'); - this.checkFeedbacks('recorderRecording'); + this.log('debug', 'Updating RECORDER_STATES and then call checkFeedbacks(recorderRecording)') + this.checkFeedbacks('recorderRecording') } } -exports = module.exports = EpiphanPearl; +const upgradeToBooleanFeedbacks = CreateConvertToBooleanFeedbackUpgradeScript({ + channelLayout: { + fg: 'color', + bg: 'bgcolor', + }, + channelStreaming: { + fg: 'color', + bg: 'bgcolor', + }, + recorderRecording: { + fg: 'color', + bg: 'bgcolor', + }, +}) + +runEntrypoint(EpiphanPearl, [upgradeToBooleanFeedbacks]) diff --git a/package.json b/package.json index 5b2f700..23b8ad5 100644 --- a/package.json +++ b/package.json @@ -1,32 +1,20 @@ { "name": "epiphan-pearl", - "version": "1.0.9", - "manufacturer": "Epiphan", - "product": "Pearl", - "shortname": "pearl", + "version": "2.0.0", "homepage": "https://github.com/bitfocus/companion-module-epiphan-pearl#readme", - "description": "Epiphan Pearl module for Companion", - "keywords": [ - "Stream", - "Encode", - "Recording" - ], "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, - "author": "Marc Hagen ", "license": "MIT", "dependencies": { - "node-fetch": "^2.6.0" + "@companion-module/base": "~1.4" }, - "devDependencies": {}, - "bugs": { - "url": "https://github.com/bitfocus/companion-module-epiphan-pearl/issues" + "devDependencies": { + "@companion-module/tools": "^1.2.1" }, "repository": { "type": "git", "url": "git+https://github.com/bitfocus/companion-module-epiphan-pearl.git" - }, - "api_version": "1.0.0" + } } diff --git a/presets.js b/presets.js index 8b14251..0aa6009 100644 --- a/presets.js +++ b/presets.js @@ -1,145 +1,159 @@ -module.exports = { +const { combineRgb } = require('@companion-module/base') +module.exports = { /** * INTERNAL: Get the available presets. * * @access protected - * @since [Unreleased] + * @since 2.0.0 * @returns {Object[]} - the available presets */ getPresets() { - let presets = []; - - for (const a in this.CHOICES_CHANNELS_LAYOUTS) { - const layout = this.CHOICES_CHANNELS_LAYOUTS[a]; + let presets = {} - let pst = { + for (const layout of this.CHOICES_CHANNELS_LAYOUTS) { + presets[`layout_${layout.label}`] = { + type: 'button', category: 'Channels', - label: layout.label, - bank: { - style: 'text', + name: layout.label, + style: { text: layout.channelLabel + '\\n' + layout.layoutLabel, size: 7, - color: this.rgb(255, 255, 255), - bgcolor: this.rgb(0, 0, 0) + color: combineRgb(255, 255, 255), + bgcolor: combineRgb(0, 0, 0), }, - actions: [ + steps: [ { - action: 'channelChangeLayout', - options: { - channelIdlayoutId: layout.id - } - } + down: [ + { + actionId: 'channelChangeLayout', + options: { + channelIdlayoutId: layout.id, + }, + }, + ], + up: [], + }, ], feedbacks: [ { - type: 'channelLayout', + feedbackId: 'channelLayout', options: { - fg: this.rgb(255, 255, 255), - bg: this.rgb(255, 0, 0), - channelIdlayoutId: layout.id - } - } - ] - }; - - presets.push(pst); + channelIdlayoutId: layout.id, + }, + style: { + color: combineRgb(255, 255, 255), + bgcolor: combineRgb(255, 0, 0), + }, + }, + ], + } } - for (const b in this.CHOICES_CHANNELS_PUBLISHERS) { - const publisher = this.CHOICES_CHANNELS_PUBLISHERS[b]; - - let pst = { + for (const publisher of this.CHOICES_CHANNELS_PUBLISHERS) { + presets[`publisher_${publisher.label}`] = { + type: 'button', category: 'Publishers', label: publisher.label, - bank: { - style: 'text', + style: { text: publisher.channelLabel + '\\n' + publisher.publisherLabel, size: 7, - color: this.rgb(255, 255, 255), - bgcolor: this.rgb(0, 51, 153), - latch: true + color: combineRgb(255, 255, 255), + bgcolor: combineRgb(0, 51, 153), }, - actions: [ + steps: [ { - action: 'channelStreaming', - options: { - channelIdpublisherId: publisher.id, - startStopAction: 1 // START - } - } - ], - release_actions: [ + down: [ + { + actionId: 'channelStreaming', + options: { + channelIdpublisherId: publisher.id, + startStopAction: 1, // START + }, + }, + ], + up: [], + }, { - action: 'channelStreaming', - options: { - channelIdpublisherId: publisher.id, - startStopAction: 0 // STOP - } - } + down: [ + { + actionId: 'channelStreaming', + options: { + channelIdpublisherId: publisher.id, + startStopAction: 0, // STOP + }, + }, + ], + up: [], + }, ], feedbacks: [ { - type: 'channelStreaming', + feedbackId: 'channelStreaming', options: { - fg: this.rgb(255, 255, 255), - bg: this.rgb(0, 255, 0), - channelIdpublisherId: publisher.id - } - } - ] - }; - - presets.push(pst); + channelIdpublisherId: publisher.id, + }, + style: { + color: combineRgb(255, 255, 255), + bgcolor: combineRgb(0, 255, 0), + }, + }, + ], + } } - for (const c in this.CHOICES_RECORDERS) { - const recoder = this.CHOICES_RECORDERS[c]; - - let pst = { + for (const recorder of this.CHOICES_RECORDERS) { + presets[`recorder_${recorder.label}`] = { + type: 'button', category: 'Recorders', - label: recoder.label, - bank: { - style: 'text', - text: recoder.label, + label: recorder.label, + style: { + text: recorder.label, size: 7, - color: this.rgb(255, 255, 255), - bgcolor: this.rgb(0, 102, 0), - latch: true + color: combineRgb(255, 255, 255), + bgcolor: combineRgb(0, 102, 0), }, - actions: [ + steps: [ { - action: 'recorderRecording', - options: { - recorderId: recoder.id, - startStopAction: 1 // START - } - } - ], - release_actions: [ + down: [ + { + actionId: 'recorderRecording', + options: { + recorderId: recorder.id, + startStopAction: 1, // START + }, + }, + ], + up: [], + }, { - action: 'recorderRecording', - options: { - recorderId: recoder.id, - startStopAction: 0 // STOP - } - } + down: [ + { + actionId: 'recorderRecording', + options: { + recorderId: recorder.id, + startStopAction: 0, // STOP + }, + }, + ], + up: [], + }, ], feedbacks: [ { - type: 'recorderRecording', + feedbackId: 'recorderRecording', options: { - fg: this.rgb(255, 255, 255), - bg: this.rgb(255, 0, 0), - recorderId: recoder.id - } - } - ] - }; - - presets.push(pst); + recorderId: recorder.id, + }, + style: { + color: combineRgb(255, 255, 255), + bgcolor: combineRgb(255, 0, 0), + }, + }, + ], + } } - return presets; - } -}; + return presets + }, +} diff --git a/yarn.lock b/yarn.lock index 891aa70..4c86e06 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,27 +2,2150 @@ # yarn lockfile v1 -node-fetch@^2.6.0: - version "2.6.7" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" - integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== +"@companion-module/base@~1.4": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@companion-module/base/-/base-1.4.1.tgz#4ddc4ba636b672bcbbc3dc4645634007a49d6189" + integrity sha512-xg5OX33ptfFsV/drfeNTHID7hp9f2cdp8V+7Pj8uartdNstCr28W3bAy8xRz+XRFKxQVkJcL2LqrkYZ8GGfetw== dependencies: - whatwg-url "^5.0.0" + "@sentry/node" "^7.36.0" + "@sentry/tracing" "^7.36.0" + ajv "^8.12.0" + debounce-fn "github:julusian/debounce-fn#4.0.0-maxWaithack.0" + ejson "^2.2.3" + eventemitter3 "^4.0.7" + nanoid "^3.3.4" + p-queue "^6.6.2" + p-timeout "^4.1.0" + tslib "^2.5.0" -tr46@~0.0.3: - version "0.0.3" - resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" - integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== +"@companion-module/tools@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@companion-module/tools/-/tools-1.2.1.tgz#c2679b9b821a513ed85616e382c6a832c216e425" + integrity sha512-lLKrbNDnwB8O0gjOQlQj0IeHo0eOC/2tfShRzwiIPoj5nBUjLr2pTJX1zRsDuWINs181bG1wVC+dYk7y7dwo5Q== + dependencies: + "@typescript-eslint/eslint-plugin" "^5.50.0" + "@typescript-eslint/parser" "^5.50.0" + eslint "^8.33.0" + eslint-config-prettier "^8.6.0" + eslint-plugin-node "^11.1.0" + eslint-plugin-prettier "^4.2.1" + find-up "^6.3.0" + parse-author "^2.0.0" + prettier "^2.8.3" + tar "^6.1.13" + webpack "^5.76.0" + webpack-cli "^5.0.1" + zx "^7.1.1" + +"@discoveryjs/json-ext@^0.5.0": + version "0.5.7" + resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70" + integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw== + +"@eslint-community/eslint-utils@^4.2.0": + version "4.4.0" + resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" + integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== + dependencies: + eslint-visitor-keys "^3.3.0" + +"@eslint-community/regexpp@^4.4.0": + version "4.5.1" + resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a89a4fd42b1599eb35b3af408884" + integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ== + +"@eslint/eslintrc@^2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.0.3.tgz#4910db5505f4d503f27774bf356e3704818a0331" + integrity sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ== + dependencies: + ajv "^6.12.4" + debug "^4.3.2" + espree "^9.5.2" + globals "^13.19.0" + ignore "^5.2.0" + import-fresh "^3.2.1" + js-yaml "^4.1.0" + minimatch "^3.1.2" + strip-json-comments "^3.1.1" + +"@eslint/js@8.41.0": + version "8.41.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.41.0.tgz#080321c3b68253522f7646b55b577dd99d2950b3" + integrity sha512-LxcyMGxwmTh2lY9FwHPGWOHmYFCZvbrFCBZL4FzSSsxsRPuhrYUg/49/0KDfW8tnIEaEHtfmn6+NPN+1DqaNmA== + +"@humanwhocodes/config-array@^0.11.8": + version "0.11.8" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.8.tgz#03595ac2075a4dc0f191cc2131de14fbd7d410b9" + integrity sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g== + dependencies: + "@humanwhocodes/object-schema" "^1.2.1" + debug "^4.1.1" + minimatch "^3.0.5" + +"@humanwhocodes/module-importer@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" + integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== + +"@humanwhocodes/object-schema@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" + integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== + +"@jridgewell/gen-mapping@^0.3.0": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098" + integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ== + dependencies: + "@jridgewell/set-array" "^1.0.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.9" + +"@jridgewell/resolve-uri@3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" + integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== -webidl-conversions@^3.0.0: +"@jridgewell/set-array@^1.0.1": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" + integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== + +"@jridgewell/source-map@^0.3.2": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.3.tgz#8108265659d4c33e72ffe14e33d6cc5eb59f2fda" + integrity sha512-b+fsZXeLYi9fEULmfBrhxn4IrPlINf8fiNarzTof004v3lFdntdwa9PF7vFJqm3mg7s+ScJMxXaE3Acp1irZcg== + dependencies: + "@jridgewell/gen-mapping" "^0.3.0" + "@jridgewell/trace-mapping" "^0.3.9" + +"@jridgewell/sourcemap-codec@1.4.14": + version "1.4.14" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" + integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== + +"@jridgewell/sourcemap-codec@^1.4.10": + version "1.4.15" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" + integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== + +"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.18" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.18.tgz#25783b2086daf6ff1dcb53c9249ae480e4dd4cd6" + integrity sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA== + dependencies: + "@jridgewell/resolve-uri" "3.1.0" + "@jridgewell/sourcemap-codec" "1.4.14" + +"@nodelib/fs.scandir@2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" + integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== + dependencies: + "@nodelib/fs.stat" "2.0.5" + run-parallel "^1.1.9" + +"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" + integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== + +"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8": + version "1.2.8" + resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" + integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== + dependencies: + "@nodelib/fs.scandir" "2.1.5" + fastq "^1.6.0" + +"@sentry-internal/tracing@7.52.1": + version "7.52.1" + resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.52.1.tgz#c98823afd2f9814466fa26f24a1a54fe63b27c24" + integrity sha512-6N99rE+Ek0LgbqSzI/XpsKSLUyJjQ9nychViy+MP60p1x+hllukfTsDbNtUNrPlW0Bx+vqUrWKkAqmTFad94TQ== + dependencies: + "@sentry/core" "7.52.1" + "@sentry/types" "7.52.1" + "@sentry/utils" "7.52.1" + tslib "^1.9.3" + +"@sentry/core@7.52.1": + version "7.52.1" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.52.1.tgz#4de702937ba8944802bb06eb8dfdf089c39f6bab" + integrity sha512-36clugQu5z/9jrit1gzI7KfKbAUimjRab39JeR0mJ6pMuKLTTK7PhbpUAD4AQBs9qVeXN2c7h9SVZiSA0UDvkg== + dependencies: + "@sentry/types" "7.52.1" + "@sentry/utils" "7.52.1" + tslib "^1.9.3" + +"@sentry/node@^7.36.0": + version "7.52.1" + resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.52.1.tgz#3939bf47485461d990f6fe192d9fdced6ed95953" + integrity sha512-n3frjYbkY/+eZ5RTQMaipv6Hh9w3ia40GDeRK6KJQit7OLKLmXisD+FsdYzm8Jc784csSvb6HGGVgqLpO1p9Og== + dependencies: + "@sentry-internal/tracing" "7.52.1" + "@sentry/core" "7.52.1" + "@sentry/types" "7.52.1" + "@sentry/utils" "7.52.1" + cookie "^0.4.1" + https-proxy-agent "^5.0.0" + lru_map "^0.3.3" + tslib "^1.9.3" + +"@sentry/tracing@^7.36.0": + version "7.52.1" + resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-7.52.1.tgz#65db0404b3d83a268ece9773ddd6aa5fa609d801" + integrity sha512-1afFeb0X6YcMK8mcsGXpO9rNFEF4Kd3mAUF22hXyFNWVoPNQsvdh/WxG2t3U+hLhehQ1ps3iJ0jxFRGF5zSboA== + dependencies: + "@sentry-internal/tracing" "7.52.1" + +"@sentry/types@7.52.1": + version "7.52.1" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.52.1.tgz#bcff6d0462d9b9b7b9ec31c0068fe02d44f25da2" + integrity sha512-OMbGBPrJsw0iEXwZ2bJUYxewI1IEAU2e1aQGc0O6QW5+6hhCh+8HO8Xl4EymqwejjztuwStkl6G1qhK+Q0/Row== + +"@sentry/utils@7.52.1": + version "7.52.1" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.52.1.tgz#4a3e49b918f78dba4524c924286210259020cac5" + integrity sha512-MPt1Xu/jluulknW8CmZ2naJ53jEdtdwCBSo6fXJvOTI0SDqwIPbXDVrsnqLAhVJuIN7xbkj96nuY/VBR6S5sWg== + dependencies: + "@sentry/types" "7.52.1" + tslib "^1.9.3" + +"@types/eslint-scope@^3.7.3": + version "3.7.4" + resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.4.tgz#37fc1223f0786c39627068a12e94d6e6fc61de16" + integrity sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA== + dependencies: + "@types/eslint" "*" + "@types/estree" "*" + +"@types/eslint@*": + version "8.37.0" + resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.37.0.tgz#29cebc6c2a3ac7fea7113207bf5a828fdf4d7ef1" + integrity sha512-Piet7dG2JBuDIfohBngQ3rCt7MgO9xCO4xIMKxBThCq5PNRB91IjlJ10eJVwfoNtvTErmxLzwBZ7rHZtbOMmFQ== + dependencies: + "@types/estree" "*" + "@types/json-schema" "*" + +"@types/estree@*", "@types/estree@^1.0.0": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.1.tgz#aa22750962f3bf0e79d753d3cc067f010c95f194" + integrity sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA== + +"@types/fs-extra@^11.0.1": + version "11.0.1" + resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-11.0.1.tgz#f542ec47810532a8a252127e6e105f487e0a6ea5" + integrity sha512-MxObHvNl4A69ofaTRU8DFqvgzzv8s9yRtaPPm5gud9HDNvpB3GPQFvNuTWAI59B9huVGV5jXYJwbCsmBsOGYWA== + dependencies: + "@types/jsonfile" "*" + "@types/node" "*" + +"@types/json-schema@*", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": + version "7.0.11" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" + integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== + +"@types/jsonfile@*": + version "6.1.1" + resolved "https://registry.yarnpkg.com/@types/jsonfile/-/jsonfile-6.1.1.tgz#ac84e9aefa74a2425a0fb3012bdea44f58970f1b" + integrity sha512-GSgiRCVeapDN+3pqA35IkQwasaCh/0YFH5dEF6S88iDvEn901DjOeH3/QPY+XYP1DFzDZPvIvfeEgk+7br5png== + dependencies: + "@types/node" "*" + +"@types/minimist@^1.2.2": + version "1.2.2" + resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c" + integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== + +"@types/node@*": + version "20.2.3" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.2.3.tgz#b31eb300610c3835ac008d690de6f87e28f9b878" + integrity sha512-pg9d0yC4rVNWQzX8U7xb4olIOFuuVL9za3bzMT2pu2SU0SNEi66i2qrvhE2qt0HvkhuCaWJu7pLNOt/Pj8BIrw== + +"@types/node@^18.16.3": + version "18.16.14" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.16.14.tgz#ab67bb907f1146afc6fedb9ce60ae8a99c989631" + integrity sha512-+ImzUB3mw2c5ISJUq0punjDilUQ5GnUim0ZRvchHIWJmOC0G+p0kzhXBqj6cDjK0QdPFwzrHWgrJp3RPvCG5qg== + +"@types/ps-tree@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@types/ps-tree/-/ps-tree-1.1.2.tgz#5c60773a38ffb1402e049902a7b7a8d3c67cd59a" + integrity sha512-ZREFYlpUmPQJ0esjxoG1fMvB2HNaD3z+mjqdSosZvd3RalncI9NEur73P8ZJz4YQdL64CmV1w0RuqoRUlhQRBw== + +"@types/semver@^7.3.12": + version "7.5.0" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.0.tgz#591c1ce3a702c45ee15f47a42ade72c2fd78978a" + integrity sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw== + +"@types/which@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@types/which/-/which-3.0.0.tgz#849afdd9fdcb0b67339b9cfc80fa6ea4e0253fc5" + integrity sha512-ASCxdbsrwNfSMXALlC3Decif9rwDMu+80KGp5zI2RLRotfMsTv7fHL8W8VDp24wymzDyIFudhUeSCugrgRFfHQ== + +"@typescript-eslint/eslint-plugin@^5.50.0": + version "5.59.7" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.7.tgz#e470af414f05ecfdc05a23e9ce6ec8f91db56fe2" + integrity sha512-BL+jYxUFIbuYwy+4fF86k5vdT9lT0CNJ6HtwrIvGh0PhH8s0yy5rjaKH2fDCrz5ITHy07WCzVGNvAmjJh4IJFA== + dependencies: + "@eslint-community/regexpp" "^4.4.0" + "@typescript-eslint/scope-manager" "5.59.7" + "@typescript-eslint/type-utils" "5.59.7" + "@typescript-eslint/utils" "5.59.7" + debug "^4.3.4" + grapheme-splitter "^1.0.4" + ignore "^5.2.0" + natural-compare-lite "^1.4.0" + semver "^7.3.7" + tsutils "^3.21.0" + +"@typescript-eslint/parser@^5.50.0": + version "5.59.7" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.59.7.tgz#02682554d7c1028b89aa44a48bf598db33048caa" + integrity sha512-VhpsIEuq/8i5SF+mPg9jSdIwgMBBp0z9XqjiEay+81PYLJuroN+ET1hM5IhkiYMJd9MkTz8iJLt7aaGAgzWUbQ== + dependencies: + "@typescript-eslint/scope-manager" "5.59.7" + "@typescript-eslint/types" "5.59.7" + "@typescript-eslint/typescript-estree" "5.59.7" + debug "^4.3.4" + +"@typescript-eslint/scope-manager@5.59.7": + version "5.59.7" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.59.7.tgz#0243f41f9066f3339d2f06d7f72d6c16a16769e2" + integrity sha512-FL6hkYWK9zBGdxT2wWEd2W8ocXMu3K94i3gvMrjXpx+koFYdYV7KprKfirpgY34vTGzEPPuKoERpP8kD5h7vZQ== + dependencies: + "@typescript-eslint/types" "5.59.7" + "@typescript-eslint/visitor-keys" "5.59.7" + +"@typescript-eslint/type-utils@5.59.7": + version "5.59.7" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.59.7.tgz#89c97291371b59eb18a68039857c829776f1426d" + integrity sha512-ozuz/GILuYG7osdY5O5yg0QxXUAEoI4Go3Do5xeu+ERH9PorHBPSdvD3Tjp2NN2bNLh1NJQSsQu2TPu/Ly+HaQ== + dependencies: + "@typescript-eslint/typescript-estree" "5.59.7" + "@typescript-eslint/utils" "5.59.7" + debug "^4.3.4" + tsutils "^3.21.0" + +"@typescript-eslint/types@5.59.7": + version "5.59.7" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.59.7.tgz#6f4857203fceee91d0034ccc30512d2939000742" + integrity sha512-UnVS2MRRg6p7xOSATscWkKjlf/NDKuqo5TdbWck6rIRZbmKpVNTLALzNvcjIfHBE7736kZOFc/4Z3VcZwuOM/A== + +"@typescript-eslint/typescript-estree@5.59.7": + version "5.59.7" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.7.tgz#b887acbd4b58e654829c94860dbff4ac55c5cff8" + integrity sha512-4A1NtZ1I3wMN2UGDkU9HMBL+TIQfbrh4uS0WDMMpf3xMRursDbqEf1ahh6vAAe3mObt8k3ZATnezwG4pdtWuUQ== + dependencies: + "@typescript-eslint/types" "5.59.7" + "@typescript-eslint/visitor-keys" "5.59.7" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + semver "^7.3.7" + tsutils "^3.21.0" + +"@typescript-eslint/utils@5.59.7": + version "5.59.7" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.59.7.tgz#7adf068b136deae54abd9a66ba5a8780d2d0f898" + integrity sha512-yCX9WpdQKaLufz5luG4aJbOpdXf/fjwGMcLFXZVPUz3QqLirG5QcwwnIHNf8cjLjxK4qtzTO8udUtMQSAToQnQ== + dependencies: + "@eslint-community/eslint-utils" "^4.2.0" + "@types/json-schema" "^7.0.9" + "@types/semver" "^7.3.12" + "@typescript-eslint/scope-manager" "5.59.7" + "@typescript-eslint/types" "5.59.7" + "@typescript-eslint/typescript-estree" "5.59.7" + eslint-scope "^5.1.1" + semver "^7.3.7" + +"@typescript-eslint/visitor-keys@5.59.7": + version "5.59.7" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.7.tgz#09c36eaf268086b4fbb5eb9dc5199391b6485fc5" + integrity sha512-tyN+X2jvMslUszIiYbF0ZleP+RqQsFVpGrKI6e0Eet1w8WmhsAtmzaqm8oM8WJQ1ysLwhnsK/4hYHJjOgJVfQQ== + dependencies: + "@typescript-eslint/types" "5.59.7" + eslint-visitor-keys "^3.3.0" + +"@webassemblyjs/ast@1.11.6", "@webassemblyjs/ast@^1.11.5": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.6.tgz#db046555d3c413f8966ca50a95176a0e2c642e24" + integrity sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q== + dependencies: + "@webassemblyjs/helper-numbers" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + +"@webassemblyjs/floating-point-hex-parser@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz#dacbcb95aff135c8260f77fa3b4c5fea600a6431" + integrity sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw== + +"@webassemblyjs/helper-api-error@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz#6132f68c4acd59dcd141c44b18cbebbd9f2fa768" + integrity sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q== + +"@webassemblyjs/helper-buffer@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.6.tgz#b66d73c43e296fd5e88006f18524feb0f2c7c093" + integrity sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA== + +"@webassemblyjs/helper-numbers@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz#cbce5e7e0c1bd32cf4905ae444ef64cea919f1b5" + integrity sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g== + dependencies: + "@webassemblyjs/floating-point-hex-parser" "1.11.6" + "@webassemblyjs/helper-api-error" "1.11.6" + "@xtuc/long" "4.2.2" + +"@webassemblyjs/helper-wasm-bytecode@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz#bb2ebdb3b83aa26d9baad4c46d4315283acd51e9" + integrity sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA== + +"@webassemblyjs/helper-wasm-section@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.6.tgz#ff97f3863c55ee7f580fd5c41a381e9def4aa577" + integrity sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-buffer" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/wasm-gen" "1.11.6" + +"@webassemblyjs/ieee754@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz#bb665c91d0b14fffceb0e38298c329af043c6e3a" + integrity sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg== + dependencies: + "@xtuc/ieee754" "^1.2.0" + +"@webassemblyjs/leb128@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/leb128/-/leb128-1.11.6.tgz#70e60e5e82f9ac81118bc25381a0b283893240d7" + integrity sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ== + dependencies: + "@xtuc/long" "4.2.2" + +"@webassemblyjs/utf8@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/utf8/-/utf8-1.11.6.tgz#90f8bc34c561595fe156603be7253cdbcd0fab5a" + integrity sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA== + +"@webassemblyjs/wasm-edit@^1.11.5": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.6.tgz#c72fa8220524c9b416249f3d94c2958dfe70ceab" + integrity sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-buffer" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/helper-wasm-section" "1.11.6" + "@webassemblyjs/wasm-gen" "1.11.6" + "@webassemblyjs/wasm-opt" "1.11.6" + "@webassemblyjs/wasm-parser" "1.11.6" + "@webassemblyjs/wast-printer" "1.11.6" + +"@webassemblyjs/wasm-gen@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.6.tgz#fb5283e0e8b4551cc4e9c3c0d7184a65faf7c268" + integrity sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/ieee754" "1.11.6" + "@webassemblyjs/leb128" "1.11.6" + "@webassemblyjs/utf8" "1.11.6" + +"@webassemblyjs/wasm-opt@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.6.tgz#d9a22d651248422ca498b09aa3232a81041487c2" + integrity sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-buffer" "1.11.6" + "@webassemblyjs/wasm-gen" "1.11.6" + "@webassemblyjs/wasm-parser" "1.11.6" + +"@webassemblyjs/wasm-parser@1.11.6", "@webassemblyjs/wasm-parser@^1.11.5": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.6.tgz#bb85378c527df824004812bbdb784eea539174a1" + integrity sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-api-error" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/ieee754" "1.11.6" + "@webassemblyjs/leb128" "1.11.6" + "@webassemblyjs/utf8" "1.11.6" + +"@webassemblyjs/wast-printer@1.11.6": + version "1.11.6" + resolved "https://registry.yarnpkg.com/@webassemblyjs/wast-printer/-/wast-printer-1.11.6.tgz#a7bf8dd7e362aeb1668ff43f35cb849f188eff20" + integrity sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@xtuc/long" "4.2.2" + +"@webpack-cli/configtest@^2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@webpack-cli/configtest/-/configtest-2.1.0.tgz#b59b33377b1b896a9a7357cfc643b39c1524b1e6" + integrity sha512-K/vuv72vpfSEZoo5KIU0a2FsEoYdW0DUMtMpB5X3LlUwshetMZRZRxB7sCsVji/lFaSxtQQ3aM9O4eMolXkU9w== + +"@webpack-cli/info@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@webpack-cli/info/-/info-2.0.1.tgz#eed745799c910d20081e06e5177c2b2569f166c0" + integrity sha512-fE1UEWTwsAxRhrJNikE7v4EotYflkEhBL7EbajfkPlf6E37/2QshOy/D48Mw8G5XMFlQtS6YV42vtbG9zBpIQA== + +"@webpack-cli/serve@^2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-2.0.4.tgz#3982ee6f8b42845437fc4d391e93ac5d9da52f0f" + integrity sha512-0xRgjgDLdz6G7+vvDLlaRpFatJaJ69uTalZLRSMX5B3VUrDmXcrVA3+6fXXQgmYz7bY9AAgs348XQdmtLsK41A== + +"@xtuc/ieee754@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" + integrity sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA== + +"@xtuc/long@4.2.2": + version "4.2.2" + resolved "https://registry.yarnpkg.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" + integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== + +acorn-import-assertions@^1.7.6: + version "1.9.0" + resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz#507276249d684797c84e0734ef84860334cfb1ac" + integrity sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA== + +acorn-jsx@^5.3.2: + version "5.3.2" + resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" + integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== + +acorn@^8.5.0, acorn@^8.7.1, acorn@^8.8.0: + version "8.8.2" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a" + integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw== + +agent-base@6: + version "6.0.2" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" + integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== + dependencies: + debug "4" + +ajv-keywords@^3.5.2: + version "3.5.2" + resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" + integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ== + +ajv@^6.10.0, ajv@^6.12.4, ajv@^6.12.5: + version "6.12.6" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" + integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +ajv@^8.12.0: + version "8.12.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" + integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== + dependencies: + fast-deep-equal "^3.1.1" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" + uri-js "^4.2.2" + +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +argparse@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + +array-union@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" + integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== + +author-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/author-regex/-/author-regex-1.0.0.tgz#d08885be6b9bbf9439fe087c76287245f0a81450" + integrity sha512-KbWgR8wOYRAPekEmMXrYYdc7BRyhn2Ftk7KWfMUnQ43hFdojWEFRxhhRUm3/OFEdPa1r0KAvTTg9YQK57xTe0g== + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +braces@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" + integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== + dependencies: + fill-range "^7.0.1" + +browserslist@^4.14.5: + version "4.21.5" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.5.tgz#75c5dae60063ee641f977e00edd3cfb2fb7af6a7" + integrity sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w== + dependencies: + caniuse-lite "^1.0.30001449" + electron-to-chromium "^1.4.284" + node-releases "^2.0.8" + update-browserslist-db "^1.0.10" + +buffer-from@^1.0.0: + version "1.1.2" + resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" + integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +caniuse-lite@^1.0.30001449: + version "1.0.30001489" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001489.tgz#ca82ee2d4e4dbf2bd2589c9360d3fcc2c7ba3bd8" + integrity sha512-x1mgZEXK8jHIfAxm+xgdpHpk50IN3z3q3zP261/WS+uvePxW8izXuCu6AHz0lkuYTlATDehiZ/tNyYBdSQsOUQ== + +chalk@^4.0.0: + version "4.1.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +chalk@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.2.0.tgz#249623b7d66869c673699fb66d65723e54dfcfb3" + integrity sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA== + +chownr@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" + integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== + +chrome-trace-event@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" + integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg== + +clone-deep@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" + integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== + dependencies: + is-plain-object "^2.0.4" + kind-of "^6.0.2" + shallow-clone "^3.0.0" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +colorette@^2.0.14: + version "2.0.20" + resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" + integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w== + +commander@^10.0.1: + version "10.0.1" + resolved "https://registry.yarnpkg.com/commander/-/commander-10.0.1.tgz#881ee46b4f77d1c1dccc5823433aa39b022cbe06" + integrity sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug== + +commander@^2.20.0: + version "2.20.3" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" + integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + +cookie@^0.4.1: + version "0.4.2" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.2.tgz#0e41f24de5ecf317947c82fc789e06a884824432" + integrity sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA== + +cross-spawn@^7.0.2, cross-spawn@^7.0.3: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +data-uri-to-buffer@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz#d8feb2b2881e6a4f58c2e08acfd0e2834e26222e" + integrity sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A== + +"debounce-fn@github:julusian/debounce-fn#4.0.0-maxWaithack.0": + version "4.0.0-maxWaithack.0" + resolved "https://codeload.github.com/julusian/debounce-fn/tar.gz/3ca54d1526c19f541fe6f103abbceda31554caa9" + dependencies: + mimic-fn "^3.0.0" + +debug@4, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4: + version "4.3.4" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + +deep-is@^0.1.3: + version "0.1.4" + resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" + integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== + +dir-glob@^3.0.1: version "3.0.1" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" - integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== + resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" + integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== + dependencies: + path-type "^4.0.0" + +doctrine@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" + integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== + dependencies: + esutils "^2.0.2" + +duplexer@~0.1.1: + version "0.1.2" + resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" + integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg== + +ejson@^2.2.3: + version "2.2.3" + resolved "https://registry.yarnpkg.com/ejson/-/ejson-2.2.3.tgz#2b18c2d8f5d61a5cfc6e3eab72c3343909e7afd2" + integrity sha512-hsFvJp6OpGxFRQfBR3PSxFpaPALdHDY+SB3TRbMpLWNhvu8GzLiZutof5+/DFd2QekZo3KyXau75ngdJqQUSrw== + +electron-to-chromium@^1.4.284: + version "1.4.403" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.403.tgz#8b4666d1ea6cf97e03c1ed39ded1f25212865ecc" + integrity sha512-evCMqXJWmbQHdlh307peXNguqVIMmcLGrQwXiR+Qc98js8jPDeT9rse1+EF2YRjWgueuzj1r4WWLAe4/U+xjMg== + +enhanced-resolve@^5.14.0: + version "5.14.0" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.14.0.tgz#0b6c676c8a3266c99fa281e4433a706f5c0c61c4" + integrity sha512-+DCows0XNwLDcUhbFJPdlQEVnT2zXlCv7hPxemTz86/O+B/hCQ+mb7ydkPKiflpVraqLPCAfu7lDy+hBXueojw== + dependencies: + graceful-fs "^4.2.4" + tapable "^2.2.0" + +envinfo@^7.7.3: + version "7.8.1" + resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475" + integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw== + +es-module-lexer@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.2.1.tgz#ba303831f63e6a394983fde2f97ad77b22324527" + integrity sha512-9978wrXM50Y4rTMmW5kXIC09ZdXQZqkE4mxhwkd8VbzsGkXGPgV4zWuqQJgCEzYngdo2dYDa0l8xhX4fkSwJSg== + +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +eslint-config-prettier@^8.6.0: + version "8.8.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz#bfda738d412adc917fd7b038857110efe98c9348" + integrity sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA== + +eslint-plugin-es@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz#75a7cdfdccddc0589934aeeb384175f221c57893" + integrity sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ== + dependencies: + eslint-utils "^2.0.0" + regexpp "^3.0.0" + +eslint-plugin-node@^11.1.0: + version "11.1.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz#c95544416ee4ada26740a30474eefc5402dc671d" + integrity sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g== + dependencies: + eslint-plugin-es "^3.0.0" + eslint-utils "^2.0.0" + ignore "^5.1.1" + minimatch "^3.0.4" + resolve "^1.10.1" + semver "^6.1.0" + +eslint-plugin-prettier@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b" + integrity sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== + dependencies: + prettier-linter-helpers "^1.0.0" + +eslint-scope@5.1.1, eslint-scope@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" + integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== + dependencies: + esrecurse "^4.3.0" + estraverse "^4.1.1" + +eslint-scope@^7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.0.tgz#f21ebdafda02352f103634b96dd47d9f81ca117b" + integrity sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw== + dependencies: + esrecurse "^4.3.0" + estraverse "^5.2.0" + +eslint-utils@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" + integrity sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg== + dependencies: + eslint-visitor-keys "^1.1.0" + +eslint-visitor-keys@^1.1.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" + integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== -whatwg-url@^5.0.0: +eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1: + version "3.4.1" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz#c22c48f48942d08ca824cc526211ae400478a994" + integrity sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA== + +eslint@^8.33.0: + version "8.41.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.41.0.tgz#3062ca73363b4714b16dbc1e60f035e6134b6f1c" + integrity sha512-WQDQpzGBOP5IrXPo4Hc0814r4/v2rrIsB0rhT7jtunIalgg6gYXWhRMOejVO8yH21T/FGaxjmFjBMNqcIlmH1Q== + dependencies: + "@eslint-community/eslint-utils" "^4.2.0" + "@eslint-community/regexpp" "^4.4.0" + "@eslint/eslintrc" "^2.0.3" + "@eslint/js" "8.41.0" + "@humanwhocodes/config-array" "^0.11.8" + "@humanwhocodes/module-importer" "^1.0.1" + "@nodelib/fs.walk" "^1.2.8" + ajv "^6.10.0" + chalk "^4.0.0" + cross-spawn "^7.0.2" + debug "^4.3.2" + doctrine "^3.0.0" + escape-string-regexp "^4.0.0" + eslint-scope "^7.2.0" + eslint-visitor-keys "^3.4.1" + espree "^9.5.2" + esquery "^1.4.2" + esutils "^2.0.2" + fast-deep-equal "^3.1.3" + file-entry-cache "^6.0.1" + find-up "^5.0.0" + glob-parent "^6.0.2" + globals "^13.19.0" + graphemer "^1.4.0" + ignore "^5.2.0" + import-fresh "^3.0.0" + imurmurhash "^0.1.4" + is-glob "^4.0.0" + is-path-inside "^3.0.3" + js-yaml "^4.1.0" + json-stable-stringify-without-jsonify "^1.0.1" + levn "^0.4.1" + lodash.merge "^4.6.2" + minimatch "^3.1.2" + natural-compare "^1.4.0" + optionator "^0.9.1" + strip-ansi "^6.0.1" + strip-json-comments "^3.1.0" + text-table "^0.2.0" + +espree@^9.5.2: + version "9.5.2" + resolved "https://registry.yarnpkg.com/espree/-/espree-9.5.2.tgz#e994e7dc33a082a7a82dceaf12883a829353215b" + integrity sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw== + dependencies: + acorn "^8.8.0" + acorn-jsx "^5.3.2" + eslint-visitor-keys "^3.4.1" + +esquery@^1.4.2: + version "1.5.0" + resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b" + integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== + dependencies: + estraverse "^5.1.0" + +esrecurse@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" + integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== + dependencies: + estraverse "^5.2.0" + +estraverse@^4.1.1: + version "4.3.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" + integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== + +estraverse@^5.1.0, estraverse@^5.2.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" + integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== + +esutils@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== + +event-stream@=3.3.4: + version "3.3.4" + resolved "https://registry.yarnpkg.com/event-stream/-/event-stream-3.3.4.tgz#4ab4c9a0f5a54db9338b4c34d86bfce8f4b35571" + integrity sha512-QHpkERcGsR0T7Qm3HNJSyXKEEj8AHNxkY3PK8TS2KJvQ7NiSHe3DDpwVKKtoYprL/AreyzFBeIkBIWChAqn60g== + dependencies: + duplexer "~0.1.1" + from "~0" + map-stream "~0.1.0" + pause-stream "0.0.11" + split "0.3" + stream-combiner "~0.0.4" + through "~2.3.1" + +eventemitter3@^4.0.4, eventemitter3@^4.0.7: + version "4.0.7" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" + integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== + +events@^3.2.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + +fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +fast-diff@^1.1.2: + version "1.3.0" + resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.3.0.tgz#ece407fa550a64d638536cd727e129c61616e0f0" + integrity sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw== + +fast-glob@^3.2.11, fast-glob@^3.2.9: + version "3.2.12" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" + integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + +fast-json-stable-stringify@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +fast-levenshtein@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" + integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== + +fastest-levenshtein@^1.0.12: + version "1.0.16" + resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz#210e61b6ff181de91ea9b3d1b84fdedd47e034e5" + integrity sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg== + +fastq@^1.6.0: + version "1.15.0" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a" + integrity sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw== + dependencies: + reusify "^1.0.4" + +fetch-blob@^3.1.2, fetch-blob@^3.1.4: + version "3.2.0" + resolved "https://registry.yarnpkg.com/fetch-blob/-/fetch-blob-3.2.0.tgz#f09b8d4bbd45adc6f0c20b7e787e793e309dcce9" + integrity sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ== + dependencies: + node-domexception "^1.0.0" + web-streams-polyfill "^3.0.3" + +file-entry-cache@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" + integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== + dependencies: + flat-cache "^3.0.4" + +fill-range@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" + integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== + dependencies: + to-regex-range "^5.0.1" + +find-up@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== + dependencies: + locate-path "^5.0.0" + path-exists "^4.0.0" + +find-up@^5.0.0: version "5.0.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" - integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== + resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== + dependencies: + locate-path "^6.0.0" + path-exists "^4.0.0" + +find-up@^6.3.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-6.3.0.tgz#2abab3d3280b2dc7ac10199ef324c4e002c8c790" + integrity sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw== + dependencies: + locate-path "^7.1.0" + path-exists "^5.0.0" + +flat-cache@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" + integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== + dependencies: + flatted "^3.1.0" + rimraf "^3.0.2" + +flatted@^3.1.0: + version "3.2.7" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" + integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== + +formdata-polyfill@^4.0.10: + version "4.0.10" + resolved "https://registry.yarnpkg.com/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz#24807c31c9d402e002ab3d8c720144ceb8848423" + integrity sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g== + dependencies: + fetch-blob "^3.1.2" + +from@~0: + version "0.1.7" + resolved "https://registry.yarnpkg.com/from/-/from-0.1.7.tgz#83c60afc58b9c56997007ed1a768b3ab303a44fe" + integrity sha512-twe20eF1OxVxp/ML/kq2p1uc6KvFK/+vs8WjEbeKmV2He22MKm7YF2ANIt+EOqhJ5L3K/SuuPhk0hWQDjOM23g== + +fs-extra@^11.1.1: + version "11.1.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.1.1.tgz#da69f7c39f3b002378b0954bb6ae7efdc0876e2d" + integrity sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + +fs-minipass@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" + integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== + dependencies: + minipass "^3.0.0" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +fx@*: + version "28.0.0" + resolved "https://registry.yarnpkg.com/fx/-/fx-28.0.0.tgz#67087b31377039bab42f51db32c8758ccb4708e8" + integrity sha512-vKQDA9g868cZiW8ulgs2uN1yx1i7/nsS33jTMOxekk0Z03BJLffVcdW6AVD32fWb3E6RtmWWuBXBZOk8cLXFNQ== + +glob-parent@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" + integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== + dependencies: + is-glob "^4.0.1" + +glob-parent@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" + integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== + dependencies: + is-glob "^4.0.3" + +glob-to-regexp@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" + integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== + +glob@^7.1.3: + version "7.2.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +globals@^13.19.0: + version "13.20.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.20.0.tgz#ea276a1e508ffd4f1612888f9d1bad1e2717bf82" + integrity sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ== + dependencies: + type-fest "^0.20.2" + +globby@^11.1.0: + version "11.1.0" + resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" + integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== + dependencies: + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.2.9" + ignore "^5.2.0" + merge2 "^1.4.1" + slash "^3.0.0" + +globby@^13.1.4: + version "13.1.4" + resolved "https://registry.yarnpkg.com/globby/-/globby-13.1.4.tgz#2f91c116066bcec152465ba36e5caa4a13c01317" + integrity sha512-iui/IiiW+QrJ1X1hKH5qwlMQyv34wJAYwH1vrf8b9kBA4sNiif3gKsMHa+BrdnOpEudWjpotfa7LrTzB1ERS/g== + dependencies: + dir-glob "^3.0.1" + fast-glob "^3.2.11" + ignore "^5.2.0" + merge2 "^1.4.1" + slash "^4.0.0" + +graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.9: + version "4.2.11" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== + +grapheme-splitter@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" + integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== + +graphemer@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6" + integrity sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag== + +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +https-proxy-agent@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" + integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== + dependencies: + agent-base "6" + debug "4" + +ignore@^5.1.1, ignore@^5.2.0: + version "5.2.4" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" + integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== + +import-fresh@^3.0.0, import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +import-local@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" + integrity sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg== + dependencies: + pkg-dir "^4.2.0" + resolve-cwd "^3.0.0" + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2: + version "2.0.4" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +interpret@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/interpret/-/interpret-3.1.1.tgz#5be0ceed67ca79c6c4bc5cf0d7ee843dcea110c4" + integrity sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ== + +is-core-module@^2.11.0: + version "2.12.1" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.12.1.tgz#0c0b6885b6f80011c71541ce15c8d66cf5a4f9fd" + integrity sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg== + dependencies: + has "^1.0.3" + +is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== + +is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3: + version "4.0.3" + resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-path-inside@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" + integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== + +is-plain-object@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" + integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== + dependencies: + isobject "^3.0.1" + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + +isobject@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" + integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== + +jest-worker@^27.4.5: + version "27.5.1" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0" + integrity sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg== + dependencies: + "@types/node" "*" + merge-stream "^2.0.0" + supports-color "^8.0.0" + +js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + +json-parse-even-better-errors@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +json-schema-traverse@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" + integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== + +json-schema-traverse@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" + integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== + +json-stable-stringify-without-jsonify@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" + integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== + +jsonfile@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" + integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== + dependencies: + universalify "^2.0.0" + optionalDependencies: + graceful-fs "^4.1.6" + +kind-of@^6.0.2: + version "6.0.3" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" + integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== + +levn@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" + integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== + dependencies: + prelude-ls "^1.2.1" + type-check "~0.4.0" + +loader-runner@^4.2.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.0.tgz#c1b4a163b99f614830353b16755e7149ac2314e1" + integrity sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg== + +locate-path@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" + integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== + dependencies: + p-locate "^4.1.0" + +locate-path@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" + integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== + dependencies: + p-locate "^5.0.0" + +locate-path@^7.1.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-7.2.0.tgz#69cb1779bd90b35ab1e771e1f2f89a202c2a8a8a" + integrity sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA== + dependencies: + p-locate "^6.0.0" + +lodash.merge@^4.6.2: + version "4.6.2" + resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" + integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +lru_map@^0.3.3: + version "0.3.3" + resolved "https://registry.yarnpkg.com/lru_map/-/lru_map-0.3.3.tgz#b5c8351b9464cbd750335a79650a0ec0e56118dd" + integrity sha512-Pn9cox5CsMYngeDbmChANltQl+5pi6XmTrraMSzhPmMBbmgcxmqWry0U3PGapCU1yB4/LqCcom7qhHZiF/jGfQ== + +map-stream@~0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/map-stream/-/map-stream-0.1.0.tgz#e56aa94c4c8055a16404a0674b78f215f7c8e194" + integrity sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g== + +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + +merge2@^1.3.0, merge2@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" + integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== + +micromatch@^4.0.4: + version "4.0.5" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" + integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== + dependencies: + braces "^3.0.2" + picomatch "^2.3.1" + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@^2.1.27: + version "2.1.35" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +mimic-fn@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-3.1.0.tgz#65755145bbf3e36954b949c16450427451d5ca74" + integrity sha512-Ysbi9uYW9hFyfrThdDEQuykN4Ey6BuwPD2kpI5ES/nFTDn/98yxYNLZJcgUAKPT/mcrLLKaGzJR9YVxJrIdASQ== + +minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimist@^1.2.8: + version "1.2.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== + +minipass@^3.0.0: + version "3.3.6" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.6.tgz#7bba384db3a1520d18c9c0e5251c3444e95dd94a" + integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw== + dependencies: + yallist "^4.0.0" + +minipass@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-5.0.0.tgz#3e9788ffb90b694a5d0ec94479a45b5d8738133d" + integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ== + +minizlib@^2.1.1: + version "2.1.2" + resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" + integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== + dependencies: + minipass "^3.0.0" + yallist "^4.0.0" + +mkdirp@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" + integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== + +ms@2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + +nanoid@^3.3.4: + version "3.3.6" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.6.tgz#443380c856d6e9f9824267d960b4236ad583ea4c" + integrity sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA== + +natural-compare-lite@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4" + integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g== + +natural-compare@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" + integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== + +neo-async@^2.6.2: + version "2.6.2" + resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" + integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== + +node-domexception@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/node-domexception/-/node-domexception-1.0.0.tgz#6888db46a1f71c0b76b3f7555016b63fe64766e5" + integrity sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ== + +node-fetch@3.3.1: + version "3.3.1" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-3.3.1.tgz#b3eea7b54b3a48020e46f4f88b9c5a7430d20b2e" + integrity sha512-cRVc/kyto/7E5shrWca1Wsea4y6tL9iYJE5FBCius3JQfb/4P4I295PfhgbJQBLTx6lATE4z+wK0rPM4VS2uow== + dependencies: + data-uri-to-buffer "^4.0.0" + fetch-blob "^3.1.4" + formdata-polyfill "^4.0.10" + +node-releases@^2.0.8: + version "2.0.11" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.11.tgz#59d7cef999d13f908e43b5a70001cf3129542f0f" + integrity sha512-+M0PwXeU80kRohZ3aT4J/OnR+l9/KD2nVLNNoRgFtnf+umQVFdGBAO2N8+nCnEi0xlh/Wk3zOGC+vNNx+uM79Q== + +once@^1.3.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== + dependencies: + wrappy "1" + +optionator@^0.9.1: + version "0.9.1" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499" + integrity sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw== + dependencies: + 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" + +p-finally@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" + integrity sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow== + +p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== + dependencies: + p-try "^2.0.0" + +p-limit@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" + integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== + dependencies: + yocto-queue "^0.1.0" + +p-limit@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-4.0.0.tgz#914af6544ed32bfa54670b061cafcbd04984b644" + integrity sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ== + dependencies: + yocto-queue "^1.0.0" + +p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== + dependencies: + p-limit "^2.2.0" + +p-locate@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" + integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== + dependencies: + p-limit "^3.0.2" + +p-locate@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-6.0.0.tgz#3da9a49d4934b901089dca3302fa65dc5a05c04f" + integrity sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw== + dependencies: + p-limit "^4.0.0" + +p-queue@^6.6.2: + version "6.6.2" + resolved "https://registry.yarnpkg.com/p-queue/-/p-queue-6.6.2.tgz#2068a9dcf8e67dd0ec3e7a2bcb76810faa85e426" + integrity sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ== + dependencies: + eventemitter3 "^4.0.4" + p-timeout "^3.2.0" + +p-timeout@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-3.2.0.tgz#c7e17abc971d2a7962ef83626b35d635acf23dfe" + integrity sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg== + dependencies: + p-finally "^1.0.0" + +p-timeout@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-4.1.0.tgz#788253c0452ab0ffecf18a62dff94ff1bd09ca0a" + integrity sha512-+/wmHtzJuWii1sXn3HCuH/FTwGhrp4tmJTxSKJbfS+vkipci6osxXM5mY0jUiRzWKMTgUT8l7HFbeSwZAynqHw== + +p-try@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" + integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-author@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/parse-author/-/parse-author-2.0.0.tgz#d3460bf1ddd0dfaeed42da754242e65fb684a81f" + integrity sha512-yx5DfvkN8JsHL2xk2Os9oTia467qnvRgey4ahSm2X8epehBLx/gWLcy5KI+Y36ful5DzGbCS6RazqZGgy1gHNw== + dependencies: + author-regex "^1.0.0" + +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== + +path-exists@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-5.0.0.tgz#a6aad9489200b21fab31e49cf09277e5116fb9e7" + integrity sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ== + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== + +path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +pause-stream@0.0.11: + version "0.0.11" + resolved "https://registry.yarnpkg.com/pause-stream/-/pause-stream-0.0.11.tgz#fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445" + integrity sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A== + dependencies: + through "~2.3" + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + +pkg-dir@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" + integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== + dependencies: + find-up "^4.0.0" + +prelude-ls@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" + integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== + +prettier-linter-helpers@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b" + integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w== + dependencies: + fast-diff "^1.1.2" + +prettier@^2.8.3: + version "2.8.8" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" + integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== + +ps-tree@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/ps-tree/-/ps-tree-1.2.0.tgz#5e7425b89508736cdd4f2224d028f7bb3f722ebd" + integrity sha512-0VnamPPYHl4uaU/nSFeZZpR21QAWRz+sRv4iW9+v/GS/J5U5iZB5BNN6J0RMoOvdx2gWM2+ZFMIm58q24e4UYA== + dependencies: + event-stream "=3.3.4" + +punycode@^2.1.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" + integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== + +queue-microtask@^1.2.2: + version "1.2.3" + resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" + integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== + +randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +rechoir@^0.8.0: + version "0.8.0" + resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.8.0.tgz#49f866e0d32146142da3ad8f0eff352b3215ff22" + integrity sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ== + dependencies: + resolve "^1.20.0" + +regexpp@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" + integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== + +require-from-string@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" + integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== + +resolve-cwd@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" + integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg== + dependencies: + resolve-from "^5.0.0" + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +resolve-from@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" + integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== + +resolve@^1.10.1, resolve@^1.20.0: + version "1.22.2" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.2.tgz#0ed0943d4e301867955766c9f3e1ae6d01c6845f" + integrity sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g== + dependencies: + is-core-module "^2.11.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +reusify@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" + integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== + +rimraf@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== + dependencies: + glob "^7.1.3" + +run-parallel@^1.1.9: + version "1.2.0" + resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" + integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== + dependencies: + queue-microtask "^1.2.2" + +safe-buffer@^5.1.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +schema-utils@^3.1.1, schema-utils@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.1.2.tgz#36c10abca6f7577aeae136c804b0c741edeadc99" + integrity sha512-pvjEHOgWc9OWA/f/DE3ohBWTD6EleVLf7iFUkoSwAxttdBhB9QUebQgxER2kWueOvRJXPHNnyrvvh9eZINB8Eg== + dependencies: + "@types/json-schema" "^7.0.8" + ajv "^6.12.5" + ajv-keywords "^3.5.2" + +semver@^6.1.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + +semver@^7.3.7: + version "7.5.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.1.tgz#c90c4d631cf74720e46b21c1d37ea07edfab91ec" + integrity sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw== + dependencies: + lru-cache "^6.0.0" + +serialize-javascript@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.1.tgz#b206efb27c3da0b0ab6b52f48d170b7996458e5c" + integrity sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w== + dependencies: + randombytes "^2.1.0" + +shallow-clone@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" + integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA== + dependencies: + kind-of "^6.0.2" + +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + +slash@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" + integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== + +slash@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7" + integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew== + +source-map-support@~0.5.20: + version "0.5.21" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" + integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + +source-map@^0.6.0: + version "0.6.1" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== + +split@0.3: + version "0.3.3" + resolved "https://registry.yarnpkg.com/split/-/split-0.3.3.tgz#cd0eea5e63a211dfff7eb0f091c4133e2d0dd28f" + integrity sha512-wD2AeVmxXRBoX44wAycgjVpMhvbwdI2aZjCkvfNcH1YqHQvJVa1duWc73OyVGJUc05fhFaTZeQ/PYsrmyH0JVA== + dependencies: + through "2" + +stream-combiner@~0.0.4: + version "0.0.4" + resolved "https://registry.yarnpkg.com/stream-combiner/-/stream-combiner-0.0.4.tgz#4d5e433c185261dde623ca3f44c586bcf5c4ad14" + integrity sha512-rT00SPnTVyRsaSz5zgSPma/aHSOic5U1prhYdRy5HS2kTZviFpmDgzilbtsJsxiroqACmayynDN/9VzIbX5DOw== + dependencies: + duplexer "~0.1.1" + +strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== + +supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +supports-color@^8.0.0: + version "8.1.1" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + dependencies: + has-flag "^4.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +tapable@^2.1.1, tapable@^2.2.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" + integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== + +tar@^6.1.13: + version "6.1.15" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.15.tgz#c9738b0b98845a3b344d334b8fa3041aaba53a69" + integrity sha512-/zKt9UyngnxIT/EAGYuxaMYgOIJiP81ab9ZfkILq4oNLPFX50qyYmu7jRj9qeXoxmJHjGlbH0+cm2uy1WCs10A== + dependencies: + chownr "^2.0.0" + fs-minipass "^2.0.0" + minipass "^5.0.0" + minizlib "^2.1.1" + mkdirp "^1.0.3" + yallist "^4.0.0" + +terser-webpack-plugin@^5.3.7: + version "5.3.9" + resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz#832536999c51b46d468067f9e37662a3b96adfe1" + integrity sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA== + dependencies: + "@jridgewell/trace-mapping" "^0.3.17" + jest-worker "^27.4.5" + schema-utils "^3.1.1" + serialize-javascript "^6.0.1" + terser "^5.16.8" + +terser@^5.16.8: + version "5.17.5" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.17.5.tgz#557141b662b5978ac3d6a2f3d6455a26267ddcd4" + integrity sha512-NqFkzBX34WExkCbk3K5urmNCpEWqMPZnwGI1pMHwqvJ/zDlXC75u3NI7BrzoR8/pryy8Abx2e1i8ChrWkhH1Hg== + dependencies: + "@jridgewell/source-map" "^0.3.2" + acorn "^8.5.0" + commander "^2.20.0" + source-map-support "~0.5.20" + +text-table@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" + integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== + +through@2, through@~2.3, through@~2.3.1: + version "2.3.8" + resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" + integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +tslib@^1.8.1, tslib@^1.9.3: + version "1.14.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== + +tslib@^2.5.0: + version "2.5.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.2.tgz#1b6f07185c881557b0ffa84b111a0106989e8338" + integrity sha512-5svOrSA2w3iGFDs1HibEVBGbDrAY82bFQ3HZ3ixB+88nsbsWQoKqDRb5UBYAUPEzbBn6dAp5gRNXglySbx1MlA== + +tsutils@^3.21.0: + version "3.21.0" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" + integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== + dependencies: + tslib "^1.8.1" + +type-check@^0.4.0, type-check@~0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" + integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== + dependencies: + prelude-ls "^1.2.1" + +type-fest@^0.20.2: + version "0.20.2" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" + integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== + +universalify@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" + integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== + +update-browserslist-db@^1.0.10: + version "1.0.11" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940" + integrity sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + +uri-js@^4.2.2: + version "4.4.1" + resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" + integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== + dependencies: + punycode "^2.1.0" + +watchpack@^2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.0.tgz#fa33032374962c78113f93c7f2fb4c54c9862a5d" + integrity sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg== + dependencies: + glob-to-regexp "^0.4.1" + graceful-fs "^4.1.2" + +web-streams-polyfill@^3.0.3: + version "3.2.1" + resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz#71c2718c52b45fd49dbeee88634b3a60ceab42a6" + integrity sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q== + +webpack-cli@^5.0.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-5.1.1.tgz#c211ac6d911e77c512978f7132f0d735d4a97ace" + integrity sha512-OLJwVMoXnXYH2ncNGU8gxVpUtm3ybvdioiTvHgUyBuyMLKiVvWy+QObzBsMtp5pH7qQoEuWgeEUQ/sU3ZJFzAw== + dependencies: + "@discoveryjs/json-ext" "^0.5.0" + "@webpack-cli/configtest" "^2.1.0" + "@webpack-cli/info" "^2.0.1" + "@webpack-cli/serve" "^2.0.4" + colorette "^2.0.14" + commander "^10.0.1" + cross-spawn "^7.0.3" + envinfo "^7.7.3" + fastest-levenshtein "^1.0.12" + import-local "^3.0.2" + interpret "^3.1.1" + rechoir "^0.8.0" + webpack-merge "^5.7.3" + +webpack-merge@^5.7.3: + version "5.9.0" + resolved "https://registry.yarnpkg.com/webpack-merge/-/webpack-merge-5.9.0.tgz#dc160a1c4cf512ceca515cc231669e9ddb133826" + integrity sha512-6NbRQw4+Sy50vYNTw7EyOn41OZItPiXB8GNv3INSoe3PSFaHJEz3SHTrYVaRm2LilNGnFUzh0FAwqPEmU/CwDg== + dependencies: + clone-deep "^4.0.1" + wildcard "^2.0.0" + +webpack-sources@^3.2.3: + version "3.2.3" + resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde" + integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== + +webpack@^5.76.0: + version "5.83.1" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.83.1.tgz#fcb69864a0669ac3539a471081952c45b15d1c40" + integrity sha512-TNsG9jDScbNuB+Lb/3+vYolPplCS3bbEaJf+Bj0Gw4DhP3ioAflBb1flcRt9zsWITyvOhM96wMQNRWlSX52DgA== + dependencies: + "@types/eslint-scope" "^3.7.3" + "@types/estree" "^1.0.0" + "@webassemblyjs/ast" "^1.11.5" + "@webassemblyjs/wasm-edit" "^1.11.5" + "@webassemblyjs/wasm-parser" "^1.11.5" + acorn "^8.7.1" + acorn-import-assertions "^1.7.6" + browserslist "^4.14.5" + chrome-trace-event "^1.0.2" + enhanced-resolve "^5.14.0" + es-module-lexer "^1.2.1" + eslint-scope "5.1.1" + events "^3.2.0" + glob-to-regexp "^0.4.1" + graceful-fs "^4.2.9" + json-parse-even-better-errors "^2.3.1" + loader-runner "^4.2.0" + mime-types "^2.1.27" + neo-async "^2.6.2" + schema-utils "^3.1.2" + tapable "^2.1.1" + terser-webpack-plugin "^5.3.7" + watchpack "^2.4.0" + webpack-sources "^3.2.3" + +webpod@^0: + version "0.0.2" + resolved "https://registry.yarnpkg.com/webpod/-/webpod-0.0.2.tgz#b577c93604fd23596488735887168b3236e3adae" + integrity sha512-cSwwQIeg8v4i3p4ajHhwgR7N6VyxAf+KYSSsY6Pd3aETE+xEU4vbitz7qQkB0I321xnhDdgtxuiSfk5r/FVtjg== + +which@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + +which@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/which/-/which-3.0.1.tgz#89f1cd0c23f629a8105ffe69b8172791c87b4be1" + integrity sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg== + dependencies: + isexe "^2.0.0" + +wildcard@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.1.tgz#5ab10d02487198954836b6349f74fff961e10f67" + integrity sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ== + +word-wrap@^1.2.3: + version "1.2.3" + resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" + integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== + +wrappy@1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^2.2.2: + version "2.2.2" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.2.2.tgz#ec551ef37326e6d42872dad1970300f8eb83a073" + integrity sha512-CBKFWExMn46Foo4cldiChEzn7S7SRV+wqiluAb6xmueD/fGyRHIhX8m14vVGgeFWjN540nKCNVj6P21eQjgTuA== + +yocto-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" + integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== + +yocto-queue@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251" + integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g== + +zx@^7.1.1: + version "7.2.2" + resolved "https://registry.yarnpkg.com/zx/-/zx-7.2.2.tgz#fe1e9ba84a3806f6ea9ece39e0aea1cd7e5a4855" + integrity sha512-50Gjicd6ijTt7Zcz5fNX+rHrmE0uVqC+X6lYKhf2Cu8wIxDpNIzXwTmzchNdW+JY3LFsRcU43B1lHE4HBMmKgQ== dependencies: - tr46 "~0.0.3" - webidl-conversions "^3.0.0" + "@types/fs-extra" "^11.0.1" + "@types/minimist" "^1.2.2" + "@types/node" "^18.16.3" + "@types/ps-tree" "^1.1.2" + "@types/which" "^3.0.0" + chalk "^5.2.0" + fs-extra "^11.1.1" + fx "*" + globby "^13.1.4" + minimist "^1.2.8" + node-fetch "3.3.1" + ps-tree "^1.2.0" + webpod "^0" + which "^3.0.0" + yaml "^2.2.2"