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

@paypal/react-paypal-js

Package Overview
Dependencies
Maintainers
29
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paypal/react-paypal-js - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

6

dist/react-paypal.esm.js

@@ -326,5 +326,5 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }

var cleanup = function cleanup() {
var _buttons$current;
buttons === null || buttons === void 0 ? void 0 : (_buttons$current = buttons.current) === null || _buttons$current === void 0 ? void 0 : _buttons$current.close();
if (buttons.current !== null) {
buttons.current.close();
}
}; // verify the sdk script has successfully loaded

@@ -331,0 +331,0 @@

@@ -286,3 +286,5 @@ 'use strict';

const cleanup = () => {
buttons?.current?.close();
if (buttons.current !== null) {
buttons.current.close();
}
};

@@ -289,0 +291,0 @@ // verify the sdk script has successfully loaded

{
"name": "@paypal/react-paypal-js",
"version": "4.0.0",
"version": "4.0.1",
"description": "React components for the PayPal JS SDK",

@@ -5,0 +5,0 @@ "keywords": [

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