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

@lion/ajax

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lion/ajax - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

package.json
{
"name": "@lion/ajax",
"version": "1.1.1",
"version": "1.1.2",
"description": "Thin wrapper around fetch with support for interceptors.",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -196,3 +196,3 @@ /* eslint-disable consistent-return */

let body = responseText;
if (response.headers.get('content-type')?.includes('application/json')) {
if (response.headers.get('content-type')?.includes('json')) {
try {

@@ -199,0 +199,0 @@ body = JSON.parse(responseText);

Sorry, the diff of this file is not supported yet

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