babel-plugin-transform-solid-jsx 4.0.8-beta.0 → 4.0.8-beta.3
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/dist/index.js +5 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -711,6 +711,8 @@ function appendTemplates$1(path, templates) {
|
|
|
711
711
|
path.node.body.unshift(t__namespace.variableDeclaration('var', declarators));
|
|
712
712
|
}
|
|
713
713
|
|
|
714
|
+
/* eslint-disable complexity */
|
|
715
|
+
|
|
714
716
|
function appendToTemplate(template, value) {
|
|
715
717
|
let array;
|
|
716
718
|
if (Array.isArray(value)) {
|
|
@@ -1589,7 +1591,6 @@ function wrapDynamics$1(path, dynamics) {
|
|
|
1589
1591
|
t__namespace.arrowFunctionExpression(
|
|
1590
1592
|
[prevValue],
|
|
1591
1593
|
setAttr$1(path, dynamics[0].elem, dynamics[0].key, dynamics[0].value, {
|
|
1592
|
-
dynamic: true,
|
|
1593
1594
|
prevId: prevValue
|
|
1594
1595
|
})
|
|
1595
1596
|
)
|
|
@@ -1623,7 +1624,7 @@ function wrapDynamics$1(path, dynamics) {
|
|
|
1623
1624
|
t__namespace.assignmentExpression(
|
|
1624
1625
|
'=',
|
|
1625
1626
|
propMember,
|
|
1626
|
-
setAttr$1(path, elem, key, varIdent, {
|
|
1627
|
+
setAttr$1(path, elem, key, varIdent, { prevId: propMember }),
|
|
1627
1628
|
),
|
|
1628
1629
|
),
|
|
1629
1630
|
),
|
|
@@ -2192,6 +2193,8 @@ const BlockElements = [
|
|
|
2192
2193
|
'ul'
|
|
2193
2194
|
];
|
|
2194
2195
|
|
|
2196
|
+
/* eslint-disable complexity */
|
|
2197
|
+
|
|
2195
2198
|
const alwaysClose = [
|
|
2196
2199
|
'title',
|
|
2197
2200
|
'style',
|
package/package.json
CHANGED