From 6c8bd09000d5efcca43b491664d80cb91a1308fe Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 15:41:10 +0000 Subject: [PATCH] fix(deps): update dependency scratch-render to v2 --- package-lock.json | 54 +++++++++++++++++++++++++++++++++++++++++------ package.json | 2 +- 2 files changed, 49 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 915bf0903e8..8ead3386cd2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -63,7 +63,7 @@ "scratch-blocks": "^1.1.6", "scratch-l10n": "^5.0.0", "scratch-paint": "^2.2.151", - "scratch-render": "^1.0.233", + "scratch-render": "^2.0.0", "scratch-render-fonts": "^1.0.2", "scratch-storage": "^2.3.1", "scratch-svg-renderer": "^2.3.102", @@ -25660,10 +25660,10 @@ } }, "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", + "version": "2.0.22", + "resolved": "https://registry.npmjs.org/scratch-render/-/scratch-render-2.0.22.tgz", + "integrity": "sha512-WL+Ct7lP7bqVCnBqwgdvAMvqvMiJsPoXms/ZzYMSCW0ODbW+rfKBqRJQe6SxPfkpbW2iRnGTdOpBWXV684PdBw==", + "license": "AGPL-3.0-only", "dependencies": { "grapheme-breaker": "^0.3.2", "hull.js": "0.2.10", @@ -25671,7 +25671,7 @@ "linebreak": "^0.3.0", "minilog": "^3.1.0", "raw-loader": "^0.5.1", - "scratch-svg-renderer": "^2.3.102", + "scratch-svg-renderer": "^3.0.0", "twgl.js": "^4.4.0" }, "peerDependencies": { @@ -25691,6 +25691,24 @@ "resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-0.5.1.tgz", "integrity": "sha512-sf7oGoLuaYAScB4VGr0tzetsYlS8EJH6qnTCfQ/WVEa89hALQ4RQfCKt5xCyPQKPDUbVUAIP1QsxAwfAjlDp7Q==" }, + "node_modules/scratch-render/node_modules/scratch-svg-renderer": { + "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", + "css-tree": "^1.1.3", + "fastestsmallesttextencoderdecoder": "^1.0.22", + "isomorphic-dompurify": "^2.4.0", + "minilog": "^3.1.0", + "transformation-matrix": "^1.15.0" + }, + "peerDependencies": { + "scratch-render-fonts": "^1.0.0" + } + }, "node_modules/scratch-sb1-converter": { "version": "1.0.324", "resolved": "https://registry.npmjs.org/scratch-sb1-converter/-/scratch-sb1-converter-1.0.324.tgz", @@ -26715,6 +26733,11 @@ "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", @@ -26726,6 +26749,25 @@ "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", diff --git a/package.json b/package.json index 6b2e06a8755..a06548bf348 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "scratch-blocks": "^1.1.6", "scratch-l10n": "^5.0.0", "scratch-paint": "^2.2.151", - "scratch-render": "^1.0.233", + "scratch-render": "^2.0.0", "scratch-render-fonts": "^1.0.2", "scratch-storage": "^2.3.1", "scratch-svg-renderer": "^2.3.102",