Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-error-boundary

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-error-boundary - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

10

dist/commonjs/index.js

@@ -6,4 +6,8 @@ 'use strict';

});
exports.default = undefined;
exports.ErrorBoundaryFallbackComponent = exports.ErrorBoundary = undefined;
var _ErrorBoundaryFallbackComponent = require('./ErrorBoundaryFallbackComponent');
var _ErrorBoundaryFallbackComponent2 = _interopRequireDefault(_ErrorBoundaryFallbackComponent);
var _ErrorBoundary = require('./ErrorBoundary');

@@ -15,2 +19,4 @@

exports.default = _ErrorBoundary2.default;
exports.default = _ErrorBoundary2.default;
exports.ErrorBoundary = _ErrorBoundary2.default;
exports.ErrorBoundaryFallbackComponent = _ErrorBoundaryFallbackComponent2.default;

7

dist/es/index.js

@@ -1,2 +0,5 @@

import _default from './ErrorBoundary';
export { _default as default };
import ErrorBoundaryFallbackComponent from './ErrorBoundaryFallbackComponent';
import ErrorBoundary from './ErrorBoundary';
export default ErrorBoundary;
export { ErrorBoundary, ErrorBoundaryFallbackComponent };
!function(root, factory) {
"object" == typeof exports && "object" == typeof module ? module.exports = factory(require("React")) : "function" == typeof define && define.amd ? define([ "React" ], factory) : "object" == typeof exports ? exports.ReactErrorBoundary = factory(require("React")) : root.ReactErrorBoundary = factory(root.React);
}(this, function(__WEBPACK_EXTERNAL_MODULE_41__) {
}(this, function(__WEBPACK_EXTERNAL_MODULE_29__) {
/******/

@@ -103,3 +103,3 @@ return function(modules) {

return Object.prototype.hasOwnProperty.call(object, property);
}, __webpack_require__.p = "", __webpack_require__(__webpack_require__.s = 42);
}, __webpack_require__.p = "", __webpack_require__(__webpack_require__.s = 43);
}([ /* 0 */

@@ -128,3 +128,3 @@ /***/

function(module, exports, __webpack_require__) {
var anObject = __webpack_require__(9), IE8_DOM_DEFINE = __webpack_require__(31), toPrimitive = __webpack_require__(18), dP = Object.defineProperty;
var anObject = __webpack_require__(9), IE8_DOM_DEFINE = __webpack_require__(33), toPrimitive = __webpack_require__(18), dP = Object.defineProperty;
exports.f = __webpack_require__(4) ? Object.defineProperty : function(O, P, Attributes) {

@@ -152,3 +152,3 @@ if (anObject(O), P = toPrimitive(P, !0), anObject(Attributes), IE8_DOM_DEFINE) try {

// to indexed object, toObject with fallback for non-array-like ES3 strings
var IObject = __webpack_require__(60), defined = __webpack_require__(15);
var IObject = __webpack_require__(62), defined = __webpack_require__(15);
module.exports = function(it) {

@@ -160,3 +160,3 @@ return IObject(defined(it));

function(module, exports, __webpack_require__) {
var global = __webpack_require__(0), core = __webpack_require__(1), ctx = __webpack_require__(30), hide = __webpack_require__(7), $export = function(type, name, source) {
var global = __webpack_require__(0), core = __webpack_require__(1), ctx = __webpack_require__(32), hide = __webpack_require__(7), $export = function(type, name, source) {
var key, own, out, IS_FORCED = type & $export.F, IS_GLOBAL = type & $export.G, IS_STATIC = type & $export.S, IS_PROTO = type & $export.P, IS_BIND = type & $export.B, IS_WRAP = type & $export.W, exports = IS_GLOBAL ? core : core[name] || (core[name] = {}), expProto = exports.prototype, target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {}).prototype;

@@ -261,3 +261,3 @@ IS_GLOBAL && (source = name);

// 19.1.2.14 / 15.2.3.14 Object.keys(O)
var $keys = __webpack_require__(36), enumBugKeys = __webpack_require__(23);
var $keys = __webpack_require__(38), enumBugKeys = __webpack_require__(23);
module.exports = Object.keys || function(O) {

@@ -323,6 +323,6 @@ return $keys(O, enumBugKeys);

// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
var anObject = __webpack_require__(9), dPs = __webpack_require__(59), enumBugKeys = __webpack_require__(23), IE_PROTO = __webpack_require__(16)("IE_PROTO"), Empty = function() {}, createDict = function() {
var anObject = __webpack_require__(9), dPs = __webpack_require__(61), enumBugKeys = __webpack_require__(23), IE_PROTO = __webpack_require__(16)("IE_PROTO"), Empty = function() {}, createDict = function() {
// Thrash, waste and sodomy: IE GC bug
var iframeDocument, iframe = __webpack_require__(32)("iframe"), i = enumBugKeys.length;
for (iframe.style.display = "none", __webpack_require__(64).appendChild(iframe),
var iframeDocument, iframe = __webpack_require__(34)("iframe"), i = enumBugKeys.length;
for (iframe.style.display = "none", __webpack_require__(66).appendChild(iframe),
iframe.src = "javascript:", // eslint-disable-line no-script-url

@@ -377,2 +377,46 @@ // createDict = iframe.contentWindow.Object;

function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: !0
});
var _react = __webpack_require__(29), _react2 = function(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}(_react), ErrorBoundaryFallbackComponent = function(_ref) {
var error = (_ref.componentStack, _ref.error);
return _react2.default.createElement("div", {
style: style,
title: error.toString()
}, _react2.default.createElement("svg", {
style: svgStyle,
viewBox: "0 0 24 24",
preserveAspectRatio: "xMidYMid"
}, _react2.default.createElement("path", {
d: "M20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,\n 12M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,\n 12M15.5,8C16.3,8 17,8.7 17,9.5C17,10.3 16.3,11 15.5,11C14.7,11 14,10.3 14,\n 9.5C14,8.7 14.7,8 15.5,8M10,9.5C10,10.3 9.3,11 8.5,11C7.7,11 7,10.3 7,9.5C7,\n 8.7 7.7,8 8.5,8C9.3,8 10,8.7 10,9.5M12,14C13.75,14 15.29,14.72 16.19,\n 15.81L14.77,17.23C14.32,16.5 13.25,16 12,16C10.75,16 9.68,16.5 9.23,\n 17.23L7.81,15.81C8.71,14.72 10.25,14 12,14Z"
})));
}, style = {
height: "100%",
maxHeight: "100vh",
width: "100%",
maxWidth: "100vw",
display: "flex",
flexDirection: "column",
alignItems: "center",
textAlign: "center",
backgroundColor: "#C00",
color: "#FFF",
boxSizing: "border-box"
}, svgStyle = {
fill: "currentColor",
flex: "1 1 auto"
};
exports.default = ErrorBoundaryFallbackComponent;
}, /* 29 */
/***/
function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_29__;
}, /* 30 */
/***/
function(module, exports, __webpack_require__) {
// 7.1.13 ToObject(argument)

@@ -383,15 +427,15 @@ var defined = __webpack_require__(15);

};
}, /* 29 */
}, /* 31 */
/***/
function(module, exports, __webpack_require__) {
// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
var has = __webpack_require__(2), toObject = __webpack_require__(28), IE_PROTO = __webpack_require__(16)("IE_PROTO"), ObjectProto = Object.prototype;
var has = __webpack_require__(2), toObject = __webpack_require__(30), IE_PROTO = __webpack_require__(16)("IE_PROTO"), ObjectProto = Object.prototype;
module.exports = Object.getPrototypeOf || function(O) {
return O = toObject(O), has(O, IE_PROTO) ? O[IE_PROTO] : "function" == typeof O.constructor && O instanceof O.constructor ? O.constructor.prototype : O instanceof Object ? ObjectProto : null;
};
}, /* 30 */
}, /* 32 */
/***/
function(module, exports, __webpack_require__) {
// optional / simple context binding
var aFunction = __webpack_require__(47);
var aFunction = __webpack_require__(49);
module.exports = function(fn, that, length) {

@@ -419,7 +463,7 @@ if (aFunction(fn), void 0 === that) return fn;

};
}, /* 31 */
}, /* 33 */
/***/
function(module, exports, __webpack_require__) {
module.exports = !__webpack_require__(4) && !__webpack_require__(11)(function() {
return 7 != Object.defineProperty(__webpack_require__(32)("div"), "a", {
return 7 != Object.defineProperty(__webpack_require__(34)("div"), "a", {
get: function() {

@@ -430,3 +474,3 @@ return 7;

});
}, /* 32 */
}, /* 34 */
/***/

@@ -438,3 +482,3 @@ function(module, exports, __webpack_require__) {

};
}, /* 33 */
}, /* 35 */
/***/

@@ -449,3 +493,3 @@ function(module, exports, __webpack_require__) {

exports.__esModule = !0;
var _iterator = __webpack_require__(54), _iterator2 = _interopRequireDefault(_iterator), _symbol = __webpack_require__(69), _symbol2 = _interopRequireDefault(_symbol), _typeof = "function" == typeof _symbol2.default && "symbol" == typeof _iterator2.default ? function(obj) {
var _iterator = __webpack_require__(56), _iterator2 = _interopRequireDefault(_iterator), _symbol = __webpack_require__(71), _symbol2 = _interopRequireDefault(_symbol), _typeof = "function" == typeof _symbol2.default && "symbol" == typeof _iterator2.default ? function(obj) {
return typeof obj;

@@ -460,7 +504,7 @@ } : function(obj) {

};
}, /* 34 */
}, /* 36 */
/***/
function(module, exports, __webpack_require__) {
"use strict";
var LIBRARY = __webpack_require__(20), $export = __webpack_require__(6), redefine = __webpack_require__(35), hide = __webpack_require__(7), has = __webpack_require__(2), Iterators = __webpack_require__(21), $iterCreate = __webpack_require__(58), setToStringTag = __webpack_require__(24), getPrototypeOf = __webpack_require__(29), ITERATOR = __webpack_require__(8)("iterator"), BUGGY = !([].keys && "next" in [].keys()), returnThis = function() {
var LIBRARY = __webpack_require__(20), $export = __webpack_require__(6), redefine = __webpack_require__(37), hide = __webpack_require__(7), has = __webpack_require__(2), Iterators = __webpack_require__(21), $iterCreate = __webpack_require__(60), setToStringTag = __webpack_require__(24), getPrototypeOf = __webpack_require__(31), ITERATOR = __webpack_require__(8)("iterator"), BUGGY = !([].keys && "next" in [].keys()), returnThis = function() {
return this;

@@ -500,10 +544,10 @@ };

};
}, /* 35 */
}, /* 37 */
/***/
function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(7);
}, /* 36 */
}, /* 38 */
/***/
function(module, exports, __webpack_require__) {
var has = __webpack_require__(2), toIObject = __webpack_require__(5), arrayIndexOf = __webpack_require__(61)(!1), IE_PROTO = __webpack_require__(16)("IE_PROTO");
var has = __webpack_require__(2), toIObject = __webpack_require__(5), arrayIndexOf = __webpack_require__(63)(!1), IE_PROTO = __webpack_require__(16)("IE_PROTO");
module.exports = function(object, names) {

@@ -516,3 +560,3 @@ var key, O = toIObject(object), i = 0, result = [];

};
}, /* 37 */
}, /* 39 */
/***/

@@ -524,18 +568,18 @@ function(module, exports) {

};
}, /* 38 */
}, /* 40 */
/***/
function(module, exports) {
exports.f = Object.getOwnPropertySymbols;
}, /* 39 */
}, /* 41 */
/***/
function(module, exports, __webpack_require__) {
// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
var $keys = __webpack_require__(36), hiddenKeys = __webpack_require__(23).concat("length", "prototype");
var $keys = __webpack_require__(38), hiddenKeys = __webpack_require__(23).concat("length", "prototype");
exports.f = Object.getOwnPropertyNames || function(O) {
return $keys(O, hiddenKeys);
};
}, /* 40 */
}, /* 42 */
/***/
function(module, exports, __webpack_require__) {
var pIE = __webpack_require__(27), createDesc = __webpack_require__(13), toIObject = __webpack_require__(5), toPrimitive = __webpack_require__(18), has = __webpack_require__(2), IE8_DOM_DEFINE = __webpack_require__(31), gOPD = Object.getOwnPropertyDescriptor;
var pIE = __webpack_require__(27), createDesc = __webpack_require__(13), toIObject = __webpack_require__(5), toPrimitive = __webpack_require__(18), has = __webpack_require__(2), IE8_DOM_DEFINE = __webpack_require__(33), gOPD = Object.getOwnPropertyDescriptor;
exports.f = __webpack_require__(4) ? gOPD : function(O, P) {

@@ -547,7 +591,18 @@ if (O = toIObject(O), P = toPrimitive(P, !0), IE8_DOM_DEFINE) try {

};
}, /* 41 */
}, /* 43 */
/***/
function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_41__;
}, /* 42 */
function(module, exports, __webpack_require__) {
"use strict";
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}
Object.defineProperty(exports, "__esModule", {
value: !0
}), exports.ErrorBoundaryFallbackComponent = exports.ErrorBoundary = void 0;
var _ErrorBoundaryFallbackComponent = __webpack_require__(28), _ErrorBoundaryFallbackComponent2 = _interopRequireDefault(_ErrorBoundaryFallbackComponent), _ErrorBoundary = __webpack_require__(44), _ErrorBoundary2 = _interopRequireDefault(_ErrorBoundary);
exports.default = _ErrorBoundary2.default, exports.ErrorBoundary = _ErrorBoundary2.default,
exports.ErrorBoundaryFallbackComponent = _ErrorBoundaryFallbackComponent2.default;
}, /* 44 */
/***/

