Skip to content

build(deps): bump postcss-selector-parser - #75

Merged
github-actions[bot] merged 1 commit into
trunkfrom
dependabot/npm_and_yarn/multi-f642c0c080
Nov 12, 2026
Merged

github-actions[bot] merged 1 commit into
trunkfrom
dependabot/npm_and_yarn/multi-f642c0c080

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Bumps and postcss-selector-parser. These dependencies needed to be updated together.
Updates postcss-selector-parser from 7.1.5 to 7.2.0

Release notes

Sourced from postcss-selector-parser's releases.

7.2.0

  • feat: add the opt-in maxInputLength option, which rejects a selector longer than the limit before parsing it
  • feat: support the case-sensitive attribute flag s per Selectors Level 4, on Attribute#sensitive and Attribute#sensitiveFlag. [a=b s] previously left insensitive: false and filed the flag in raws.insensitiveFlag (#327 by @​abhu85)
  • docs: add a threat model to SECURITY.md: resource consumption caused by unbounded untrusted input is now handled as a regular bug
  • docs: document the raw-value helpers (stringifyProperty, valueToString, setPropertyAndEscape, appendToPropertyAndEscape, setPropertyWithoutEscape), the seventeen type guards, and the clone() overrides argument (#231)
  • fix: forward the default options given to the parser factory, so parser(fn, { maxInputLength }) and the other options take effect there as documented (#345 by @​Aurantium-47)
  • fix: preserve the spaces declared on selector and root containers, through rawSpaceBefore and rawSpaceAfter (#356 by @​Aschenbath)
  • fix: preserve selector delimiters after an escaped backslash, so .a\\.b parses as two classes (#354 by @​wozhenbang2004)
  • fix: escape class values supplied to the constructor, matching what the value setter already did (#349 by @​SAY-5)
  • fix: escape values assigned to an id through the value setter, and replace a stale raws.value on assignment (#326 by @​mahirhir)
  • fix: keep $ in an attribute name inside a preprocessor interpolation, so [#{$attr}] in SCSS and [@{attr}] in Less round-trip (#336 by @​theRizwan)
  • fix: reject an attribute selector with no valid attribute name, instead of throwing a raw TypeError or emitting the literal text undefined (#335 by @​theRizwan)
  • fix: keep the processor's entry points usable when destructured, as in const { process } = parser() (#145)

Behaviour notes

  • className and id values are escaped when passed to a constructor or assigned through value, so an already-escaped value is now escaped twice. setPropertyWithoutEscape() is the escape hatch.
  • [a=b s] sets sensitive: true rather than filing the flag in raws.insensitiveFlag. Serialization is byte-identical for i, I, s, S and non-standard flags.
  • Selector and Root emit their own rawSpaceBefore and rawSpaceAfter, which changes serialization for ASTs that set them.
  • An attribute selector with no attribute name raises the parser's own error rather than throwing a raw TypeError or serializing the text undefined: [ns|*] and [ * ] are affected. A trailing *, $, ^, ~ or | after a valid name is dropped, as [href=] already was.

7.1.8

  • fix: parse selectors in linear time on four more kinds of crafted input, closing a CPU exhaustion vulnerability (reported by @​zachariah-mithani)
  • chore: replace the cssesc dependency with an internal copy, whose redundant space removal is linear

7.1.7

  • fix: lossless: true preserves trailing whitespace in a selector that ends empty, such as :not(a, ). Note that :not( ) now yields a selector holding one empty string node rather than an empty selector (#337 by @​theRizwan)
  • fix: consume the whitespace that terminates a hexadecimal escape, so [x="\000061 b"] unescapes to ab (#340 by @​jakezwang)
  • fix: set the parent on every node passed to insertBefore and insertAfter, not only the first (#343 by @​feritcemkahraman)
  • fix: assigning combinator.value clears the stale raw spelling instead of being ignored (#342 by @​SAY-5)
  • fix: keep whitespace around the namespace separator in attribute selectors, so [ foo | bar ] round-trips (#339 by @​dkryaklin)

7.1.6

  • fix: parse flat selectors in linear time, closing a CPU exhaustion vulnerability (GHSA-rj75-hqrm-r3gf, reported by Wayde Shi)
Changelog

Sourced from postcss-selector-parser's changelog.

7.2.0 - 2026-11-08

  • feat: add the opt-in maxInputLength option, which rejects a selector longer than the limit before parsing it
  • feat: support the case-sensitive attribute flag s per Selectors Level 4, on Attribute#sensitive and Attribute#sensitiveFlag. [a=b s] previously left insensitive: false and filed the flag in raws.insensitiveFlag (#327 by @​abhu85)
  • docs: add a threat model to SECURITY.md: resource consumption caused by unbounded untrusted input is now handled as a regular bug
  • docs: document the raw-value helpers (stringifyProperty, valueToString, setPropertyAndEscape, appendToPropertyAndEscape, setPropertyWithoutEscape), the seventeen type guards, and the clone() overrides argument (#231)
  • fix: forward the default options given to the parser factory, so parser(fn, { maxInputLength }) and the other options take effect there as documented (#345 by @​Aurantium-47)
  • fix: preserve the spaces declared on selector and root containers, through rawSpaceBefore and rawSpaceAfter (#356 by @​Aschenbath)
  • fix: preserve selector delimiters after an escaped backslash, so .a\\.b parses as two classes (#354 by @​wozhenbang2004)
  • fix: escape class values supplied to the constructor, matching what the value setter already did (#349 by @​SAY-5)
  • fix: escape values assigned to an id through the value setter, and replace a stale raws.value on assignment (#326 by @​mahirhir)
  • fix: keep $ in an attribute name inside a preprocessor interpolation, so [#{$attr}] in SCSS and [@{attr}] in Less round-trip (#336 by @​theRizwan)
  • fix: reject an attribute selector with no valid attribute name, instead of throwing a raw TypeError or emitting the literal text undefined (#335 by @​theRizwan)
  • fix: keep the processor's entry points usable when destructured, as in const { process } = parser() (#145)

Behaviour notes

  • className and id values are escaped when passed to a constructor or assigned through value, so an already-escaped value is now escaped twice. setPropertyWithoutEscape() is the escape hatch.
  • [a=b s] sets sensitive: true rather than filing the flag in raws.insensitiveFlag. Serialization is byte-identical for i, I, s, S and non-standard flags.
  • Selector and Root emit their own rawSpaceBefore and rawSpaceAfter, which changes serialization for ASTs that set them.
  • An attribute selector with no attribute name raises the parser's own error rather than throwing a raw TypeError or serializing the text undefined: [ns|*] and [ * ] are affected. A trailing *, $, ^, ~ or | after a valid name is dropped, as [href=] already was.

7.1.8 - 2026-11-08

  • fix: parse selectors in linear time on four more kinds of crafted input, closing a CPU exhaustion vulnerability (GHSA-67xj-gfww-g738, reported by @​zachariah-mithani)
  • chore: replace the cssesc dependency with an internal copy, whose redundant space removal is linear

7.1.7 - 2026-10-19

  • fix: lossless: true preserves trailing whitespace in a selector that ends empty, such as :not(a, ). Note that :not( ) now yields a selector holding one empty string node rather than an empty selector (#337 by @​theRizwan)
  • fix: consume the whitespace that terminates a hexadecimal escape, so [x="\000061 b"] unescapes to ab (#340 by @​jakezwang)
  • fix: set the parent on every node passed to insertBefore and insertAfter, not only the first (#343 by @​feritcemkahraman)
  • fix: assigning combinator.value clears the stale raw spelling instead of being ignored (#342 by @​SAY-5)
  • fix: keep whitespace around the namespace separator in attribute selectors, so [ foo | bar ] round-trips (#339 by @​dkryaklin)

7.1.6 - 2026-09-03

Commits
  • 7591d8d 7.2.0
  • 04925df docs: document the raw-value helpers, the type guards and clone overrides
  • 0d9397f feat: add maxInputLength option and document the threat model
  • a9fff88 fix: reject attribute selectors with no valid attribute name (#335)
  • 617c25b fix: keep $ in an attribute name inside a preprocessor interpolation (#336)
  • 815dc18 fix: preserve selector delimiters after escaped backslashes (#354)
  • 767b5e1 fix: keep the processor's entry points usable when destructured
  • e7be6bf feat: support the case-sensitive attribute flag (s) per Selectors Level 4 (#327)
  • 0ca18af fix: escape values assigned to an id through the value setter (#326)
  • b74fdd4 fix: escape class values supplied to the constructor (#349)
  • Additional commits viewable in compare view

Updates postcss-selector-parser from 6.1.4 to 6.1.6

Release notes

Sourced from postcss-selector-parser's releases.

7.2.0

  • feat: add the opt-in maxInputLength option, which rejects a selector longer than the limit before parsing it
  • feat: support the case-sensitive attribute flag s per Selectors Level 4, on Attribute#sensitive and Attribute#sensitiveFlag. [a=b s] previously left insensitive: false and filed the flag in raws.insensitiveFlag (#327 by @​abhu85)
  • docs: add a threat model to SECURITY.md: resource consumption caused by unbounded untrusted input is now handled as a regular bug
  • docs: document the raw-value helpers (stringifyProperty, valueToString, setPropertyAndEscape, appendToPropertyAndEscape, setPropertyWithoutEscape), the seventeen type guards, and the clone() overrides argument (#231)
  • fix: forward the default options given to the parser factory, so parser(fn, { maxInputLength }) and the other options take effect there as documented (#345 by @​Aurantium-47)
  • fix: preserve the spaces declared on selector and root containers, through rawSpaceBefore and rawSpaceAfter (#356 by @​Aschenbath)
  • fix: preserve selector delimiters after an escaped backslash, so .a\\.b parses as two classes (#354 by @​wozhenbang2004)
  • fix: escape class values supplied to the constructor, matching what the value setter already did (#349 by @​SAY-5)
  • fix: escape values assigned to an id through the value setter, and replace a stale raws.value on assignment (#326 by @​mahirhir)
  • fix: keep $ in an attribute name inside a preprocessor interpolation, so [#{$attr}] in SCSS and [@{attr}] in Less round-trip (#336 by @​theRizwan)
  • fix: reject an attribute selector with no valid attribute name, instead of throwing a raw TypeError or emitting the literal text undefined (#335 by @​theRizwan)
  • fix: keep the processor's entry points usable when destructured, as in const { process } = parser() (#145)

Behaviour notes

  • className and id values are escaped when passed to a constructor or assigned through value, so an already-escaped value is now escaped twice. setPropertyWithoutEscape() is the escape hatch.
  • [a=b s] sets sensitive: true rather than filing the flag in raws.insensitiveFlag. Serialization is byte-identical for i, I, s, S and non-standard flags.
  • Selector and Root emit their own rawSpaceBefore and rawSpaceAfter, which changes serialization for ASTs that set them.
  • An attribute selector with no attribute name raises the parser's own error rather than throwing a raw TypeError or serializing the text undefined: [ns|*] and [ * ] are affected. A trailing *, $, ^, ~ or | after a valid name is dropped, as [href=] already was.

7.1.8

  • fix: parse selectors in linear time on four more kinds of crafted input, closing a CPU exhaustion vulnerability (reported by @​zachariah-mithani)
  • chore: replace the cssesc dependency with an internal copy, whose redundant space removal is linear

7.1.7

  • fix: lossless: true preserves trailing whitespace in a selector that ends empty, such as :not(a, ). Note that :not( ) now yields a selector holding one empty string node rather than an empty selector (#337 by @​theRizwan)
  • fix: consume the whitespace that terminates a hexadecimal escape, so [x="\000061 b"] unescapes to ab (#340 by @​jakezwang)
  • fix: set the parent on every node passed to insertBefore and insertAfter, not only the first (#343 by @​feritcemkahraman)
  • fix: assigning combinator.value clears the stale raw spelling instead of being ignored (#342 by @​SAY-5)
  • fix: keep whitespace around the namespace separator in attribute selectors, so [ foo | bar ] round-trips (#339 by @​dkryaklin)

7.1.6

  • fix: parse flat selectors in linear time, closing a CPU exhaustion vulnerability (GHSA-rj75-hqrm-r3gf, reported by Wayde Shi)
Changelog

Sourced from postcss-selector-parser's changelog.

7.2.0 - 2026-11-08

  • feat: add the opt-in maxInputLength option, which rejects a selector longer than the limit before parsing it
  • feat: support the case-sensitive attribute flag s per Selectors Level 4, on Attribute#sensitive and Attribute#sensitiveFlag. [a=b s] previously left insensitive: false and filed the flag in raws.insensitiveFlag (#327 by @​abhu85)
  • docs: add a threat model to SECURITY.md: resource consumption caused by unbounded untrusted input is now handled as a regular bug
  • docs: document the raw-value helpers (stringifyProperty, valueToString, setPropertyAndEscape, appendToPropertyAndEscape, setPropertyWithoutEscape), the seventeen type guards, and the clone() overrides argument (#231)
  • fix: forward the default options given to the parser factory, so parser(fn, { maxInputLength }) and the other options take effect there as documented (#345 by @​Aurantium-47)
  • fix: preserve the spaces declared on selector and root containers, through rawSpaceBefore and rawSpaceAfter (#356 by @​Aschenbath)
  • fix: preserve selector delimiters after an escaped backslash, so .a\\.b parses as two classes (#354 by @​wozhenbang2004)
  • fix: escape class values supplied to the constructor, matching what the value setter already did (#349 by @​SAY-5)
  • fix: escape values assigned to an id through the value setter, and replace a stale raws.value on assignment (#326 by @​mahirhir)
  • fix: keep $ in an attribute name inside a preprocessor interpolation, so [#{$attr}] in SCSS and [@{attr}] in Less round-trip (#336 by @​theRizwan)
  • fix: reject an attribute selector with no valid attribute name, instead of throwing a raw TypeError or emitting the literal text undefined (#335 by @​theRizwan)
  • fix: keep the processor's entry points usable when destructured, as in const { process } = parser() (#145)

Behaviour notes

  • className and id values are escaped when passed to a constructor or assigned through value, so an already-escaped value is now escaped twice. setPropertyWithoutEscape() is the escape hatch.
  • [a=b s] sets sensitive: true rather than filing the flag in raws.insensitiveFlag. Serialization is byte-identical for i, I, s, S and non-standard flags.
  • Selector and Root emit their own rawSpaceBefore and rawSpaceAfter, which changes serialization for ASTs that set them.
  • An attribute selector with no attribute name raises the parser's own error rather than throwing a raw TypeError or serializing the text undefined: [ns|*] and [ * ] are affected. A trailing *, $, ^, ~ or | after a valid name is dropped, as [href=] already was.

7.1.8 - 2026-11-08

  • fix: parse selectors in linear time on four more kinds of crafted input, closing a CPU exhaustion vulnerability (GHSA-67xj-gfww-g738, reported by @​zachariah-mithani)
  • chore: replace the cssesc dependency with an internal copy, whose redundant space removal is linear

7.1.7 - 2026-10-19

  • fix: lossless: true preserves trailing whitespace in a selector that ends empty, such as :not(a, ). Note that :not( ) now yields a selector holding one empty string node rather than an empty selector (#337 by @​theRizwan)
  • fix: consume the whitespace that terminates a hexadecimal escape, so [x="\000061 b"] unescapes to ab (#340 by @​jakezwang)
  • fix: set the parent on every node passed to insertBefore and insertAfter, not only the first (#343 by @​feritcemkahraman)
  • fix: assigning combinator.value clears the stale raw spelling instead of being ignored (#342 by @​SAY-5)
  • fix: keep whitespace around the namespace separator in attribute selectors, so [ foo | bar ] round-trips (#339 by @​dkryaklin)

7.1.6 - 2026-09-03

Commits
  • 7591d8d 7.2.0
  • 04925df docs: document the raw-value helpers, the type guards and clone overrides
  • 0d9397f feat: add maxInputLength option and document the threat model
  • a9fff88 fix: reject attribute selectors with no valid attribute name (#335)
  • 617c25b fix: keep $ in an attribute name inside a preprocessor interpolation (#336)
  • 815dc18 fix: preserve selector delimiters after escaped backslashes (#354)
  • 767b5e1 fix: keep the processor's entry points usable when destructured
  • e7be6bf feat: support the case-sensitive attribute flag (s) per Selectors Level 4 (#327)
  • 0ca18af fix: escape values assigned to an id through the value setter (#326)
  • b74fdd4 fix: escape class values supplied to the constructor (#349)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 30, 2026
Bumps  and [postcss-selector-parser](https://github.com/postcss/postcss-selector-parser). These dependencies needed to be updated together.

Updates `postcss-selector-parser` from 7.1.5 to 7.2.0
- [Release notes](https://github.com/postcss/postcss-selector-parser/releases)
- [Changelog](https://github.com/postcss/postcss-selector-parser/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss-selector-parser@7.1.5...7.2.0)

Updates `postcss-selector-parser` from 6.1.4 to 6.1.6
- [Release notes](https://github.com/postcss/postcss-selector-parser/releases)
- [Changelog](https://github.com/postcss/postcss-selector-parser/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss-selector-parser@7.1.5...7.2.0)

---
updated-dependencies:
- dependency-name: postcss-selector-parser
  dependency-version: 6.1.5
  dependency-type: indirect
- dependency-name: postcss-selector-parser
  dependency-version: 7.1.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-f642c0c080 branch from e1d3b0b to 0c3b8e2 Compare November 12, 2026 08:12
@github-actions
github-actions Bot merged commit b856c35 into trunk Nov 12, 2026
3 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/multi-f642c0c080 branch November 12, 2026 08:13
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.

1 participant