Socket
Socket
Sign inDemoInstall

@paypal/common-components

Package Overview
Dependencies
Maintainers
9
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.0 to 1.0.1

5

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

@@ -12,4 +12,3 @@ "main": "index.js",

"test": "npm run lint && npm run flow-typed && npm run flow && npm run karma",
"webpack": "babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/webpack --progress",
"build": "npm run test && npm run webpack",
"build": "npm run test",
"release": "./scripts/publish.sh",

@@ -16,0 +15,0 @@ "release:patch": "./scripts/publish.sh patch",

13

src/three-domain-secure/component.jsx

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

import { create, type ZoidComponent } from 'zoid/src';
import { inlineMemoize } from 'belter/src';
import { inlineMemoize, noop } from 'belter/src';
import { getSDKMeta, getClientID } from '@paypal/sdk-client/src';

@@ -35,3 +35,3 @@ import { ZalgoPromise } from 'zalgo-promise/src';

return inlineMemoize(getThreeDomainSecureComponent, () => {
return create({
const component = create({
tag: 'three-domain-secure',

@@ -113,3 +113,12 @@ url: getThreeDomainSecureUrl,

});
if (component.isChild()) {
window.xchild = {
props: component.xprops,
close: noop
};
}
return component;
});
}
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