@@ -564,3 +619,3 @@ function(module, exports, __webpack_require__) {

});
var _getPrototypeOf = __webpack_require__(43), _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf), _classCallCheck2 = __webpack_require__(48), _classCallCheck3 = _interopRequireDefault(_classCallCheck2), _createClass2 = __webpack_require__(49), _createClass3 = _interopRequireDefault(_createClass2), _possibleConstructorReturn2 = __webpack_require__(53), _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2), _inherits2 = __webpack_require__(80), _inherits3 = _interopRequireDefault(_inherits2), _react = __webpack_require__(41), _react2 = _interopRequireDefault(_react), _ErrorBoundaryFallbackComponent = __webpack_require__(88), _ErrorBoundaryFallbackComponent2 = _interopRequireDefault(_ErrorBoundaryFallbackComponent), ErrorBoundary = function(_Component) {
var _getPrototypeOf = __webpack_require__(45), _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf), _classCallCheck2 = __webpack_require__(50), _classCallCheck3 = _interopRequireDefault(_classCallCheck2), _createClass2 = __webpack_require__(51), _createClass3 = _interopRequireDefault(_createClass2), _possibleConstructorReturn2 = __webpack_require__(55), _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2), _inherits2 = __webpack_require__(82), _inherits3 = _interopRequireDefault(_inherits2), _react = __webpack_require__(29), _react2 = _interopRequireDefault(_react), _ErrorBoundaryFallbackComponent = __webpack_require__(28), _ErrorBoundaryFallbackComponent2 = _interopRequireDefault(_ErrorBoundaryFallbackComponent), ErrorBoundary = function(_Component) {
function ErrorBoundary(props, context) {

@@ -602,19 +657,19 @@ (0, _classCallCheck3.default)(this, ErrorBoundary);

}, exports.default = ErrorBoundary;
}, /* 43 */
}, /* 45 */
/***/
function(module, exports, __webpack_require__) {
module.exports = {
default: __webpack_require__(44),
default: __webpack_require__(46),
__esModule: !0
};
}, /* 44 */
}, /* 46 */
/***/
function(module, exports, __webpack_require__) {
__webpack_require__(45), module.exports = __webpack_require__(1).Object.getPrototypeOf;
}, /* 45 */
__webpack_require__(47), module.exports = __webpack_require__(1).Object.getPrototypeOf;
}, /* 47 */
/***/
function(module, exports, __webpack_require__) {
// 19.1.2.9 Object.getPrototypeOf(O)
var toObject = __webpack_require__(28), $getPrototypeOf = __webpack_require__(29);
__webpack_require__(46)("getPrototypeOf", function() {
var toObject = __webpack_require__(30), $getPrototypeOf = __webpack_require__(31);
__webpack_require__(48)("getPrototypeOf", function() {
return function(it) {

@@ -624,3 +679,3 @@ return $getPrototypeOf(toObject(it));

});
}, /* 46 */
}, /* 48 */
/***/

@@ -636,3 +691,3 @@ function(module, exports, __webpack_require__) {

};
}, /* 47 */
}, /* 49 */
/***/

