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

react-side-effect

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-side-effect - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

6

lib/index.es.js

@@ -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": {},

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