diff --git a/package-lock.json b/package-lock.json index 4f9dee884..b005f996e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "react-twitter-embed": "^3.0.3", "react-use": "^17.3.1", "scratch-parser": "5.1.1", - "scratch-storage": "2.1.0" + "scratch-storage": "2.2.0" }, "devDependencies": { "@formatjs/intl-datetimeformat": "6.4.3", @@ -101,8 +101,8 @@ "regenerator-runtime": "0.13.9", "sass": "1.49.7", "sass-loader": "10.2.1", - "scratch-gui": "1.5.3", - "scratch-l10n": "3.15.20230313032122", + "scratch-gui": "1.8.0", + "scratch-l10n": "3.15.20230327032134", "selenium-webdriver": "4.1.0", "slick-carousel": "1.6.0", "style-loader": "0.12.3", @@ -808,13 +808,21 @@ } }, "node_modules/@babel/runtime": { - "version": "7.13.9", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.13.9.tgz", - "integrity": "sha512-aY2kU+xgJ3dJ1eU6FMB9EH8dIe8dmusF1xEku52joLvw6eAFN0AI+WxCLDnpev2LEejWBAy2sBvBOBAjI3zmvA==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.0.tgz", + "integrity": "sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==", "dependencies": { - "regenerator-runtime": "^0.13.4" + "regenerator-runtime": "^0.13.11" + }, + "engines": { + "node": ">=6.9.0" } }, + "node_modules/@babel/runtime/node_modules/regenerator-runtime": { + "version": "0.13.11", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" + }, "node_modules/@babel/template": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", @@ -2531,7 +2539,6 @@ "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", "dev": true, - "optional": true, "engines": { "node": ">=0.4.2" } @@ -5106,6 +5113,97 @@ "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", "dev": true }, + "node_modules/cat-blocks": { + "name": "scratch-blocks", + "version": "0.1.0-prerelease.20220318143026", + "resolved": "https://registry.npmjs.org/scratch-blocks/-/scratch-blocks-0.1.0-prerelease.20220318143026.tgz", + "integrity": "sha512-eYJYzjYt3fmF5a243eBIgQfNj+c3ApHFE8jkm1KV/tEiFanJ8XlLZay9LmbnhYhK0618+s0uEQrpJ9WC6xnX/Q==", + "dev": true, + "dependencies": { + "exports-loader": "0.6.3", + "google-closure-library": "20190301.0.0", + "imports-loader": "0.6.5", + "scratch-l10n": "3.14.20220317031619" + } + }, + "node_modules/cat-blocks/node_modules/big.js": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz", + "integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/cat-blocks/node_modules/exports-loader": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/exports-loader/-/exports-loader-0.6.3.tgz", + "integrity": "sha512-vBQgTnvmEB7qWmr7gzAzJRWptzYhkhvdXeH8sRnS//mIai6MgLZe1crlQ+VWTjCCXLlnhGuiuVMq0YfjA5AUOw==", + "dev": true, + "dependencies": { + "loader-utils": "0.2.x", + "source-map": "0.1.x" + } + }, + "node_modules/cat-blocks/node_modules/imports-loader": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/imports-loader/-/imports-loader-0.6.5.tgz", + "integrity": "sha512-fYIzBL9JOzJszvfeSGSKVjAtkWEtPUwP+OWiUxIWApcxsYh3iqZWZAp8xjTuhsvqglhqaetxeLLTaYyxIv1d4Q==", + "dev": true, + "dependencies": { + "loader-utils": "0.2.x", + "source-map": "0.1.x" + } + }, + "node_modules/cat-blocks/node_modules/json5": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "integrity": "sha512-4xrs1aW+6N5DalkqSVA8fxh458CXvR99WU8WLKmq4v8eWAL86Xo3BVqyd3SkA9wEVjCMqyvvRRkshAdOnBp5rw==", + "dev": true, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/cat-blocks/node_modules/loader-utils": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz", + "integrity": "sha512-tiv66G0SmiOx+pLWMtGEkfSEejxvb6N6uRrQjfWJIT79W9GMpgKeCAmm9aVBKtd4WEgntciI8CsGqjpDoCWJug==", + "dev": true, + "dependencies": { + "big.js": "^3.1.3", + "emojis-list": "^2.0.0", + "json5": "^0.5.0", + "object-assign": "^4.0.1" + } + }, + "node_modules/cat-blocks/node_modules/scratch-l10n": { + "version": "3.14.20220317031619", + "resolved": "https://registry.npmjs.org/scratch-l10n/-/scratch-l10n-3.14.20220317031619.tgz", + "integrity": "sha512-tDKXRFxKFob9htBeOu+873mujoePXc4sGQulWDdMVCM8cYz63geCWziX5fCwp2pu3pJKQLEth0ftd2eoXkT1RA==", + "dev": true, + "dependencies": { + "@babel/cli": "^7.1.2", + "@babel/core": "^7.1.2", + "babel-plugin-react-intl": "^3.0.1", + "transifex": "1.6.6" + }, + "bin": { + "build-i18n-src": "scripts/build-i18n-src.js", + "tx-push-src": "scripts/tx-push-src.js" + } + }, + "node_modules/cat-blocks/node_modules/source-map": { + "version": "0.1.43", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", + "integrity": "sha512-VtCvB9SIQhk3aF6h+N85EaqIaBFIAfZ9Cu+NJHHVvc8BbEcnvDcFw6sqQ2dQrT6SlOrZq3tIvyD9+EGq/lJryQ==", + "dev": true, + "dependencies": { + "amdefine": ">=0.0.4" + }, + "engines": { + "node": ">=0.8.0" + } + }, "node_modules/cdt2d": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/cdt2d/-/cdt2d-1.0.0.tgz", @@ -6306,6 +6404,52 @@ "react": "^0.14.0 || ^15.0.0 || ^16.0.0" } }, + "node_modules/cross-fetch": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz", + "integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==", + "dependencies": { + "node-fetch": "2.6.7" + } + }, + "node_modules/cross-fetch/node_modules/node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/cross-fetch/node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + }, + "node_modules/cross-fetch/node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + }, + "node_modules/cross-fetch/node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, "node_modules/cross-spawn": { "version": "6.0.5", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", @@ -21542,7 +21686,8 @@ "node_modules/regenerator-runtime": { "version": "0.13.9", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", + "dev": true }, "node_modules/regenerator-transform": { "version": "0.10.1", @@ -23318,21 +23463,21 @@ } }, "node_modules/scratch-blocks": { - "version": "0.1.0-prerelease.20230312094058", - "resolved": "https://registry.npmjs.org/scratch-blocks/-/scratch-blocks-0.1.0-prerelease.20230312094058.tgz", - "integrity": "sha512-G58oYfEfrEvyi4K471Lkj5GQ/gAHtwS1zB3Jbt0AqIdS+8jm25rvc4tD6qw+ip+yDS6b3wULI7f8rzYCa0W4Zw==", + "version": "0.1.0-prerelease.20230326090609", + "resolved": "https://registry.npmjs.org/scratch-blocks/-/scratch-blocks-0.1.0-prerelease.20230326090609.tgz", + "integrity": "sha512-xzUHK3P98uUlwZonIW/kz9KYMxwvGpwocT8t/QFXEUsQpGIWuVMVDD8GiyKmtPN4ZhtNd/BjQSpa+Uv9wRwmcg==", "dev": true, "dependencies": { "exports-loader": "0.7.0", "google-closure-library": "20190301.0.0", "imports-loader": "0.8.0", - "scratch-l10n": "3.15.20230312032149" + "scratch-l10n": "3.15.20230326032128" } }, "node_modules/scratch-blocks/node_modules/scratch-l10n": { - "version": "3.15.20230312032149", - "resolved": "https://registry.npmjs.org/scratch-l10n/-/scratch-l10n-3.15.20230312032149.tgz", - "integrity": "sha512-fpQiYj3/reI5A5nEcGfYfUDCSDMCRKdpdnjWWnFugAW4Cg2bLA0u8Z/Yj0iZlCJPuxFRknhz63N7OTOruZeU7g==", + "version": "3.15.20230326032128", + "resolved": "https://registry.npmjs.org/scratch-l10n/-/scratch-l10n-3.15.20230326032128.tgz", + "integrity": "sha512-eGs59KH1J+K+e1QW1fU3kudoW1GGboT7cdJoXoT5O524WSvnl2SwSaEYI1jt3mO03Za7fMy2OYTlx4W2x7UcKQ==", "dev": true, "dependencies": { "@babel/cli": "^7.1.2", @@ -23348,15 +23493,16 @@ } }, "node_modules/scratch-gui": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/scratch-gui/-/scratch-gui-1.5.3.tgz", - "integrity": "sha512-xaO6HjYoXL4jvRBHEV52EEMrQP/n4eZpPtRdnP/T85zEWhoxO9CPrjAeIgmuaiMqsmOO4y0fxeEz6QiUvVD1Sg==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/scratch-gui/-/scratch-gui-1.8.0.tgz", + "integrity": "sha512-FFyUEBGVVO8yKZcp/tv8kn5/C9tVhbimK+WvUkTYrswZ3HLz8mqpgXmM7shYKwb03pqv1uxpU/XwiU9OSur5Yw==", "dev": true, "dependencies": { "arraybuffer-loader": "^1.0.6", "autoprefixer": "^9.0.1", "base64-loader": "1.0.0", "bowser": "1.9.4", + "cat-blocks": "npm:scratch-blocks@0.1.0-prerelease.20220318143026", "classnames": "2.2.6", "computed-style-to-inline-style": "3.0.0", "copy-webpack-plugin": "6.4.1", @@ -23401,14 +23547,14 @@ "redux": "3.7.2", "redux-throttle": "0.1.1", "scratch-audio": "0.1.0-prerelease.20221123180128", - "scratch-blocks": "0.1.0-prerelease.20230312094058", - "scratch-l10n": "3.15.20230312032149", - "scratch-paint": "1.1.31", - "scratch-render": "0.1.0-prerelease.20230221152523", + "scratch-blocks": "0.1.0-prerelease.20230326090609", + "scratch-l10n": "3.15.20230326032128", + "scratch-paint": "1.1.38", + "scratch-render": "0.1.0-prerelease.20230318150639", "scratch-render-fonts": "1.0.0-prerelease.20221102164332", - "scratch-storage": "2.1.0", + "scratch-storage": "2.2.0", "scratch-svg-renderer": "0.2.0-prerelease.20230224194137", - "scratch-vm": "1.4.6", + "scratch-vm": "1.5.10", "startaudiocontext": "1.2.1", "style-loader": "^0.23.0", "text-encoding": "0.7.0", @@ -23735,9 +23881,9 @@ } }, "node_modules/scratch-gui/node_modules/scratch-l10n": { - "version": "3.15.20230312032149", - "resolved": "https://registry.npmjs.org/scratch-l10n/-/scratch-l10n-3.15.20230312032149.tgz", - "integrity": "sha512-fpQiYj3/reI5A5nEcGfYfUDCSDMCRKdpdnjWWnFugAW4Cg2bLA0u8Z/Yj0iZlCJPuxFRknhz63N7OTOruZeU7g==", + "version": "3.15.20230326032128", + "resolved": "https://registry.npmjs.org/scratch-l10n/-/scratch-l10n-3.15.20230326032128.tgz", + "integrity": "sha512-eGs59KH1J+K+e1QW1fU3kudoW1GGboT7cdJoXoT5O524WSvnl2SwSaEYI1jt3mO03Za7fMy2OYTlx4W2x7UcKQ==", "dev": true, "dependencies": { "@babel/cli": "^7.1.2", @@ -23753,9 +23899,9 @@ } }, "node_modules/scratch-gui/node_modules/scratch-paint": { - "version": "1.1.31", - "resolved": "https://registry.npmjs.org/scratch-paint/-/scratch-paint-1.1.31.tgz", - "integrity": "sha512-yfKgYJVsNmBHQoSh3bZNjcVQ78qAIgQeX820fe5LthuMMn7DE1syUwD56IPFJWhGrR0ykp8Fsf038bbxNuZZfw==", + "version": "1.1.38", + "resolved": "https://registry.npmjs.org/scratch-paint/-/scratch-paint-1.1.38.tgz", + "integrity": "sha512-fB/ltIMqkIWq68LtzhES+RxaK8eetwwOU2ZsuPab5Ggy624lqpK6LHIPgr55FS8AGM5NNC9nD5jQVbdZ7EBzPQ==", "dev": true, "dependencies": { "@scratch/paper": "0.11.20200728195508", @@ -23787,23 +23933,6 @@ "integrity": "sha512-DTt3GhOUDKhh4ONwIJW4lmhyotQmV2LjNlGK/J2hkwUcqcbKkCLAdJPtxQnxnlc7SR3f1CEXCyMmc7WLUsWbNA==", "dev": true }, - "node_modules/scratch-gui/node_modules/scratch-svg-renderer": { - "version": "0.2.0-prerelease.20230224194137", - "resolved": "https://registry.npmjs.org/scratch-svg-renderer/-/scratch-svg-renderer-0.2.0-prerelease.20230224194137.tgz", - "integrity": "sha512-NhsWkc0ci5R7ZH9Z7j6crI69Oe9XtNlp4u+Q6bOoLicGHJBnNeDeD2/w2ySxiYnnhJI9KioByvAoOwxZnEA+0Q==", - "dev": true, - "dependencies": { - "base64-js": "1.2.1", - "base64-loader": "1.0.0", - "dompurify": "2.2.7", - "fastestsmallesttextencoderdecoder": "^1.0.22", - "minilog": "3.1.0", - "transformation-matrix": "1.15.0" - }, - "peerDependencies": { - "scratch-render-fonts": "^1.0.0-prerelease" - } - }, "node_modules/scratch-gui/node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -23851,9 +23980,9 @@ } }, "node_modules/scratch-l10n": { - "version": "3.15.20230313032122", - "resolved": "https://registry.npmjs.org/scratch-l10n/-/scratch-l10n-3.15.20230313032122.tgz", - "integrity": "sha512-cxtlaLTbFUybXR7Y74oBDxm5jVRPHg3bTATeQ7QeZrcG5Pa+Ys013m4NpoH8qQmaVHx3b8DOqgDhBWOHKifLyQ==", + "version": "3.15.20230327032134", + "resolved": "https://registry.npmjs.org/scratch-l10n/-/scratch-l10n-3.15.20230327032134.tgz", + "integrity": "sha512-5Y5F+vXEqz1GVqJ2IRsQCjyrJV7f99akFSIwfXBdSfty1h8KUP9K+RhDz8zZaXzeZq/SlMLM0LMsrG0KQSyTuA==", "dev": true, "dependencies": { "@babel/cli": "^7.1.2", @@ -23892,9 +24021,9 @@ } }, "node_modules/scratch-render": { - "version": "0.1.0-prerelease.20230221152523", - "resolved": "https://registry.npmjs.org/scratch-render/-/scratch-render-0.1.0-prerelease.20230221152523.tgz", - "integrity": "sha512-h8BStWgU0uguli98sTlvY2vdTM9LAhyo5M24iVATwoijNhGFfwaR3acpolgGuDMV3GaJILCl6kuMei0CCbC7bw==", + "version": "0.1.0-prerelease.20230318150639", + "resolved": "https://registry.npmjs.org/scratch-render/-/scratch-render-0.1.0-prerelease.20230318150639.tgz", + "integrity": "sha512-NmetrU5Ubyik9T3g4L4pbyYYjTERQ2QxxtevgBmCGxIJgMQskmtImAsISC6Qko21YQWPQNG9X/BEJluhJG6CZA==", "dev": true, "dependencies": { "grapheme-breaker": "0.3.2", @@ -23904,7 +24033,7 @@ "minilog": "3.1.0", "raw-loader": "^0.5.1", "scratch-storage": "^1.0.0", - "scratch-svg-renderer": "0.2.0-prerelease.20221120235613", + "scratch-svg-renderer": "0.2.0-prerelease.20230224194137", "twgl.js": "4.4.0" }, "peerDependencies": { @@ -23982,12 +24111,14 @@ } }, "node_modules/scratch-storage": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/scratch-storage/-/scratch-storage-2.1.0.tgz", - "integrity": "sha512-ovT5Q7mgwNDxBI69RgtZKbTBkHcUlUad/9JpCPkvc/ol+kBTG/ILzJOhBkPwj54aeadKgLufsW37UrKNL6ex/w==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/scratch-storage/-/scratch-storage-2.2.0.tgz", + "integrity": "sha512-d2DzApJ9cSlQ42/cEKDD/lfYIocHMskWrOQ5VED6tKgiHirjRZSPflUIfWL8lY5LxE3HSBc/Z7pS3Yvqe/iCGA==", "dependencies": { + "@babel/runtime": "7.21.0", "arraybuffer-loader": "^1.0.3", "base64-js": "1.3.0", + "cross-fetch": "3.1.5", "fastestsmallesttextencoderdecoder": "^1.0.7", "js-md5": "0.7.3", "minilog": "3.1.0", @@ -24013,9 +24144,9 @@ } }, "node_modules/scratch-svg-renderer": { - "version": "0.2.0-prerelease.20221120235613", - "resolved": "https://registry.npmjs.org/scratch-svg-renderer/-/scratch-svg-renderer-0.2.0-prerelease.20221120235613.tgz", - "integrity": "sha512-aC7P37PgYYPQyC6pyxKeNAzgKeOfTdymOdGgaRLp5YpaGoLPHLrRXC6nHc4arhUk51Y9cZ46PPnfYEVw7QqOeg==", + "version": "0.2.0-prerelease.20230224194137", + "resolved": "https://registry.npmjs.org/scratch-svg-renderer/-/scratch-svg-renderer-0.2.0-prerelease.20230224194137.tgz", + "integrity": "sha512-NhsWkc0ci5R7ZH9Z7j6crI69Oe9XtNlp4u+Q6bOoLicGHJBnNeDeD2/w2ySxiYnnhJI9KioByvAoOwxZnEA+0Q==", "dev": true, "dependencies": { "base64-js": "1.2.1", @@ -24051,9 +24182,9 @@ "dev": true }, "node_modules/scratch-vm": { - "version": "1.4.6", - "resolved": "https://registry.npmjs.org/scratch-vm/-/scratch-vm-1.4.6.tgz", - "integrity": "sha512-ZBglmQ6vcjBlHTnf/1QGYdYWELrxDGdwcrgKsvjwl3jbWqXakLsxOZ018Js2dzlQPWTDafbDrxQJ5T1+vA4Fag==", + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/scratch-vm/-/scratch-vm-1.5.10.tgz", + "integrity": "sha512-XHRxoTBWKIBymLqcelAeYdIJz6i7t/Av6Z7nOH1nCHourR1mvNs23Xk7ospFu9LVDTtLGVq9LkKgckqsG8SKuA==", "dev": true, "dependencies": { "@vernier/godirect": "1.5.0", @@ -32682,11 +32813,18 @@ "dev": true }, "@babel/runtime": { - "version": "7.13.9", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.13.9.tgz", - "integrity": "sha512-aY2kU+xgJ3dJ1eU6FMB9EH8dIe8dmusF1xEku52joLvw6eAFN0AI+WxCLDnpev2LEejWBAy2sBvBOBAjI3zmvA==", + "version": "7.21.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.21.0.tgz", + "integrity": "sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==", "requires": { - "regenerator-runtime": "^0.13.4" + "regenerator-runtime": "^0.13.11" + }, + "dependencies": { + "regenerator-runtime": { + "version": "0.13.11", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", + "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==" + } } }, "@babel/template": { @@ -34205,8 +34343,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", - "dev": true, - "optional": true + "dev": true }, "ansi-escapes": { "version": "3.2.0", @@ -36483,6 +36620,85 @@ "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", "dev": true }, + "cat-blocks": { + "version": "npm:scratch-blocks@0.1.0-prerelease.20220318143026", + "resolved": "https://registry.npmjs.org/scratch-blocks/-/scratch-blocks-0.1.0-prerelease.20220318143026.tgz", + "integrity": "sha512-eYJYzjYt3fmF5a243eBIgQfNj+c3ApHFE8jkm1KV/tEiFanJ8XlLZay9LmbnhYhK0618+s0uEQrpJ9WC6xnX/Q==", + "dev": true, + "requires": { + "exports-loader": "0.6.3", + "google-closure-library": "20190301.0.0", + "imports-loader": "0.6.5", + "scratch-l10n": "3.14.20220317031619" + }, + "dependencies": { + "big.js": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz", + "integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==", + "dev": true + }, + "exports-loader": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/exports-loader/-/exports-loader-0.6.3.tgz", + "integrity": "sha512-vBQgTnvmEB7qWmr7gzAzJRWptzYhkhvdXeH8sRnS//mIai6MgLZe1crlQ+VWTjCCXLlnhGuiuVMq0YfjA5AUOw==", + "dev": true, + "requires": { + "loader-utils": "0.2.x", + "source-map": "0.1.x" + } + }, + "imports-loader": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/imports-loader/-/imports-loader-0.6.5.tgz", + "integrity": "sha512-fYIzBL9JOzJszvfeSGSKVjAtkWEtPUwP+OWiUxIWApcxsYh3iqZWZAp8xjTuhsvqglhqaetxeLLTaYyxIv1d4Q==", + "dev": true, + "requires": { + "loader-utils": "0.2.x", + "source-map": "0.1.x" + } + }, + "json5": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "integrity": "sha512-4xrs1aW+6N5DalkqSVA8fxh458CXvR99WU8WLKmq4v8eWAL86Xo3BVqyd3SkA9wEVjCMqyvvRRkshAdOnBp5rw==", + "dev": true + }, + "loader-utils": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz", + "integrity": "sha512-tiv66G0SmiOx+pLWMtGEkfSEejxvb6N6uRrQjfWJIT79W9GMpgKeCAmm9aVBKtd4WEgntciI8CsGqjpDoCWJug==", + "dev": true, + "requires": { + "big.js": "^3.1.3", + "emojis-list": "^2.0.0", + "json5": "^0.5.0", + "object-assign": "^4.0.1" + } + }, + "scratch-l10n": { + "version": "3.14.20220317031619", + "resolved": "https://registry.npmjs.org/scratch-l10n/-/scratch-l10n-3.14.20220317031619.tgz", + "integrity": "sha512-tDKXRFxKFob9htBeOu+873mujoePXc4sGQulWDdMVCM8cYz63geCWziX5fCwp2pu3pJKQLEth0ftd2eoXkT1RA==", + "dev": true, + "requires": { + "@babel/cli": "^7.1.2", + "@babel/core": "^7.1.2", + "babel-plugin-react-intl": "^3.0.1", + "transifex": "1.6.6" + } + }, + "source-map": { + "version": "0.1.43", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", + "integrity": "sha512-VtCvB9SIQhk3aF6h+N85EaqIaBFIAfZ9Cu+NJHHVvc8BbEcnvDcFw6sqQ2dQrT6SlOrZq3tIvyD9+EGq/lJryQ==", + "dev": true, + "requires": { + "amdefine": ">=0.0.4" + } + } + } + }, "cdt2d": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/cdt2d/-/cdt2d-1.0.0.tgz", @@ -37486,6 +37702,43 @@ "gud": "^1.0.0" } }, + "cross-fetch": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz", + "integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==", + "requires": { + "node-fetch": "2.6.7" + }, + "dependencies": { + "node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "requires": { + "whatwg-url": "^5.0.0" + } + }, + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + }, + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + }, + "whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + } + } + }, "cross-spawn": { "version": "6.0.5", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", @@ -50300,7 +50553,8 @@ "regenerator-runtime": { "version": "0.13.9", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", + "dev": true }, "regenerator-transform": { "version": "0.10.1", @@ -51709,21 +51963,21 @@ } }, "scratch-blocks": { - "version": "0.1.0-prerelease.20230312094058", - "resolved": "https://registry.npmjs.org/scratch-blocks/-/scratch-blocks-0.1.0-prerelease.20230312094058.tgz", - "integrity": "sha512-G58oYfEfrEvyi4K471Lkj5GQ/gAHtwS1zB3Jbt0AqIdS+8jm25rvc4tD6qw+ip+yDS6b3wULI7f8rzYCa0W4Zw==", + "version": "0.1.0-prerelease.20230326090609", + "resolved": "https://registry.npmjs.org/scratch-blocks/-/scratch-blocks-0.1.0-prerelease.20230326090609.tgz", + "integrity": "sha512-xzUHK3P98uUlwZonIW/kz9KYMxwvGpwocT8t/QFXEUsQpGIWuVMVDD8GiyKmtPN4ZhtNd/BjQSpa+Uv9wRwmcg==", "dev": true, "requires": { "exports-loader": "0.7.0", "google-closure-library": "20190301.0.0", "imports-loader": "0.8.0", - "scratch-l10n": "3.15.20230312032149" + "scratch-l10n": "3.15.20230326032128" }, "dependencies": { "scratch-l10n": { - "version": "3.15.20230312032149", - "resolved": "https://registry.npmjs.org/scratch-l10n/-/scratch-l10n-3.15.20230312032149.tgz", - "integrity": "sha512-fpQiYj3/reI5A5nEcGfYfUDCSDMCRKdpdnjWWnFugAW4Cg2bLA0u8Z/Yj0iZlCJPuxFRknhz63N7OTOruZeU7g==", + "version": "3.15.20230326032128", + "resolved": "https://registry.npmjs.org/scratch-l10n/-/scratch-l10n-3.15.20230326032128.tgz", + "integrity": "sha512-eGs59KH1J+K+e1QW1fU3kudoW1GGboT7cdJoXoT5O524WSvnl2SwSaEYI1jt3mO03Za7fMy2OYTlx4W2x7UcKQ==", "dev": true, "requires": { "@babel/cli": "^7.1.2", @@ -51737,15 +51991,16 @@ } }, "scratch-gui": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/scratch-gui/-/scratch-gui-1.5.3.tgz", - "integrity": "sha512-xaO6HjYoXL4jvRBHEV52EEMrQP/n4eZpPtRdnP/T85zEWhoxO9CPrjAeIgmuaiMqsmOO4y0fxeEz6QiUvVD1Sg==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/scratch-gui/-/scratch-gui-1.8.0.tgz", + "integrity": "sha512-FFyUEBGVVO8yKZcp/tv8kn5/C9tVhbimK+WvUkTYrswZ3HLz8mqpgXmM7shYKwb03pqv1uxpU/XwiU9OSur5Yw==", "dev": true, "requires": { "arraybuffer-loader": "^1.0.6", "autoprefixer": "^9.0.1", "base64-loader": "1.0.0", "bowser": "1.9.4", + "cat-blocks": "npm:scratch-blocks@0.1.0-prerelease.20220318143026", "classnames": "2.2.6", "computed-style-to-inline-style": "3.0.0", "copy-webpack-plugin": "6.4.1", @@ -51790,14 +52045,14 @@ "redux": "3.7.2", "redux-throttle": "0.1.1", "scratch-audio": "0.1.0-prerelease.20221123180128", - "scratch-blocks": "0.1.0-prerelease.20230312094058", - "scratch-l10n": "3.15.20230312032149", - "scratch-paint": "1.1.31", - "scratch-render": "0.1.0-prerelease.20230221152523", + "scratch-blocks": "0.1.0-prerelease.20230326090609", + "scratch-l10n": "3.15.20230326032128", + "scratch-paint": "1.1.38", + "scratch-render": "0.1.0-prerelease.20230318150639", "scratch-render-fonts": "1.0.0-prerelease.20221102164332", - "scratch-storage": "2.1.0", + "scratch-storage": "2.2.0", "scratch-svg-renderer": "0.2.0-prerelease.20230224194137", - "scratch-vm": "1.4.6", + "scratch-vm": "1.5.10", "startaudiocontext": "1.2.1", "style-loader": "^0.23.0", "text-encoding": "0.7.0", @@ -52062,9 +52317,9 @@ } }, "scratch-l10n": { - "version": "3.15.20230312032149", - "resolved": "https://registry.npmjs.org/scratch-l10n/-/scratch-l10n-3.15.20230312032149.tgz", - "integrity": "sha512-fpQiYj3/reI5A5nEcGfYfUDCSDMCRKdpdnjWWnFugAW4Cg2bLA0u8Z/Yj0iZlCJPuxFRknhz63N7OTOruZeU7g==", + "version": "3.15.20230326032128", + "resolved": "https://registry.npmjs.org/scratch-l10n/-/scratch-l10n-3.15.20230326032128.tgz", + "integrity": "sha512-eGs59KH1J+K+e1QW1fU3kudoW1GGboT7cdJoXoT5O524WSvnl2SwSaEYI1jt3mO03Za7fMy2OYTlx4W2x7UcKQ==", "dev": true, "requires": { "@babel/cli": "^7.1.2", @@ -52076,9 +52331,9 @@ } }, "scratch-paint": { - "version": "1.1.31", - "resolved": "https://registry.npmjs.org/scratch-paint/-/scratch-paint-1.1.31.tgz", - "integrity": "sha512-yfKgYJVsNmBHQoSh3bZNjcVQ78qAIgQeX820fe5LthuMMn7DE1syUwD56IPFJWhGrR0ykp8Fsf038bbxNuZZfw==", + "version": "1.1.38", + "resolved": "https://registry.npmjs.org/scratch-paint/-/scratch-paint-1.1.38.tgz", + "integrity": "sha512-fB/ltIMqkIWq68LtzhES+RxaK8eetwwOU2ZsuPab5Ggy624lqpK6LHIPgr55FS8AGM5NNC9nD5jQVbdZ7EBzPQ==", "dev": true, "requires": { "@scratch/paper": "0.11.20200728195508", @@ -52099,20 +52354,6 @@ } } }, - "scratch-svg-renderer": { - "version": "0.2.0-prerelease.20230224194137", - "resolved": "https://registry.npmjs.org/scratch-svg-renderer/-/scratch-svg-renderer-0.2.0-prerelease.20230224194137.tgz", - "integrity": "sha512-NhsWkc0ci5R7ZH9Z7j6crI69Oe9XtNlp4u+Q6bOoLicGHJBnNeDeD2/w2ySxiYnnhJI9KioByvAoOwxZnEA+0Q==", - "dev": true, - "requires": { - "base64-js": "1.2.1", - "base64-loader": "1.0.0", - "dompurify": "2.2.7", - "fastestsmallesttextencoderdecoder": "^1.0.22", - "minilog": "3.1.0", - "transformation-matrix": "1.15.0" - } - }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -52153,9 +52394,9 @@ } }, "scratch-l10n": { - "version": "3.15.20230313032122", - "resolved": "https://registry.npmjs.org/scratch-l10n/-/scratch-l10n-3.15.20230313032122.tgz", - "integrity": "sha512-cxtlaLTbFUybXR7Y74oBDxm5jVRPHg3bTATeQ7QeZrcG5Pa+Ys013m4NpoH8qQmaVHx3b8DOqgDhBWOHKifLyQ==", + "version": "3.15.20230327032134", + "resolved": "https://registry.npmjs.org/scratch-l10n/-/scratch-l10n-3.15.20230327032134.tgz", + "integrity": "sha512-5Y5F+vXEqz1GVqJ2IRsQCjyrJV7f99akFSIwfXBdSfty1h8KUP9K+RhDz8zZaXzeZq/SlMLM0LMsrG0KQSyTuA==", "dev": true, "requires": { "@babel/cli": "^7.1.2", @@ -52189,9 +52430,9 @@ } }, "scratch-render": { - "version": "0.1.0-prerelease.20230221152523", - "resolved": "https://registry.npmjs.org/scratch-render/-/scratch-render-0.1.0-prerelease.20230221152523.tgz", - "integrity": "sha512-h8BStWgU0uguli98sTlvY2vdTM9LAhyo5M24iVATwoijNhGFfwaR3acpolgGuDMV3GaJILCl6kuMei0CCbC7bw==", + "version": "0.1.0-prerelease.20230318150639", + "resolved": "https://registry.npmjs.org/scratch-render/-/scratch-render-0.1.0-prerelease.20230318150639.tgz", + "integrity": "sha512-NmetrU5Ubyik9T3g4L4pbyYYjTERQ2QxxtevgBmCGxIJgMQskmtImAsISC6Qko21YQWPQNG9X/BEJluhJG6CZA==", "dev": true, "requires": { "grapheme-breaker": "0.3.2", @@ -52201,7 +52442,7 @@ "minilog": "3.1.0", "raw-loader": "^0.5.1", "scratch-storage": "^1.0.0", - "scratch-svg-renderer": "0.2.0-prerelease.20221120235613", + "scratch-svg-renderer": "0.2.0-prerelease.20230224194137", "twgl.js": "4.4.0" }, "dependencies": { @@ -52280,12 +52521,14 @@ } }, "scratch-storage": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/scratch-storage/-/scratch-storage-2.1.0.tgz", - "integrity": "sha512-ovT5Q7mgwNDxBI69RgtZKbTBkHcUlUad/9JpCPkvc/ol+kBTG/ILzJOhBkPwj54aeadKgLufsW37UrKNL6ex/w==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/scratch-storage/-/scratch-storage-2.2.0.tgz", + "integrity": "sha512-d2DzApJ9cSlQ42/cEKDD/lfYIocHMskWrOQ5VED6tKgiHirjRZSPflUIfWL8lY5LxE3HSBc/Z7pS3Yvqe/iCGA==", "requires": { + "@babel/runtime": "7.21.0", "arraybuffer-loader": "^1.0.3", "base64-js": "1.3.0", + "cross-fetch": "3.1.5", "fastestsmallesttextencoderdecoder": "^1.0.7", "js-md5": "0.7.3", "minilog": "3.1.0", @@ -52313,9 +52556,9 @@ } }, "scratch-svg-renderer": { - "version": "0.2.0-prerelease.20221120235613", - "resolved": "https://registry.npmjs.org/scratch-svg-renderer/-/scratch-svg-renderer-0.2.0-prerelease.20221120235613.tgz", - "integrity": "sha512-aC7P37PgYYPQyC6pyxKeNAzgKeOfTdymOdGgaRLp5YpaGoLPHLrRXC6nHc4arhUk51Y9cZ46PPnfYEVw7QqOeg==", + "version": "0.2.0-prerelease.20230224194137", + "resolved": "https://registry.npmjs.org/scratch-svg-renderer/-/scratch-svg-renderer-0.2.0-prerelease.20230224194137.tgz", + "integrity": "sha512-NhsWkc0ci5R7ZH9Z7j6crI69Oe9XtNlp4u+Q6bOoLicGHJBnNeDeD2/w2ySxiYnnhJI9KioByvAoOwxZnEA+0Q==", "dev": true, "requires": { "base64-js": "1.2.1", @@ -52350,9 +52593,9 @@ "dev": true }, "scratch-vm": { - "version": "1.4.6", - "resolved": "https://registry.npmjs.org/scratch-vm/-/scratch-vm-1.4.6.tgz", - "integrity": "sha512-ZBglmQ6vcjBlHTnf/1QGYdYWELrxDGdwcrgKsvjwl3jbWqXakLsxOZ018Js2dzlQPWTDafbDrxQJ5T1+vA4Fag==", + "version": "1.5.10", + "resolved": "https://registry.npmjs.org/scratch-vm/-/scratch-vm-1.5.10.tgz", + "integrity": "sha512-XHRxoTBWKIBymLqcelAeYdIJz6i7t/Av6Z7nOH1nCHourR1mvNs23Xk7ospFu9LVDTtLGVq9LkKgckqsG8SKuA==", "dev": true, "requires": { "@vernier/godirect": "1.5.0", diff --git a/package.json b/package.json index 1a3d7282f..6995bf68e 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "react-twitter-embed": "^3.0.3", "react-use": "^17.3.1", "scratch-parser": "5.1.1", - "scratch-storage": "2.1.0" + "scratch-storage": "2.2.0" }, "devDependencies": { "@formatjs/intl-datetimeformat": "6.4.3", @@ -136,8 +136,8 @@ "regenerator-runtime": "0.13.9", "sass": "1.49.7", "sass-loader": "10.2.1", - "scratch-gui": "1.5.3", - "scratch-l10n": "3.15.20230313032122", + "scratch-gui": "1.8.0", + "scratch-l10n": "3.15.20230327032134", "selenium-webdriver": "4.1.0", "slick-carousel": "1.6.0", "style-loader": "0.12.3", diff --git a/src/views/preview/project-view.jsx b/src/views/preview/project-view.jsx index fab4edb48..5590eaa32 100644 --- a/src/views/preview/project-view.jsx +++ b/src/views/preview/project-view.jsx @@ -860,6 +860,7 @@ class Preview extends React.Component { enableCommunity={this.props.enableCommunity} hasCloudPermission={this.props.isScratcher} isShared={this.props.isShared} + isTotallyNormal={this.props.isTotallyNormal} projectHost={this.props.projectHost} projectToken={this.props.projectInfo.project_token} projectId={this.state.projectId}