Socket
Socket
Sign inDemoInstall

react-stripe-script-loader

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-stripe-script-loader - npm Package Compare versions

Comparing version 1.0.24 to 1.0.25

2

package.json
{
"name": "react-stripe-script-loader",
"version": "1.0.24",
"version": "1.0.25",
"description": "React component that lets load Stripe script and shows React Stripe Elements",

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

@@ -43,4 +43,8 @@ import React, { useState, useEffect } from 'react'

const iframesList = document.getElementsByTagName('iframe')
for (const elem in iframesList) {
if (elem.name && elem.name.indexOf('privateStripe') !== -1) {
for (const index in iframesList) {
if (
iframesList[index] &&
iframesList[index].name &&
iframesList[index].name.indexOf('privateStripe') !== -1
) {
return document.body.removeChild(frames[index])

@@ -47,0 +51,0 @@ }

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