html-react-parser 5.0.1 → 5.0.2

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.
@@ -2662,9 +2662,8 @@
2662
2662
  var hasReplace = typeof (options === null || options === void 0 ? void 0 : options.replace) === 'function';
2663
2663
  var transform = (options === null || options === void 0 ? void 0 : options.transform) || utilities_1.returnFirstArg;
2664
2664
  var _a = (options === null || options === void 0 ? void 0 : options.library) || React, cloneElement = _a.cloneElement, createElement = _a.createElement, isValidElement = _a.isValidElement;
2665
- var index = 0;
2666
2665
  var nodesLength = nodes.length;
2667
- for (; index < nodesLength; index++) {
2666
+ for (var index = 0; index < nodesLength; index++) {
2668
2667
  var node = nodes[index];
2669
2668
  // replace with custom React element (if present)
2670
2669
  if (hasReplace) {