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

axaj

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axaj - npm Package Compare versions

Comparing version 1.15.0 to 1.16.0

2

package.json
{
"name": "axaj",
"version": "1.15.0",
"version": "1.16.0",
"description": "A tiny and trivial AJAX library which uses the Fetch API.",

@@ -5,0 +5,0 @@ "keywords": [

/*
* Copyright (c) 2020 Anton Bagdatyev (Tonix)
* Copyright (c) 2021 Anton Bagdatyev (Tonix)
*

@@ -31,3 +31,3 @@ * Permission is hereby granted, free of charge, to any person

import ImmutableLinkedOrderedMap, {
ImmutableLinkedOrderedMapMode
ImmutableLinkedOrderedMapMode,
} from "immutable-linked-ordered-map";

@@ -81,3 +81,3 @@ import { checkNetwork, buildQueryString, formData } from "js-utl";

checkNetworkInterval = interval;
}
},
};

@@ -89,3 +89,3 @@

const defaultOptions = {
credentials: "same-origin"
credentials: "same-origin",
};

@@ -97,3 +97,3 @@

let onNoNetworkHandlers = new ImmutableLinkedOrderedMap({
mode: ImmutableLinkedOrderedMapMode.LIGHTWEIGHT
mode: ImmutableLinkedOrderedMapMode.LIGHTWEIGHT,
});

@@ -105,3 +105,3 @@

let onNetworkRestoredHandlers = new ImmutableLinkedOrderedMap({
mode: ImmutableLinkedOrderedMapMode.LIGHTWEIGHT
mode: ImmutableLinkedOrderedMapMode.LIGHTWEIGHT,
});

@@ -113,3 +113,3 @@

let onStillNoNetworkHandlers = new ImmutableLinkedOrderedMap({
mode: ImmutableLinkedOrderedMapMode.LIGHTWEIGHT
mode: ImmutableLinkedOrderedMapMode.LIGHTWEIGHT,
});

@@ -126,3 +126,3 @@

onNoNetworkHandlers = onNoNetworkHandlers.set({
[noNetworkHandlerId]: handler
[noNetworkHandlerId]: handler,
});

@@ -152,3 +152,3 @@ return noNetworkHandlerId;

onNetworkRestoredHandlers = onNetworkRestoredHandlers.set({
[networkRestoredHandlerId]: handler
[networkRestoredHandlerId]: handler,
});

@@ -178,3 +178,3 @@ return networkRestoredHandlerId;

onStillNoNetworkHandlers = onStillNoNetworkHandlers.set({
[stillNoNetworkHandlerId]: handler
[stillNoNetworkHandlerId]: handler,
});

@@ -273,5 +273,5 @@ return stillNoNetworkHandlerId;

CSRFTokenValue && {
[CSRFTokenName]: crossSiteRequestForgeryTokenValue(CSRFTokenValue)
[CSRFTokenName]: crossSiteRequestForgeryTokenValue(CSRFTokenValue),
}) ||
{})
{}),
};

@@ -292,3 +292,3 @@ }

...(init || {}),
method: "GET"
method: "GET",
})

@@ -319,3 +319,3 @@ );

method: "POST",
body: data || {}
body: data || {},
})

@@ -339,4 +339,4 @@ );

...(options.headers || {}),
"Content-Type": "application/json"
}
"Content-Type": "application/json",
},
});

@@ -359,4 +359,4 @@ }

...(options.headers || {}),
"Content-Type": "application/x-www-form-urlencoded"
}
"Content-Type": "application/x-www-form-urlencoded",
},
});

@@ -363,0 +363,0 @@ }

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