New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

laravel-echo

Package Overview
Dependencies
Maintainers
1
Versions
96
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.6.0 to 1.6.1

10

CHANGELOG.md
# Release Notes
## [Unreleased](https://github.com/laravel/echo/compare/v1.6.0...master)
## [Unreleased](https://github.com/laravel/echo/compare/v1.6.1...master)
## [v1.6.1 (2019-10-01)](https://github.com/laravel/echo/compare/v1.6.0...v1.6.1)
### Fixed
- Change check for 'querySelector' method for browser compatibility ([#253](https://github.com/laravel/echo/pull/253))
## [v1.6.0 (2019-09-24)](https://github.com/laravel/echo/compare/v1.5.4...v1.6.0)

@@ -7,0 +13,0 @@

2

dist/echo.common.js

@@ -115,3 +115,3 @@ 'use strict';

return this.options.csrfToken;
} else if (typeof document !== 'undefined' && document.hasOwnProperty('querySelector') && (selector = document.querySelector('meta[name="csrf-token"]'))) {
} else if (typeof document !== 'undefined' && typeof document.querySelector === 'function' && (selector = document.querySelector('meta[name="csrf-token"]'))) {
return selector.getAttribute('content');

@@ -118,0 +118,0 @@ }

@@ -116,3 +116,3 @@ var Echo = (function () {

return this.options.csrfToken;
} else if (typeof document !== 'undefined' && document.hasOwnProperty('querySelector') && (selector = document.querySelector('meta[name="csrf-token"]'))) {
} else if (typeof document !== 'undefined' && typeof document.querySelector === 'function' && (selector = document.querySelector('meta[name="csrf-token"]'))) {
return selector.getAttribute('content');

@@ -119,0 +119,0 @@ }

@@ -113,3 +113,3 @@ var classCallCheck = function (instance, Constructor) {

return this.options.csrfToken;
} else if (typeof document !== 'undefined' && document.hasOwnProperty('querySelector') && (selector = document.querySelector('meta[name="csrf-token"]'))) {
} else if (typeof document !== 'undefined' && typeof document.querySelector === 'function' && (selector = document.querySelector('meta[name="csrf-token"]'))) {
return selector.getAttribute('content');

@@ -116,0 +116,0 @@ }

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

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

@@ -57,3 +57,3 @@ import { Channel, PresenceChannel } from './../channel';

typeof document !== 'undefined' &&
document.hasOwnProperty('querySelector') &&
typeof document.querySelector === 'function' &&
(selector = document.querySelector('meta[name="csrf-token"]'))

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