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
39
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.162

2

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

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

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

let [ lang, country ] = locale.split('_');
lang = LANG[lang.toUpperCase()];

@@ -13,3 +13,3 @@ country = COUNTRY[country];

if (countryLangs && countryLangs.includes(LANG.ZH_HANT) && lang === LANG.ZH) {
if (countryLangs && countryLangs.indexOf(LANG.ZH_HANT) !== -1 && lang === LANG.ZH) {
lang = LANG.ZH_HANT;

@@ -16,0 +16,0 @@ }