Skip to content

chore: update composer and npm dependencies - #222

Merged
CodeWithDennis merged 1 commit into
4.xfrom
chore/update-dependencies-2026-10
Oct 15, 2026
Merged

CodeWithDennis merged 1 commit into
4.xfrom
chore/update-dependencies-2026-10

Conversation

@CodeWithDennis

Copy link
Copy Markdown
Owner

Updates all Composer and NPM dependencies on 4.x to their latest versions and rebuilds the dist assets.

NPM

Package From To
treeselectjs 0.13.0 1.0.2
cssnano 6.0.1 9.8.0
esbuild 0.25.0 0.28.2
postcss-cli 10.1.0 12.0.0
postcss-import 16.0.1 17.0.1
postcss-nesting 12.0.2 14.0.3
postcss 8.5.12 8.5.30

npm audit went from 25 advisories (1 critical: shell-quote, plus several high) to 0. Most fixes were only available through the major bumps of the build tooling (postcss-cli, cssnano, postcss-nesting).

treeselectjs 0.13 → 1.0

Upstream's changelog says the 1.0 API is unchanged from 0.14.2. 0.14 only added CSS color variables to treeselectjs's own stylesheet, which this package doesn't use (it ships its own copy in resources/css/treeselectjs.css). The set of DOM class names the library generates is identical between 0.13.0 and 1.0.2, so the existing styles still apply.

Rebuilt assets

resources/dist/filament-select-tree.{js,css} were rebuilt with npm run build. The JS is ~1.4 KB smaller. The CSS keeps the same 101 selectors: cssnano 9 merges duplicate rules, normalizes whitespace in custom properties and re-encodes the inline clear-icon SVG.

Composer

composer.lock isn't committed, so this widens the dev constraints to allow the latest Pest major:

Package Constraint
pestphp/pest ^2.0|^3.7|^4.4 → ^2.0|^3.7|^4.4|^5.0
pestphp/pest-plugin-arch ^2.0|^3.0|^4.0 → ^2.0|^3.0|^4.0|^5.0
pestphp/pest-plugin-laravel ^2.0|^3.1|^4.1 → ^2.0|^3.1|^4.1|^5.0

All other constraints already allow the latest releases (Filament 5.10, Laravel 13, Testbench 11, Collision 8.9).

GitHub Actions are already on their latest versions, so they're unchanged.

Test plan

  • composer update resolves to Pest 5.3.2 / Laravel 13.36 / Filament 5.10.2 / Testbench 11.3; composer audit clean
  • vendor/bin/pest: 2 passed
  • npm run build succeeds; npm audit reports 0 vulnerabilities
  • Browser smoke test of the old vs new bundle (single and multi select): identical rendering, initial selection, tags, click-to-select and resulting state
  • Manual check in a Filament panel

@CodeWithDennis
CodeWithDennis merged commit ab068a8 into 4.x Oct 15, 2026
1 check passed
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.

1 participant