@@ -644,3 +699,3 @@ function(module, exports) {

};
}, /* 48 */
}, /* 50 */
/***/

@@ -652,3 +707,3 @@ function(module, exports, __webpack_require__) {

};
}, /* 49 */
}, /* 51 */
/***/

@@ -658,3 +713,3 @@ function(module, exports, __webpack_require__) {

exports.__esModule = !0;
var _defineProperty = __webpack_require__(50), _defineProperty2 = function(obj) {
var _defineProperty = __webpack_require__(52), _defineProperty2 = function(obj) {
return obj && obj.__esModule ? obj : {

@@ -677,13 +732,13 @@ default: obj

}();
}, /* 50 */
}, /* 52 */
/***/
function(module, exports, __webpack_require__) {
module.exports = {
default: __webpack_require__(51),
default: __webpack_require__(53),
__esModule: !0
};
}, /* 51 */
}, /* 53 */
/***/
function(module, exports, __webpack_require__) {
__webpack_require__(52);
__webpack_require__(54);
var $Object = __webpack_require__(1).Object;

@@ -693,3 +748,3 @@ module.exports = function(it, key, desc) {

};
}, /* 52 */
}, /* 54 */
/***/

@@ -702,3 +757,3 @@ function(module, exports, __webpack_require__) {

});
}, /* 53 */
}, /* 55 */
/***/

