Update JS dependencies - #430
Merged
Merged
Conversation
FlorentinD
commented
Aug 14, 2026
Collaborator
- chore(js-applet): bump patch/minor deps (Phase A)
- chore(js-applet): bump typescript to 7.0.2 (Phase B1)
- chore(js-applet): bump vite toolchain to v8 (Phase B2)
- chore(js-applet): bump jsdom/concurrently/@types/node (Phase B3)
- chore(js-applet): bump @neo4j-ndl/react-graph to 2.1.3 (Phase B4)
- Adjust scripts to use uv
Bump @anywidget/react, @neo4j-ndl/{base,react}, @neo4j-nvl/*,
react/react-dom, @types/react(-dom), vite-plugin-singlefile.
Pin vitest to ~4.0.0 (4.1.x needs vite 8; bumped in a later phase).
Update test render calls for new anywidget RenderProps (signal/host).
Rebuild checked-in JS artifacts.
Co-Authored-By: Claude <noreply@anthropic.com>
No type errors under TS 7 (skipLibCheck + already-modern strict config). No artifact changes (esbuild transpilation unaffected by TS version). Co-Authored-By: Claude <noreply@anthropic.com>
vite ^6.3.5 -> ^8.2.1, @vitejs/plugin-react ^4.5.2 -> ^6.0.5, @anywidget/vite ^0.2.2 -> ^0.3.0, vitest ~4.0.0 -> ^4.1.10. vitest 4.1.x requires vite 8 (resolves the yarn-classic 'could not find a copy of vite to link' peer-dep conflict). Replace deprecated rollupOptions.output.inlineDynamicImports:true with codeSplitting:false in vite.config.ts and vite.config.streamlit.ts. Rebuild checked-in JS artifacts. Co-Authored-By: Claude <noreply@anthropic.com>
jsdom ^29.1.1 -> ^30.0.1, concurrently ^9.2.1 -> ^10.0.4, @types/node ^25.2.3 -> ^26.2.0. Keep @tanstack/react-table at ^8.21.3: it is a pinned peer dep of @neo4j-ndl/react@4.18.4 (data-grid imports it); bumping to v9 would violate the peer and break the data-grid. No artifact changes. Note: jsdom 30 requires node ^22.22.2 || ^24.15.0 || >=26; CI's node-version lts/* (22.x latest) satisfies this. Co-Authored-By: Claude <noreply@anthropic.com>
v2 is API-compatible with our usage: the GraphVisualization component, its dot-notation sub-components, and the NeoNode/NeoRel/PortableProperty/ Gesture/GraphSelection types are all unchanged - no source edits needed. All peer deps satisfied (react 19.2.8, @neo4j-nvl 1.2.1, @neo4j-ndl base 4.17.4 / react 4.18.4). Rebuild checked-in JS artifacts (leaner bundle: 4832 vs 5230 modules). Co-Authored-By: Claude <noreply@anthropic.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.