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

terra-popup

Package Overview
Dependencies
Maintainers
9
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terra-popup - npm Package Compare versions

Comparing version 6.52.0 to 6.53.0

5

CHANGELOG.md

@@ -5,2 +5,7 @@ # Changelog

## 6.53.0 - (June 8, 2021)
* Changed
* Minor dependency version bump
## 6.52.0 - (May 4, 2021)

@@ -7,0 +12,0 @@

4

lib/_PopupArrow.js

@@ -26,2 +26,4 @@ "use strict";

var _excluded = ["refCallback"];
var cx = _bind.default.bind(_PopupArrowModule.default);

@@ -48,3 +50,3 @@ /**

var refCallback = props.refCallback,
customProps = (0, _objectWithoutProperties2.default)(props, ["refCallback"]);
customProps = (0, _objectWithoutProperties2.default)(props, _excluded);

@@ -51,0 +53,0 @@ var theme = _react.default.useContext(_terraThemeContext.default);

@@ -48,2 +48,4 @@ "use strict";

var _excluded = ["arrow", "children", "classNameInner", "contentHeight", "contentHeightMax", "contentWidth", "contentWidthMax", "isFocusedDisabled", "isHeaderDisabled", "isHeightAutomatic", "isWidthAutomatic", "onRequestClose", "onResize", "onContentResize", "popupContentRole", "refCallback"];
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }

@@ -201,3 +203,3 @@

refCallback = _this$props.refCallback,
customProps = (0, _objectWithoutProperties2.default)(_this$props, ["arrow", "children", "classNameInner", "contentHeight", "contentHeightMax", "contentWidth", "contentWidthMax", "isFocusedDisabled", "isHeaderDisabled", "isHeightAutomatic", "isWidthAutomatic", "onRequestClose", "onResize", "onContentResize", "popupContentRole", "refCallback"]);
customProps = (0, _objectWithoutProperties2.default)(_this$props, _excluded);
var contentStyle = PopupContent.getContentStyle(contentHeight, contentHeightMax, contentWidth, contentWidthMax, isHeightAutomatic, isWidthAutomatic);

@@ -204,0 +206,0 @@ var isHeightBounded = PopupContent.isBounded(contentHeight, contentHeightMax);

@@ -38,2 +38,4 @@ "use strict";

var _excluded = ["children"];
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }

@@ -102,3 +104,3 @@

children = _this$props.children,
customProps = (0, _objectWithoutProperties2.default)(_this$props, ["children"]); // Delete the closePortal prop that comes from react-portal.
customProps = (0, _objectWithoutProperties2.default)(_this$props, _excluded); // Delete the closePortal prop that comes from react-portal.

@@ -105,0 +107,0 @@ delete customProps.closePortal; // Delete onRequestClose prop we use to close popup.

{
"name": "terra-popup",
"main": "lib/Popup.js",
"version": "6.52.0",
"version": "6.53.0",
"description": "The Terra Popup is higher order component that launches terra-hookshot positioned content with the ability to display a dynamic arrow.",

@@ -37,9 +37,9 @@ "repository": {

"terra-content-container": "^3.0.0",
"terra-hookshot": "^5.35.0",
"terra-hookshot": "^5.36.0",
"terra-mixins": "^1.0.0",
"terra-theme-context": "^1.6.0"
"terra-theme-context": "^1.7.0"
},
"devDependencies": {
"terra-disclosure-manager": "^4.40.0",
"terra-modal-manager": "^6.52.0"
"terra-disclosure-manager": "^4.41.0",
"terra-modal-manager": "^6.53.0"
},

@@ -59,3 +59,3 @@ "scripts": {

},
"gitHead": "6afbc5f45b0c8cd62c9a755cf75eb252d58d687f"
"gitHead": "ce3eda7ab4a54546c32f3d6e753f38c6d8f16be2"
}
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