@@ -708,3 +763,3 @@ function(module, exports, __webpack_require__) {

exports.__esModule = !0;
var _typeof2 = __webpack_require__(33), _typeof3 = function(obj) {
var _typeof2 = __webpack_require__(35), _typeof3 = function(obj) {
return obj && obj.__esModule ? obj : {

@@ -718,20 +773,20 @@ default: obj

};
}, /* 54 */
}, /* 56 */
/***/
function(module, exports, __webpack_require__) {
module.exports = {
default: __webpack_require__(55),
default: __webpack_require__(57),
__esModule: !0
};
}, /* 55 */
}, /* 57 */
/***/
function(module, exports, __webpack_require__) {
__webpack_require__(56), __webpack_require__(65), module.exports = __webpack_require__(25).f("iterator");
}, /* 56 */
__webpack_require__(58), __webpack_require__(67), module.exports = __webpack_require__(25).f("iterator");
}, /* 58 */
/***/
function(module, exports, __webpack_require__) {
"use strict";
var $at = __webpack_require__(57)(!0);
var $at = __webpack_require__(59)(!0);
// 21.1.3.27 String.prototype[@@iterator]()
__webpack_require__(34)(String, "String", function(iterated) {
__webpack_require__(36)(String, "String", function(iterated) {
this._t = String(iterated), // target

@@ -749,3 +804,3 @@ this._i = 0;

});
}, /* 57 */
}, /* 59 */
/***/

@@ -762,3 +817,3 @@ function(module, exports, __webpack_require__) {

};
}, /* 58 */
}, /* 60 */
/***/

