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

@paypal/checkout-components

Package Overview
Dependencies
Maintainers
12
Versions
507
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paypal/checkout-components - npm Package Compare versions

Comparing version 5.0.51 to 5.0.52

src/ui/buttons/button.jsx

1

globals.js

@@ -25,2 +25,3 @@ /* eslint import/no-commonjs: off, flowtype/require-valid-file-annotation: off, flowtype/require-return-type: off */

__BUTTONS__: '/smart/buttons',
__MENU__: '/smart/menu',
__CARD_FIELDS__: '/smart/card-fields'

@@ -27,0 +28,0 @@ }

2

package.json
{
"name": "@paypal/checkout-components",
"version": "5.0.51",
"version": "5.0.52",
"description": "PayPal Checkout components, for integrating checkout products.",

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

@@ -17,2 +17,6 @@ /* @flow */

export function getMenuUrl() : string {
return `${ getPayPalDomain() }${ __PAYPAL_CHECKOUT__.__URI__.__MENU__ }`;
}
export const DEFAULT_POPUP_SIZE = {

@@ -19,0 +23,0 @@ WIDTH: 450,

@@ -13,3 +13,4 @@ /* @flow */

__CHECKOUT__ : string,
__CARD_FIELDS__ : string
__CARD_FIELDS__ : string,
__MENU__ : string
}

@@ -16,0 +17,0 @@ };

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

import { Text } from '../ui';
import { Text } from '../ui/text';

@@ -12,0 +12,0 @@ export type ContentMap = {

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

import type { FundingEligibilityType } from '../types';
import type { OnShippingChange } from '../buttons/props';
import type { OnShippingChange } from '../zoid/buttons/props';

@@ -11,0 +11,0 @@ import { FUNDING_PRIORITY, getFundingConfig } from './config';

@@ -7,6 +7,7 @@ /* @flow */

import { allowIframe as _allowIframe } from '../lib';
import { getCheckoutComponent } from '../checkout';
import { getButtonsComponent } from '../buttons';
import { Buttons as _ButtonsTemplate } from '../buttons/template';
import { getCardFieldsComponent } from '../card-fields';
import { getCheckoutComponent } from '../zoid/checkout';
import { getButtonsComponent } from '../zoid/buttons';
import { getCardFieldsComponent } from '../zoid/card-fields';
import { getMenuComponent } from '../zoid/menu';
import { Buttons as _ButtonsTemplate } from '../ui/buttons';

@@ -31,2 +32,6 @@ function protectedExport<T>(xport : T) : ?T {

export const Menu = {
__get__: () => protectedExport(getMenuComponent())
};
export const ButtonsTemplate = {

@@ -33,0 +38,0 @@ __get__: () => protectedExport(_ButtonsTemplate)

@@ -5,1 +5,2 @@ /* @flow */

export * from './loading';
export * from './buttons';

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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