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

dialog-promise

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dialog-promise - npm Package Compare versions

Comparing version 0.8.3 to 0.8.4

5

lib/dialog-promise.js

@@ -143,4 +143,5 @@ "use strict";

dialogWindow.style.visibility='visible';
if(dialogWindow.offsetLeft+dialogWindow.offsetWidth>window.innerWidth){
dialogWindow.style.left=Math.max(rect.right-dialogWindow.offsetWidth,0)+'px';
var windowWidth = window.visualViewport && window.visualViewport.width ? window.visualViewport.width : window.innerWidth;
if(dialogWindow.offsetLeft+dialogWindow.offsetWidth>windowWidth){
dialogWindow.style.left=Math.max(rect.left+rect.width-dialogWindow.offsetWidth,0)+'px';
dialogWindow.style.borderColor='red';

@@ -147,0 +148,0 @@ dialogWindow.setAttribute('docked','under-right');

2

package.json
{
"name": "dialog-promise",
"description": "Dialog that returns promises",
"version": "0.8.3",
"version": "0.8.4",
"author": "Codenautas <codenautas@googlegroups.com>",

@@ -6,0 +6,0 @@ "repository": "codenautas/dialog-promise",

Sorry, the diff of this file is not supported yet

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