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

calculate-position

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calculate-position - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

9

build/main/lib/direction.js

@@ -92,3 +92,8 @@ "use strict";

}), }) => {
const viewportRectangle = Object.assign(Object.assign({}, viewport), { left: 0, top: 0 });
const viewportRectangle = {
width: viewport.width,
height: viewport.height,
left: 0,
top: 0,
};
let bestDirection = types_1.Direction.BottomLeft;

@@ -107,2 +112,2 @@ let bestArea = 0;

exports.calculateBestDirection = calculateBestDirection;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlyZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9kaXJlY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMkNBQWtEO0FBQ2xELG1DQUEyRTtBQUUzRTs7Ozs7Ozs7Ozs7Ozs7Ozs7R0FpQkc7QUFDSSxNQUFNLGFBQWEsR0FBRyxDQUFDLEVBQzVCLE1BQU0sRUFDTixVQUFVLEdBSVgsRUFBa0IsRUFBRTtJQUNuQixPQUFPO1FBQ0wsQ0FBQyxpQkFBUyxDQUFDLFdBQVcsQ0FBQyxFQUFFO1lBQ3ZCLElBQUksRUFBRSxNQUFNLENBQUMsSUFBSSxHQUFHLE1BQU0sQ0FBQyxLQUFLO1lBQ2hDLEdBQUcsRUFBRSxNQUFNLENBQUMsR0FBRyxHQUFHLE1BQU0sQ0FBQyxNQUFNO1NBQ2hDO1FBQ0QsQ0FBQyxpQkFBUyxDQUFDLFVBQVUsQ0FBQyxFQUFFO1lBQ3RCLElBQUksRUFBRSxNQUFNLENBQUMsSUFBSSxHQUFHLFVBQVUsQ0FBQyxL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VEsR0FBRyxJQUFJLENBQUM7WUFDaEIsYUFBYSxHQUFHLFNBQXNCLENBQUM7U0FDeEM7S0FDRjtJQUVELE9BQU8sYUFBYSxDQUFDO0FBQ3ZCLENBQUMsQ0FBQztBQXZDVyxRQUFBLHNCQUFzQiwwQkF1Q2pDIn0=

@@ -88,3 +88,4 @@ import { getRectangleOverlap } from './rectangle';

const viewportRectangle = {
...viewport,
width: viewport.width,
height: viewport.height,
left: 0,

@@ -108,2 +109,2 @@ top: 0,

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlyZWN0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9kaXJlY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQ2xELE9BQU8sRUFBYyxTQUFTLEVBQTZCLE1BQU0sU0FBUyxDQUFDO0FBRTNFOzs7Ozs7Ozs7Ozs7Ozs7OztHQWlCRztBQUNILE1BQU0sQ0FBQyxNQUFNLGFBQWEsR0FBRyxDQUFDLEVBQzVCLE1BQU0sRUFDTixVQUFVLEdBSVgsRUFBa0IsRUFBRTtJQUNuQixPQUFPO1FBQ0wsQ0FBQyxTQUFTLENBQUMsV0FBVyxDQUFDLEVBQUU7WUFDdkIsSUFBSSxFQUFFLE1BQU0sQ0FBQyxJQUFJLEdBQUcsTUFBTSxDQUFDLEtBQUs7WUFDaEMsR0FBRyxFQUFFLE1BQU0sQ0FBQyxHQUFHLEdBQUcsTUFBTSxDQUFDLE1BQU07U0FDaEM7UUFDRCxDQUFDLFNBQVMsQ0FBQyxVQUFVLENBQUMsRUFBRTtZQUN0QixJQUFJLEVBQUUsTUFBTSxDQUFDLElBQUksR0FBRyxVQUFVLENBQUMsS0FBSztZQUNwQyxHQUFHLEVBQUUsTUFBTSxDQU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O1NBQ3hDO0tBQ0Y7SUFFRCxPQUFPLGFBQWEsQ0FBQztBQUN2QixDQUFDLENBQUMifQ==
{
"name": "calculate-position",
"version": "1.0.0",
"version": "1.0.1",
"description": "Calculate the optimum position for an element relative to another.",

@@ -5,0 +5,0 @@ "main": "build/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