@honeybadger-io/react 6.0.6 → 6.1.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.
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var js = require('@honeybadger-io/js');
5
+ var Honeybadger = require('@honeybadger-io/js');
6
6
  var React = require('react');
7
7
  var PropTypes = require('prop-types');
8
8
 
9
9
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
10
 
11
- var js__default = /*#__PURE__*/_interopDefaultLegacy(js);
11
+ var Honeybadger__default = /*#__PURE__*/_interopDefaultLegacy(Honeybadger);
12
12
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
13
13
  var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
14
14
 
@@ -68,9 +68,16 @@ HoneybadgerErrorBoundary.defaultProps = {
68
68
  showUserFeedbackFormOnError: false
69
69
  };
70
70
 
71
+ const NOTIFIER = {
72
+ name: '@honeybadger-io/react',
73
+ url: 'https://github.com/honeybadger-io/honeybadger-js/tree/master/packages/react',
74
+ version: '6.1.0'
75
+ };
76
+ Honeybadger__default["default"].setNotifier(NOTIFIER);
77
+
71
78
  Object.defineProperty(exports, 'Honeybadger', {
72
79
  enumerable: true,
73
- get: function () { return js__default["default"]; }
80
+ get: function () { return Honeybadger__default["default"]; }
74
81
  });
75
82
  exports.HoneybadgerErrorBoundary = HoneybadgerErrorBoundary;
76
83
  //# sourceMappingURL=honeybadger-react.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"honeybadger-react.cjs.js","sources":["../../build/DefaultErrorComponent.js","../../build/HoneybadgerErrorBoundary.js"],"sourcesContent":["import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport default class DefaultErrorComponent extends Component {\n render() {\n return (React.createElement(\"div\", { className: 'error' },\n React.createElement(\"div\", null, \"An Error Occurred\"),\n React.createElement(\"div\", null, JSON.stringify(this.props.error, null, 2)),\n React.createElement(\"div\", null, this.props.info ? JSON.stringify(this.props.info, null, 2) : '')));\n }\n}\nDefaultErrorComponent.propTypes = {\n error: PropTypes.object,\n info: PropTypes.object\n};\n//# sourceMappingURL=DefaultErrorComponent.js.map","import React, { Component } from 'react';\nimport DefaultErrorComponent from './DefaultErrorComponent';\nimport PropTypes from 'prop-types';\nexport default class HoneybadgerErrorBoundary extends Component {\n constructor(props) {\n super(props);\n this.state = {\n error: null,\n info: null,\n errorOccurred: false\n };\n this.props.honeybadger.afterNotify((error, _notice) => {\n if (!error && this.props.showUserFeedbackFormOnError) {\n this.props.honeybadger.showUserFeedbackForm();\n }\n });\n }\n static getDerivedStateFromError(error) {\n return { error: error, errorOccurred: true, info: null };\n }\n componentDidCatch(error, errorInfo) {\n this.setState({ errorOccurred: true, error: error, info: errorInfo });\n this.props.honeybadger.notify(error, { context: errorInfo });\n }\n getErrorComponent() {\n return this.props.ErrorComponent\n ? React.createElement(this.props.ErrorComponent, this.state)\n : React.createElement(DefaultErrorComponent, { ...this.state });\n }\n render() {\n return (React.createElement(React.Fragment, null, this.state.errorOccurred\n ? this.getErrorComponent()\n : this.props.children));\n }\n}\nHoneybadgerErrorBoundary.propTypes = {\n honeybadger: PropTypes.object.isRequired,\n showUserFeedbackFormOnError: PropTypes.bool,\n children: PropTypes.element,\n ErrorComponent: PropTypes.oneOfType([PropTypes.element, PropTypes.func])\n};\nHoneybadgerErrorBoundary.defaultProps = {\n showUserFeedbackFormOnError: false\n};\n//# sourceMappingURL=HoneybadgerErrorBoundary.js.map"],"names":["Component","React","PropTypes"],"mappings":";;;;;;;;;;;;;;AAEA;AACe,MAAM,qBAAqB,SAASA,eAAS,CAAC;AAC7D,IAAI,MAAM,GAAG;AACb,QAAQ,QAAQC,yBAAK,CAAC,aAAa,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE;AACjE,YA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;AACF,wBAAwB,CAAC,YAAY,GAAG;AACxC,IAAI,2BAA2B,EAAE,KAAK;AACtC,CAAC;;;;;;;;"}
