@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.
@@ -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.Component {
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$Component) {
9739
+ var HTMLBlock = /*#__PURE__*/function (_React$PureComponent) {
9740
9740
  "use strict";
9741
9741
 
9742
- _inherits(HTMLBlock, _React$Component);
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.Component);
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$Component) {
9739
+ var HTMLBlock = /*#__PURE__*/function (_React$PureComponent) {
9740
9740
  "use strict";
9741
9741
 
9742
- _inherits(HTMLBlock, _React$Component);
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.Component);
9795
+ }(React.PureComponent);
9796
9796
 
9797
9797
  HTMLBlock.defaultProps = {
9798
9798
  runScripts: false,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@readme/markdown",
3
3
  "description": "ReadMe's React-based Markdown parser",
4
4
  "author": "Rafe Goldberg <rafe@readme.io>",
5
- "version": "6.48.3",
5
+ "version": "6.49.0",
6
6
  "main": "dist/main.node.js",
7
7
  "browser": "dist/main.js",
8
8
  "files": [