@@ -776,3 +831,3 @@ function(module, exports, __webpack_require__) {

};
}, /* 59 */
}, /* 61 */
/***/

@@ -786,11 +841,11 @@ function(module, exports, __webpack_require__) {

};
}, /* 60 */
}, /* 62 */
/***/
function(module, exports, __webpack_require__) {
// fallback for non-array-like ES3 and non-enumerable old V8 strings
var cof = __webpack_require__(37);
var cof = __webpack_require__(39);
module.exports = Object("z").propertyIsEnumerable(0) ? Object : function(it) {
return "String" == cof(it) ? it.split("") : Object(it);
};
}, /* 61 */
}, /* 63 */
/***/

@@ -800,3 +855,3 @@ function(module, exports, __webpack_require__) {

// true -> Array#includes
var toIObject = __webpack_require__(5), toLength = __webpack_require__(62), toIndex = __webpack_require__(63);
var toIObject = __webpack_require__(5), toLength = __webpack_require__(64), toIndex = __webpack_require__(65);
module.exports = function(IS_INCLUDES) {

@@ -812,3 +867,3 @@ return function($this, el, fromIndex) {

};
}, /* 62 */
}, /* 64 */
/***/

@@ -821,3 +876,3 @@ function(module, exports, __webpack_require__) {

};
}, /* 63 */
}, /* 65 */
/***/

