Repository navigation
build(deps): bump three from 0.181.1 to 0.186.1 - #2281
Conversation
aa7b374 to
9dfd9e3
Compare
|
@dependabot rebase |
9dfd9e3 to
6883c3a
Compare
|
@dependabot rebase |
6883c3a to
13313e8
Compare
|
Review: !! Note on the PR description: it says 0.181.1 → 0.181.2, but the actual diff in Where three is used in this repo:
Checked the official migration guide (181→182, 182→183) against actual usage:
Verification performed, and its actual scope:
Proposed follow-up issues (not blockers for this PR):
Confirmed safe to merge |
|
@dependabot rebase |
|
Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry! If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request |
f1779a9 to
abfa04e
Compare
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
new THREE.Timer() will throw at runtime because Timer is not a top-level three export and must be imported from the addons path.
Get a fresh assessment by requesting another Copilot review.
Review effort: Balanced
Findings: 1
Open (2)
What changed in this PR
This PR is presented as a Dependabot dependency bump for three, but it does two things: it raises the three dependency and it modifies ViewportManager.js to switch the animation loop from THREE.Clock to THREE.Timer (the Clock replacement introduced/encouraged in newer three.js releases). It fits into the ThreeEditor viewport rendering path, which drives per-frame animation updates.
Changes:
- Bump
threeinpackage.jsonandpackage-lock.json(actual target is^0.183.2, not0.181.2as the title states). - Replace
THREE.ClockwithTHREE.Timerin the viewport animation loop and feed thesetAnimationLooptimestamp intotimer.update(timestamp)before readingtimer.getDelta().
| File | Description |
|---|---|
package.json |
Updates the three dependency range (to ^0.183.2). |
package-lock.json |
Locks three to 0.183.2 with updated resolved URL/integrity. |
src/ThreeEditor/js/viewport/ViewportManager.js |
Swaps Clock for Timer in the animate loop; introduces new THREE.Timer() and timer.update(timestamp). |
Key concerns found during review:
new THREE.Timer()will throw at runtime:Timeris not a top-levelthreeexport (unlikeClock) and must be imported fromthree/examples/jsm/misc/Timer.js.- The PR title/description says
0.181.1 → 0.181.2, but the diff bumps to0.183.2, a minor-version change that also motivates the source edit.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
@dependabot rebase |
|
Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry! If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request |
|
@dependabot recreate |
Bumps [three](https://github.com/mrdoob/three.js) from 0.181.1 to 0.186.1. - [Release notes](https://github.com/mrdoob/three.js/releases) - [Commits](https://github.com/mrdoob/three.js/commits) --- updated-dependencies: - dependency-name: three dependency-version: 0.181.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
abfa04e to
62e449a
Compare
|
Verdict: Safe to merge (after applied fix) Bump: What is three.js / what changed
Problems found
Fixes (d0a5c16)
Why it's safe
|
There was a problem hiding this comment.
🔵 Needs a closer look
A three.js version jump across the r186 ESM-only boundary with bespoke Jest transform/resolution logic and runtime API changes not visible in the diff needs human verification against the full test suite and app.
1 open finding
2 resolved since last review
🧠 Review effort: Balanced
|
@martastn looks good to me, but take a look also at #2281 (comment) |


Bumps three from 0.181.1 to 0.186.1.
Commits