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

cloudstorm

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudstorm - npm Package Compare versions

Comparing version 0.5.7 to 0.5.8

2

dist/structures/BetterWs.d.ts

@@ -40,3 +40,3 @@ /// <reference types="node" />

constructor(address: string, options: import("../Types").IClientWSOptions);
get status(): 1 | 2 | 3 | 4;
get status(): 2 | 3 | 4 | 1;
connect(): Promise<void>;

@@ -43,0 +43,0 @@ close(code: number, reason?: string): Promise<void>;

@@ -50,3 +50,3 @@ "use strict";

const url = new URL(this.address);
const useHTTPS = url.protocol === "https:" || url.port === "443";
const useHTTPS = (url.protocol === "https:" || url.protocol === "wss:") || url.port === "443";
const port = url.port || (useHTTPS ? "443" : "80");

@@ -53,0 +53,0 @@ const req = (useHTTPS ? https_1.default : http_1.default).request({

{
"name": "cloudstorm",
"version": "0.5.7",
"version": "0.5.8",
"description": "Minimalistic Discord Gateway library",

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

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