@readme/markdown 6.48.3 → 6.49.0
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/components/HTMLBlock/index.jsx +1 -1
- package/dist/main.js +3 -3
- package/dist/main.node.js +3 -3
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ const extractScripts = (html = '') => {
|
|
|
16
16
|
return [cleaned, () => scripts.map(js => window.eval(js))];
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
class HTMLBlock extends React.
|
|
19
|
+
class HTMLBlock extends React.PureComponent {
|
|
20
20
|
constructor(props) {
|
|
21
21
|
super(props);
|
|
22
22
|
[this.html, this.exec] = extractScripts(this.props.html);
|
package/dist/main.js
CHANGED
|
@@ -9736,10 +9736,10 @@ var extractScripts = function extractScripts() {
|
|
|
9736
9736
|
}];
|
|
9737
9737
|
};
|
|
9738
9738
|
|
|
9739
|
-
var HTMLBlock = /*#__PURE__*/function (_React$
|
|
9739
|
+
var HTMLBlock = /*#__PURE__*/function (_React$PureComponent) {
|
|
9740
9740
|
"use strict";
|
|
9741
9741
|
|
|
9742
|
-
_inherits(HTMLBlock, _React$
|
|
9742
|
+
_inherits(HTMLBlock, _React$PureComponent);
|
|
9743
9743
|
|
|
9744
9744
|
var _super = _createSuper(HTMLBlock);
|
|
9745
9745
|
|
|
@@ -9792,7 +9792,7 @@ var HTMLBlock = /*#__PURE__*/function (_React$Component) {
|
|
|
9792
9792
|
}]);
|
|
9793
9793
|
|
|
9794
9794
|
return HTMLBlock;
|
|
9795
|
-
}(React.
|
|
9795
|
+
}(React.PureComponent);
|
|
9796
9796
|
|
|
9797
9797
|
HTMLBlock.defaultProps = {
|
|
9798
9798
|
runScripts: false,
|
package/dist/main.node.js
CHANGED
|
@@ -9736,10 +9736,10 @@ var extractScripts = function extractScripts() {
|
|
|
9736
9736
|
}];
|
|
9737
9737
|
};
|
|
9738
9738
|
|
|
9739
|
-
var HTMLBlock = /*#__PURE__*/function (_React$
|
|
9739
|
+
var HTMLBlock = /*#__PURE__*/function (_React$PureComponent) {
|
|
9740
9740
|
"use strict";
|
|
9741
9741
|
|
|
9742
|
-
_inherits(HTMLBlock, _React$
|
|
9742
|
+
_inherits(HTMLBlock, _React$PureComponent);
|
|
9743
9743
|
|
|
9744
9744
|
var _super = _createSuper(HTMLBlock);
|
|
9745
9745
|
|
|
@@ -9792,7 +9792,7 @@ var HTMLBlock = /*#__PURE__*/function (_React$Component) {
|
|
|
9792
9792
|
}]);
|
|
9793
9793
|
|
|
9794
9794
|
return HTMLBlock;
|
|
9795
|
-
}(React.
|
|
9795
|
+
}(React.PureComponent);
|
|
9796
9796
|
|
|
9797
9797
|
HTMLBlock.defaultProps = {
|
|
9798
9798
|
runScripts: false,
|
package/package.json
CHANGED