chore: bump July dependency batch (usemoss/moss#357–#377)#407
chore: bump July dependency batch (usemoss/moss#357–#377)#407samanyugoyal2010 wants to merge 7 commits into
Conversation
Update pydantic-settings, protobufjs, js-yaml, nltk, esbuild, cryptography, vite, starlette, undici, python-multipart, PyJWT, and aiohttp to latest across manifests and lockfiles. Refs: usemoss#357 usemoss#358 usemoss#359 usemoss#360 usemoss#361 usemoss#362 usemoss#363 usemoss#364 usemoss#366 usemoss#374 usemoss#375 usemoss#377 Co-authored-by: Cursor <cursoragent@cursor.com>
Pin undici to ^7.28.0 (latest compatible with jsdom) and add @vue/language-core so vitepress-plugin and next-js tests pass. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Pull request overview
This PR updates a July batch of dependencies across the repository’s JavaScript/TypeScript (npm/pnpm) and Python (uv) environments, aligning transitive dependency versions via overrides and refreshing lockfiles used by SDKs, packages, apps, and examples.
Changes:
- Added/expanded JS dependency
overrides(and pnpm workspace overrides) to standardize versions likevite,esbuild,js-yaml,protobufjs, andundiciacross multiple workspaces. - Refreshed multiple
package-lock.jsonanduv.lockfiles to reflect updated resolved versions (e.g.,aiohttp,PyJWT,cryptography,starlette). - Minor housekeeping updates (e.g.,
.gitignorefor.pnpm-store/, minimum versions in a Pythonrequirements.txt).
Reviewed changes
Copilot reviewed 21 out of 74 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
sdks/javascript/sdk/package.json |
Adds npm overrides to enforce updated transitive dependency versions for the JS SDK. |
sdks/javascript/bindings/package.json |
Adds npm overrides for the N-API bindings package dependency tree. |
sdks/javascript/bindings/package-lock.json |
Updates resolved versions (notably js-yaml → 5.2.1 and bin path change to .mjs). |
packages/vitepress-plugin-moss/pnpm-workspace.yaml |
Introduces pnpm workspace overrides for the plugin workspace. |
packages/vitepress-plugin-moss/package.json |
Updates Vite-related dependencies/peer range and adds overrides used during local installs. |
packages/vitepress-plugin-moss/demo-site/pnpm-workspace.yaml |
Adds pnpm workspace overrides for the demo site. |
packages/vitepress-plugin-moss/demo-site/package.json |
Moves/expands dependency overrides used during local demo-site installs. |
packages/vitepress-plugin-moss/demo-site/documentation/pnpm-workspace.yaml |
Adds pnpm workspace overrides for documentation sub-workspace. |
packages/vitepress-plugin-moss/demo-site/documentation/package.json |
Adds dependency overrides for documentation site tooling. |
packages/vitepress-plugin-moss/demo-site/documentation/package-lock.json |
Updates resolved tooling deps (e.g., vite and rolldown patch bumps). |
packages/vercel-sdk/package.json |
Adds npm overrides to align transitive versions in this package. |
packages/moss-md-indexer/pnpm-workspace.yaml |
Adds pnpm workspace overrides for the md-indexer package. |
packages/moss-md-indexer/package.json |
Updates/expands overrides (including undici, vite, js-yaml, protobufjs). |
packages/moss-md-indexer/example/pnpm-workspace.yaml |
Adds pnpm workspace overrides for the example workspace. |
packages/moss-md-indexer/example/package.json |
Adds overrides to keep example tooling versions aligned. |
packages/moss-data-connector/moss-connector-supabase/uv.lock |
Updates Python lockfile entries (e.g., cryptography/pyjwt, metadata constraints). |
packages/moss-data-connector/moss-connector-sqlite/uv.lock |
Updates Python lockfile metadata constraints (e.g., exceptiongroup markers). |
packages/moss-data-connector/moss-connector-mongodb/uv.lock |
Updates Python lockfile metadata constraints (e.g., exceptiongroup markers). |
packages/mastra-moss/package.json |
Adds npm overrides to align transitive deps. |
package.json |
Updates root overrides to newer versions for tooling dependencies. |
moss-live-labs/python/uv.lock |
Updates lock metadata (e.g., minimum moss version spec). |
moss-live-labs/examples/voice-agent/uv.lock |
Updates aiohttp and pyjwt resolved versions. |
moss-live-labs/examples/semantic-cache/uv.lock |
Updates lockfile dependency markers for exceptiongroup. |
moss-live-labs/examples/image-search/setup-py/uv.lock |
Updates lock metadata (e.g., minimum moss spec and markers). |
moss-live-labs/examples/image-search/setup-js/package.json |
Updates overrides (notably protobufjs) and adds several new override pins. |
moss-live-labs/examples/image-search/setup-js/package-lock.json |
Updates resolved versions (including @moss-dev/moss/moss-core, tooling deps). |
moss-live-labs/examples/image-search/react-app/package.json |
Bumps vite patch and adds overrides to align transitive deps. |
moss-live-labs/examples/image-search/react-app/package-lock.json |
Updates resolved tooling deps (e.g., vite, rolldown, js-yaml). |
moss-live-labs/examples/image-search/backend-py/uv.lock |
Updates starlette and lockfile markers. |
examples/voice-agents/insurance-adjuster/uv.lock |
Updates lockfile markers and dependency marker changes for onnxruntime deps. |
examples/voice-agents/insurance-adjuster/ui/package.json |
Adds overrides to align tooling dependencies. |
examples/voice-agents/insurance-adjuster/ui/package-lock.json |
Updates resolved js-yaml and related metadata. |
examples/moss-pikachu/promo/package.json |
Adds overrides block for aligned tooling deps. |
examples/moss-pikachu/promo/package-lock.json |
Updates resolved js-yaml and related metadata. |
examples/javascript/package.json |
Expands overrides beyond minimatch to additional tooling deps. |
examples/javascript/package-lock.json |
Updates resolved js-yaml and bin path metadata. |
examples/javascript-web/package.json |
Bumps vite and adds overrides for aligned tooling deps. |
examples/javascript-web/package-lock.json |
Updates a broad set of resolved tooling deps after the version bumps. |
examples/cookbook/smolagents/uv.lock |
Updates lockfile markers for exceptiongroup. |
examples/cookbook/sim/uv.lock |
Updates starlette and lockfile markers. |
examples/cookbook/mastra/package.json |
Adds overrides for aligned tooling deps. |
examples/cookbook/mastra/package-lock.json |
Updates lockfile root dependency spec (@moss-dev/moss) and resolved transitive deps. |
apps/vapi-moss/uv.lock |
Updates starlette and lockfile markers. |
apps/next-js/package.json |
Expands overrides to align tooling deps used in this app. |
apps/moss-vscode/promo/package.json |
Adds overrides for aligned tooling deps. |
apps/moss-vscode/promo/package-lock.json |
Updates resolved js-yaml and metadata. |
apps/moss-vscode/package.json |
Adds overrides for aligned tooling deps in the VS Code extension. |
apps/moss-vscode/package-lock.json |
Updates resolved dependency tree; undici appears with Node engine metadata. |
apps/moss-llamaindex/backend/requirements.txt |
Adds minimum versions for python-multipart and nltk. |
apps/elevenlabs-moss/uv.lock |
Updates lockfile markers and minimum moss spec in metadata. |
.gitignore |
Ignores local pnpm store directory .pnpm-store/. |
Files not reviewed (15)
- apps/moss-vscode/package-lock.json: Generated file
- apps/moss-vscode/promo/package-lock.json: Generated file
- examples/cookbook/mastra/package-lock.json: Generated file
- examples/javascript-web/package-lock.json: Generated file
- examples/javascript/package-lock.json: Generated file
- examples/moss-pikachu/promo/package-lock.json: Generated file
- examples/voice-agents/insurance-adjuster/ui/package-lock.json: Generated file
- moss-live-labs/examples/image-search/react-app/package-lock.json: Generated file
- moss-live-labs/examples/image-search/setup-js/package-lock.json: Generated file
- packages/mastra-moss/package-lock.json: Generated file
- packages/moss-md-indexer/example/pnpm-lock.yaml: Generated file
- packages/moss-md-indexer/pnpm-lock.yaml: Generated file
- packages/vercel-sdk/package-lock.json: Generated file
- packages/vitepress-plugin-moss/demo-site/documentation/package-lock.json: Generated file
- packages/vitepress-plugin-moss/demo-site/documentation/pnpm-lock.yaml: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
@samanyugoyal2010 I have started the AI code review. It will take a few minutes to complete. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
@cubic-dev-ai review this pull request |
@samanyugoyal2010 I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
6 issues found across 74 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="examples/moss-pikachu/promo/package.json">
<violation number="1" location="examples/moss-pikachu/promo/package.json:39">
P2: The Undici override misses this batch's requested 8.7.0 upgrade and will keep any matching transitive dependency on the 7.x line. Aligning the override with 8.7.0 keeps the manifest consistent with the stated dependency update.</violation>
</file>
<file name="packages/moss-md-indexer/example/pnpm-workspace.yaml">
<violation number="1" location="packages/moss-md-indexer/example/pnpm-workspace.yaml:7">
P2: The example workspace still installs undici 7.28.0, so this part of the advertised 8.7.0 dependency update is not applied. Align this override with the batch target and regenerate the lockfile.</violation>
</file>
<file name="examples/cookbook/mastra/package.json">
<violation number="1" location="examples/cookbook/mastra/package.json:26">
P2: The Undici update remains on major 7 even though this batch declares 8.7.0 as its target. Using `^8.7.0` keeps this manifest aligned with the stated dependency update.</violation>
</file>
<file name="packages/moss-md-indexer/pnpm-workspace.yaml">
<violation number="1" location="packages/moss-md-indexer/pnpm-workspace.yaml:7">
P2: The Undici bump described by this PR is not applied here; this override keeps the workspace on the 7.x line and the lockfile resolves 7.28.0. Align this value with the intended 8.7.0 target, after reconciling its Node engine requirement.</violation>
</file>
<file name="packages/mastra-moss/package.json">
<violation number="1" location="packages/mastra-moss/package.json:47">
P2: Published `@moss-tools/mastra` consumers will not receive these dependency remediations because npm ignores `overrides` from installed packages; the local lockfile also has no Undici or protobufjs to override. Runtime constraints should be applied through actual dependencies/upstream packages, while irrelevant local overrides should be omitted.</violation>
</file>
<file name="packages/moss-md-indexer/example/package.json">
<violation number="1" location="packages/moss-md-indexer/example/package.json:22">
P1: Node 18 users of the documented example now receive an unsupported undici through Cheerio because this override requires Node 20.18.1+. Consider retaining a Node-18-compatible undici major or explicitly raising the package requirement, and keep the workspace override in sync.</violation>
</file>
Tip: instead of fixing issues one by one fix them all with cubic
Re-trigger cubic
Restore Vite 6 for VitePress peers, remove inert overrides, pin js-yaml 3.x under gray-matter, keep undici on 7.28.0 for jsdom, and move .pnpm-store next to node_modules in .gitignore. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
All reported issues were addressed across 46 files (changes from recent commits).
Tip: instead of fixing issues one by one fix them all with cubic
Tip: Review your code locally with the cubic CLI to iterate faster.
Re-trigger cubic
Replace gray-matter with @gr2m fork (js-yaml 4), regenerate locks, align Vite/esbuild ranges, trim dead overrides, bound minimatch pins, and set allowBuilds.esbuild to a real boolean. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
1 issue found across 24 files (changes from recent commits).
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="packages/moss-md-indexer/package.json">
<violation number="1">
P3: The gray-matter override in this package.json's `overrides` section is redundant. The dependency is already declared as `"npm:@gr2m/gray-matter@4.0.3-with-pr-137"` in `dependencies`, so pnpm already resolves `import ... from 'gray-matter'` to the fork. And the `pnpm-workspace.yaml` already has the same override for all workspace packages, covering any transitive gray-matter resolutions. The duplicate in `overrides` adds no behavioral effect and creates a maintainability hazard — if the fork version is updated later, the override in this file could drift out of sync with the dependency declaration. Consider removing it.</violation>
</file>
Tip: Review your code locally with the cubic CLI to iterate faster.
Fix all with cubic | Re-trigger cubic
The direct dependency already aliases @gr2m/gray-matter, and pnpm-workspace.yaml still overrides transitive gray-matter. Co-authored-by: Cursor <cursoragent@cursor.com>
|
please resolve merge conflicts |
HarshaNalluru
left a comment
There was a problem hiding this comment.
@samanyugoyal2010 merge conflicts
Resolve uv.lock conflicts by regenerating locks from merged pyproject manifests while keeping intentional July dependency pins. Co-authored-by: Cursor <cursoragent@cursor.com>
|
@HarshaNalluru the issue should be fixed now |
Summary
Bump the July dependency batch across manifests and lockfiles, with compatibility constraints applied where majors break consumers:
safeLoadremoved in 4+)Also removes inert overrides that did not affect install graphs, syncs
pnpm-workspace.yamloverrides for pnpm 11, and relocates.pnpm-store/next tonode_modules/in.gitignore.Issues
Closes #357
Closes #358
Closes #359
Closes #360
Closes #361
Closes #362
Closes #363
Closes #364
Closes #366
Closes #374
Closes #375
Closes #377
Pull Request Checklist
Please ensure that your PR meets the following requirements:
Type of Change