diff --git a/package-lock.json b/package-lock.json index 538c1fa51f0..37512c3aade 100644 --- a/package-lock.json +++ b/package-lock.json @@ -67,7 +67,7 @@ "scratch-render-fonts": "^1.0.2", "scratch-storage": "^2.3.1", "scratch-svg-renderer": "^2.3.102", - "scratch-vm": "^4.5.471", + "scratch-vm": "^5.0.0", "startaudiocontext": "^1.2.1", "style-loader": "4.0.0", "to-style": "^1.3.3", @@ -25615,10 +25615,10 @@ } }, "node_modules/scratch-parser": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/scratch-parser/-/scratch-parser-5.2.1.tgz", - "integrity": "sha512-O9acef/B5MAQSB6PrEGKtbmEL1AOVZf4mYZnR0sNlzRvqqaEd+fZDL5SM7E9uQP09dIghefrm6/xmgzQIJP9Wg==", - "license": "BSD-3-Clause", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/scratch-parser/-/scratch-parser-6.0.0.tgz", + "integrity": "sha512-LXcKxJIupqBtXSe2+SXkQxwdMWg4JCdZfoSdPYj1ZtV/UhejyUYju6ptYUrr98RsLFT5UyCmmUaev8gA1SNvhQ==", + "license": "AGPL-3.0-only", "dependencies": { "ajv": "^6.3.0", "jszip": "^3.1.5", @@ -25710,10 +25710,10 @@ } }, "node_modules/scratch-sb1-converter": { - "version": "1.0.324", - "resolved": "https://registry.npmjs.org/scratch-sb1-converter/-/scratch-sb1-converter-1.0.324.tgz", - "integrity": "sha512-ZHIf2KCmYKchayLQFknni7QfXhOCI+w4Wq1wIQuN5D6xZwUyIe51/B4YO+pofOGr3tz4nnwQIjgs3AowdNKWDQ==", - "license": "BSD-3-Clause", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/scratch-sb1-converter/-/scratch-sb1-converter-2.0.6.tgz", + "integrity": "sha512-mRgwStRK6ObpeFWHOzAi+U+CCKzZJ6Ze2GTNKlKtS+Nvm6ugi6J76TupoDOmux5l6uWpyRgToyDdmeFluHqsFA==", + "license": "AGPL-3.0-only", "dependencies": { "js-md5": "^0.7.3", "minilog": "^3.1.0", @@ -26704,10 +26704,10 @@ "license": "BSD-3-Clause" }, "node_modules/scratch-vm": { - "version": "4.8.115", - "resolved": "https://registry.npmjs.org/scratch-vm/-/scratch-vm-4.8.115.tgz", - "integrity": "sha512-8kqPCiZOElfLOPSh2bgSS+JKkKsetAM2TDxlxOohje4GZp/FwIg7/F5p61TUObK75d3UKRyYw6yUfgshS2FPzA==", - "license": "BSD-3-Clause", + "version": "5.0.25", + "resolved": "https://registry.npmjs.org/scratch-vm/-/scratch-vm-5.0.25.tgz", + "integrity": "sha512-mVku/9OSLQLbCtvBWN1EmJso/rSlZs3PZDHco0bzwaXOngYDTqxkibmMMf+tEpyFfwvR2ep50kw+4Yc4+6MkEA==", + "license": "AGPL-3.0-only", "dependencies": { "@vernier/godirect": "^1.5.0", "arraybuffer-loader": "^1.0.6", @@ -26721,58 +26721,23 @@ "immutable": "^3.8.1", "jszip": "^3.1.5", "minilog": "^3.1.0", - "scratch-audio": "^1.0.6", - "scratch-parser": "^5.1.1", - "scratch-render": "^1.0.232", - "scratch-sb1-converter": "^1.0.0", + "scratch-audio": "^2.0.0", + "scratch-parser": "^6.0.0", + "scratch-render": "^2.0.0", + "scratch-sb1-converter": "^2.0.0", "scratch-storage": "^2.3.5", - "scratch-svg-renderer": "2.5.44", + "scratch-svg-renderer": "3.0.8", "scratch-translate-extension-languages": "^1.0.0", "text-encoding": "^0.7.0", "uuid": "^8.3.2", "web-worker": "^1.3.0" } }, - "node_modules/scratch-vm/node_modules/raw-loader": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-0.5.1.tgz", - "integrity": "sha512-sf7oGoLuaYAScB4VGr0tzetsYlS8EJH6qnTCfQ/WVEa89hALQ4RQfCKt5xCyPQKPDUbVUAIP1QsxAwfAjlDp7Q==" - }, - "node_modules/scratch-vm/node_modules/scratch-audio": { - "version": "1.0.332", - "resolved": "https://registry.npmjs.org/scratch-audio/-/scratch-audio-1.0.332.tgz", - "integrity": "sha512-ok9gw14R4KmYXNtJ2qrSI3PKRksTH+ROfoe8tyZTkumr+8+Coam2/inuH4aVJygRda5X7xFrERstlkZ8X8zeTQ==", - "license": "BSD-3-Clause", - "dependencies": { - "audio-context": "^1.0.1", - "minilog": "^3.0.1", - "startaudiocontext": "^1.2.1" - } - }, - "node_modules/scratch-vm/node_modules/scratch-render": { - "version": "1.2.126", - "resolved": "https://registry.npmjs.org/scratch-render/-/scratch-render-1.2.126.tgz", - "integrity": "sha512-c+DKX/Ysyv7QWpd8qO+uVqHEtAHN+8F4mAfBcm3tGZ16ATHD7h55GGg3G9gn7fNvFx8cvI/84Dz466YPmUwGQg==", - "license": "BSD-3-Clause", - "dependencies": { - "grapheme-breaker": "^0.3.2", - "hull.js": "0.2.10", - "ify-loader": "^1.0.4", - "linebreak": "^0.3.0", - "minilog": "^3.1.0", - "raw-loader": "^0.5.1", - "scratch-svg-renderer": "^2.3.102", - "twgl.js": "^4.4.0" - }, - "peerDependencies": { - "scratch-render-fonts": "^1.0.0" - } - }, "node_modules/scratch-vm/node_modules/scratch-svg-renderer": { - "version": "2.5.44", - "resolved": "https://registry.npmjs.org/scratch-svg-renderer/-/scratch-svg-renderer-2.5.44.tgz", - "integrity": "sha512-ShQhlAPNERUg98tORU0lwA8rcEXlYea0im3GhzBI9aDfKFERh/C2o2mcADrbk4wYdH1b9YV+7DswtjCRZzI7CA==", - "license": "BSD-3-Clause", + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/scratch-svg-renderer/-/scratch-svg-renderer-3.0.8.tgz", + "integrity": "sha512-dh0DB7JcHM0OWnfIofRkpOJ2cOIKV6je1hziSAzewGFVvTTnf5fw/Vs/AZa/oatfkKfit4I7FEVpTndryxo06g==", + "license": "AGPL-3.0-only", "dependencies": { "base64-js": "^1.2.1", "base64-loader": "^1.0.0", diff --git a/package.json b/package.json index 79e92c1229b..d0c953b521a 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "scratch-render-fonts": "^1.0.2", "scratch-storage": "^2.3.1", "scratch-svg-renderer": "^2.3.102", - "scratch-vm": "^4.5.471", + "scratch-vm": "^5.0.0", "startaudiocontext": "^1.2.1", "style-loader": "4.0.0", "to-style": "^1.3.3",