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

@apicase/adapter-xhr

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apicase/adapter-xhr - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

6

index.cjs.js

@@ -62,2 +62,8 @@ 'use strict';

}
if (
typeof payload.body === 'object' &&
!(payload.body instanceof FormData)
) {
res.headers['Content-Type'] = 'application/json';
}
return res

@@ -64,0 +70,0 @@ },

@@ -60,2 +60,8 @@ const pathToRegexp = require('path-to-regexp')

}
if (
typeof payload.body === 'object' &&
!(payload.body instanceof FormData)
) {
res.headers['Content-Type'] = 'application/json'
}
return res

@@ -62,0 +68,0 @@ },

2

package.json
{
"name": "@apicase/adapter-xhr",
"version": "0.4.0",
"version": "0.5.0",
"description": "XHR adapter for apicase-core",

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

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