react-side-effect
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -62,3 +62,5 @@ import React, { PureComponent } from 'react'; | ||
var SideEffect = /*#__PURE__*/function (_PureComponent) { | ||
var SideEffect = | ||
/*#__PURE__*/ | ||
function (_PureComponent) { | ||
_inheritsLoose(SideEffect, _PureComponent); | ||
@@ -105,3 +107,3 @@ | ||
_proto.render = function render() { | ||
return /*#__PURE__*/React.createElement(WrappedComponent, this.props); | ||
return React.createElement(WrappedComponent, this.props); | ||
}; | ||
@@ -108,0 +110,0 @@ |
@@ -67,3 +67,5 @@ 'use strict'; | ||
var SideEffect = /*#__PURE__*/function (_PureComponent) { | ||
var SideEffect = | ||
/*#__PURE__*/ | ||
function (_PureComponent) { | ||
_inheritsLoose(SideEffect, _PureComponent); | ||
@@ -110,3 +112,3 @@ | ||
_proto.render = function render() { | ||
return /*#__PURE__*/React__default.createElement(WrappedComponent, this.props); | ||
return React__default.createElement(WrappedComponent, this.props); | ||
}; | ||
@@ -113,0 +115,0 @@ |
@@ -5,3 +5,3 @@ (function (global, factory) { | ||
(global = global || self, global.withSideEffect = factory(global.React)); | ||
}(this, (function (React) { 'use strict'; | ||
}(this, function (React) { 'use strict'; | ||
@@ -69,3 +69,5 @@ var React__default = 'default' in React ? React['default'] : React; | ||
var SideEffect = /*#__PURE__*/function (_PureComponent) { | ||
var SideEffect = | ||
/*#__PURE__*/ | ||
function (_PureComponent) { | ||
_inheritsLoose(SideEffect, _PureComponent); | ||
@@ -112,3 +114,3 @@ | ||
_proto.render = function render() { | ||
return /*#__PURE__*/React__default.createElement(WrappedComponent, this.props); | ||
return React__default.createElement(WrappedComponent, this.props); | ||
}; | ||
@@ -129,2 +131,2 @@ | ||
}))); | ||
})); |
{ | ||
"name": "react-side-effect", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Create components whose prop changes map to a global side effect", | ||
@@ -34,3 +34,3 @@ "main": "lib/index.js", | ||
"peerDependencies": { | ||
"react": "^16.3.0 || ^17.0.0" | ||
"react": "^16.3.0 || ^17.0.0 || ^18.0.0" | ||
}, | ||
@@ -37,0 +37,0 @@ "dependencies": {}, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20608
298