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

react-floater

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-floater - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

14

es/index.js

@@ -843,4 +843,2 @@ import ReactDOM from 'react-dom';

_this.state = {

@@ -1335,7 +1333,9 @@ currentPlacement: props.placement,

var status = _this4.state.status;
var _state3 = _this4.state,
positionWrapper = _state3.positionWrapper,
status = _state3.status;
/* istanbul ignore else */
if (_this4.event === 'click') {
if (_this4.event === 'click' || _this4.event === 'hover' && positionWrapper) {
log({

@@ -1375,5 +1375,5 @@ title: 'click',

eventDelay = _props7.eventDelay;
var _state3 = _this4.state,
status = _state3.status,
positionWrapper = _state3.positionWrapper;
var _state4 = _this4.state,
status = _state4.status,
positionWrapper = _state4.positionWrapper;

@@ -1380,0 +1380,0 @@ /* istanbul ignore else */

@@ -847,4 +847,2 @@ 'use strict';

_this.state = {

@@ -1339,7 +1337,9 @@ currentPlacement: props.placement,

var status = _this4.state.status;
var _state3 = _this4.state,
positionWrapper = _state3.positionWrapper,
status = _state3.status;
/* istanbul ignore else */
if (_this4.event === 'click') {
if (_this4.event === 'click' || _this4.event === 'hover' && positionWrapper) {
log({

@@ -1379,5 +1379,5 @@ title: 'click',

eventDelay = _props7.eventDelay;
var _state3 = _this4.state,
status = _state3.status,
positionWrapper = _state3.positionWrapper;
var _state4 = _this4.state,
status = _state4.status,
positionWrapper = _state4.positionWrapper;

@@ -1384,0 +1384,0 @@ /* istanbul ignore else */

{
"name": "react-floater",
"version": "0.5.2",
"version": "0.5.3",
"description": "Floaters everywhere!",

@@ -5,0 +5,0 @@ "author": "Gil Barbara <gilbarbara@gmail.com>",

@@ -344,6 +344,6 @@ import React from 'react';

const { status } = this.state;
const { positionWrapper, status } = this.state;
/* istanbul ignore else */
if (this.event === 'click') {
if (this.event === 'click' || (this.event === 'hover' && positionWrapper)) {
log({

@@ -350,0 +350,0 @@ title: 'click',

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