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

glazewm

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glazewm - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

5

dist/index.js

@@ -300,3 +300,6 @@ "use strict";

async _waitForConnection() {
if (this._socket && this._socket.readyState === this._socket.OPEN) {
if (!this._socket || this._socket.readyState === this._socket.CLOSED || this._socket.readyState === this._socket.CLOSING) {
throw new Error("Websocket connection is closed.");
}
if (this._socket.readyState === this._socket.OPEN) {
return this._socket;

@@ -303,0 +306,0 @@ }

2

package.json
{
"name": "glazewm",
"version": "1.4.1",
"version": "1.4.2",
"description": "Library for inter-process communication (IPC) with GlazeWM.",

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

@@ -375,3 +375,11 @@ import {

private async _waitForConnection(): Promise<WebSocket> {
if (this._socket && this._socket.readyState === this._socket.OPEN) {
if (
!this._socket ||
this._socket.readyState === this._socket.CLOSED ||
this._socket.readyState === this._socket.CLOSING
) {
throw new Error('Websocket connection is closed.');
}
if (this._socket.readyState === this._socket.OPEN) {
return this._socket;

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