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.2 to 0.0.3

163

dist/umd/react-error-boundary.js

@@ -150,3 +150,3 @@ !function(root, factory) {

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

@@ -319,6 +319,6 @@ return IObject(defined(it));

// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
var anObject = __webpack_require__(9), dPs = __webpack_require__(60), enumBugKeys = __webpack_require__(23), IE_PROTO = __webpack_require__(16)("IE_PROTO"), Empty = function() {}, createDict = function() {
var anObject = __webpack_require__(9), dPs = __webpack_require__(59), 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__(65).appendChild(iframe),
for (iframe.style.display = "none", __webpack_require__(64).appendChild(iframe),
iframe.src = "javascript:", // eslint-disable-line no-script-url

@@ -390,3 +390,3 @@ // createDict = iframe.contentWindow.Object;

// optional / simple context binding
var aFunction = __webpack_require__(48);
var aFunction = __webpack_require__(47);
module.exports = function(fn, that, length) {

@@ -441,3 +441,3 @@ if (aFunction(fn), void 0 === that) return fn;

exports.__esModule = !0;
var _iterator = __webpack_require__(55), _iterator2 = _interopRequireDefault(_iterator), _symbol = __webpack_require__(70), _symbol2 = _interopRequireDefault(_symbol), _typeof = "function" == typeof _symbol2.default && "symbol" == typeof _iterator2.default ? function(obj) {
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) {
return typeof obj;

@@ -456,3 +456,3 @@ } : function(obj) {

"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__(59), 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__(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() {
return this;

@@ -499,3 +499,3 @@ };

function(module, exports, __webpack_require__) {
var has = __webpack_require__(2), toIObject = __webpack_require__(5), arrayIndexOf = __webpack_require__(62)(!1), IE_PROTO = __webpack_require__(16)("IE_PROTO");
var has = __webpack_require__(2), toIObject = __webpack_require__(5), arrayIndexOf = __webpack_require__(61)(!1), IE_PROTO = __webpack_require__(16)("IE_PROTO");
module.exports = function(object, names) {

@@ -545,15 +545,2 @@ var key, O = toIObject(object), i = 0, result = [];

"use strict";
Object.defineProperty(exports, "__esModule", {
value: !0
}), exports.default = void 0;
var _ErrorBoundary = __webpack_require__(43), _ErrorBoundary2 = function(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}(_ErrorBoundary);
exports.default = _ErrorBoundary2.default;
}, /* 43 */
/***/
function(module, exports, __webpack_require__) {
"use strict";
function _interopRequireDefault(obj) {

@@ -567,3 +554,3 @@ return obj && obj.__esModule ? obj : {

});
var _getPrototypeOf = __webpack_require__(44), _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf), _classCallCheck2 = __webpack_require__(49), _classCallCheck3 = _interopRequireDefault(_classCallCheck2), _createClass2 = __webpack_require__(50), _createClass3 = _interopRequireDefault(_createClass2), _possibleConstructorReturn2 = __webpack_require__(54), _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2), _inherits2 = __webpack_require__(81), _inherits3 = _interopRequireDefault(_inherits2), _react = __webpack_require__(41), _react2 = _interopRequireDefault(_react), _ErrorBoundaryFallbackComponent = __webpack_require__(89), _ErrorBoundaryFallbackComponent2 = _interopRequireDefault(_ErrorBoundaryFallbackComponent), ErrorBoundary = function(_Component) {
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) {
function ErrorBoundary(props, context) {

@@ -605,14 +592,14 @@ (0, _classCallCheck3.default)(this, ErrorBoundary);

}, exports.default = ErrorBoundary;
}, /* 44 */
}, /* 43 */
/***/
function(module, exports, __webpack_require__) {
module.exports = {
default: __webpack_require__(45),
default: __webpack_require__(44),
__esModule: !0
};
}, /* 45 */
}, /* 44 */
/***/
function(module, exports, __webpack_require__) {
__webpack_require__(46), module.exports = __webpack_require__(1).Object.getPrototypeOf;
}, /* 46 */
__webpack_require__(45), module.exports = __webpack_require__(1).Object.getPrototypeOf;
}, /* 45 */
/***/

@@ -622,3 +609,3 @@ function(module, exports, __webpack_require__) {

var toObject = __webpack_require__(28), $getPrototypeOf = __webpack_require__(29);
__webpack_require__(47)("getPrototypeOf", function() {
__webpack_require__(46)("getPrototypeOf", function() {
return function(it) {

@@ -628,3 +615,3 @@ return $getPrototypeOf(toObject(it));

});
}, /* 47 */
}, /* 46 */
/***/

@@ -640,3 +627,3 @@ function(module, exports, __webpack_require__) {

};
}, /* 48 */
}, /* 47 */
/***/

@@ -648,3 +635,3 @@ function(module, exports) {

};
}, /* 49 */
}, /* 48 */
/***/

@@ -656,3 +643,3 @@ function(module, exports, __webpack_require__) {

};
}, /* 50 */
}, /* 49 */
/***/

@@ -662,3 +649,3 @@ function(module, exports, __webpack_require__) {

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

@@ -681,13 +668,13 @@ default: obj

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

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

};
}, /* 53 */
}, /* 52 */
/***/

@@ -706,3 +693,3 @@ function(module, exports, __webpack_require__) {

});
}, /* 54 */
}, /* 53 */
/***/

@@ -721,18 +708,18 @@ function(module, exports, __webpack_require__) {

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

@@ -752,3 +739,3 @@ __webpack_require__(34)(String, "String", function(iterated) {

});
}, /* 58 */
}, /* 57 */
/***/

@@ -765,3 +752,3 @@ function(module, exports, __webpack_require__) {

};
}, /* 59 */
}, /* 58 */
/***/

@@ -779,3 +766,3 @@ function(module, exports, __webpack_require__) {

};
}, /* 60 */
}, /* 59 */
/***/

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

};
}, /* 61 */
}, /* 60 */
/***/

@@ -798,3 +785,3 @@ function(module, exports, __webpack_require__) {

};
}, /* 62 */
}, /* 61 */
/***/

@@ -804,3 +791,3 @@ function(module, exports, __webpack_require__) {

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

@@ -816,3 +803,3 @@ return function($this, el, fromIndex) {

};
}, /* 63 */
}, /* 62 */
/***/

@@ -825,3 +812,3 @@ function(module, exports, __webpack_require__) {

};
}, /* 64 */
}, /* 63 */
/***/

@@ -833,10 +820,10 @@ function(module, exports, __webpack_require__) {

};
}, /* 65 */
}, /* 64 */
/***/
function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(0).document && document.documentElement;
}, /* 66 */
}, /* 65 */
/***/
function(module, exports, __webpack_require__) {
__webpack_require__(67);
__webpack_require__(66);
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++) {

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

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

@@ -866,7 +853,7 @@ // 22.1.3.13 Array.prototype.keys()

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

@@ -880,15 +867,15 @@ function(module, exports) {

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

@@ -898,3 +885,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__(73).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__(74), enumKeys = __webpack_require__(75), isArray = __webpack_require__(76), anObject = __webpack_require__(9), toIObject = __webpack_require__(5), toPrimitive = __webpack_require__(18), createDesc = __webpack_require__(13), _create = __webpack_require__(22), gOPNExt = __webpack_require__(77), $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__(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() {
return 7 != _create(dP({}, "a", {

@@ -1024,3 +1011,3 @@ get: function() {

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

@@ -1072,3 +1059,3 @@ function(module, exports, __webpack_require__) {

};
}, /* 74 */
}, /* 73 */
/***/

@@ -1080,3 +1067,3 @@ function(module, exports, __webpack_require__) {

};
}, /* 75 */
}, /* 74 */
/***/

@@ -1091,3 +1078,3 @@ function(module, exports, __webpack_require__) {

};
}, /* 76 */
}, /* 75 */
/***/

@@ -1100,3 +1087,3 @@ function(module, exports, __webpack_require__) {

};
}, /* 77 */
}, /* 76 */
/***/

@@ -1115,13 +1102,13 @@ function(module, exports, __webpack_require__) {

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

@@ -1136,3 +1123,3 @@ function(module, exports, __webpack_require__) {

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

@@ -1150,14 +1137,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,

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

@@ -1168,5 +1155,5 @@ function(module, exports, __webpack_require__) {

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

@@ -1194,13 +1181,13 @@ function(module, exports, __webpack_require__) {

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

@@ -1210,3 +1197,3 @@ module.exports = function(P, D) {

};
}, /* 88 */
}, /* 87 */
/***/

@@ -1219,3 +1206,3 @@ function(module, exports, __webpack_require__) {

});
}, /* 89 */
}, /* 88 */
/***/

@@ -1222,0 +1209,0 @@ function(module, exports, __webpack_require__) {

{
"name": "react-error-boundary",
"version": "0.0.2",
"version": "0.0.3",
"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