diff --git a/package-lock.json b/package-lock.json index bcc10dc91..6a7b73944 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5146,7 +5146,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, "engines": { "node": ">=8" } @@ -6420,33 +6419,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/cacache/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/cacache/node_modules/glob": { - "version": "9.3.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", - "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "minimatch": "^8.0.2", - "minipass": "^4.2.4", - "path-scurry": "^1.6.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/cacache/node_modules/lru-cache": { "version": "7.18.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", @@ -6456,21 +6428,6 @@ "node": ">=12" } }, - "node_modules/cacache/node_modules/minimatch": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz", - "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/cacheable-lookup": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz", @@ -6620,6 +6577,15 @@ "node": ">=4" } }, + "node_modules/chai/node_modules/get-func-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", + "dev": true, + "engines": { + "node": "*" + } + }, "node_modules/chainsaw": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/chainsaw/-/chainsaw-0.1.0.tgz", @@ -8806,7 +8772,6 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "devOptional": true, "engines": { "node": ">=6" } @@ -10497,20 +10462,10 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true, "engines": { "node": "6.* || 8.* || >= 10.*" } }, - "node_modules/get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==", - "dev": true, - "engines": { - "node": "*" - } - }, "node_modules/get-intrinsic": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", @@ -10646,17 +10601,17 @@ } }, "node_modules/glob": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-9.0.0.tgz", - "integrity": "sha512-7rdoWzT8/4f1yEe/cMdBug2lmzmYMYU9h4RNNiavPHajhcxt7kkxrOvwSnIPkZMjLQb9BXv7nFoKmTnPPklMyA==", + "version": "9.3.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", + "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==", "dependencies": { "fs.realpath": "^1.0.0", - "minimatch": "^7.3.0", + "minimatch": "^8.0.2", "minipass": "^4.2.4", - "path-scurry": "^1.5.0" + "path-scurry": "^1.6.1" }, "engines": { - "node": ">=16" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -10689,14 +10644,14 @@ } }, "node_modules/glob/node_modules/minimatch": { - "version": "7.4.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-7.4.6.tgz", - "integrity": "sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw==", + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz", + "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==", "dependencies": { "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=10" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -11882,7 +11837,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, "engines": { "node": ">=8" } @@ -13432,6 +13386,15 @@ "get-func-name": "^2.0.0" } }, + "node_modules/loupe/node_modules/get-func-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", + "dev": true, + "engines": { + "node": "*" + } + }, "node_modules/lower-case": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-2.0.2.tgz", @@ -14828,24 +14791,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/npm-check-updates/node_modules/glob": { - "version": "9.3.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", - "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "minimatch": "^8.0.2", - "minipass": "^4.2.4", - "path-scurry": "^1.6.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/npm-check-updates/node_modules/hosted-git-info": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", @@ -17024,16 +16969,17 @@ } }, "node_modules/puppeteer": { - "version": "19.7.3", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-19.7.3.tgz", - "integrity": "sha512-QEiRHPUAJp8VOK27zE6h2ne4xKVYibKUZpvjCuLYaAe8/2SOLKIgstF8wK3YaLgTkeruMrYfqZo+Qlw4ZkJDAQ==", + "version": "19.11.1", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-19.11.1.tgz", + "integrity": "sha512-39olGaX2djYUdhaQQHDZ0T0GwEp+5f9UB9HmEP0qHfdQHIq0xGQZuAZ5TLnJIc/88SrPLpEflPC+xUqOTv3c5g==", "hasInstallScript": true, "dependencies": { - "cosmiconfig": "8.1.0", + "@puppeteer/browsers": "0.5.0", + "cosmiconfig": "8.1.3", "https-proxy-agent": "5.0.1", "progress": "2.0.3", "proxy-from-env": "1.1.0", - "puppeteer-core": "19.7.3" + "puppeteer-core": "19.11.1" } }, "node_modules/puppeteer-core": { @@ -17231,15 +17177,44 @@ "node": ">=12" } }, + "node_modules/puppeteer/node_modules/@puppeteer/browsers": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-0.5.0.tgz", + "integrity": "sha512-Uw6oB7VvmPRLE4iKsjuOh8zgDabhNX67dzo8U/BB0f9527qx+4eeUs+korU98OhG5C4ubg7ufBgVi63XYwS6TQ==", + "dependencies": { + "debug": "4.3.4", + "extract-zip": "2.0.1", + "https-proxy-agent": "5.0.1", + "progress": "2.0.3", + "proxy-from-env": "1.1.0", + "tar-fs": "2.1.1", + "unbzip2-stream": "1.4.3", + "yargs": "17.7.1" + }, + "bin": { + "browsers": "lib/cjs/main-cli.js" + }, + "engines": { + "node": ">=14.1.0" + }, + "peerDependencies": { + "typescript": ">= 4.7.4" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, "node_modules/puppeteer/node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" }, "node_modules/puppeteer/node_modules/chromium-bidi": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.4.4.tgz", - "integrity": "sha512-4BX5cSaponuvVT1+SbLYTOAgDoVtX/Khoc9UsbFJ/AsPVUeFAM3RiIDFI6XFhLYMi9WmVJqh1ZH+dRpNKkKwiQ==", + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.4.7.tgz", + "integrity": "sha512-6+mJuFXwTMU6I3vYLs6IL8A1DyQTPjCfIL971X0aMPVGRbGnNfl6i6Cl0NMbxi2bRYLGESt9T2ZIMRM5PAEcIQ==", "dependencies": { "mitt": "3.0.0" }, @@ -17247,10 +17222,23 @@ "devtools-protocol": "*" } }, + "node_modules/puppeteer/node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/puppeteer/node_modules/cosmiconfig": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.1.0.tgz", - "integrity": "sha512-0tLZ9URlPGU7JsKq0DQOQ3FoRsYX8xDZ7xMiATQfaiGMz7EHowNkbU9u1coAOmnh9p/1ySpm0RB3JNWRXM5GCg==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.1.3.tgz", + "integrity": "sha512-/UkO2JKI18b5jVMJUp0lvKFMpa/Gye+ZgZjKD+DGEN9y7NRcf/nK1A0sp67ONmKtnDCNMS44E6jrk0Yc3bDuUw==", "dependencies": { "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", @@ -17265,9 +17253,9 @@ } }, "node_modules/puppeteer/node_modules/devtools-protocol": { - "version": "0.0.1094867", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1094867.tgz", - "integrity": "sha512-pmMDBKiRVjh0uKK6CT1WqZmM3hBVSgD+N2MrgyV1uNizAZMw4tx6i/RTc+/uCsKSCmg0xXx7arCP/OFcIwTsiQ==" + "version": "0.0.1107588", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1107588.tgz", + "integrity": "sha512-yIR+pG9x65Xko7bErCUSQaDLrO/P1p3JUzEk7JCU4DowPcGHkTGUGQapcfcLc4qj0UaALwZ+cr0riFgiqpixcg==" }, "node_modules/puppeteer/node_modules/js-yaml": { "version": "4.1.0", @@ -17281,20 +17269,21 @@ } }, "node_modules/puppeteer/node_modules/puppeteer-core": { - "version": "19.7.3", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-19.7.3.tgz", - "integrity": "sha512-9Q5HahsstfoTnllcpNkxNu2z9J7V0Si5Mr5q90K6XSXwW1P8iqe8q3HzWViVuBuEYTSMZ2LaXXzTEYeoCzLEWg==", + "version": "19.11.1", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-19.11.1.tgz", + "integrity": "sha512-qcuC2Uf0Fwdj9wNtaTZ2OvYRraXpAK+puwwVW8ofOhOgLPZyz1c68tsorfIZyCUOpyBisjr+xByu7BMbEYMepA==", "dependencies": { - "chromium-bidi": "0.4.4", + "@puppeteer/browsers": "0.5.0", + "chromium-bidi": "0.4.7", "cross-fetch": "3.1.5", "debug": "4.3.4", - "devtools-protocol": "0.0.1094867", + "devtools-protocol": "0.0.1107588", "extract-zip": "2.0.1", "https-proxy-agent": "5.0.1", "proxy-from-env": "1.1.0", "tar-fs": "2.1.1", "unbzip2-stream": "1.4.3", - "ws": "8.12.1" + "ws": "8.13.0" }, "engines": { "node": ">=14.14.0" @@ -17309,9 +17298,9 @@ } }, "node_modules/puppeteer/node_modules/ws": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.12.1.tgz", - "integrity": "sha512-1qo+M9Ba+xNhPB+YTWUlK6M17brTut5EXbcBaMRN5pH5dFrXz7lzz1ChFSUq3bOUl8yEvSenhHmYUNJxFzdJew==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", + "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", "engines": { "node": ">=10.0.0" }, @@ -17328,6 +17317,31 @@ } } }, + "node_modules/puppeteer/node_modules/yargs": { + "version": "17.7.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz", + "integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/puppeteer/node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "engines": { + "node": ">=12" + } + }, "node_modules/qs": { "version": "6.10.3", "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz", @@ -17971,33 +17985,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/read-package-json/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/read-package-json/node_modules/glob": { - "version": "9.3.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", - "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "minimatch": "^8.0.2", - "minipass": "^4.2.4", - "path-scurry": "^1.6.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/read-package-json/node_modules/hosted-git-info": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz", @@ -18028,21 +18015,6 @@ "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/read-package-json/node_modules/minimatch": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz", - "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/read-package-json/node_modules/normalize-package-data": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-5.0.0.tgz", @@ -18587,7 +18559,6 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -19717,7 +19688,6 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -19751,8 +19721,7 @@ "node_modules/string-width/node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, "node_modules/string.prototype.matchall": { "version": "4.0.7", @@ -19805,7 +19774,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -22020,7 +21988,6 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -22088,7 +22055,6 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, "dependencies": { "color-convert": "^2.0.1" }, @@ -22103,7 +22069,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, "dependencies": { "color-name": "~1.1.4" }, @@ -22114,8 +22079,7 @@ "node_modules/wrap-ansi/node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "node_modules/wrappy": { "version": "1.0.2", @@ -22192,7 +22156,6 @@ "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true, "engines": { "node": ">=10" } @@ -26201,8 +26164,7 @@ "ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" }, "ansi-styles": { "version": "3.2.1", @@ -27158,41 +27120,11 @@ "unique-filename": "^3.0.0" }, "dependencies": { - "brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0" - } - }, - "glob": { - "version": "9.3.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", - "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "minimatch": "^8.0.2", - "minipass": "^4.2.4", - "path-scurry": "^1.6.1" - } - }, "lru-cache": { "version": "7.18.3", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", "dev": true - }, - "minimatch": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz", - "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==", - "dev": true, - "requires": { - "brace-expansion": "^2.0.1" - } } } }, @@ -27298,6 +27230,14 @@ "loupe": "^2.3.1", "pathval": "^1.1.1", "type-detect": "^4.0.5" + }, + "dependencies": { + "get-func-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", + "dev": true + } } }, "chainsaw": { @@ -28966,8 +28906,7 @@ "escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "devOptional": true + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" }, "escape-goat": { "version": "4.0.0", @@ -30242,14 +30181,7 @@ "get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true - }, - "get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==", - "dev": true + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" }, "get-intrinsic": { "version": "1.2.1", @@ -30349,14 +30281,14 @@ } }, "glob": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-9.0.0.tgz", - "integrity": "sha512-7rdoWzT8/4f1yEe/cMdBug2lmzmYMYU9h4RNNiavPHajhcxt7kkxrOvwSnIPkZMjLQb9BXv7nFoKmTnPPklMyA==", + "version": "9.3.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", + "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==", "requires": { "fs.realpath": "^1.0.0", - "minimatch": "^7.3.0", + "minimatch": "^8.0.2", "minipass": "^4.2.4", - "path-scurry": "^1.5.0" + "path-scurry": "^1.6.1" }, "dependencies": { "brace-expansion": { @@ -30368,9 +30300,9 @@ } }, "minimatch": { - "version": "7.4.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-7.4.6.tgz", - "integrity": "sha512-sBz8G/YjVniEz6lKPNpKxXwazJe4c19fEfV2GDMX6AjFz+MX9uDWIZW8XreVhkFW3fkIdTv/gxWr/Kks5FFAVw==", + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz", + "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==", "requires": { "brace-expansion": "^2.0.1" } @@ -31269,8 +31201,7 @@ "is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" }, "is-glob": { "version": "4.0.3", @@ -32480,6 +32411,14 @@ "dev": true, "requires": { "get-func-name": "^2.0.0" + }, + "dependencies": { + "get-func-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", + "dev": true + } } }, "lower-case": { @@ -33534,18 +33473,6 @@ "path-exists": "^4.0.0" } }, - "glob": { - "version": "9.3.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", - "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "minimatch": "^8.0.2", - "minipass": "^4.2.4", - "path-scurry": "^1.6.1" - } - }, "hosted-git-info": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", @@ -35127,34 +35054,60 @@ } }, "puppeteer": { - "version": "19.7.3", - "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-19.7.3.tgz", - "integrity": "sha512-QEiRHPUAJp8VOK27zE6h2ne4xKVYibKUZpvjCuLYaAe8/2SOLKIgstF8wK3YaLgTkeruMrYfqZo+Qlw4ZkJDAQ==", + "version": "19.11.1", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-19.11.1.tgz", + "integrity": "sha512-39olGaX2djYUdhaQQHDZ0T0GwEp+5f9UB9HmEP0qHfdQHIq0xGQZuAZ5TLnJIc/88SrPLpEflPC+xUqOTv3c5g==", "requires": { - "cosmiconfig": "8.1.0", + "@puppeteer/browsers": "0.5.0", + "cosmiconfig": "8.1.3", "https-proxy-agent": "5.0.1", "progress": "2.0.3", "proxy-from-env": "1.1.0", - "puppeteer-core": "19.7.3" + "puppeteer-core": "19.11.1" }, "dependencies": { + "@puppeteer/browsers": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-0.5.0.tgz", + "integrity": "sha512-Uw6oB7VvmPRLE4iKsjuOh8zgDabhNX67dzo8U/BB0f9527qx+4eeUs+korU98OhG5C4ubg7ufBgVi63XYwS6TQ==", + "requires": { + "debug": "4.3.4", + "extract-zip": "2.0.1", + "https-proxy-agent": "5.0.1", + "progress": "2.0.3", + "proxy-from-env": "1.1.0", + "tar-fs": "2.1.1", + "unbzip2-stream": "1.4.3", + "yargs": "17.7.1" + } + }, "argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" }, "chromium-bidi": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.4.4.tgz", - "integrity": "sha512-4BX5cSaponuvVT1+SbLYTOAgDoVtX/Khoc9UsbFJ/AsPVUeFAM3RiIDFI6XFhLYMi9WmVJqh1ZH+dRpNKkKwiQ==", + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.4.7.tgz", + "integrity": "sha512-6+mJuFXwTMU6I3vYLs6IL8A1DyQTPjCfIL971X0aMPVGRbGnNfl6i6Cl0NMbxi2bRYLGESt9T2ZIMRM5PAEcIQ==", "requires": { "mitt": "3.0.0" } }, + "cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + } + }, "cosmiconfig": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.1.0.tgz", - "integrity": "sha512-0tLZ9URlPGU7JsKq0DQOQ3FoRsYX8xDZ7xMiATQfaiGMz7EHowNkbU9u1coAOmnh9p/1ySpm0RB3JNWRXM5GCg==", + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.1.3.tgz", + "integrity": "sha512-/UkO2JKI18b5jVMJUp0lvKFMpa/Gye+ZgZjKD+DGEN9y7NRcf/nK1A0sp67ONmKtnDCNMS44E6jrk0Yc3bDuUw==", "requires": { "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", @@ -35163,9 +35116,9 @@ } }, "devtools-protocol": { - "version": "0.0.1094867", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1094867.tgz", - "integrity": "sha512-pmMDBKiRVjh0uKK6CT1WqZmM3hBVSgD+N2MrgyV1uNizAZMw4tx6i/RTc+/uCsKSCmg0xXx7arCP/OFcIwTsiQ==" + "version": "0.0.1107588", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1107588.tgz", + "integrity": "sha512-yIR+pG9x65Xko7bErCUSQaDLrO/P1p3JUzEk7JCU4DowPcGHkTGUGQapcfcLc4qj0UaALwZ+cr0riFgiqpixcg==" }, "js-yaml": { "version": "4.1.0", @@ -35176,27 +35129,47 @@ } }, "puppeteer-core": { - "version": "19.7.3", - "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-19.7.3.tgz", - "integrity": "sha512-9Q5HahsstfoTnllcpNkxNu2z9J7V0Si5Mr5q90K6XSXwW1P8iqe8q3HzWViVuBuEYTSMZ2LaXXzTEYeoCzLEWg==", + "version": "19.11.1", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-19.11.1.tgz", + "integrity": "sha512-qcuC2Uf0Fwdj9wNtaTZ2OvYRraXpAK+puwwVW8ofOhOgLPZyz1c68tsorfIZyCUOpyBisjr+xByu7BMbEYMepA==", "requires": { - "chromium-bidi": "0.4.4", + "@puppeteer/browsers": "0.5.0", + "chromium-bidi": "0.4.7", "cross-fetch": "3.1.5", "debug": "4.3.4", - "devtools-protocol": "0.0.1094867", + "devtools-protocol": "0.0.1107588", "extract-zip": "2.0.1", "https-proxy-agent": "5.0.1", "proxy-from-env": "1.1.0", "tar-fs": "2.1.1", "unbzip2-stream": "1.4.3", - "ws": "8.12.1" + "ws": "8.13.0" } }, "ws": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.12.1.tgz", - "integrity": "sha512-1qo+M9Ba+xNhPB+YTWUlK6M17brTut5EXbcBaMRN5pH5dFrXz7lzz1ChFSUq3bOUl8yEvSenhHmYUNJxFzdJew==", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.13.0.tgz", + "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==", "requires": {} + }, + "yargs": { + "version": "17.7.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.1.tgz", + "integrity": "sha512-cwiTb08Xuv5fqF4AovYacTFNxk62th7LKJ6BL9IGUpTJrWoU7/7WdQGTP2SjKf1dUNBGzDd28p/Yfs/GI6JrLw==", + "requires": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + } + }, + "yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" } } }, @@ -35830,27 +35803,6 @@ "npm-normalize-package-bin": "^3.0.0" }, "dependencies": { - "brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0" - } - }, - "glob": { - "version": "9.3.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", - "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "minimatch": "^8.0.2", - "minipass": "^4.2.4", - "path-scurry": "^1.6.1" - } - }, "hosted-git-info": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz", @@ -35874,15 +35826,6 @@ "integrity": "sha512-iZbGHafX/59r39gPwVPRBGw0QQKnA7tte5pSMrhWOW7swGsVvVTjmfyAV9pNqk8YGT7tRCdxRu8uzcgZwoDooA==", "dev": true }, - "minimatch": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz", - "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==", - "dev": true, - "requires": { - "brace-expansion": "^2.0.1" - } - }, "normalize-package-data": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-5.0.0.tgz", @@ -36301,8 +36244,7 @@ "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", - "dev": true + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" }, "require-from-string": { "version": "2.0.2", @@ -37206,7 +37148,6 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, "requires": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -37216,8 +37157,7 @@ "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" } } }, @@ -37282,7 +37222,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, "requires": { "ansi-regex": "^5.0.1" } @@ -38905,7 +38844,6 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, "requires": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -38916,7 +38854,6 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, "requires": { "color-convert": "^2.0.1" } @@ -38925,7 +38862,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, "requires": { "color-name": "~1.1.4" } @@ -38933,8 +38869,7 @@ "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" } } }, @@ -39026,8 +38961,7 @@ "y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" }, "yallist": { "version": "4.0.0", diff --git a/src/App.jsx b/src/App.jsx index ebf68034a..1c3fc9e1f 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -12,7 +12,7 @@ import VoterSessionActions from './js/actions/VoterSessionActions'; import muiTheme from './js/common/components/Style/muiTheme'; import LoadingWheelComp from './js/common/components/Widgets/LoadingWheelComp'; import AppObservableStore, { messageService } from './js/common/stores/AppObservableStore'; -import { getAndroidSize, getIOSSizeString, hasDynamicIsland, isIOS } from './js/common/utils/cordovaUtils'; +import { getAndroidSize, getIOSSizeString, hasDynamicIsland, isAndroid, isIOS } from './js/common/utils/cordovaUtils'; import historyPush from './js/common/utils/historyPush'; import { isWeVoteMarketingSite, normalizedHref } from './js/common/utils/hrefUtils'; import initializejQuery from './js/common/utils/initializejQuery'; @@ -177,6 +177,9 @@ class App extends Component { }, 3000); } } + if (isAndroid()) { // December 12, 2023: All sorts of problems with sign-in with Facebook on Android, so disabling it here + webAppConfig.ENABLE_FACEBOOK = false; // This overrides the config setting for the entire Android app + } if (webAppConfig.ENABLE_FACEBOOK) { setTimeout(() => { // Suspect that this isn't correct anymore: "We need to start this initialization early since there is a delay getting the FB object in place" @@ -705,7 +708,7 @@ const WeVoteBody = styled('div')` height: 100vw; position: relative; z-index: 0; - ${() => console.log('-----------------------------')} + // this debug technique works! ${() => console.log('-----------------------------')} `; App.propTypes = { diff --git a/src/js/common/components/Campaign/CampaignShareChunk.jsx b/src/js/common/components/Campaign/CampaignShareChunk.jsx index 3d0642097..f6bc96b7c 100644 --- a/src/js/common/components/Campaign/CampaignShareChunk.jsx +++ b/src/js/common/components/Campaign/CampaignShareChunk.jsx @@ -3,6 +3,7 @@ import withStyles from '@mui/styles/withStyles'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; import styled from 'styled-components'; +import webAppConfig from '../../../config'; import historyPush from '../../utils/historyPush'; import { renderLog } from '../../utils/logging'; import ShareByCopyLink from '../CampaignShare/ShareByCopyLink'; @@ -10,7 +11,6 @@ import ShareByEmailButton from '../CampaignShare/ShareByEmailButton'; import ShareOnFacebookButton from '../CampaignShare/ShareOnFacebookButton'; import ShareOnTwitterButton from '../CampaignShare/ShareOnTwitterButton'; import { CampaignSupportDesktopButtonPanel, CampaignSupportDesktopButtonWrapper, CampaignSupportMobileButtonPanel, CampaignSupportMobileButtonWrapper, CampaignSupportSection, CampaignSupportSectionWrapper } from '../Style/CampaignSupportStyles'; -import webAppConfig from '../../../config'; const futureFeaturesDisabled = true; const nextReleaseFeaturesEnabled = webAppConfig.ENABLE_NEXT_RELEASE_FEATURES === undefined ? false : webAppConfig.ENABLE_NEXT_RELEASE_FEATURES; @@ -130,16 +130,20 @@ class CampaignShareChunk extends Component { )} - - - - - - - - - - + {webAppConfig.ENABLE_FACEBOOK && ( + <> + + + + + + + + + + + + )} diff --git a/src/js/common/components/Donation/DonationList.jsx b/src/js/common/components/Donation/DonationList.jsx index 22b29ee7f..0c2f95eae 100644 --- a/src/js/common/components/Donation/DonationList.jsx +++ b/src/js/common/components/Donation/DonationList.jsx @@ -7,6 +7,7 @@ import styled from 'styled-components'; import VoterStore from '../../../stores/VoterStore'; import DonateActions from '../../actions/DonateActions'; import DonateStore from '../../stores/DonateStore'; +import isMobileScreenSize from '../../utils/isMobileScreenSize'; import { renderLog } from '../../utils/logging'; import DonationCancelOrRefund from './DonationCancelOrRefund'; @@ -178,7 +179,9 @@ class DonationList extends Component { {`$${row.amount}`} {row.lastCharged} - {row.brand} + {isMobileScreenSize() ? () : ( + {row.brand} + )} {row.last4} {row.expires} diff --git a/src/js/common/components/SignIn/SignInOptionsPanel.jsx b/src/js/common/components/SignIn/SignInOptionsPanel.jsx index 31bf1029c..85fef4cdb 100755 --- a/src/js/common/components/SignIn/SignInOptionsPanel.jsx +++ b/src/js/common/components/SignIn/SignInOptionsPanel.jsx @@ -14,6 +14,7 @@ import VoterEmailAddressEntry from '../../../components/Settings/VoterEmailAddre import VoterPhoneVerificationEntry from '../../../components/Settings/VoterPhoneVerificationEntry'; import TwitterSignIn from '../../../components/Twitter/TwitterSignIn'; import BrowserPushMessage from '../../../components/Widgets/BrowserPushMessage'; +import webAppConfig from '../../../config'; import FacebookStore from '../../../stores/FacebookStore'; import VoterStore from '../../../stores/VoterStore'; import initializeAppleSDK from '../../../utils/initializeAppleSDK'; @@ -285,7 +286,7 @@ export default class SignInOptionsPanel extends Component { } = this.state; this.setState({ hideAppleSignInButton: isInternetExplorer || isAndroid(), - hideFacebookSignInButton: false, + hideFacebookSignInButton: !webAppConfig.ENABLE_FACEBOOK, // December 12, 2023: All sorts of problems with sign-in with Facebook on Android hideTwitterSignInButton: false, hideVoterEmailAddressEntry: false, hideVoterPhoneEntry: false, @@ -477,7 +478,7 @@ export default class SignInOptionsPanel extends Component { )}
- { !hideFacebookSignInButton && !voterIsSignedInFacebook && isOnFacebookSupportedDomainUrl && ( + { !hideFacebookSignInButton && !voterIsSignedInFacebook && isOnFacebookSupportedDomainUrl && webAppConfig.ENABLE_FACEBOOK && ( ) : ( @@ -40,7 +41,7 @@ function ToolBar (params) { className="u-no-underline" url="https://www.facebook.com/WeVoteUSA" target="_blank" - body={( + body={isMobileScreenSize() ? () : ( @@ -56,7 +57,7 @@ function ToolBar (params) { className="u-no-underline" url="https://www.instagram.com/WeVote" target="_blank" - body={( + body={isMobileScreenSize() ? () : ( @@ -70,9 +71,9 @@ function ToolBar (params) { ) : ( @@ -89,7 +90,7 @@ function ToolBar (params) { className="u-no-underline" url="https://github.com/WeVote" target="_blank" - body={( + body={isMobileScreenSize() ? () : ( @@ -105,7 +106,7 @@ function ToolBar (params) { className="u-no-underline" url="https://blog.wevote.us/" target="_blank" - body={( + body={isMobileScreenSize() ? () : ( ) : ( A positive personalized score {ballotDisplay[0] && ( diff --git a/src/js/components/Ballot/OfficeItemCompressed.jsx b/src/js/components/Ballot/OfficeItemCompressed.jsx index 8dcfe4349..335b77e42 100644 --- a/src/js/components/Ballot/OfficeItemCompressed.jsx +++ b/src/js/components/Ballot/OfficeItemCompressed.jsx @@ -10,6 +10,7 @@ import { BallotHorizontallyScrollingContainer, BallotScrollingInnerWrapper, Ball import signInModalGlobalState from '../../common/components/Widgets/signInModalGlobalState'; import AppObservableStore from '../../common/stores/AppObservableStore'; import historyPush from '../../common/utils/historyPush'; +import isMobileScreenSize from '../../common/utils/isMobileScreenSize'; import { renderLog } from '../../common/utils/logging'; import normalizedImagePath from '../../common/utils/normalizedImagePath'; import toTitleCase from '../../common/utils/toTitleCase'; @@ -300,8 +301,7 @@ class OfficeItemCompressed extends Component { const avatarCompressed = 'card-main__avatar-compressed'; const avatarBackgroundImage = normalizedImagePath('../img/global/svg-icons/avatar-generic.svg'); const uniqueKey = `candidate_preview-${oneCandidate.we_vote_id}-${window.performance.now()}`; - // console.log('ScrollingInnerWrapper: ', uniqueKey); - const scoreExplanationTooltip = ( + const scoreExplanationTooltip = isMobileScreenSize() ? () : ( Your personalized score {oneCandidate.ballot_item_display_name && ( diff --git a/src/js/components/Facebook/FacebookSignedInData.js b/src/js/components/Facebook/FacebookSignedInData.js index d32f9faf7..6ddbd265f 100644 --- a/src/js/components/Facebook/FacebookSignedInData.js +++ b/src/js/components/Facebook/FacebookSignedInData.js @@ -1,8 +1,8 @@ // eslint-disable-next-line import/no-cycle +import signInModalGlobalState from '../../common/components/Widgets/signInModalGlobalState'; import { isWebApp } from '../../common/utils/isCordovaOrWebApp'; import { oAuthLog } from '../../common/utils/logging'; import facebookApi from '../../utils/facebookApi'; -import signInModalGlobalState from '../../common/components/Widgets/signInModalGlobalState'; const fbData = { connected: false, @@ -199,7 +199,7 @@ export default { this.login2022Response(resolve, response); }, (responseFail) => { - console.log('Failure to sign in to Facebook', responseFail); + console.log('Failure to sign in to Facebook', JSON.stringify(responseFail)); }); } }); diff --git a/src/js/components/Friends/FriendDetails.jsx b/src/js/components/Friends/FriendDetails.jsx index daa5aa363..722ae2896 100644 --- a/src/js/components/Friends/FriendDetails.jsx +++ b/src/js/components/Friends/FriendDetails.jsx @@ -4,6 +4,7 @@ import React, { Component, Suspense } from 'react'; import OverlayTrigger from 'react-bootstrap/OverlayTrigger'; import Tooltip from 'react-bootstrap/Tooltip'; import styled from 'styled-components'; +import isMobileScreenSize from '../../common/utils/isMobileScreenSize'; import { FriendDetailsLine, FriendDetailsWrapper, FriendName, InviteToWeVoteLine } from '../Style/friendStyles'; import abbreviateNumber from '../../common/utils/abbreviateNumber'; import { renderLog } from '../../common/utils/logging'; @@ -57,7 +58,7 @@ class FriendDetails extends Component { let mutualFriendImageHtmlArray = <>; if (mutualFriendPreviewList) { const mutualFriendPreviewListSorted = mutualFriendPreviewList.sort(this.orderByPhotoExists); - mutualFriendsTooltip = ( + mutualFriendsTooltip = isMobileScreenSize() ? () : (
{mutualFriendPreviewListSorted.map((mutualFriend) => { diff --git a/src/js/components/Navigation/HeaderBackToVoterGuides.jsx b/src/js/components/Navigation/HeaderBackToVoterGuides.jsx index 8dffdcc43..73d01019b 100644 --- a/src/js/components/Navigation/HeaderBackToVoterGuides.jsx +++ b/src/js/components/Navigation/HeaderBackToVoterGuides.jsx @@ -257,7 +257,7 @@ class HeaderBackToVoterGuides extends Component { const electionName = BallotStore.currentBallotElectionName; // const atLeastOnePositionFoundForThisElection = positionListForOneElection && positionListForOneElection.length !== 0; - const changeElectionButtonHtml = ( + const changeElectionButtonHtml = isMobileScreenSize() ? () : ( ) : ( diff --git a/src/js/components/Share/ShareButtonFooter.jsx b/src/js/components/Share/ShareButtonFooter.jsx index 65b7f3d3a..f8f79d247 100644 --- a/src/js/components/Share/ShareButtonFooter.jsx +++ b/src/js/components/Share/ShareButtonFooter.jsx @@ -8,13 +8,15 @@ import AnalyticsActions from '../../actions/AnalyticsActions'; import FriendActions from '../../actions/FriendActions'; import VoterActions from '../../actions/VoterActions'; import ShareActions from '../../common/actions/ShareActions'; +import { openSnackbar } from '../../common/components/Widgets/SnackNotifier'; +import AppObservableStore, { messageService } from '../../common/stores/AppObservableStore'; import ShareStore from '../../common/stores/ShareStore'; import apiCalming from '../../common/utils/apiCalming'; import { hasDynamicIsland, hasIPhoneNotch, isAndroid } from '../../common/utils/cordovaUtils'; import { isCordova, isWebApp } from '../../common/utils/isCordovaOrWebApp'; import { renderLog } from '../../common/utils/logging'; import stringContains from '../../common/utils/stringContains'; -import AppObservableStore, { messageService } from '../../common/stores/AppObservableStore'; +import webAppConfig from '../../config'; import FriendStore from '../../stores/FriendStore'; import VoterStore from '../../stores/VoterStore'; import { getApplicationViewBooleans } from '../../utils/applicationUtils'; @@ -22,7 +24,6 @@ import { shareBottomOffset } from '../../utils/cordovaOffsets'; import createMessageToFriendDefaults from '../../utils/createMessageToFriendDefaults'; import sortFriendListByMutualFriends from '../../utils/friendFunctions'; import isMobile from '../../utils/isMobile'; -import { openSnackbar } from '../../common/components/Widgets/SnackNotifier'; import { CopyLink, getKindOfShareFromURL, getWhatAndHowMuchToShareDefault, saveActionShareAnalytics, ShareFacebook, SharePreviewFriends, shareStyles, ShareTwitter, ShareWeVoteFriends } from './shareButtonCommon'; // cordovaSocialSharingByEmail // cordovaSocialSharingByEmail import ShareModalOption from './ShareModalOption'; import { generateShareLinks } from './ShareModalText'; @@ -397,7 +398,9 @@ class ShareButtonFooter extends Component { this.saveActionShareButtonFriends()} /> {(!(isMobile() && navigator.share) || isCordova()) && ( <> - + {webAppConfig.ENABLE_FACEBOOK && ( + + )} )} diff --git a/src/js/components/Share/ShareModal.jsx b/src/js/components/Share/ShareModal.jsx index 561e8832a..59dfcb9f7 100644 --- a/src/js/components/Share/ShareModal.jsx +++ b/src/js/components/Share/ShareModal.jsx @@ -9,13 +9,14 @@ import AnalyticsActions from '../../actions/AnalyticsActions'; import FriendActions from '../../actions/FriendActions'; import VoterActions from '../../actions/VoterActions'; import ShareActions from '../../common/actions/ShareActions'; +import AppObservableStore, { messageService } from '../../common/stores/AppObservableStore'; import ShareStore from '../../common/stores/ShareStore'; import apiCalming from '../../common/utils/apiCalming'; import { isIPad } from '../../common/utils/cordovaUtils'; import { isWebApp } from '../../common/utils/isCordovaOrWebApp'; // isCordova import { renderLog } from '../../common/utils/logging'; import stringContains from '../../common/utils/stringContains'; -import AppObservableStore, { messageService } from '../../common/stores/AppObservableStore'; +import webAppConfig from '../../config'; import FriendStore from '../../stores/FriendStore'; import VoterStore from '../../stores/VoterStore'; import createMessageToFriendDefaults from '../../utils/createMessageToFriendDefaults'; @@ -287,7 +288,9 @@ class ShareModal extends Component { linkToBeSharedCopy={linkToBeShared} /> this.saveActionShareButtonFriends()} /> - + {webAppConfig.ENABLE_FACEBOOK && ( + + )} {(isWebApp() && voterIsSignedIn) && ( diff --git a/src/js/components/Values/IssueCard.jsx b/src/js/components/Values/IssueCard.jsx index 8ccdbde1c..51f4f686b 100755 --- a/src/js/components/Values/IssueCard.jsx +++ b/src/js/components/Values/IssueCard.jsx @@ -7,6 +7,7 @@ import { Link } from 'react-router-dom'; import styled from 'styled-components'; import abbreviateNumber from '../../common/utils/abbreviateNumber'; import { isCordova } from '../../common/utils/isCordovaOrWebApp'; +import isMobileScreenSize from '../../common/utils/isMobileScreenSize'; import Cookies from '../../common/utils/js-cookie/Cookies'; import { renderLog } from '../../common/utils/logging'; import IssueStore from '../../stores/IssueStore'; @@ -193,7 +194,8 @@ class IssueCard extends Component { /> ); } - const issueTooltip = ( + + const issueTooltip = isMobileScreenSize() ? () : (
Follow @@ -207,7 +209,7 @@ class IssueCard extends Component { let linkedOrganizationsTooltip = <>; let linkedOrganizationNameCount = 0; if (linkedOrganizationPreviewList) { - linkedOrganizationsTooltip = ( + linkedOrganizationsTooltip = isMobileScreenSize() ? () : (
See endorsements from @@ -249,7 +251,8 @@ class IssueCard extends Component { ); } - const followersTooltip = ( + + const followersTooltip = isMobileScreenSize() ? () : (
{abbreviateNumber(issueFollowersCount)} @@ -262,6 +265,7 @@ class IssueCard extends Component {
); + const issueNameAndCount = ( {`${issueDisplayName} `} @@ -274,6 +278,7 @@ class IssueCard extends Component { ); let isFirst = true; let organizationImageCount = 0; + const issueAdvocates = ( {!!(linkedOrganizationPreviewList) && ( diff --git a/src/js/components/Values/IssueLinkToggle.jsx b/src/js/components/Values/IssueLinkToggle.jsx index 13b625cd6..983bd6bbd 100644 --- a/src/js/components/Values/IssueLinkToggle.jsx +++ b/src/js/components/Values/IssueLinkToggle.jsx @@ -37,6 +37,7 @@ export default class IssueLinkToggle extends Component { render () { renderLog('IssueLinkToggle'); // Set LOG_RENDER_EVENTS to log all renders let supportButtonPopoverTooltip; + // Dec 2023: Leave this in for Mobile and Cordova, since it is an error report condition if (this.props.incompatibleIssues !== undefined) { // Removed bsPrefix="card-popover" const incompatibleIssues = {`You cannot link because the issue is incompatible with the following issues: ${this.props.incompatibleIssues.map((issue) => issue.issue_name).join(', ')}`}; diff --git a/src/js/components/Widgets/FollowToggleCheckPlus.jsx b/src/js/components/Widgets/FollowToggleCheckPlus.jsx index 866a12cc3..bb4cf539d 100644 --- a/src/js/components/Widgets/FollowToggleCheckPlus.jsx +++ b/src/js/components/Widgets/FollowToggleCheckPlus.jsx @@ -4,22 +4,23 @@ import { Button } from '@mui/material'; import Menu from '@mui/material/Menu'; import MenuItem from '@mui/material/MenuItem'; import { styled as muiStyled } from '@mui/styles'; -import withTheme from '@mui/styles/withTheme'; import withStyles from '@mui/styles/withStyles'; -import OverlayTrigger from 'react-bootstrap/OverlayTrigger'; -import Tooltip from 'react-bootstrap/Tooltip'; +import withTheme from '@mui/styles/withTheme'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; +import OverlayTrigger from 'react-bootstrap/OverlayTrigger'; +import Tooltip from 'react-bootstrap/Tooltip'; import styled from 'styled-components'; import OrganizationActions from '../../actions/OrganizationActions'; +import { openSnackbar } from '../../common/components/Widgets/SnackNotifier'; import historyPush from '../../common/utils/historyPush'; +import isMobileScreenSize from '../../common/utils/isMobileScreenSize'; import { renderLog } from '../../common/utils/logging'; import FriendStore from '../../stores/FriendStore'; import IssueStore from '../../stores/IssueStore'; import OrganizationStore from '../../stores/OrganizationStore'; import VoterGuideStore from '../../stores/VoterGuideStore'; import VoterStore from '../../stores/VoterStore'; -import { openSnackbar } from '../../common/components/Widgets/SnackNotifier'; import { createSharedIssuesText } from '../../utils/issueUtils'; @@ -32,7 +33,7 @@ function AlreadyFollowingOrIgnoringButton (params) { alreadyFollowingOrIgnoringPopOverText += ` ${speakerDisplayName},`; } alreadyFollowingOrIgnoringPopOverText += ' their opinion is added to your score. Click to stop following.'; - const alreadyFollowingOrIgnoringPopOverTooltip = ( + const alreadyFollowingOrIgnoringPopOverTooltip = isMobileScreenSize() ? () : ( {alreadyFollowingOrIgnoringPopOverText} @@ -103,11 +104,12 @@ function FollowButton (params) { followOrganizationCheckPlusPopOverText += ` ${speakerDisplayName},`; } followOrganizationCheckPlusPopOverText += ' and add their opinion to your score.'; - const followOrganizationCheckPlusPopOverTooltip = ( + const followOrganizationCheckPlusPopOverTooltip = isMobileScreenSize() ? () : ( {followOrganizationCheckPlusPopOverText} ); + return (
@@ -414,7 +416,8 @@ class FollowToggleCheckPlus extends Component { friendOrLinkedToIssuePopOverText += ' cares about the same values as you.'; friendOrLinkedToIssuePopOverText += ' Because of this, their opinion is added to your score.'; } - const friendOrLinkedToIssuePopOverTooltip = ( + + const friendOrLinkedToIssuePopOverTooltip = isMobileScreenSize() ? () : ( {friendOrLinkedToIssuePopOverText} @@ -525,9 +528,9 @@ const FriendOrLinkedToIssue = styled('div')` align-items: center; display: flex; height: 40px; - margin: '0 !important'; + margin: 0 !important; min-width: 0; - padding: '0 !important'; + padding: 0 !important; width: 32px; `; diff --git a/src/js/components/Widgets/FriendsOnlyIndicator.jsx b/src/js/components/Widgets/FriendsOnlyIndicator.jsx index 2395839c3..2cbdac800 100644 --- a/src/js/components/Widgets/FriendsOnlyIndicator.jsx +++ b/src/js/components/Widgets/FriendsOnlyIndicator.jsx @@ -4,6 +4,7 @@ import React, { Component } from 'react'; import OverlayTrigger from 'react-bootstrap/OverlayTrigger'; import Tooltip from 'react-bootstrap/Tooltip'; import { ReactSVG } from 'react-svg'; +import isMobileScreenSize from '../../common/utils/isMobileScreenSize'; import { renderLog } from '../../common/utils/logging'; import normalizedImagePath from '../../common/utils/normalizedImagePath'; @@ -59,7 +60,9 @@ export default class FriendsOnlyIndicator extends Component { ); } - const tooltip = {labelText}; + const tooltip = isMobileScreenSize() ? () : ( + {labelText} + ); return ( diff --git a/src/js/components/Widgets/ItemActionBar/ItemActionBar.jsx b/src/js/components/Widgets/ItemActionBar/ItemActionBar.jsx index 0d2e28e5b..15ff57703 100644 --- a/src/js/components/Widgets/ItemActionBar/ItemActionBar.jsx +++ b/src/js/components/Widgets/ItemActionBar/ItemActionBar.jsx @@ -8,6 +8,7 @@ import OverlayTrigger from 'react-bootstrap/OverlayTrigger'; import Tooltip from 'react-bootstrap/Tooltip'; import SupportActions from '../../../actions/SupportActions'; import VoterActions from '../../../actions/VoterActions'; +import isMobileScreenSize from '../../../common/utils/isMobileScreenSize'; import Cookies from '../../../common/utils/js-cookie/Cookies'; import { convertToInteger } from '../../../common/utils/textFormat'; import { renderLog } from '../../../common/utils/logging'; @@ -740,12 +741,13 @@ class ItemActionBar extends PureComponent { opposeButtonUnselectedPopOverText += '.'; } - const supportButtonPopoverTooltip = ( + const supportButtonPopoverTooltip = isMobileScreenSize() ? () : ( {this.isSupportCalculated() ? supportButtonUnselectedPopOverText : supportButtonSelectedPopOverText } ); - const opposeButtonPopoverTooltip = ( + + const opposeButtonPopoverTooltip = isMobileScreenSize() ? () : ( {this.isOpposeCalculated() ? opposeButtonUnselectedPopOverText : opposeButtonSelectedPopOverText} diff --git a/src/js/components/Widgets/PositionInformationOnlySnippet.jsx b/src/js/components/Widgets/PositionInformationOnlySnippet.jsx index c6c91c310..e3a7bedde 100644 --- a/src/js/components/Widgets/PositionInformationOnlySnippet.jsx +++ b/src/js/components/Widgets/PositionInformationOnlySnippet.jsx @@ -4,6 +4,7 @@ import PropTypes from 'prop-types'; import React, { Component, Suspense } from 'react'; import OverlayTrigger from 'react-bootstrap/OverlayTrigger'; import Tooltip from 'react-bootstrap/Tooltip'; +import isMobileScreenSize from '../../common/utils/isMobileScreenSize'; import { renderLog } from '../../common/utils/logging'; import normalizedImagePath from '../../common/utils/normalizedImagePath'; import { vimeoRegX, youTubeRegX } from '../../common/utils/textFormat'; @@ -68,7 +69,10 @@ export default class PositionInformationOnlySnippet extends Component { } const labelText = 'This position is information-only, as opposed to “support” or “oppose”'; - const tooltip = {labelText}; + const tooltip = isMobileScreenSize() ? () : ( + {labelText} + ); + return (
diff --git a/src/js/components/Widgets/TooltipIcon.jsx b/src/js/components/Widgets/TooltipIcon.jsx index e52a65182..1e7713146 100644 --- a/src/js/components/Widgets/TooltipIcon.jsx +++ b/src/js/components/Widgets/TooltipIcon.jsx @@ -3,17 +3,20 @@ import { Tooltip } from '@mui/material'; import styled from 'styled-components'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; +import isMobileScreenSize from '../../common/utils/isMobileScreenSize'; class TooltipIcon extends Component { render () { return ( - - - + {isMobileScreenSize() ? () : ( + + + + )} ); } diff --git a/src/js/pages/Friends/Friends.jsx b/src/js/pages/Friends/Friends.jsx index d2fd24f6b..12e2571ac 100755 --- a/src/js/pages/Friends/Friends.jsx +++ b/src/js/pages/Friends/Friends.jsx @@ -4,6 +4,7 @@ import PropTypes from 'prop-types'; import React, { Component, Suspense } from 'react'; import { Helmet } from 'react-helmet-async'; import styled from 'styled-components'; +import isMobileScreenSize from '../../common/utils/isMobileScreenSize'; import FriendsCurrent from './FriendsCurrent'; import FriendInvitationsSentByMe from './FriendInvitationsSentByMe'; import InviteByEmail from './InviteByEmail'; @@ -523,7 +524,11 @@ class Friends extends Component {
Invite Friends - + <> + {isMobileScreenSize() ? () : ( + + )} +
diff --git a/src/js/pages/Friends/InviteByEmail.jsx b/src/js/pages/Friends/InviteByEmail.jsx index d9b43be61..6922448d0 100644 --- a/src/js/pages/Friends/InviteByEmail.jsx +++ b/src/js/pages/Friends/InviteByEmail.jsx @@ -1,6 +1,7 @@ import React, { Component } from 'react'; import styled from 'styled-components'; import AnalyticsActions from '../../actions/AnalyticsActions'; +import isMobileScreenSize from '../../common/utils/isMobileScreenSize'; import { renderLog } from '../../common/utils/logging'; import AddFriendsByEmail from '../../components/Friends/AddFriendsByEmail'; import VoterStore from '../../stores/VoterStore'; @@ -26,7 +27,9 @@ export default class InviteByEmail extends Component { Invite Friends - + {isMobileScreenSize() ? () : ( + + )} diff --git a/src/js/utils/initializeFacebookSDK.js b/src/js/utils/initializeFacebookSDK.js index e0a35a723..be480c964 100644 --- a/src/js/utils/initializeFacebookSDK.js +++ b/src/js/utils/initializeFacebookSDK.js @@ -27,17 +27,18 @@ const initializeFacebookSDK = () => { const { FB } = window; console.log('const { FB } = window ------------ FB:', FB); - FB.init({ - appId: webAppConfig.FACEBOOK_APP_ID, - autoLogAppEvents: true, - xfbml: true, - version: 'v15.0', // Facebook JavaScript SDK - Facebook Version - status: true, // set this status to true, this will fix the popup blocker issue - }); - - console.log('initializeFacebookSDK FB.init has been called'); - // This initial call simply pre-loads the current facebook login status to local FacebookSignedInData object - FacebookSignedInData.setConnectedStatus(false, false, false, null); + if (webAppConfig.ENABLE_FACEBOOK) { + FB.init({ + appId: webAppConfig.FACEBOOK_APP_ID, + autoLogAppEvents: true, + xfbml: true, + version: 'v15.0', // Facebook JavaScript SDK - Facebook Version + status: true, // set this status to true, this will fix the popup blocker issue + }); + console.log('initializeFacebookSDK FB.init has been called'); + // This initial call simply pre-loads the current facebook login status to local FacebookSignedInData object + FacebookSignedInData.setConnectedStatus(false, false, false, null); + } }; } };