@paypal/sdk-client
Advanced tools
Comparing version
{ | ||
"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 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
-100%80584
-0.05%