build(deps-dev): bump phlex from 2.4.1 to 2.4.3 in /gem

Merged
DE
6d ago
+57-57

Bumps phlex from 2.4.1 to 2.4.3.

Release notes

Sourced from phlex's releases.

2.4.3

Highlights

A maintenance release with bug fixes for the 2.4 line.

  • tag(:head) now flushes, like the head element method, so browsers can start fetching assets as soon as the head closes
  • Phlex no longer depends on Active Support for json_escape, and no longer raises NameError for Date when Hash, Array or Set attribute values are used outside Rails
  • Phlex::FIFOCacheStore now works with json 3 (JSON.fast_generate was removed)
  • Phlex::CSV values are now quoted correctly when trim_whitespace? is true and escape_csv_injection? is false, carriage returns are quoted, and any delimiter (e.g. [, ] or \) is handled safely
  • Kit calls after a component that didn’t render (render? returned false) no longer raise "outside of a Phlex rendering context"
  • SVG cdata now correctly escapes ]]>
  • Fragments rendered from a cache block now halt once the last fragment is selected, and duplicate fragment names select the first fragment, matching uncached rendering
  • style: values that respond to to_h now produce CSS like a Hash does
  • class: [nil, "link"] no longer renders a leading space

Behaviour change

Phlex::CSV now raises Phlex::RuntimeError when a row’s column count differs from the first row’s, including in headerless CSVs. Previously it rendered a malformed row.

What's Changed

Full Changelog: https://github.com/yippee-fun/phlex/compare/2.4.2...2.4.3

2.4.2

Fixes multiple security issues.

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 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)

Summary by cubic

Bumps phlex from 2.4.1 to 2.4.3 in /gem, also updating transitive dependencies refract and zeitwerk.

  • 2.4.2 fixes multiple security advisories (GHSA-fxxw-9rf3-3f2w, GHSA-4859-2mvh-r787, GHSA-jjpx-qcfc-pqwp, GHSA-6gjg-cqh9-p2xm).
  • 2.4.3 escapes < and > inside attribute values; the gem tests now expect the escaped output (e.g. click-&gt; instead of click->). The HTML is equivalent since browsers decode the entities, and Stimulus reads the decoded data-action.
  • 2.4.3 also makes Phlex::CSV raise a RuntimeError on mismatched column counts instead of rendering malformed rows.