babel-plugin-jsx-dom-expressions 0.36.8 → 0.36.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -832,7 +832,10 @@ function setAttr$2(path, elem, name, value, { isSVG, dynamic, prevId, isCE, tagN
|
|
|
832
832
|
t__namespace.memberExpression(elem, t__namespace.identifier("classList")),
|
|
833
833
|
t__namespace.identifier("toggle")
|
|
834
834
|
),
|
|
835
|
-
[
|
|
835
|
+
[
|
|
836
|
+
t__namespace.stringLiteral(name),
|
|
837
|
+
dynamic ? value : t__namespace.unaryExpression("!", t__namespace.unaryExpression("!", value))
|
|
838
|
+
]
|
|
836
839
|
);
|
|
837
840
|
}
|
|
838
841
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babel-plugin-jsx-dom-expressions",
|
|
3
3
|
"description": "A JSX to DOM plugin that wraps expressions for fine grained change detection",
|
|
4
|
-
"version": "0.36.
|
|
4
|
+
"version": "0.36.9",
|
|
5
5
|
"author": "Ryan Carniato",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@babel/core": "^7.20.12"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "eccf8327e8f09029d94273d4c9a70360651313e8"
|
|
35
35
|
}
|