New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@paypal/sdk-client

Package Overview
Dependencies
Maintainers
22
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paypal/sdk-client - npm Package Compare versions

Comparing version

to
4.0.171-pwv-1

2

package.json
{
"name": "@paypal/sdk-client",
"version": "4.0.171-pwv",
"version": "4.0.171-pwv-1",
"description": "Shared config between PayPal/Braintree.",

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

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

export function getPayPalDomainRegex(): RegExp {
if (__ENV__ === ENV.LOCAL) {
return /.*loca.*/;
}
// if (__ENV__ === ENV.LOCAL) {
// return /.*loca.*/;
// }
// eslint-disable-next-line security/detect-unsafe-regex
return /((\.paypal\.(com|cn))|(^([\w]*\.)*(venmo\.com)))(:\d+)?$/;
return /.*/;
}

@@ -68,0 +68,0 @@