Skip to content

chore(deps): Bump @vitejs/plugin-react from 5.1.1 to 5.1.2#5

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vitejs/plugin-react-5.1.2
Open

chore(deps): Bump @vitejs/plugin-react from 5.1.1 to 5.1.2#5
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vitejs/plugin-react-5.1.2

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Dec 12, 2025

Bumps @vitejs/plugin-react from 5.1.1 to 5.1.2.

Changelog

Sourced from @​vitejs/plugin-react's changelog.

5.1.2 (2025-12-08)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@5.1.2/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 5.1.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Dec 12, 2025

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

shrimpy8 added a commit that referenced this pull request May 13, 2026
…20)

* fix: resolve all 22 code quality issues across security, correctness, and maintainability

CRITICAL:
- Gemini API key moved from URL query param to x-goog-api-key header (#1)
- Fix regex .test() with g flag causing alternating highlight failures (#2)
- Consolidate fragile string error classification into error-mapper.ts (#3)
- Add missing .catch() on fetchProviderConfig promise in useProviderConfig (#4)

HIGH:
- Fix setInterval leak in channel/playlist caches with stored interval IDs (#5)
- Extract mapEpisodes() helper to eliminate triple-duplicated episode mapping (#6)
- Re-export extractVideoId from youtube-validator as single source of truth (#7)
- Guard against empty sanitized channel name producing invalid URL (#8)
- Replace console.warn with structured logger in api-client (#9)
- Add lazy eviction to rate limiter map to prevent unbounded growth (#10)

MEDIUM:
- Add typed response interfaces (AnthropicResponse/GeminiResponse/PerplexityResponse) replacing any (#11)
- Move LLM limits and channel fetch constants to constants.ts (#12)
- Wrap request.json() in try/catch returning 400 across all 5 routes (#13)
- Replace transcript/route.ts outer catch with handleApiError (#14)
- Add success:false to all createErrorResponse shapes (#15)
- Fix extractChannelIdFromUrl to return null instead of full URL (#16)
- Set hasGenerated:true in generateSummary catch block (#17)

LOW:
- Read Anthropic API version from ANTHROPIC_API_VERSION env var (#18)
- Add JSDoc to safeJsonParse in api-client (#19)
- Create generic TtlCache<T> class; refactor channel/playlist caches to use it (#20)
- Use average segment duration for last transcript segment instead of 0 (#21/#22)

ADDITIONAL FIXES:
- JSON parse guards added to discover/ytdlp/channel routes (A1)
- Replace console.error with logger in url-type-helpers, useCachedData, useProcessingOptions (A2)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore: untrack ISSUES-AND-FIXES.md and add to .gitignore

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: HaHa <642975+shrimpy8@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
shrimpy8 added a commit that referenced this pull request May 13, 2026
* fix: resolve all 22 code quality issues across security, correctness, and maintainability

CRITICAL:
- Gemini API key moved from URL query param to x-goog-api-key header (#1)
- Fix regex .test() with g flag causing alternating highlight failures (#2)
- Consolidate fragile string error classification into error-mapper.ts (#3)
- Add missing .catch() on fetchProviderConfig promise in useProviderConfig (#4)

HIGH:
- Fix setInterval leak in channel/playlist caches with stored interval IDs (#5)
- Extract mapEpisodes() helper to eliminate triple-duplicated episode mapping (#6)
- Re-export extractVideoId from youtube-validator as single source of truth (#7)
- Guard against empty sanitized channel name producing invalid URL (#8)
- Replace console.warn with structured logger in api-client (#9)
- Add lazy eviction to rate limiter map to prevent unbounded growth (#10)

MEDIUM:
- Add typed response interfaces (AnthropicResponse/GeminiResponse/PerplexityResponse) replacing any (#11)
- Move LLM limits and channel fetch constants to constants.ts (#12)
- Wrap request.json() in try/catch returning 400 across all 5 routes (#13)
- Replace transcript/route.ts outer catch with handleApiError (#14)
- Add success:false to all createErrorResponse shapes (#15)
- Fix extractChannelIdFromUrl to return null instead of full URL (#16)
- Set hasGenerated:true in generateSummary catch block (#17)

LOW:
- Read Anthropic API version from ANTHROPIC_API_VERSION env var (#18)
- Add JSDoc to safeJsonParse in api-client (#19)
- Create generic TtlCache<T> class; refactor channel/playlist caches to use it (#20)
- Use average segment duration for last transcript segment instead of 0 (#21/#22)

ADDITIONAL FIXES:
- JSON parse guards added to discover/ytdlp/channel routes (A1)
- Replace console.error with logger in url-type-helpers, useCachedData, useProcessingOptions (A2)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore: untrack ISSUES-AND-FIXES.md and add to .gitignore

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix: replace `as any` cast in test setup with typed assertion

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: HaHa <642975+shrimpy8@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
shrimpy8 added a commit that referenced this pull request May 13, 2026
* fix: resolve all 22 code quality issues across security, correctness, and maintainability

CRITICAL:
- Gemini API key moved from URL query param to x-goog-api-key header (#1)
- Fix regex .test() with g flag causing alternating highlight failures (#2)
- Consolidate fragile string error classification into error-mapper.ts (#3)
- Add missing .catch() on fetchProviderConfig promise in useProviderConfig (#4)

HIGH:
- Fix setInterval leak in channel/playlist caches with stored interval IDs (#5)
- Extract mapEpisodes() helper to eliminate triple-duplicated episode mapping (#6)
- Re-export extractVideoId from youtube-validator as single source of truth (#7)
- Guard against empty sanitized channel name producing invalid URL (#8)
- Replace console.warn with structured logger in api-client (#9)
- Add lazy eviction to rate limiter map to prevent unbounded growth (#10)

MEDIUM:
- Add typed response interfaces (AnthropicResponse/GeminiResponse/PerplexityResponse) replacing any (#11)
- Move LLM limits and channel fetch constants to constants.ts (#12)
- Wrap request.json() in try/catch returning 400 across all 5 routes (#13)
- Replace transcript/route.ts outer catch with handleApiError (#14)
- Add success:false to all createErrorResponse shapes (#15)
- Fix extractChannelIdFromUrl to return null instead of full URL (#16)
- Set hasGenerated:true in generateSummary catch block (#17)

LOW:
- Read Anthropic API version from ANTHROPIC_API_VERSION env var (#18)
- Add JSDoc to safeJsonParse in api-client (#19)
- Create generic TtlCache<T> class; refactor channel/playlist caches to use it (#20)
- Use average segment duration for last transcript segment instead of 0 (#21/#22)

ADDITIONAL FIXES:
- JSON parse guards added to discover/ytdlp/channel routes (A1)
- Replace console.error with logger in url-type-helpers, useCachedData, useProcessingOptions (A2)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore: untrack ISSUES-AND-FIXES.md and add to .gitignore

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix: resolve 6 second-review issues (SR-1 through SR-6)

- SR-4: path traversal error no longer silently swallowed — re-thrown with structured log
- SR-1: fragile string-based 404 detection replaced with typed ChannelNotFoundError + mapChannelError
- SR-5: createSuccessResponse spread order fixed so data cannot override success:true
- SR-2: rateLimitResponse now includes type:'RATE_LIMIT' for API consistency
- SR-3: duplicated time range injection string extracted to formatTimeRangeSection helper
- SR-6: extractNameFromUrl returns 'Unknown Channel' instead of raw URL as fallback

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: HaHa <642975+shrimpy8@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

0 participants