Repository navigation
build(deps): bump the npm-minor-and-patch group across 1 directory with 6 updates - #929
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
| "clsx": "^2.1.1", | ||
| "docx-preview": "0.3.7", | ||
| "jszip": "^3.10.1", | ||
| "docx-preview": "0.4.1", |
There was a problem hiding this comment.
The docx-preview upgrade has no browser test for the timing assumption that keeps document-created elements from running code in the explorer page. prepareSandboxDoc explains that the renderer must build and move those elements into the scriptless frame without yielding. The existing smoke test only checks source text and explicitly cannot catch a change in that timing.
Add a browser test that renders a crafted DOCX with an event-handler payload through ArtifactDocxPreview and checks that it cannot run in the parent page. This is a non-blocking test gap, not a confirmed exploit in 0.4.1.
How this was verified: ArtifactDocxPreview passes fetched document bytes to renderAsync, while the only preview safety test reads source text rather than rendering a document.
Prompt To Fix With AI
This is a comment left during a code review.
Path: src/agent_env/explorer/ui/package.json
Line: 23
Comment:
**Renderer safety goes untested**
The `docx-preview` upgrade has no browser test for the timing assumption that keeps document-created elements from running code in the explorer page. `prepareSandboxDoc` explains that the renderer must build and move those elements into the scriptless frame without yielding. The existing smoke test only checks source text and explicitly cannot catch a change in that timing.
Add a browser test that renders a crafted DOCX with an event-handler payload through `ArtifactDocxPreview` and checks that it cannot run in the parent page. This is a non-blocking test gap, not a confirmed exploit in `0.4.1`.
**How this was verified:** `ArtifactDocxPreview` passes fetched document bytes to `renderAsync`, while the only preview safety test reads source text rather than rendering a document.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
8b14967 to
e585c12
Compare
…th 6 updates Bumps the npm-minor-and-patch group with 6 updates in the /src/agent_env/explorer/ui directory: | Package | From | To | | --- | --- | --- | | [@dagrejs/dagre](https://github.com/dagrejs/dagre) | `3.1.1` | `3.1.4` | | [@radix-ui/react-accordion](https://github.com/radix-ui/primitives/tree/HEAD/packages/react/accordion) | `1.2.20` | `1.3.1` | | [docx-preview](https://github.com/VolodymyrBaydalka/docxjs) | `0.3.7` | `0.4.1` | | [jszip](https://github.com/Stuk/jszip) | `3.10.1` | `3.10.2` | | [autoprefixer](https://github.com/postcss/autoprefixer) | `10.5.4` | `10.7.0` | | [postcss](https://github.com/postcss/postcss) | `8.5.28` | `8.5.33` | Updates `@dagrejs/dagre` from 3.1.1 to 3.1.4 - [Release notes](https://github.com/dagrejs/dagre/releases) - [Changelog](https://github.com/dagrejs/dagre/blob/master/changelog.md) - [Commits](dagrejs/dagre@v3.1.1...v3.1.4) Updates `@radix-ui/react-accordion` from 1.2.20 to 1.3.1 - [Changelog](https://github.com/radix-ui/primitives/blob/main/packages/react/accordion/CHANGELOG.md) - [Commits](https://github.com/radix-ui/primitives/commits/HEAD/packages/react/accordion) Updates `docx-preview` from 0.3.7 to 0.4.1 - [Release notes](https://github.com/VolodymyrBaydalka/docxjs/releases) - [Commits](https://github.com/VolodymyrBaydalka/docxjs/commits) Updates `jszip` from 3.10.1 to 3.10.2 - [Changelog](https://github.com/Stuk/jszip/blob/main/CHANGES.md) - [Commits](Stuk/jszip@v3.10.1...v3.10.2) Updates `autoprefixer` from 10.5.4 to 10.7.0 - [Release notes](https://github.com/postcss/autoprefixer/releases) - [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md) - [Commits](postcss/autoprefixer@10.5.4...10.7.0) Updates `postcss` from 8.5.28 to 8.5.33 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.5.28...8.5.33) --- updated-dependencies: - dependency-name: "@dagrejs/dagre" dependency-version: 3.1.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-minor-and-patch - dependency-name: "@radix-ui/react-accordion" dependency-version: 1.3.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-minor-and-patch - dependency-name: autoprefixer dependency-version: 10.7.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-minor-and-patch - dependency-name: docx-preview dependency-version: 0.4.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-minor-and-patch - dependency-name: jszip dependency-version: 3.10.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-minor-and-patch - dependency-name: postcss dependency-version: 8.5.33 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com>
e585c12 to
2b78692
Compare
Bumps the npm-minor-and-patch group with 6 updates in the /src/agent_env/explorer/ui directory:
3.1.13.1.41.2.201.3.10.3.70.4.13.10.13.10.210.5.410.7.08.5.288.5.33Updates
@dagrejs/dagrefrom 3.1.1 to 3.1.4Changelog
Sourced from @dagrejs/dagre's changelog.
... (truncated)
Commits
496afb7Bumping for releasedb740a1Merge pull request #531 from g4lb/perf-cut-value-edges778951dMerge pull request #529 from Aschenbath/fix-compound-bottom-rank-order97940cdtest: reduce compound-longest-path test to failing case7ae9bfaperf: read in-edges and out-edges directly in calcCutValued6dfa14fix: group compound subgraphs on the bottom rank877ead2Bump version and set as pre-releasea73acbfBumping for releasea037580Merge pull request #527 from dagrejs/check-release-notes17757d9Adding a check on release notes to the releaseUpdates
@radix-ui/react-accordionfrom 1.2.20 to 1.3.1Changelog
Sourced from @radix-ui/react-accordion's changelog.
Commits
Updates
docx-previewfrom 0.3.7 to 0.4.1Release notes
Sourced from docx-preview's releases.
Commits
Updates
jszipfrom 3.10.1 to 3.10.2Changelog
Sourced from jszip's changelog.
Commits
020fa33Release preparation for 3.10.2 (#974)d38fda5Fix cross-realm binary type detection in getTypeOf (#578)e682f9aFix grunt build rebundling existing dist via browser field (#971)5adef36Add missing types for JSZip.defaults (#927)41a1342Fix blob support in Node.js 18 and up (#955)643714aMove all continuous integration to GitHub Actions (#942)418c11fUpgrade Playwright to the latest version (#940)2ceb998Create FUNDING.ymlMaintainer changes
This version was pushed to npm by jkoops, a new releaser for jszip since your current version.
Updates
autoprefixerfrom 10.5.4 to 10.7.0Release notes
Sourced from autoprefixer's releases.
Changelog
Sourced from autoprefixer's changelog.
Commits
86447e6Release 10.7.0 version5d23c42Update dependenciescbeabf7Do not prefix declarations inside@supportswith supports: false (#1569)0f8eecaFix prefixed gradients with uppercase keywords and units (#1566)02d3343Add--envto the CLI (#1567)57486b2Fix crash on selector() after another@supportscondition (#1568)9cde2bfExit quietly when stdout is closed early (#1564)58135faFix case-insensitive value detection (#1563)a7dbf4dRelease 10.6.2 versionc3cd98dFix selector duplicates on multiple Autoprefixer runsUpdates
postcssfrom 8.5.28 to 8.5.33Release notes
Sourced from postcss's releases.
Changelog
Sourced from postcss's changelog.
Commits
b6316e5Release 8.5.33 version0ffa3eeUpdate dependencies46ab74aMore proper fixba705bcfix: tokenize an unquoted url() after a comma (#2195)93452dbdocs: fix typo in plugin guidelines heading (#2196)812d362docs: remove unsupported postcss-sanitize plugin (#2192)4740f8aFix CRLF line break cleanup before source map annotations (#2187)2ab84ddfix: tokenize uppercase url() as a url (#2185)17e54b7fix: show source around long lines for errors without range (#2184)2faedf9fix: include undefined in Declaration.important getter type (#2181)

Confidence Score: 5/5
The PR appears safe to merge, with the existing non-blocking browser-test gap still open.Fix with agent prompt
Summary
Updates six dependencies used by the explorer UI:
No new actionable issues were established. Builds and browser checks were not run.
Reviews (4) · Last reviewed commit: "build(deps): bump the npm-minor-and-patc..." · Reviewed by Greptile