New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-tooltip

Package Overview
Dependencies
Maintainers
1
Versions
347
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-tooltip - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

8

dist/react-tooltip.js

@@ -39,6 +39,6 @@ 'use strict';

this.setState({
placeholder: e.target.dataset.tip,
place: e.target.dataset.place ? e.target.dataset.place : this.props.place ? this.props.place : 'top',
type: e.target.dataset.type ? e.target.dataset.type : this.props.type ? this.props.type : 'dark',
effect: e.target.dataset.effect ? e.target.dataset.effect : this.props.effect ? this.props.effect : 'float' });
placeholder: e.target.getAttribute('data-tip'),
place: e.target.getAttribute('data-place') ? e.target.getAttribute('data-place') : this.props.place ? this.props.place : 'top',
type: e.target.getAttribute('data-type') ? e.target.getAttribute('data-type') : this.props.type ? this.props.type : 'dark',
effect: e.target.getAttribute('data-effect') ? e.target.getAttribute('data-effect') : this.props.effect ? this.props.effect : 'float' });
this.updateTooltip(e);

@@ -45,0 +45,0 @@ },

{
"name": "react-tooltip",
"version": "0.2.3",
"version": "0.2.4",
"description": "react tooltip component",

@@ -5,0 +5,0 @@ "main": "dist/react-tooltip.js",

@@ -30,6 +30,6 @@ 'use strict';

this.setState({
placeholder: e.target.dataset.tip,
place: e.target.dataset.place?e.target.dataset.place:(this.props.place?this.props.place:"top"),
type: e.target.dataset.type?e.target.dataset.type:(this.props.type?this.props.type:"dark"),
effect: e.target.dataset.effect?e.target.dataset.effect:(this.props.effect?this.props.effect:"float"),
placeholder: e.target.getAttribute("data-tip"),
place: e.target.getAttribute("data-place")?e.target.getAttribute("data-place"):(this.props.place?this.props.place:"top"),
type: e.target.getAttribute("data-type")?e.target.getAttribute("data-type"):(this.props.type?this.props.type:"dark"),
effect: e.target.getAttribute("data-effect")?e.target.getAttribute("data-effect"):(this.props.effect?this.props.effect:"float"),
})

@@ -36,0 +36,0 @@ this.updateTooltip(e);

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