babel-plugin-jsx-dom-expressions 0.31.11 → 0.31.12
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 +1 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -808,7 +808,7 @@ function transformAttributes$2(path, results) {
|
|
|
808
808
|
: node.name.name,
|
|
809
809
|
reservedNameSpace =
|
|
810
810
|
t__namespace.isJSXNamespacedName(node.name) && reservedNameSpaces.has(node.name.namespace.name);
|
|
811
|
-
if (t__namespace.isJSXExpressionContainer(value)) {
|
|
811
|
+
if (t__namespace.isJSXExpressionContainer(value) && !key.startsWith("use:")) {
|
|
812
812
|
const evaluated = attribute.get("value").get("expression").evaluate().value;
|
|
813
813
|
let type;
|
|
814
814
|
if (
|
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.31.
|
|
4
|
+
"version": "0.31.12",
|
|
5
5
|
"author": "Ryan Carniato",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"@babel/types": "^7.16.0",
|
|
24
24
|
"html-entities": "2.3.2"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "4145792a40b9529557ee5cc8ddb27a1780394409"
|
|
27
27
|
}
|