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

laravel-echo

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laravel-echo - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

14

dist/echo.js

@@ -727,7 +727,11 @@ var asyncGenerator = function () {

jQuery.ajaxSetup({
beforeSend: function beforeSend(xhr) {
xhr.setRequestHeader('X-Socket-Id', _this3.socketId());
}
});
if (typeof jQuery.ajax != 'undefined') {
jQuery.ajaxSetup({
beforeSend: function beforeSend(xhr) {
if (_this3.socketId()) {
xhr.setRequestHeader('X-Socket-Id', _this3.socketId());
}
}
});
}
}

@@ -734,0 +738,0 @@ }, {

{
"name": "laravel-echo",
"version": "1.2.4",
"version": "1.2.5",
"description": "Laravel Echo library for beautiful Pusher and Socket.IO integration",

@@ -5,0 +5,0 @@ "main": "dist/echo.js",

@@ -85,7 +85,11 @@ import { EventFormatter } from './util';

registerjQueryAjaxSetup() {
jQuery.ajaxSetup({
beforeSend: (xhr) => {
xhr.setRequestHeader('X-Socket-Id', this.socketId());
}
});
if (typeof jQuery.ajax != 'undefined' ) {
jQuery.ajaxSetup({
beforeSend: (xhr) => {
if (this.socketId()) {
xhr.setRequestHeader('X-Socket-Id', this.socketId());
}
}
});
}
}

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