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

paypal-checkout

Package Overview
Dependencies
Maintainers
9
Versions
293
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

paypal-checkout - npm Package Compare versions

Comparing version 4.0.342 to 4.0.343

2

package.json
{
"name": "paypal-checkout",
"version": "4.0.342",
"version": "4.0.343",
"description": "PayPal Checkout components, for integrating checkout products.",

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

@@ -240,6 +240,10 @@ /* @flow */

export function redirect(win : CrossDomainWindowType = window, url : string) : ZalgoPromise<void> {
return new ZalgoPromise(resolve => {
return new ZalgoPromise((resolve, reject) => {
info(`redirect`, { url });
if (url.toLowerCase().replace(/[^a-z:]+/g, '').match(/^javascript:/)) {
return reject(new Error('Invalid redirect URL'));
}
setTimeout(() => {

@@ -246,0 +250,0 @@ win.location = url;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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