Sync#4
Open
akku1139 wants to merge 968 commits into
Open
Conversation
Also remove eslint@^8 plugins/helpers. This commit by itself will break linting! Followup needed: - Upgrade to eslint@^9-compatible version of eslint-config-scratch - Migrate config files - Maybe fix some legacy linting rules
Update to eslint@^9 and eslint-config-scratch@^12
## [4.0.23](v4.0.22...v4.0.23) (2025-10-23) ### Bug Fixes * **deps:** update eslint-config-scratch to v12, fix errors ([d6dce8a](d6dce8a))
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…tions-gh-pages-4.x chore(deps): update peaceiris/actions-gh-pages action to v4
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
## [4.0.24](v4.0.23...v4.0.24) (2025-10-24) ### Bug Fixes * **deps:** update dependency scratch-l10n to v6.0.71 ([#3380](#3380)) ([637df36](637df36))
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
## [4.0.25](v4.0.24...v4.0.25) (2025-10-26) ### Bug Fixes * **deps:** update dependency scratch-l10n to v6.0.72 ([#3382](#3382)) ([10dcf8f](10dcf8f))
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
## [4.0.26](v4.0.25...v4.0.26) (2025-10-27) ### Bug Fixes * **deps:** update dependency scratch-l10n to v6.0.73 ([#3385](#3385)) ([46f6dff](46f6dff))
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
## [4.0.27](v4.0.26...v4.0.27) (2025-10-28) ### Bug Fixes * **deps:** update dependency scratch-l10n to v6.0.74 ([#3387](#3387)) ([22409c8](22409c8))
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
# [4.1.0](v4.0.27...v4.1.0) (2025-10-31) ### Features * **deps:** update dependency scratch-l10n to v6.1.1 ([#3390](#3390)) ([592fbc6](592fbc6))
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
## [4.1.1](v4.1.0...v4.1.1) (2025-10-31) ### Bug Fixes * **deps:** update dependency scratch-l10n to v6.1.2 ([#3392](#3392)) ([fc42ab1](fc42ab1))
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
## [4.1.2](v4.1.1...v4.1.2) (2025-11-01) ### Bug Fixes * **deps:** lock file maintenance ([#3389](#3389)) ([4a6ecc7](4a6ecc7))
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
## [4.1.3](v4.1.2...v4.1.3) (2025-11-01) ### Bug Fixes * **deps:** update dependency scratch-l10n to v6.1.3 ([#3393](#3393)) ([0f71db0](0f71db0))
…#3537) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
## [4.1.53](v4.1.52...v4.1.53) (2026-05-05) ### Bug Fixes * **deps:** update dependency @scratch/scratch-svg-renderer to v13.7.3 ([#3537](#3537)) ([f251bce](f251bce))
paper.project.importSVG synchronously calls JSON.parse on every data-paper-data attribute it encounters, and synchronously throws on malformed values — one bad attribute on an unrelated element aborts the entire SVG import. Strip those attributes (preserving valid ones, which paper-itself uses to round-trip item.data through SVG) so a single corrupted attribute can't take the import path down.
paper-canvas.jsx was parsing the SVG twice — once inside stripInvalidPaperData and again immediately after for viewBox. Hoist the parse to the call site so both reads share one Document, and re-serialize only when the strip modified it. The helper's API becomes (Document) -> boolean, mutating in place. The string-includes fast path is no longer needed: querySelectorAll on a parsed Document is already cheap, and the call site parses unconditionally for viewBox.
…er-data fix: strip data-paper-data attributes whose value isn't valid JSON
## [4.1.54](v4.1.53...v4.1.54) (2026-05-07) ### Bug Fixes * drop data-paper-data attributes whose value isn't valid JSON ([de6907b](de6907b)) ### Performance Improvements * parse SVG once for viewBox and data-paper-data strip ([4d22659](4d22659))
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Resolved conflicts: - .nvmrc: kept develop's newer 24.15.0 - package.json: kept PR's webpack 5 stack and scratch-webpack-configuration; picked up develop's canvas 3.2.3 and tap 21.7.2 - webpack.config.js: kept PR's ScratchWebpackConfigBuilder structure; added @scratch/scratch-svg-renderer to library externals (carried from develop) - package-lock.json: regenerated against the merged package.json
…-v5-upgrade Feat/uepr 156 webpack v5 upgrade
#3272) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
## [4.2.1](v4.2.0...v4.2.1) (2026-05-17) ### Bug Fixes * **deps:** update dependency scratch-l10n to v6.1.76 ([#3545](#3545)) ([7217941](7217941))
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
## [4.2.2](v4.2.1...v4.2.2) (2026-05-18) ### Bug Fixes * **deps:** update dependency scratch-l10n to v6.1.77 ([#3546](#3546)) ([cbad10d](cbad10d))
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.