babel-plugin-jsx-dom-expressions 0.31.5 → 0.31.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.
Files changed (2) hide show
  1. package/index.js +1 -20
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1150,26 +1150,7 @@ function transformChildren$2(path, results, config) {
1150
1150
  t__namespace.expressionStatement(
1151
1151
  t__namespace.callExpression(
1152
1152
  insert,
1153
- config.hydratable
1154
- ? [
1155
- results.id,
1156
- child.exprs[0],
1157
- t__namespace.identifier("undefined"),
1158
- t__namespace.callExpression(
1159
- t__namespace.memberExpression(
1160
- t__namespace.memberExpression(
1161
- t__namespace.memberExpression(t__namespace.identifier("Array"), t__namespace.identifier("prototype")),
1162
- t__namespace.identifier("slice")
1163
- ),
1164
- t__namespace.identifier("call")
1165
- ),
1166
- [
1167
- t__namespace.memberExpression(results.id, t__namespace.identifier("childNodes")),
1168
- t__namespace.numericLiteral(0)
1169
- ]
1170
- )
1171
- ]
1172
- : [results.id, child.exprs[0]]
1153
+ [results.id, child.exprs[0]]
1173
1154
  )
1174
1155
  )
1175
1156
  );
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.5",
4
+ "version": "0.31.9",
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": "4ef6930208d91931a87074733a134b0fcbebe428"
26
+ "gitHead": "d6acdfaec8fd29efa9954a56f1f6d068b9b8e528"
27
27
  }