Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

stripe-client

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stripe-client - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

9

index.js

@@ -49,6 +49,7 @@ const STRIPE_URL = 'https://api.stripe.com/v1/';

// if Stripe threw an error instead. If the JSON does not need to be parsed, returns the token.
function _parseJSON(token) {
if (token._bodyInit == null) return token
else {
const body = JSON.parse('' + token._bodyInit);
async function _parseJSON(token) {
if (token._bodyInit == null) {
return token;
} else {
const body = await token.json();
return body;

@@ -55,0 +56,0 @@ }

@@ -18,3 +18,3 @@ {

],
"version": "1.1.3",
"version": "1.1.4",
"main": "index.js",

@@ -21,0 +21,0 @@ "devDependencies": {

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