@@ -829,10 +884,10 @@ function(module, exports, __webpack_require__) {

};
}, /* 64 */
}, /* 66 */
/***/
function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(0).document && document.documentElement;
}, /* 65 */
}, /* 67 */
/***/
function(module, exports, __webpack_require__) {
__webpack_require__(66);
__webpack_require__(68);
for (var global = __webpack_require__(0), hide = __webpack_require__(7), Iterators = __webpack_require__(21), TO_STRING_TAG = __webpack_require__(8)("toStringTag"), collections = [ "NodeList", "DOMTokenList", "MediaList", "StyleSheetList", "CSSRuleList" ], i = 0; i < 5; i++) {

@@ -842,7 +897,7 @@ var NAME = collections[i], Collection = global[NAME], proto = Collection && Collection.prototype;

}
}, /* 66 */
}, /* 68 */
/***/
function(module, exports, __webpack_require__) {
"use strict";
var addToUnscopables = __webpack_require__(67), step = __webpack_require__(68), Iterators = __webpack_require__(21), toIObject = __webpack_require__(5);
var addToUnscopables = __webpack_require__(69), step = __webpack_require__(70), Iterators = __webpack_require__(21), toIObject = __webpack_require__(5);
// 22.1.3.4 Array.prototype.entries()

@@ -852,3 +907,3 @@ // 22.1.3.13 Array.prototype.keys()

// 22.1.3.30 Array.prototype[@@iterator]()
module.exports = __webpack_require__(34)(Array, "Array", function(iterated, kind) {
module.exports = __webpack_require__(36)(Array, "Array", function(iterated, kind) {
this._t = toIObject(iterated), // target

@@ -863,7 +918,7 @@ this._i = 0, // next index

addToUnscopables("entries");
}, /* 67 */
}, /* 69 */
/***/
function(module, exports) {
module.exports = function() {};
}, /* 68 */
}, /* 70 */
/***/

@@ -877,15 +932,15 @@ function(module, exports) {

};
}, /* 69 */
}, /* 71 */
/***/
function(module, exports, __webpack_require__) {
module.exports = {
default: __webpack_require__(70),
default: __webpack_require__(72),
__esModule: !0
};
}, /* 70 */
}, /* 72 */
/***/
function(module, exports, __webpack_require__) {
__webpack_require__(71), __webpack_require__(77), __webpack_require__(78), __webpack_require__(79),
__webpack_require__(73), __webpack_require__(79), __webpack_require__(80), __webpack_require__(81),
module.exports = __webpack_require__(1).Symbol;
}, /* 71 */
}, /* 73 */
/***/

