Socket
Socket
Sign inDemoInstall

postcss-selector-parser

Package Overview
Dependencies
2
Maintainers
4
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous12346Next

1.3.1

Diff

Changelog

Source

1.3.1

  • Update flatten to v1.x (thanks to @shinnn).
beneb
published 1.3.0 •

Changelog

Source

1.3.0

  • Adds a new node type, String, to fix a crash on selectors such as foo:bar("test").
beneb
published 1.2.1 •

Changelog

Source

1.2.1

  • Fixes a crash when the parser encountered a trailing combinator.
beneb
published 1.2.0 •

Changelog

Source

1.2.0

  • A more descriptive error is thrown when the parser expects to find a pseudo-class/pseudo-element (thanks to @ashelley).
  • Adds support for line/column locations for selector nodes, as well as a Node#sourceIndex method (thanks to @davidtheclark).
beneb
published 1.1.4 •

Changelog

Source

1.1.4

  • Fixes a crash when a selector started with a > combinator. The module will now no longer throw if a selector has a leading/trailing combinator node.
beneb
published 1.1.3 •

Changelog

Source

1.1.3

  • Fixes a crash on @ tokens.
beneb
published 1.1.2 •

Changelog

Source

1.1.2

  • Fixes an infinite loop caused by using parentheses in a non-pseudo element context.
beneb
published 1.1.1 •

Changelog

Source

1.1.1

  • Fixes a crash when a backslash ended a selector string.
beneb
published 1.1.0 •

Changelog

Source

1.1.0

  • Adds support for replacing multiple nodes at once with replaceWith (thanks to @jonathantneal).
  • Parser no longer throws on sequential IDs and trailing commas, to support parsing of selector hacks.
beneb
published 1.0.1 •

Changelog

Source

1.0.1

  • Fixes using insertAfter and insertBefore during iteration.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc