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
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minify-selectors - npm Package Compare versions

Comparing version 1.0.0-beta.4 to 1.0.0

3

package.json
{
"name": "minify-selectors",
"version": "1.0.0-beta.4",
"version": "1.0.0",
"description": "Post-processor that minifies classes and IDs in CSS, HTML, Javascript and SVG files.",

@@ -30,2 +30,3 @@ "author": {

"HTML",
"SVG",
"minify",

@@ -32,0 +33,0 @@ "selectors",

@@ -125,4 +125,4 @@ [1]: https://github.com/adamgian/minify-selectors/releases/latest

- `.__--` or `#__--` — instead of the selector type ('#' or '.') before CSS selector names
- `__class--` or `__id--` — for "name only" selectors, use '\_\_class--' for class selectors and '\_\_id--' for ID selectors
- `.__--` or `#__--` instead of the selector type ('#' or '.') before selector names
- `__class--` or `__id--` for "name only" selectors, use '\_\_class--' for class selectors and '\_\_id--' for ID selectors

@@ -172,4 +172,4 @@ <table>

- `.__ignore--` and `#__ignore--` — instead of the selector type ('#' or '.') before CSS selector names
- `__ignore--` — for selectors that are "name only"
- `.__ignore--` and `#__ignore--` instead of the selector type ('#' or '.') before selector names
- `__ignore--` for selectors that are "name only"

@@ -205,3 +205,3 @@ <table>

> **Please note:**
minify-selectors only supports regular CSS, HTML and JS files. minify-selectors should be one of the final steps in your build process — SASS/SCSS, LESS, Typescript, JQuery, Handlebars, etc. should be compiled or transpiled first into its respective vanilla form.
minify-selectors only supports regular CSS, HTML, JS and SVG files. SASS/SCSS, LESS, TypeScript, JQuery, Handlebars, etc. should be compiled or transpiled first into its respective vanilla form.

@@ -215,3 +215,3 @@ ### Via npm and npm scripts

2. Include minify-selectors in your package.json 'scripts' property:
2. Include minify-selectors in your package.json 'scripts' property, for example:
```json

@@ -263,3 +263,3 @@ "scripts": {

<td>
Directory to process. Any CSS, HTML and JS files in the given directory and sub-directories will be parsed.
Directory to process. Any CSS, HTML, JS and SVG files in the given directory and sub-directories will be parsed.
</td>

@@ -266,0 +266,0 @@ </tr>

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