chore: update deps pt 1#379
Merged
Merged
Conversation
Refresh dependencies to the latest versions allowed by their existing semver ranges, and address the resulting breakage: - core/2d: add an explicit `lib: es2022`. Array.prototype.at only compiled before via a transitive type augmentation that the refreshed dependency tree no longer pulls in; make the requirement explicit. - ffmpeg: adapt to @types/fluent-ffmpeg 2.1.28 — the `end` callback is now typed, and the `stdout` handlers referenced an event fluent-ffmpeg never emits, so drop them. - 2d/ui: pin preact and @preact/signals to their current versions; the in-range minor bumps tighten preact's JSX types and break the editor build. Deferred to the signals 1->2 major. - pin prettier and prettier-plugin-organize-imports to their current versions; the minor bumps reformat 47 files repo-wide, which belongs in its own change rather than a dependency refresh.
Update isolated, single-package dependencies across a major version.
Each was verified against the repo's actual usage; none required code
changes:
- uuid 9/10 -> 14 (cli, ffmpeg, player-react, telemetry) — already
imported via the named `{v4}` export; CJS require still resolves.
- mime-types 2 -> 3 + @types/mime-types (vite-plugin)
- source-map 0.6 -> 0.7 (vite-plugin) — only SourceNode is used, still
synchronous in 0.7.
- commander 12 -> 15 (cli)
- posthog-node 4 -> 5 (telemetry)
- parse-svg-path 0.1 -> 0.2, @rollup/plugin-node-resolve 15 -> 16 (2d)
- cssnano 7 -> 8 (player-react)
- vite-plugin-dts 4 -> 5 (ui)
- eslint-plugin-tsdoc 0.2 -> 0.5 (root)
Pinning preact/@preact/signals as exact versions on 2d and ui (done in the in-range refresh) left @preact/preset-vite dragging in a second preact copy, so the editor bundle mixed two preact instances and the hooks runtime crashed (`Cannot read properties of undefined (reading '__H')`). The Viewport never mounted, so the e2e render test could not find the #render button. Revert those packages to their original caret ranges and instead force a single preact/@preact/signals version tree-wide via a root `overrides` block. This keeps the editor (which still can't build against preact's newer JSX types) on the working version without duplicating the module.
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.