Skip to content

chore(deps): bump vite from 5.3.5 to 5.4.17#1

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/vite-5.4.17
Closed

chore(deps): bump vite from 5.3.5 to 5.4.17#1
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/vite-5.4.17

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 4, 2025

Copy link
Copy Markdown

Bumps vite from 5.3.5 to 5.4.17.

Release notes

Sourced from vite's releases.

v5.4.17

Please refer to CHANGELOG.md for details.

v5.4.16

Please refer to CHANGELOG.md for details.

v5.4.15

Please refer to CHANGELOG.md for details.

v5.4.14

Please refer to CHANGELOG.md for details.

v5.4.13

Please refer to CHANGELOG.md for details.

v5.4.12

This version contains a breaking change due to security fixes. See GHSA-vg6x-rcgg-rjx6 for more details.

Please refer to CHANGELOG.md for details.

v5.4.11

Please refer to CHANGELOG.md for details.

v5.4.10

Please refer to CHANGELOG.md for details.

v5.4.9

Please refer to CHANGELOG.md for details.

v5.4.8

Please refer to CHANGELOG.md for details.

v5.4.7

Please refer to CHANGELOG.md for details.

v5.4.6

Please refer to CHANGELOG.md for details.

v5.4.5

Please refer to CHANGELOG.md for details.

v5.4.4

Please refer to CHANGELOG.md for details.

v5.4.3

Please refer to CHANGELOG.md for details.

plugin-legacy@5.4.3

Please refer to CHANGELOG.md for details.

... (truncated)

Changelog

Sourced from vite's changelog.

5.4.17 (2025-04-03)

5.4.16 (2025-03-31)

5.4.15 (2025-03-24)

5.4.14 (2025-01-21)

5.4.13 (2025-01-20)

5.4.12 (2025-01-20)

  • fix!: check host header to prevent DNS rebinding attacks and introduce server.allowedHosts (9da4abc)
  • fix!: default server.cors: false to disallow fetching from untrusted origins (dfea38f)
  • fix: verify token for HMR WebSocket connection (b71a5c8)
  • chore: add deps update changelog (ecd2375)

5.4.11 (2024-11-11)

  • fix(deps): update dependencies of postcss-modules (ceb15db), closes #18617

5.4.10 (2024-10-23)

  • fix: backport #18367,augment hash for CSS files to prevent chromium erroring by loading previous fil (7d1a3bc), closes #18367 #18412

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.3.5 to 5.4.17.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.17/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.17/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 5.4.17
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 4, 2025
@dependabot @github

dependabot Bot commented on behalf of github May 1, 2025

Copy link
Copy Markdown
Author

Superseded by #2.

@dependabot dependabot Bot closed this May 1, 2025
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/vite-5.4.17 branch May 1, 2025 00:47
digital-codes pushed a commit that referenced this pull request May 7, 2026
#1 — `gl.deleteTexture` orphaned normal-map textures on `reset()`. The
   map was cleared but the underlying `WebGLTexture` objects leaked
   (they're not GC'd until explicit delete or context loss).

#2 — Drop hardcoded `precision highp float;` from the lit fragment
   shader. `GLShader.setPrecision()` already auto-injects the highest
   precision the device's fragment stage supports via
   `getMaxShaderPrecision()`. Hardcoding `highp` would refuse to
   compile on older mobile GPUs that only support `mediump`.

#3 — `MAX_LIGHTS` was duplicated as a literal `8` in `stage.ts` and
   exported from `multitexture.js`. Single source of truth — import
   from the shader file.

#4 — `Stage.collectLightingUniforms` derived the shader `radius` from
   `Math.max(light.radiusX, light.radiusY)`, which ignores transforms.
   A scaled light's brightness range now tracks its visible range
   (matches what the cutout pass already does via `getVisibleArea()`).
   New regression test covers the scale-2 case.

#5 — Widen JSDoc types for `normalMap` to match runtime acceptance
   (`OffscreenCanvas`, `ImageBitmap`, `HTMLVideoElement` all flow
   through fine — the setter validates duck-typed `{ width, height }`).
   Updated on `Sprite`, `TextureAtlas`, and `QuadBatcher`'s
   `normalMapTextures` / `boundNormalMaps` types + the
   `_uploadOrBindNormalMap` parameter doc.

#6 — `_uploadOrBindNormalMap` mirrored only the
   `gl.texImage2D(...image)` fast path; `OffscreenCanvas` instances
   weren't handled. Added the same `transferToImageBitmap()` branch
   `MaterialBatcher.createTexture2D` uses, so atlas-paired
   OffscreenCanvas normal maps work too.

#7 — `boundNormalMaps[unit]` could go stale after
   `cache.resetUnitAssignments()` (which drops color-slot bindings
   when units are exhausted). The next normal-mapped quad at a reused
   slot might falsely skip a rebind. Defensively `.fill(null)` after
   the cache reset so the next `addQuad` re-uploads cleanly.

#8 — `setLightUniforms` was called right after `beginPostEffect` —
   before `setProjection()` (which can flush the pending batch).
   Moved to *after* the projection setup + container.translate, just
   before `container.preDraw()`, so the uniforms are guaranteed to
   apply to every lit quad pushed by the upcoming world tree walk.

#9 — Document the `maxBatchTextures` halving trade-off. The halving
   is necessary for the paired (color, normal) layout to fit WebGL1's
   8-unit minimum spec; conditional halving would require runtime
   introspection that's out of scope. Comment now explains the
   rationale + bounds for future tuners.

Test additions: 1 new case (radius reflects scaled bounds). The other
fixes are either WebGL-state-only (#1, #6, #7), pure docs (#5, #9),
or refactors that the existing test surface already covers.

Total impact: 84 / 84 test files, 2841 / 2841 tests still pass; full
lint chain clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants