react-error-boundaries
Advanced tools
Comparing version
@@ -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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
0
-100%1
-50%99874
-5.54%13
-13.33%1947
-4.47%