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

ajax-manager

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ajax-manager - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

2

package.json
{
"name": "ajax-manager",
"version": "1.0.6",
"version": "1.0.7",
"description": "An jQuery ajax management tool",

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

// use global count instead of jquery global event because it does't support cross domain request
window.__apiCount__ = 0
let apiCounter = {
window.__apiCounter = {
add () {

@@ -153,3 +153,3 @@ window.__apiCount__++

if (triggerAjaxStartAndStopEvent) {
apiCounter.add()
window.__apiCounter.add()
fireStartAndStopEvents('ajaxStart', [xhr])

@@ -170,3 +170,3 @@ }

if (triggerAjaxStartAndStopEvent) {
apiCounter.remove()
window.__apiCounter.remove()
fireStartAndStopEvents('ajaxStop', [xhr, statusText])

@@ -173,0 +173,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