@@ -895,3 +950,3 @@ function(module, exports, __webpack_require__) {

// ECMAScript 6 symbols shim
var global = __webpack_require__(0), has = __webpack_require__(2), DESCRIPTORS = __webpack_require__(4), $export = __webpack_require__(6), redefine = __webpack_require__(35), META = __webpack_require__(72).KEY, $fails = __webpack_require__(11), shared = __webpack_require__(17), setToStringTag = __webpack_require__(24), uid = __webpack_require__(12), wks = __webpack_require__(8), wksExt = __webpack_require__(25), wksDefine = __webpack_require__(26), keyOf = __webpack_require__(73), enumKeys = __webpack_require__(74), isArray = __webpack_require__(75), anObject = __webpack_require__(9), toIObject = __webpack_require__(5), toPrimitive = __webpack_require__(18), createDesc = __webpack_require__(13), _create = __webpack_require__(22), gOPNExt = __webpack_require__(76), $GOPD = __webpack_require__(40), $DP = __webpack_require__(3), $keys = __webpack_require__(14), gOPD = $GOPD.f, dP = $DP.f, gOPN = gOPNExt.f, $Symbol = global.Symbol, $JSON = global.JSON, _stringify = $JSON && $JSON.stringify, HIDDEN = wks("_hidden"), TO_PRIMITIVE = wks("toPrimitive"), isEnum = {}.propertyIsEnumerable, SymbolRegistry = shared("symbol-registry"), AllSymbols = shared("symbols"), OPSymbols = shared("op-symbols"), ObjectProto = Object.prototype, USE_NATIVE = "function" == typeof $Symbol, QObject = global.QObject, setter = !QObject || !QObject.prototype || !QObject.prototype.findChild, setSymbolDesc = DESCRIPTORS && $fails(function() {
var global = __webpack_require__(0), has = __webpack_require__(2), DESCRIPTORS = __webpack_require__(4), $export = __webpack_require__(6), redefine = __webpack_require__(37), META = __webpack_require__(74).KEY, $fails = __webpack_require__(11), shared = __webpack_require__(17), setToStringTag = __webpack_require__(24), uid = __webpack_require__(12), wks = __webpack_require__(8), wksExt = __webpack_require__(25), wksDefine = __webpack_require__(26), keyOf = __webpack_require__(75), enumKeys = __webpack_require__(76), isArray = __webpack_require__(77), anObject = __webpack_require__(9), toIObject = __webpack_require__(5), toPrimitive = __webpack_require__(18), createDesc = __webpack_require__(13), _create = __webpack_require__(22), gOPNExt = __webpack_require__(78), $GOPD = __webpack_require__(42), $DP = __webpack_require__(3), $keys = __webpack_require__(14), gOPD = $GOPD.f, dP = $DP.f, gOPN = gOPNExt.f, $Symbol = global.Symbol, $JSON = global.JSON, _stringify = $JSON && $JSON.stringify, HIDDEN = wks("_hidden"), TO_PRIMITIVE = wks("toPrimitive"), isEnum = {}.propertyIsEnumerable, SymbolRegistry = shared("symbol-registry"), AllSymbols = shared("symbols"), OPSymbols = shared("op-symbols"), ObjectProto = Object.prototype, USE_NATIVE = "function" == typeof $Symbol, QObject = global.QObject, setter = !QObject || !QObject.prototype || !QObject.prototype.findChild, setSymbolDesc = DESCRIPTORS && $fails(function() {
return 7 != _create(dP({}, "a", {

@@ -956,4 +1011,4 @@ get: function() {

return this._k;
}), $GOPD.f = $getOwnPropertyDescriptor, $DP.f = $defineProperty, __webpack_require__(39).f = gOPNExt.f = $getOwnPropertyNames,
__webpack_require__(27).f = $propertyIsEnumerable, __webpack_require__(38).f = $getOwnPropertySymbols,
}), $GOPD.f = $getOwnPropertyDescriptor, $DP.f = $defineProperty, __webpack_require__(41).f = gOPNExt.f = $getOwnPropertyNames,
__webpack_require__(27).f = $propertyIsEnumerable, __webpack_require__(40).f = $getOwnPropertySymbols,
DESCRIPTORS && !__webpack_require__(20) && redefine(ObjectProto, "propertyIsEnumerable", $propertyIsEnumerable, !0),

@@ -1022,3 +1077,3 @@ wksExt.f = function(name) {

setToStringTag(global.JSON, "JSON", !0);
}, /* 72 */
}, /* 74 */
/***/

@@ -1070,3 +1125,3 @@ function(module, exports, __webpack_require__) {

};
}, /* 73 */
}, /* 75 */
/***/

@@ -1078,7 +1133,7 @@ function(module, exports, __webpack_require__) {

};
}, /* 74 */
}, /* 76 */
/***/
function(module, exports, __webpack_require__) {
// all enumerable object keys, includes symbols
var getKeys = __webpack_require__(14), gOPS = __webpack_require__(38), pIE = __webpack_require__(27);
var getKeys = __webpack_require__(14), gOPS = __webpack_require__(40), pIE = __webpack_require__(27);
module.exports = function(it) {

@@ -1089,15 +1144,15 @@ var result = getKeys(it), getSymbols = gOPS.f;

};
}, /* 75 */
}, /* 77 */
/***/
function(module, exports, __webpack_require__) {
// 7.2.2 IsArray(argument)
var cof = __webpack_require__(37);
var cof = __webpack_require__(39);
module.exports = Array.isArray || function(arg) {
return "Array" == cof(arg);
};
}, /* 76 */
}, /* 78 */
/***/
function(module, exports, __webpack_require__) {
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
var toIObject = __webpack_require__(5), gOPN = __webpack_require__(39).f, toString = {}.toString, windowNames = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], getWindowNames = function(it) {
var toIObject = __webpack_require__(5), gOPN = __webpack_require__(41).f, toString = {}.toString, windowNames = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], getWindowNames = function(it) {
try {

@@ -1112,13 +1167,13 @@ return gOPN(it);

};
}, /* 77 */
}, /* 79 */
/***/
function(module, exports) {}, /* 78 */
function(module, exports) {}, /* 80 */
/***/
function(module, exports, __webpack_require__) {
__webpack_require__(26)("asyncIterator");
}, /* 79 */
}, /* 81 */
/***/
function(module, exports, __webpack_require__) {
__webpack_require__(26)("observable");
}, /* 80 */
}, /* 82 */
/***/