1
+ {"version":3,"file":"honeybadger-react.cjs.js","sources":["../../build/DefaultErrorComponent.js","../../build/HoneybadgerErrorBoundary.js","../../build/index.js"],"sourcesContent":["import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport default class DefaultErrorComponent extends Component {\n render() {\n return (React.createElement(\"div\", { className: 'error' },\n React.createElement(\"div\", null, \"An Error Occurred\"),\n React.createElement(\"div\", null, JSON.stringify(this.props.error, null, 2)),\n React.createElement(\"div\", null, this.props.info ? JSON.stringify(this.props.info, null, 2) : '')));\n }\n}\nDefaultErrorComponent.propTypes = {\n error: PropTypes.object,\n info: PropTypes.object\n};\n//# sourceMappingURL=DefaultErrorComponent.js.map","import React, { Component } from 'react';\nimport DefaultErrorComponent from './DefaultErrorComponent';\nimport PropTypes from 'prop-types';\nexport default class HoneybadgerErrorBoundary extends Component {\n constructor(props) {\n super(props);\n this.state = {\n error: null,\n info: null,\n errorOccurred: false\n };\n this.props.honeybadger.afterNotify((error, _notice) => {\n if (!error && this.props.showUserFeedbackFormOnError) {\n this.props.honeybadger.showUserFeedbackForm();\n }\n });\n }\n static getDerivedStateFromError(error) {\n return { error: error, errorOccurred: true, info: null };\n }\n componentDidCatch(error, errorInfo) {\n this.setState({ errorOccurred: true, error: error, info: errorInfo });\n this.props.honeybadger.notify(error, { context: errorInfo });\n }\n getErrorComponent() {\n return this.props.ErrorComponent\n ? React.createElement(this.props.ErrorComponent, this.state)\n : React.createElement(DefaultErrorComponent, { ...this.state });\n }\n render() {\n return (React.createElement(React.Fragment, null, this.state.errorOccurred\n ? this.getErrorComponent()\n : this.props.children));\n }\n}\nHoneybadgerErrorBoundary.propTypes = {\n honeybadger: PropTypes.object.isRequired,\n showUserFeedbackFormOnError: PropTypes.bool,\n children: PropTypes.element,\n ErrorComponent: PropTypes.oneOfType([PropTypes.element, PropTypes.func])\n};\nHoneybadgerErrorBoundary.defaultProps = {\n showUserFeedbackFormOnError: false\n};\n//# sourceMappingURL=HoneybadgerErrorBoundary.js.map","import Honeybadger from '@honeybadger-io/js';\nimport HoneybadgerErrorBoundary from './HoneybadgerErrorBoundary';\nconst NOTIFIER = {\n name: '@honeybadger-io/react',\n url: 'https://github.com/honeybadger-io/honeybadger-js/tree/master/packages/react',\n version: '__VERSION__'\n};\nHoneybadger.setNotifier(NOTIFIER);\nexport { Honeybadger, HoneybadgerErrorBoundary };\n//# sourceMappingURL=index.js.map"],"names":["Component","React","PropTypes","Honeybadger"],"mappings":";;;;;;;;;;;;;;AAEA;AACe,MAAM,qBAAqB,SAASA,eAAS,CAAC;AAC7D,IAAI,MAAM,GAAG;AACb,QAAQ,QAAQC,yBAAK,CAAC,aAAa,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE;AACjE,YAAYA,yBAAK,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,EAAE,mBAAmB,CAAC;AACjE,YAAYA,yBAAK,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;AACvF,YAAYA,yBAAK,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE;AAChH,KAAK;AACL,CAAC;AACD,qBAAqB,CAAC,SAAS,GAAG;AAClC,IAAI,KAAK,EAAEC,6BAAS,CAAC,MAAM;AAC3B,IAAI,IAAI,EAAEA,6BAAS,CAAC,MAAM;AAC1B,CAAC;;ACXc,MAAM,wBAAwB,SAASF,eAAS,CAAC;AAChE,IAAI,WAAW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;AAC5E,KAAK;AACL,IAAI,MAAM,GAAG;AACb,QAAQ,QAAQA,yBAAK,CAAC,aAAa,CAACA,yBAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,aAAa;AAClF,cAAc,IAAI,CAAC,iBAAiB,EAAE;AACtC,cAAc,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;AACpC,KAAK;AACL,CAAC;AACD,wBAAwB,CAAC,SAAS,GAAG;AACrC,IAAI,WAAW,EAAEC,6BAAS,CAAC,MAAM,CAAC,UAAU;AAC5C,IAAI,2BAA2B,EAAEA,6BAAS,CAAC,IAAI;AAC/C,IAAI,QAAQ,EAAEA,6BAAS,CAAC,OAAO;AAC/B,IAAI,cAAc,EAAEA,6BAAS,CAAC,SAAS,CAAC,CAACA,6BAAS,CAAC,OAAO,EAAEA,6BAAS,CAAC,IAAI,CAAC,CAAC;AAC5E,CAAC,CAAC;AACF,wBAAwB,CAAC,YAAY,GAAG;AACxC,IAAI,2BAA2B,EAAE,KAAK;AACtC,CAAC;;ACzCD,MAAM,QAAQ,GAAG;AACjB,IAAI,IAAI,EAAE,uBAAuB;AACjC,IAAI,GAAG,EAAE,6EAA6E;AACtF,IAAI,OAAO,EAAE,OAAa;AAC1B,CAAC,CAAC;AACFC,+BAAW,CAAC,WAAW,CAAC,QAAQ,CAAC;;;;;;;;"}
@@ -1,3 +1,4 @@
1
+ import Honeybadger from '@honeybadger-io/js';
1
2
  export { default as Honeybadger } from '@honeybadger-io/js';
