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

@atlaskit/tooltip

Package Overview
Dependencies
Maintainers
1
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/tooltip - npm Package Compare versions

Comparing version 8.0.9 to 8.0.10

4

CHANGELOG.md
# @atlaskit/tooltip
## 8.0.10
- [patch] AK-4064 ensure unmountComponentAtNode is called for components rendered via ReactDOM.render [e3153c3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e3153c3)
- [patch] AK-4064 ensure unmountComponentAtNode is called for components rendered via ReactDOM.render [e3153c3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e3153c3)
## 8.0.9

@@ -4,0 +8,0 @@

7

dist/cjs/components/Portal.js

@@ -64,4 +64,7 @@ 'use strict';

value: function componentWillUnmount() {
if (document.body) {
document.body.removeChild(this.portalElement);
var target = document.body;
var portal = this.portalElement;
if (target && portal) {
(0, _reactDom.unmountComponentAtNode)(portal);
target.removeChild(portal);
}

@@ -68,0 +71,0 @@ }

@@ -7,3 +7,3 @@ import _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of';

import { Children, Component } from 'react';
import { render } from 'react-dom';
import { render, unmountComponentAtNode } from 'react-dom';

@@ -42,4 +42,7 @@ var Portal = function (_Component) {

value: function componentWillUnmount() {
if (document.body) {
document.body.removeChild(this.portalElement);
var target = document.body;
var portal = this.portalElement;
if (target && portal) {
unmountComponentAtNode(portal);
target.removeChild(portal);
}

@@ -46,0 +49,0 @@ }

{
"name": "@atlaskit/tooltip",
"version": "8.0.8"
"version": "8.0.9"
}
{
"name": "@atlaskit/tooltip",
"version": "8.0.9",
"version": "8.0.10",
"description": "A React Component for displaying Tooltips",

@@ -19,3 +19,3 @@ "license": "Apache-2.0",

"dependencies": {
"@atlaskit/layer-manager": "^2.5.4",
"@atlaskit/layer-manager": "^2.5.5",
"@atlaskit/theme": "^2.2.9",

@@ -22,0 +22,0 @@ "react-transition-group": "^2.2.1",

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