New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

minify-selectors

Package Overview
Dependencies
Maintainers
0
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minify-selectors - npm Package Versions

1245

1.10.1

Diff

Changelog

Source

v1.10.1

<sub>1 Dec 2022</sub>

Fixes

  • --input flag not properly defined
<br>
1watt
published 1.10.0 •

Changelog

Source

v1.10.0

<sub>30 Nov 2022</sub>

Updates

  • Add support for named character references in HTML
<br>
1watt
published 1.9.4 •

Changelog

Source

v1.9.4

<sub>22 Nov 2022</sub>

Updates

  • Add support for escaped decimal and hexadecimal character references in HTML
  • Add support for encoded URLs in JS

Fixes

  • Extend escaped CSS character support to include JS selector strings
  • Extend escaped JS character support to include additional JS escapes: hexadecimal, unicode and unicode code points
  • Parse HTML and SVG event attribute values as JS
  • Delimiter char that is not a delimiter can be be mistaken for one when delimiters are not supplied
<br>
1watt
published 1.7.2 •

Changelog

Source

v1.7.2

<sub>9 Nov 2022</sub>

Updates

  • Add support for escaped characters in CSS

Fixes

  • Ignore CSS @import URLs
  • Missing support for matches() JS method
<br>
1watt
published 1.6.2 •

Changelog

Source

v1.6.2

<sub>5 Nov 2022</sub>

Updates

  • Add support for fill and style HTML attributes
  • Add support for url() functions in CSS
  • Add support for .classList, .classList.item(), .classList.value and .id properties
  • Add support for xlink:href HTML attribute
  • Calculate the positions of invalid first characters in the alphabet set only once, instead of everytime a radix encoding is required (approximately -90% change to encode_selector::to_radix())
  • Upgrade clap to v4

Fixes

  • Account for whitespaces that may be before and after the operator in CSS attribute selectors (e.g. [lang = 'nl'])
  • Anchor IDs in url() being processed twice if they are used in fill and style HTML attributes
<br>
1watt
published 1.6.2-beta.1 •

1watt
published 1.6.2-beta.0 •

1watt
published 1.0.0 •

Changelog

Source

v1.0.0

<sub>16 Oct 2022</sub>

No noteworthy changes since the last version

<br>
1watt
published 1.0.0-beta.4 •

Changelog

Source

v1.0.0-beta.4

<sub>21 Sep 2022</sub>

Updates

  • Add support for SVG files
  • Keep track of IDs and classes separately

Fixes

  • Convert captured attribute names to lowercase before using
<br>
1watt
published 1.0.0-beta.3 •

Changelog

Source

v1.0.0-beta.3

<sub>10 Sep 2022</sub>

Fixes

  • More explicit HTML attribute regex, to address catastrophic backtracking when a HTML element name begins with one of the ignored elements (code, head, script and style)
  • JS function arguments regex not properly matching strings when it is part of a variable assignment or expression
  • Variable arguments in getElementById() and get ElementsByClassName() getting incorrectly processed as a string
  • Ignore glob path matches that are not files
<br>
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc