Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

deps upgrade v4: upgrade nock, react-router and the Google Picker types#6423

Open
qxprakash wants to merge 1 commit into
chore/deps-vite-8transloadit/uppy:chore/deps-vite-8from
chore/deps-nock-router-gpickertransloadit/uppy:chore/deps-nock-router-gpickerCopy head branch name to clipboard
Open

deps upgrade v4: upgrade nock, react-router and the Google Picker types#6423
qxprakash wants to merge 1 commit into
chore/deps-vite-8transloadit/uppy:chore/deps-vite-8from
chore/deps-nock-router-gpickertransloadit/uppy:chore/deps-nock-router-gpickerCopy head branch name to clipboard

Conversation

@qxprakash

Copy link
Copy Markdown
Collaborator

tacked PR: should be merged after #6422

AI disclaimer : AI used

  • nock ^13.1/^14.0 -> ^15.0.0 (companion tests)
  • react-router / @react-router/dev / @react-router/express ^7.12 -> ^7.18.1 (supersedes build(deps): bump react-router from 7.12.0 to 7.15.1 #6338; v8 is a separate migration)
  • @types/google.accounts ^0.0.14 -> ^0.0.18
  • @types/google.picker ^0.0.42 -> ^0.0.52

Two source changes:

nock 15 replaced the (uri, body) reply signature with a single Request, and an arity-2 reply callback is now treated as the callback style, so the old signature silently hung instead of failing. The zoom fixture and the credentials test read headers and JSON off the Request instead.

@types/google.picker 0.0.52 correctly types docs, name and mimeType as optional, so showDrivePicker validates the response before importing and throws a descriptive error rather than creating a file with undefined fields. Shortcut metadata is preserved through the spread. Has a changeset.

examples/nextjs/tsconfig.json picks up the Next 16 jsx and include settings.

- nock ^13.1/^14.0 -> ^15.0.0 (companion tests)
- react-router / @react-router/dev / @react-router/express ^7.12 -> ^7.18.1
  (supersedes #6338; v8 is a separate migration)
- @types/google.accounts ^0.0.14 -> ^0.0.18
- @types/google.picker ^0.0.42 -> ^0.0.52

Two source changes:

nock 15 replaced the (uri, body) reply signature with a single Request, and
an arity-2 reply callback is now treated as the callback style, so the old
signature silently hung instead of failing. The zoom fixture and the
credentials test read headers and JSON off the Request instead.

@types/google.picker 0.0.52 correctly types docs, name and mimeType as
optional, so showDrivePicker validates the response before importing and
throws a descriptive error rather than creating a file with undefined
fields. Shortcut metadata is preserved through the spread. Has a changeset.

examples/nextjs/tsconfig.json picks up the Next 16 jsx and include settings.

Verified: yarn build (54/54), yarn typecheck (75/75), yarn check:ci,
yarn test (19/19).
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@changeset-bot

changeset-bot Bot commented Jul 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 19318f3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@uppy/core Patch
uppy Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@qxprakash qxprakash changed the title chore(deps): upgrade nock, react-router and the Google Picker types deps upgrade v4: upgrade nock, react-router and the Google Picker types Jul 25, 2026
@socket-security

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades several dependencies across the monorepo (nock, react-router, and Google Picker-related type packages) and adjusts a few call sites to match updated APIs/typing, improving runtime correctness and preventing silent failures.

Changes:

  • Upgraded nock to ^15.0.0 and updated nock reply handlers in Companion tests/fixtures to use the new Request-based callback.
  • Upgraded react-router / @react-router/dev / @react-router/express to ^7.18.1 (example app dependency refresh).
  • Updated Google Picker types and added response validation in showDrivePicker, plus a changeset entry documenting the behavior change.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
yarn.lock Locks updated dependency graph for nock/react-router/Google types and transitive changes.
packages/@uppy/core/src/provider-views/GooglePicker/googlePicker.ts Validates Google Picker response/doc fields before importing; preserves shortcut metadata when recursing.
packages/@uppy/core/package.json Bumps @types/google.accounts and @types/google.picker versions for @uppy/core.
packages/@uppy/companion/test/fixtures/zoom.ts Updates nock reply callback to read auth header via Request.headers.
packages/@uppy/companion/test/credentials.test.ts Updates nock reply callback to parse JSON from Request for remote OAuth key tests.
packages/@uppy/companion/package.json Bumps Companion devDependency nock to ^15.0.0.
packages/@uppy/aws-s3/package.json Bumps AWS S3 package devDependency nock to ^15.0.0.
examples/reactrouter/package.json Updates react-router dependencies used by the React Router example.
examples/nextjs/tsconfig.json Adjusts JSX mode and include paths to align with newer Next.js-generated type output.
.changeset/google-picker-response-validation.md Adds a changeset documenting the Google Picker response validation behavior change.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.