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

@atlaskit/layer-manager

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/layer-manager - npm Package Compare versions

Comparing version 2.5.4 to 2.5.5

3

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

@@ -4,0 +7,0 @@

2

dist/cjs/components/LayerManager.js

@@ -99,3 +99,3 @@ 'use strict';

_react2.default.createElement(_gateway.GatewayDest, { name: 'modal', component: _reactTransitionGroup.TransitionGroup }),
_react2.default.createElement(_gateway.GatewayDest, { name: 'spotlight' }),
_react2.default.createElement(_gateway.GatewayDest, { name: 'spotlight', component: _reactTransitionGroup.TransitionGroup }),
_react2.default.createElement(_gateway.GatewayDest, { name: 'flag' }),

@@ -102,0 +102,0 @@ _react2.default.createElement(_gateway.GatewayDest, { name: 'tooltip', component: _reactTransitionGroup.TransitionGroup })

@@ -117,4 +117,8 @@ 'use strict';

setTimeout(function () {
if (!document.body || !_this3.portalElement) return;
document.body.removeChild(_this3.portalElement);
var target = document.body;
var portal = _this3.portalElement;
if (target && portal) {
(0, _reactDom.unmountComponentAtNode)(portal);
target.removeChild(portal);
}
}, 5000);

@@ -121,0 +125,0 @@ });

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

React.createElement(GatewayDest, { name: 'modal', component: TransitionGroup }),
React.createElement(GatewayDest, { name: 'spotlight' }),
React.createElement(GatewayDest, { name: 'spotlight', component: TransitionGroup }),
React.createElement(GatewayDest, { name: 'flag' }),

@@ -67,0 +67,0 @@ React.createElement(GatewayDest, { name: 'tooltip', component: TransitionGroup })

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

import React, { Children, Component } from 'react';
import { render } from 'react-dom';
import { render, unmountComponentAtNode } from 'react-dom';
import { withTheme, ThemeProvider } from 'styled-components';

@@ -88,4 +88,8 @@ import { TransitionGroup } from 'react-transition-group';

setTimeout(function () {
if (!document.body || !_this3.portalElement) return;
document.body.removeChild(_this3.portalElement);
var target = document.body;
var portal = _this3.portalElement;
if (target && portal) {
unmountComponentAtNode(portal);
target.removeChild(portal);
}
}, 5000);

@@ -92,0 +96,0 @@ });

{
"name": "@atlaskit/layer-manager",
"version": "2.5.3"
"version": "2.5.4"
}
{
"name": "@atlaskit/layer-manager",
"version": "2.5.4",
"version": "2.5.5",
"description": "A React Component for managing layers",

@@ -37,2 +37,2 @@ "license": "Apache-2.0",

]
}
}
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