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

aligner

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aligner - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

11

index.js

@@ -71,3 +71,8 @@ var m = require('mumath');

//get relativeTo & parent rectangles
var parent = el.offsetParent || win;
if (isFixed(el)) {
var parent = win;
}
else {
var parent = el.offsetParent || win;
}
var parentRect = offsets(parent);

@@ -86,6 +91,2 @@ var parentPaddings = paddings(parent);

if (isFixed(el)) {
targetRect.top = 0;
targetRect.left = 0;
}
// parentRect = m.add(parentRect, parentPaddings);

@@ -92,0 +93,0 @@

{
"name": "aligner",
"version": "1.0.6",
"version": "1.0.7",
"description": "Align elements just like photoshop/illustrator does",

@@ -5,0 +5,0 @@ "main": "index.js",

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