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

@unocss/transformer-attributify-jsx

Package Overview
Dependencies
Maintainers
2
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unocss/transformer-attributify-jsx - npm Package Compare versions

Comparing version 65.4.0 to 65.4.2

8

package.json
{
"name": "@unocss/transformer-attributify-jsx",
"type": "module",
"version": "65.4.0",
"version": "65.4.2",
"description": "Support valueless attributify in JSX/TSX.",

@@ -9,7 +9,7 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>",

"funding": "https://github.com/sponsors/antfu",
"homepage": "https://github.com/unocss/unocss/tree/main/packages/transformer-attributify-jsx#readme",
"homepage": "https://unocss.dev",
"repository": {
"type": "git",
"url": "https://github.com/unocss/unocss",
"directory": "packages/transformer-attributify-jsx"
"directory": "packages-presets/transformer-attributify-jsx"
},

@@ -37,3 +37,3 @@ "bugs": {

"dependencies": {
"@unocss/core": "65.4.0"
"@unocss/core": "65.4.2"
},

@@ -40,0 +40,0 @@ "devDependencies": {

@@ -5,3 +5,3 @@ # @unocss/transformer-attributify-jsx

Support [valueless attributify](https://github.com/unocss/unocss/tree/main/packages/preset-attributify#valueless-attributify) in JSX/TSX.
Support [valueless attributify](https://github.com/unocss/unocss/tree/main/packages-presets/preset-attributify#valueless-attributify) in JSX/TSX.

@@ -72,3 +72,3 @@ ```jsx

If you encounter any issues with this package, there is [@unocss/transformer-attributify-jsx-babel](https://github.com/unocss/unocss/tree/main/packages/transformer-attributify-jsx-babel) package that uses Babel to transform JSX.
If you encounter any issues with this package, there is [@unocss/transformer-attributify-jsx-babel](https://github.com/unocss/unocss/tree/main/packages-presets/transformer-attributify-jsx-babel) package that uses Babel to transform JSX.

@@ -78,5 +78,7 @@ > ⚠️ The rules are almost the same as those of `preset-attributify`, but there are several precautions

```html
<div translate-x-100% /> <!-- cannot end with `%` -->
<div translate-x-100% />
<!-- cannot end with `%` -->
<div translate-x-[100px] /> <!-- cannot contain `[` or `]` -->
<div translate-x-[100px] />
<!-- cannot contain `[` or `]` -->
```

@@ -112,5 +114,3 @@

```html
<div text-red text-center text-5xl animate-bounce="">
unocss
</div>
<div text-red text-center text-5xl animate-bounce="">unocss</div>
```

@@ -117,0 +117,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