2
3
  import React, { Component } from 'react';
3
4
  import PropTypes from 'prop-types';
@@ -58,5 +59,12 @@ HoneybadgerErrorBoundary.defaultProps = {
58
59
  showUserFeedbackFormOnError: false
59
60
  };
60
61
 
62
+ const NOTIFIER = {
63
+ name: '@honeybadger-io/react',
64
+ url: 'https://github.com/honeybadger-io/honeybadger-js/tree/master/packages/react',
65
+ version: '6.1.0'
66
+ };
67
+ Honeybadger.setNotifier(NOTIFIER);
68
+
61
69
  export { HoneybadgerErrorBoundary };
62
70
  //# sourceMappingURL=honeybadger-react.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"honeybadger-react.esm.js","sources":["../../build/DefaultErrorComponent.js","../../build/HoneybadgerErrorBoundary.js"],"sourcesContent":["import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport default class DefaultErrorComponent extends Component {\n render() {\n return (React.createElement(\"div\", { className: 'error' },\n React.createElement(\"div\", null, \"An Error Occurred\"),\n React.createElement(\"div\", null, JSON.stringify(this.props.error, null, 2)),\n React.createElement(\"div\", null, this.props.info ? JSON.stringify(this.props.info, null, 2) : '')));\n }\n}\nDefaultErrorComponent.propTypes = {\n error: PropTypes.object,\n info: PropTypes.object\n};\n//# sourceMappingURL=DefaultErrorComponent.js.map","import React, { Component } from 'react';\nimport DefaultErrorComponent from './DefaultErrorComponent';\nimport PropTypes from 'prop-types';\nexport default class HoneybadgerErrorBoundary extends Component {\n constructor(props) {\n super(props);\n this.state = {\n error: null,\n info: null,\n errorOccurred: false\n };\n this.props.honeybadger.afterNotify((error, _notice) => {\n if (!error && this.props.showUserFeedbackFormOnError) {\n this.props.honeybadger.showUserFeedbackForm();\n }\n });\n }\n static getDerivedStateFromError(error) {\n return { error: error, errorOccurred: true, info: null };\n }\n componentDidCatch(error, errorInfo) {\n this.setState({ errorOccurred: true, error: error, info: errorInfo });\n this.props.honeybadger.notify(error, { context: errorInfo });\n }\n getErrorComponent() {\n return this.props.ErrorComponent\n ? React.createElement(this.props.ErrorComponent, this.state)\n : React.createElement(DefaultErrorComponent, { ...this.state });\n }\n render() {\n return (React.createElement(React.Fragment, null, this.state.errorOccurred\n ? this.getErrorComponent()\n : this.props.children));\n }\n}\nHoneybadgerErrorBoundary.propTypes = {\n honeybadger: PropTypes.object.isRequired,\n showUserFeedbackFormOnError: PropTypes.bool,\n children: PropTypes.element,\n ErrorComponent: PropTypes.oneOfType([PropTypes.element, PropTypes.func])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,CAAC,MAAM,CAAC,UAAU;AAC5C,IAAI,2BAA2B,EAAE,SAAS,CAAC,IAAI;AAC/C,IAAI,QAAQ,EAAE,SAAS,CAAC,OAAO;AAC/B,IAAI,cAAc,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,OAAO,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC;AAC5E,CAAC,CAAC;AACF,wBAAwB,CAAC,YAAY,GAAG;AACxC,IAAI,2BAA2B,EAAE,KAAK;AACtC,CAAC;;;;"}
