Socket
Socket
Sign inDemoInstall

@paypal/common-components

Package Overview
Dependencies
Maintainers
23
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paypal/common-components - npm Package Compare versions

Comparing version 1.0.41 to 1.0.42

2

package.json
{
"name": "@paypal/common-components",
"version": "1.0.41",
"version": "1.0.42",
"description": "PayPal common components, for integrating checkout products.",

@@ -5,0 +5,0 @@ "main": "dist/ui.js",

@@ -455,3 +455,3 @@ /* @flow */

background-color: black;
background-color: rgba(0, 0, 0, 0.4);
background-color: rgba(0, 0, 0, 0.8);
background: radial-gradient(50% 50%, ellipse closest-corner, rgba(0,0,0,0.6) 1%, rgba(0,0,0,0.8) 100%);

@@ -458,0 +458,0 @@

@@ -82,2 +82,3 @@ /* @flow */

// Note: alerts block the event loop until they are closed.
if (isIos()) {

@@ -89,7 +90,6 @@ // eslint-disable-next-line no-alert

window.alert(
'Don\'t see the popup window?\n\nSelect "Window" in your toolbar to find "Log in to your PayPal account"'
'Don\'t see the popup window after clicking "OK"?\n\nSelect "Window" in your toolbar to find "Log in to your PayPal account"'
);
} else {
focus();
}
focus();
}

@@ -196,3 +196,6 @@

<div class="paypal-checkout-continue">
<a onClick={focus} href="#">
{/* This handler should be guarded with e.stopPropagation.
This will stop the event from bubbling up to the overlay click handler
and causing unexpected behavior. */}
<a onClick={focusCheckout} href="#">
{content.continueMessage}

@@ -255,2 +258,3 @@ </a>

// Note: alerts block the event loop until they are closed.
if (isIos()) {

@@ -262,7 +266,6 @@ // eslint-disable-next-line no-alert

window.alert(
'Don\'t see the popup window?\n\nSelect "Window" in your toolbar to find "Log in to your Venmo account"'
'Don\'t see the popup window after clicking "OK"?\n\nSelect "Window" in your toolbar to find "Log in to your Venmo account"'
);
} else {
focus();
}
focus();
}

@@ -364,3 +367,6 @@

<div class="venmo-checkout-continue">
<a onClick={focus} href="#">
{/* This handler should be guarded with e.stopPropagation.
This will stop the event from bubbling up to the overlay click handler
and causing unexpected behavior. */}
<a onClick={focusCheckout} href="#">
{content.continueMessage}

@@ -367,0 +373,0 @@ </a>

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