@@ -1133,3 +1188,3 @@ function(module, exports, __webpack_require__) {

exports.__esModule = !0;
var _setPrototypeOf = __webpack_require__(81), _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf), _create = __webpack_require__(85), _create2 = _interopRequireDefault(_create), _typeof2 = __webpack_require__(33), _typeof3 = _interopRequireDefault(_typeof2);
var _setPrototypeOf = __webpack_require__(83), _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf), _create = __webpack_require__(87), _create2 = _interopRequireDefault(_create), _typeof2 = __webpack_require__(35), _typeof3 = _interopRequireDefault(_typeof2);
exports.default = function(subClass, superClass) {

@@ -1147,14 +1202,14 @@ if ("function" != typeof superClass && null !== superClass) throw new TypeError("Super expression must either be null or a function, not " + (void 0 === superClass ? "undefined" : (0,

};
}, /* 81 */
}, /* 83 */
/***/
function(module, exports, __webpack_require__) {
module.exports = {
default: __webpack_require__(82),
default: __webpack_require__(84),
__esModule: !0
};
}, /* 82 */
}, /* 84 */
/***/
function(module, exports, __webpack_require__) {
__webpack_require__(83), module.exports = __webpack_require__(1).Object.setPrototypeOf;
}, /* 83 */
__webpack_require__(85), module.exports = __webpack_require__(1).Object.setPrototypeOf;
}, /* 85 */
/***/

@@ -1165,5 +1220,5 @@ function(module, exports, __webpack_require__) {

$export($export.S, "Object", {
setPrototypeOf: __webpack_require__(84).set
setPrototypeOf: __webpack_require__(86).set
});
}, /* 84 */
}, /* 86 */
/***/

@@ -1180,3 +1235,3 @@ function(module, exports, __webpack_require__) {

try {
set = __webpack_require__(30)(Function.call, __webpack_require__(40).f(Object.prototype, "__proto__").set, 2),
set = __webpack_require__(32)(Function.call, __webpack_require__(42).f(Object.prototype, "__proto__").set, 2),
set(test, []), buggy = !(test instanceof Array);

@@ -1192,13 +1247,13 @@ } catch (e) {

};
}, /* 85 */
}, /* 87 */
/***/
function(module, exports, __webpack_require__) {
module.exports = {
default: __webpack_require__(86),
default: __webpack_require__(88),
__esModule: !0
};
}, /* 86 */
}, /* 88 */
/***/
function(module, exports, __webpack_require__) {
__webpack_require__(87);
__webpack_require__(89);
var $Object = __webpack_require__(1).Object;

@@ -1208,3 +1263,3 @@ module.exports = function(P, D) {

};
}, /* 87 */
}, /* 89 */
/***/

@@ -1217,43 +1272,3 @@ function(module, exports, __webpack_require__) {

});
}, /* 88 */
/***/
function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
value: !0
});
var _react = __webpack_require__(41), _react2 = function(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}(_react), ErrorBoundaryFallbackComponent = function(_ref) {
var error = (_ref.componentStack, _ref.error);
return _react2.default.createElement("div", {
style: style,
title: error.toString()
}, _react2.default.createElement("svg", {
style: svgStyle,
viewBox: "0 0 24 24",
preserveAspectRatio: "xMidYMid"
}, _react2.default.createElement("path", {
d: "M20,12A8,8 0 0,0 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,\n 12M22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,\n 12M15.5,8C16.3,8 17,8.7 17,9.5C17,10.3 16.3,11 15.5,11C14.7,11 14,10.3 14,\n 9.5C14,8.7 14.7,8 15.5,8M10,9.5C10,10.3 9.3,11 8.5,11C7.7,11 7,10.3 7,9.5C7,\n 8.7 7.7,8 8.5,8C9.3,8 10,8.7 10,9.5M12,14C13.75,14 15.29,14.72 16.19,\n 15.81L14.77,17.23C14.32,16.5 13.25,16 12,16C10.75,16 9.68,16.5 9.23,\n 17.23L7.81,15.81C8.71,14.72 10.25,14 12,14Z"
})));
}, style = {
height: "100%",
maxHeight: "100vh",
width: "100%",
maxWidth: "100vw",
display: "flex",
flexDirection: "column",
alignItems: "center",
textAlign: "center",
backgroundColor: "#C00",
color: "#FFF",
boxSizing: "border-box"
}, svgStyle = {
fill: "currentColor",
flex: "1 1 auto"
};
exports.default = ErrorBoundaryFallbackComponent;
} ]);
});
{
"name": "react-error-boundary",
"version": "0.0.3",
"version": "0.0.4",
"description": "Simple reusable React error boundary component",

@@ -5,0 +5,0 @@ "files": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc