You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-error-boundaries

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-error-boundaries - npm Package Compare versions

Comparing version

to
1.1.0

dist/commonjs/WithErrorHandler.js

20

dist/commonjs/index.js

@@ -8,8 +8,16 @@ 'use strict';

var _ErrorHandler = require('./ErrorHandler');
var _react = require('react');
exports.ErrorBoundary = _ErrorHandler.ErrorBoundary;
exports.withErrorHandler = _ErrorHandler.withErrorHandler;
exports.errorHandlerDecorator = _ErrorHandler.errorHandlerDecorator;
exports.FallbackView = _ErrorHandler.FallbackView;
exports.default = _ErrorHandler.ErrorBoundary;
var _react2 = _interopRequireDefault(_react);
var _WithErrorHandler = require('./WithErrorHandler');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var errorHandlerDecorator = (0, _WithErrorHandler.withErrorHandler)(_WithErrorHandler.FallbackView);
exports.ErrorBoundary = _WithErrorHandler.ErrorBoundary;
exports.withErrorHandler = _WithErrorHandler.withErrorHandler;
exports.errorHandlerDecorator = errorHandlerDecorator;
exports.FallbackView = _WithErrorHandler.FallbackView;
exports.default = _WithErrorHandler.ErrorBoundary;

@@ -1,4 +0,7 @@

import { ErrorBoundary, withErrorHandler, errorHandlerDecorator, FallbackView } from './ErrorHandler';
import React from 'react';
import { withErrorHandler, ErrorBoundary, FallbackView } from './WithErrorHandler';
var errorHandlerDecorator = withErrorHandler(FallbackView);
export { ErrorBoundary, withErrorHandler, errorHandlerDecorator, FallbackView };
export default ErrorBoundary;
{
"name": "react-error-boundaries",
"version": "1.0.9",
"version": "1.1.0",
"description": "React HOC for error boundaries.",

@@ -5,0 +5,0 @@ "main": "dist/commonjs/index.js",

Sorry, the diff of this file is too big to display