chore: bump July dependency batch (usemoss/moss#357–#377) - #407
chore: bump July dependency batch (usemoss/moss#357–#377)#407samanyugoyal2010 wants to merge 11 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.
All reported issues were addressed across 74 files
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 |
|
@samanyugoyal2010 please resolve all the conversations. |
|
@samanyugoyal2010 checks failing and merge conflicts |
Resolve conflicts across dependency manifests and lockfiles. Manifests: - Keep main's pnpm-workspace.yaml structure (onlyBuiltDependencies / allowBuilds / ignoredBuiltDependencies) and take the higher pin from each side; carry over the branch's undici, protobufjs and gray-matter overrides. - vitepress-plugin-moss stays a direct Vite 8 consumer per main (usemoss#398); VitePress-peer projects stay on vite ^6.4.3. - Merge the duplicate "overrides" blocks the branch introduced in 10 package.json files. The duplicate JSON key silently dropped main's block, which would have reverted its postcss / fast-uri pins. - Drop the vite ^6.4.x overrides from mastra-moss, vercel-sdk and sdks/javascript/sdk: vite is only a vitest transitive dep there, and the override downgraded main's vite 7.3.6 / 8.1.3. Lockfiles regenerated from the resolved manifests rather than merged by hand; daytona uv.lock keeps main's langsmith 0.10.10 while taking the branch's langchain and python-multipart bumps. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Codex reviewNo issues found. |
The batch dropped the "minimatch": "^9.0.7" override as an inert cleanup, but it was load-bearing: without it @typescript-eslint/typescript-estree resolved minimatch 9.0.3, below the >=9.0.7 floor main enforces, and four other subtrees fell back to 3.1.5. Restore the override alongside the new esbuild/js-yaml ones and regenerate the lockfile. All six minimatch subtrees now resolve 9.0.9, matching main. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Address three blocking review findings: - sdks/javascript/sdk: drop the global "esbuild": "^0.28.1" override. esbuild is pre-1.0, so ^0.28.1 pushed esbuild-plugin-obfuscator (declares ^0.25.5) and tsx (declares ~0.25.0) outside their supported ranges. The direct devDependency still pins top-level esbuild at 0.28.1; nested tools resolve 0.25.12 within their own ranges. - image-search/setup-js: onnxruntime-web declares protobufjs ^7.2.4, so overriding it to ^8.7.1 forced a major it does not support. Scope the override to ^7.6.5, the latest patched 7.x inside that range. - livekit-moss-agent/uv.lock: regenerate from main with targeted upgrades only. The batch had rolled mcp 1.28.1 -> 1.23.0, pillow 12.3.0 -> 12.2.0 and pyasn1 0.6.4 -> 0.6.3 with no manifest change to justify them. Lock now carries only cryptography 49.0.0, pydantic-settings 2.14.2 and python-multipart 0.0.32. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
@HarshaNalluru you can review and merge |
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