1
+ {"version":3,"file":"honeybadger-react.esm.js","sources":["../../build/DefaultErrorComponent.js","../../build/HoneybadgerErrorBoundary.js","../../build/index.js"],"sourcesContent":["import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport default class DefaultErrorComponent extends Component {\n render() {\n return (React.createElement(\"div\", { className: 'error' },\n React.createElement(\"div\", null, \"An Error Occurred\"),\n React.createElement(\"div\", null, JSON.stringify(this.props.error, null, 2)),\n React.createElement(\"div\", null, this.props.info ? JSON.stringify(this.props.info, null, 2) : '')));\n }\n}\nDefaultErrorComponent.propTypes = {\n error: PropTypes.object,\n info: PropTypes.object\n};\n//# sourceMappingURL=DefaultErrorComponent.js.map","import React, { Component } from 'react';\nimport DefaultErrorComponent from './DefaultErrorComponent';\nimport PropTypes from 'prop-types';\nexport default class HoneybadgerErrorBoundary extends Component {\n constructor(props) {\n super(props);\n this.state = {\n error: null,\n info: null,\n errorOccurred: false\n };\n this.props.honeybadger.afterNotify((error, _notice) => {\n if (!error && this.props.showUserFeedbackFormOnError) {\n this.props.honeybadger.showUserFeedbackForm();\n }\n });\n }\n static getDerivedStateFromError(error) {\n return { error: error, errorOccurred: true, info: null };\n }\n componentDidCatch(error, errorInfo) {\n this.setState({ errorOccurred: true, error: error, info: errorInfo });\n this.props.honeybadger.notify(error, { context: errorInfo });\n }\n getErrorComponent() {\n return this.props.ErrorComponent\n ? React.createElement(this.props.ErrorComponent, this.state)\n : React.createElement(DefaultErrorComponent, { ...this.state });\n }\n render() {\n return (React.createElement(React.Fragment, null, this.state.errorOccurred\n ? this.getErrorComponent()\n : this.props.children));\n }\n}\nHoneybadgerErrorBoundary.propTypes = {\n honeybadger: PropTypes.object.isRequired,\n showUserFeedbackFormOnError: PropTypes.bool,\n children: PropTypes.element,\n ErrorComponent: PropTypes.oneOfType([PropTypes.element, PropTypes.func])\n};\nHoneybadgerErrorBoundary.defaultProps = {\n showUserFeedbackFormOnError: false\n};\n//# sourceMappingURL=HoneybadgerErrorBoundary.js.map","import Honeybadger from '@honeybadger-io/js';\nimport HoneybadgerErrorBoundary from './HoneybadgerErrorBoundary';\nconst NOTIFIER = {\n name: '@honeybadger-io/react',\n url: 'https://github.com/honeybadger-io/honeybadger-js/tree/master/packages/react',\n version: '__VERSION__'\n};\nHoneybadger.setNotifier(NOTIFIER);\nexport { Honeybadger, HoneybadgerErrorBoundary };\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;AAEA;AACe,MAAM,qBAAqB,SAAS,SAAS,CAAC;AAC7D,IAAI,MAAM,GAAG;AACb,QAAQ,QAAQ,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE;AACjE,YAAY,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,EAAE,mBAAmB,CAAC;AACjE,YAAY,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;AACvF,YAAY,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE;AAChH,KAAK;AACL,C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AAc,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC;AACxE,cAAc,KAAK,CAAC,aAAa,CAAC,qBAAqB,EAAE,EAAE,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;AAC5E,KAAK;AACL,IAAI,MAAM,GAAG;AACb,QAAQ,QAAQ,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,aAAa;AAClF,cAAc,IAAI,CAAC,iBAAiB,EAAE;AACtC,cAAc,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;AACpC,KAAK;AACL,CAAC;AACD,wBAAwB,CAAC,SAAS,GAAG;AACrC,IAAI,WAAW,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU;AAC5C,IAAI,2BAA2B,EAAE,SAAS,CAAC,IAAI;AAC/C,IAAI,QAAQ,EAAE,SAAS,CAAC,OAAO;AAC/B,IAAI,cAAc,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,OAAO,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC;AAC5E,CAAC,CAAC;AACF,wBAAwB,CAAC,YAAY,GAAG;AACxC,IAAI,2BAA2B,EAAE,KAAK;AACtC,CAAC;;ACzCD,MAAM,QAAQ,GAAG;AACjB,IAAI,IAAI,EAAE,uBAAuB;AACjC,IAAI,GAAG,EAAE,6EAA6E;AACtF,IAAI,OAAO,EAAE,OAAa;AAC1B,CAAC,CAAC;AACF,WAAW,CAAC,WAAW,CAAC,QAAQ,CAAC;;;;"}
@@ -1,9 +1,9 @@
1
- var HoneybadgerReact = (function (exports, js, React, PropTypes) {
1
+ var HoneybadgerReact = (function (exports, Honeybadger, React, PropTypes) {
2
2
  'use strict';
3
3
 
4
4
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
5
5
 
6
- var js__default = /*#__PURE__*/_interopDefaultLegacy(js);
6
+ var Honeybadger__default = /*#__PURE__*/_interopDefaultLegacy(Honeybadger);
7
7
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
8
8
  var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
9
9
 
@@ -63,9 +63,16 @@ var HoneybadgerReact = (function (exports, js, React, PropTypes) {
63
63
  showUserFeedbackFormOnError: false
64
64
  };
65
65
 
66
+ const NOTIFIER = {
67
+ name: '@honeybadger-io/react',
68
+ url: 'https://github.com/honeybadger-io/honeybadger-js/tree/master/packages/react',
69
+ version: '6.1.0'
70
+ };
71
+ Honeybadger__default["default"].setNotifier(NOTIFIER);
72
+
66
73
  Object.defineProperty(exports, 'Honeybadger', {
67
74
  enumerable: true,
68
- get: function () { return js__default["default"]; }
75
+ get: function () { return Honeybadger__default["default"]; }
69
76
  });
70
77
  exports.HoneybadgerErrorBoundary = HoneybadgerErrorBoundary;
71
78
 
@@ -1 +1 @@
1
- {"version":3,"file":"honeybadger-react.js","sources":["../../build/DefaultErrorComponent.js","../../build/HoneybadgerErrorBoundary.js"],"sourcesContent":["import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport default class DefaultErrorComponent extends Component {\n render() {\n return (React.createElement(\"div\", { className: 'error' },\n React.createElement(\"div\", null, \"An Error Occurred\"),\n React.createElement(\"div\", null, JSON.stringify(this.props.error, null, 2)),\n React.createElement(\"div\", null, this.props.info ? JSON.stringify(this.props.info, null, 2) : '')));\n }\n}\nDefaultErrorComponent.propTypes = {\n error: PropTypes.object,\n info: PropTypes.object\n};\n//# sourceMappingURL=DefaultErrorComponent.js.map","import React, { Component } from 'react';\nimport DefaultErrorComponent from './DefaultErrorComponent';\nimport PropTypes from 'prop-types';\nexport default class HoneybadgerErrorBoundary extends Component {\n constructor(props) {\n super(props);\n this.state = {\n error: null,\n info: null,\n errorOccurred: false\n };\n this.props.honeybadger.afterNotify((error, _notice) => {\n if (!error && this.props.showUserFeedbackFormOnError) {\n this.props.honeybadger.showUserFeedbackForm();\n }\n });\n }\n static getDerivedStateFromError(error) {\n return { error: error, errorOccurred: true, info: null };\n }\n componentDidCatch(error, errorInfo) {\n this.setState({ errorOccurred: true, error: error, info: errorInfo });\n this.props.honeybadger.notify(error, { context: errorInfo });\n }\n getErrorComponent() {\n return this.props.ErrorComponent\n ? React.createElement(this.props.ErrorComponent, this.state)\n : React.createElement(DefaultErrorComponent, { ...this.state });\n }\n render() {\n return (React.createElement(React.Fragment, null, this.state.errorOccurred\n ? this.getErrorComponent()\n : this.props.children));\n }\n}\nHoneybadgerErrorBoundary.propTypes = {\n honeybadger: PropTypes.object.isRequired,\n showUserFeedbackFormOnError: PropTypes.bool,\n children: PropTypes.element,\n ErrorComponent: PropTypes.oneOfType([PropTypes.element, PropTypes.func])\n};\nHoneybadgerErrorBoundary.defaultProps = {\n showUserFeedbackFormOnError: false\n};\n//# sourceMappingURL=HoneybadgerErrorBoundary.js.map"],"names":["Component","React","PropTypes"],"mappings":";;;;;;;;;IAEA;IACe,MAAM,qBAAqB,SAASA,eAAS,CAAC;IAC7D,IAAI,MAAM,GAAG;IACb,QAAQ,QAAQC,yBAAK,CAAC,aAAa,CAAC,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE;IACjE,YAAYA,yBAAK,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,EAAE,mBAAmB,CAAC;IACjE,YAAYA,yBAAK,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IACvF,YAAYA,yBAAK,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,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B,QAAQ,OAAO,IAAI,CAAC,KAAK,CAAC,cAAc;IACxC,cAAcC,yBAAK,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC;IACxE,cAAcA,yBAAK,CAAC,aAAa,CAAC,qBAAqB,EAAE,EAAE,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;IAC5E,KAAK;IACL,IAAI,MAAM,GAAG;IACb,QAAQ,QAAQA,yBAAK,CAAC,aAAa,CAACA,yBAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,aAAa;IAClF,cAAc,IAAI,CAAC,iBAAiB,EAAE;IACtC,cAAc,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;IACpC,KAAK;IACL,CAAC;IACD,wBAAwB,CAAC,SAAS,GAAG;IACrC,IAAI,WAAW,EAAEC,6BAAS,CAAC,MAAM,CAAC,UAAU;IAC5C,IAAI,2BAA2B,EAAEA,6BAAS,CAAC,IAAI;IAC/C,IAAI,QAAQ,EAAEA,6BAAS,CAAC,OAAO;IAC/B,IAAI,cAAc,EAAEA,6BAAS,CAAC,SAAS,CAAC,CAACA,6BAAS,CAAC,OAAO,EAAEA,6BAAS,CAAC,IAAI,CAAC,CAAC;IAC5E,CAAC,CAAC;IACF,wBAAwB,CAAC,YAAY,GAAG;IACxC,IAAI,2BAA2B,EAAE,KAAK;IACtC,CAAC;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"honeybadger-react.js","sources":["../../build/DefaultErrorComponent.js","../../build/HoneybadgerErrorBoundary.js","../../build/index.js"],"sourcesContent":["import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport default class DefaultErrorComponent extends Component {\n render() {\n return (React.createElement(\"div\", { className: 'error' },\n React.createElement(\"div\", null, \"An Error Occurred\"),\n React.createElement(\"div\", null, JSON.stringify(this.props.error, null, 2)),\n React.createElement(\"div\", null, this.props.info ? JSON.stringify(this.props.info, null, 2) : '')));\n }\n}\nDefaultErrorComponent.propTypes = {\n error: PropTypes.object,\n info: PropTypes.object\n};\n//# sourceMappingURL=DefaultErrorComponent.js.map","import React, { Component } from 'react';\nimport DefaultErrorComponent from './DefaultErrorComponent';\nimport PropTypes from 'prop-types';\nexport default class HoneybadgerErrorBoundary extends Component {\n constructor(props) {\n super(props);\n this.state = {\n error: null,\n info: null,\n errorOccurred: false\n };\n this.props.honeybadger.afterNotify((error, _notice) => {\n if (!error && this.props.showUserFeedbackFormOnError) {\n this.props.honeybadger.showUserFeedbackForm();\n }\n });\n }\n static getDerivedStateFromError(error) {\n return { error: error, errorOccurred: true, info: null };\n }\n componentDidCatch(error, errorInfo) {\n this.setState({ errorOccurred: true, error: error, info: errorInfo });\n this.props.honeybadger.notify(error, { context: errorInfo });\n }\n getErrorComponent() {\n return this.props.ErrorComponent\n ? React.createElement(this.props.ErrorComponent, this.state)\n : React.createElement(DefaultErrorComponent, { ...this.state });\n }\n render() {\n return (React.createElement(React.Fragment, null, this.state.errorOccurred\n ? this.getErrorComponent()\n : this.props.children));\n }\n}\nHoneybadgerErrorBoundary.propTypes = {\n honeybadger: PropTypes.object.isRequired,\n showUserFeedbackFormOnError: PropTypes.bool,\n children: PropTypes.element,\n ErrorComponent: PropTypes.oneOfType([PropTypes.element, PropTypes.func])\n};\nHoneybadgerErrorBoundary.defaultProps = {\n showUserFeedbackFormOnError: false\n};\n//# sourceMappingURL=HoneybadgerErrorBoundary.js.map","import Honeybadger from '@honeybadger-io/js';\nimport HoneybadgerErrorBoundary from './HoneybadgerErrorBoundary';\nconst NOTIFIER = {\n name: '@honeybadger-io/react',\n url: 'https://github.com/honeybadger-io/honeybadger-js/tree/master/packages/react',\n version: '__VERSION__'\n};\nHoneybadger.setNotifier(NOTIFIER);\nexport { Honeybadger, HoneybadgerErrorBoundary };\n//# sourceMappingURL=index.js.map"],"names":["Component","React","PropTypes","Honeybadger"],"m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C/C,IAAI,QAAQ,EAAEA,6BAAS,CAAC,OAAO;IAC/B,IAAI,cAAc,EAAEA,6BAAS,CAAC,SAAS,CAAC,CAACA,6BAAS,CAAC,OAAO,EAAEA,6BAAS,CAAC,IAAI,CAAC,CAAC;IAC5E,CAAC,CAAC;IACF,wBAAwB,CAAC,YAAY,GAAG;IACxC,IAAI,2BAA2B,EAAE,KAAK;IACtC,CAAC;;ICzCD,MAAM,QAAQ,GAAG;IACjB,IAAI,IAAI,EAAE,uBAAuB;IACjC,IAAI,GAAG,EAAE,6EAA6E;IACtF,IAAI,OAAO,EAAE,OAAa;IAC1B,CAAC,CAAC;AACFC,mCAAW,CAAC,WAAW,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@honeybadger-io/react",
3
- "version": "6.0.6",
3
+ "version": "6.1.0",
4
4
  "description": "React.js integration for honeybadger",
5
5
  "author": "Jason Truesdell <jason@yuzuten.com> (https://github.com/JasonTrue)",
6
6
  "license": "MIT",
@@ -29,8 +29,9 @@
29
29
  "react-dom": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@honeybadger-io/js": "^6.1.3",
32
+ "@honeybadger-io/js": "^6.2.0",
33
33
  "@rollup/plugin-commonjs": "^22.0.0",
34
+ "@rollup/plugin-replace": "^5.0.2",
34
35
  "@types/jest": "^29.0.0",
35
36
  "@types/react": "^18.0.0",
36
37
  "@types/react-test-renderer": "^18.0.0",
@@ -52,5 +53,5 @@
52
53
  "engines": {
53
54
  "node": ">=14"
54
55
  },
55
- "gitHead": "a7280f266012ae55b6f414085011303a1a8bf7e4"
56
+ "gitHead": "81975a98dd8ac13e75a58d460ba58e4cc6a28fbd"
56
57
  }