html-react-parser 5.0.2 → 5.0.4

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/README.md CHANGED
@@ -27,7 +27,7 @@ import parse from 'html-react-parser';
27
27
  parse('<p>Hello, World!</p>'); // React.createElement('p', {}, 'Hello, World!')
28
28
  ```
29
29
 
30
- [Replit](https://replit.com/@remarkablemark/html-react-parser) | [JSFiddle](https://jsfiddle.net/remarkablemark/7v86d800/) | [CodeSandbox](https://codesandbox.io/s/940pov1l4w) | [TypeScript](https://codesandbox.io/s/html-react-parser-z0kp6) | [Examples](https://github.com/remarkablemark/html-react-parser/tree/master/examples)
30
+ [Replit](https://replit.com/@remarkablemark/html-react-parser) | [JSFiddle](https://jsfiddle.net/remarkablemark/7v86d800/) | [CodeSandbox](https://codesandbox.io/s/940pov1l4w) | [TypeScript](https://codesandbox.io/s/html-react-parser-z0kp6) | [Vite](https://codesandbox.io/p/sandbox/html-react-parser-fg2jpw) | [Examples](https://github.com/remarkablemark/html-react-parser/tree/master/examples)
31
31
 
32
32
  <details>
33
33
  <summary>Table of Contents</summary>
@@ -2583,8 +2583,7 @@
2583
2583
  function attributesToProps(attributes, nodeName) {
2584
2584
  if (attributes === void 0) { attributes = {}; }
2585
2585
  var props = {};
2586
- var isInputValueOnly = Boolean(attributes.type &&
2587
- valueOnlyInputs[attributes.type]);
2586
+ var isInputValueOnly = Boolean(attributes.type && valueOnlyInputs[attributes.type]);
2588
2587
  for (var attributeName in attributes) {
2589
2588
  var attributeValue = attributes[attributeName];
2590
2589
  // ARIA (aria-*) or custom data (data-*) attribute