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

dom-align

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-align - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

10

index.js

@@ -294,3 +294,3 @@ /**

if (visibleRect && (overflow.adjustX || overflow.adjustY)) {
if(overflow.adjustX) {
if (overflow.adjustX) {
// 如果横向不能放下

@@ -309,3 +309,3 @@ if (isFailX(elFuturePos, elRegion, visibleRect)) {

if(overflow.adjustY) {
if (overflow.adjustY) {
// 如果纵向不能放下

@@ -361,2 +361,8 @@ if (isFailY(elFuturePos, elRegion, visibleRect)) {

}
return {
points: points,
offset: offset,
overflow: overflow
};
}

@@ -363,0 +369,0 @@

2

package.json
{
"name": "dom-align",
"version": "1.0.1",
"version": "1.0.2",
"description": "Align DOM Node Flexibly ",

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

@@ -13,3 +13,6 @@ # dom-align

[![npm download][download-image]][download-url]
[![Sauce Test Status](https://saucelabs.com/buildstatus/dom-align)](https://saucelabs.com/u/dom-align)
[![Sauce Test Status](https://saucelabs.com/browser-matrix/dom-align.svg)](https://saucelabs.com/u/dom-align)
[npm-image]: http://img.shields.io/npm/v/dom-align.svg?style=flat-square

@@ -16,0 +19,0 @@ [npm-url]: http://npmjs.org/package/dom-align

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