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

rc-align

Package Overview
Dependencies
Maintainers
4
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-align - npm Package Compare versions

Comparing version 4.0.6 to 4.0.7

8

es/Align.js

@@ -61,6 +61,4 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";

if (element) {
if (element.offsetParent) {
result = alignElement(source, element, align);
}
if (element && element.offsetParent) {
result = alignElement(source, element, align);
} else if (point) {

@@ -72,3 +70,3 @@ result = alignPoint(source, point, align);

if (onAlign) {
if (onAlign && result) {
onAlign(source, result);

@@ -75,0 +73,0 @@ }

@@ -81,6 +81,4 @@ "use strict";

if (element) {
if (element.offsetParent) {
result = (0, _domAlign.alignElement)(source, element, align);
}
if (element && element.offsetParent) {
result = (0, _domAlign.alignElement)(source, element, align);
} else if (point) {

@@ -92,3 +90,3 @@ result = (0, _domAlign.alignPoint)(source, point, align);

if (onAlign) {
if (onAlign && result) {
onAlign(source, result);

@@ -95,0 +93,0 @@ }

{
"name": "rc-align",
"version": "4.0.6",
"version": "4.0.7",
"description": "align ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

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