Socket
Socket
Sign inDemoInstall

unocss

Package Overview
Dependencies
Maintainers
1
Versions
366
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unocss - npm Package Compare versions

Comparing version 0.11.1 to 0.11.3

16

package.json
{
"name": "unocss",
"version": "0.11.1",
"version": "0.11.3",
"description": "The instant on-demand Atomic CSS engine.",

@@ -43,9 +43,9 @@ "keywords": [

"dependencies": {
"@unocss/core": "0.11.1",
"@unocss/cli": "0.11.1",
"@unocss/reset": "0.11.1",
"@unocss/preset-icons": "0.11.1",
"@unocss/preset-attributify": "0.11.1",
"@unocss/preset-uno": "0.11.1",
"@unocss/vite": "0.11.1"
"@unocss/core": "0.11.3",
"@unocss/cli": "0.11.3",
"@unocss/reset": "0.11.3",
"@unocss/preset-icons": "0.11.3",
"@unocss/preset-attributify": "0.11.3",
"@unocss/preset-uno": "0.11.3",
"@unocss/vite": "0.11.3"
},

@@ -52,0 +52,0 @@ "engines": {

@@ -491,2 +491,14 @@ <br>

### Utilities Preprocess & Prefixing
UnoCSS also provides the ability to preprocess and transform extracted utilities before processing to the matcher. For example, the following example allows you to add a global prefix to all utilities:
```ts
preprocess(matcher) {
return matcher.startsWith('prefix-')
? matcher.slice(7)
: undefined // ignore
}
```
### Inspector

@@ -493,0 +505,0 @@

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