New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-element-to-jsx-string

Package Overview
Dependencies
Maintainers
12
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-element-to-jsx-string - npm Package Compare versions

Comparing version

to
8.0.0

5

CHANGELOG.md

@@ -0,1 +1,6 @@

<a name="8.0.0"></a>
# [8.0.0](https://github.com/algolia/react-element-to-jsx-string/compare/v7.0.0...v8.0.0) (2017-05-24)
<a name="7.0.0"></a>

@@ -2,0 +7,0 @@ # [7.0.0](https://github.com/algolia/react-element-to-jsx-string/compare/v6.4.0...v7.0.0) (2017-05-14)

6

index-dist.js

@@ -7,2 +7,6 @@ 'use strict';

var _escape2 = require('lodash/escape');
var _escape3 = _interopRequireDefault(_escape2);
var _fill2 = require('lodash/fill');

@@ -211,3 +215,3 @@

if (typeof propValue === 'string') {
return '"' + propValue + '"';
return '"' + (0, _escape3.default)(propValue) + '"';
}

@@ -214,0 +218,0 @@

2

package.json
{
"name": "react-element-to-jsx-string",
"version": "7.0.0",
"version": "8.0.0",
"description": "Turn a ReactElement into the corresponding JSX string.",

@@ -5,0 +5,0 @@ "main": "index-dist.js",