🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

ws

Package Overview
Dependencies
Maintainers
4
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ws - npm Package Compare versions

Comparing version
8.20.0
to
8.20.1
+6
-1
lib/sender.js

@@ -7,2 +7,5 @@ /* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^Duplex" }] */

const { randomFillSync } = require('crypto');
const {
types: { isUint8Array }
} = require('util');

@@ -204,4 +207,6 @@ const PerMessageDeflate = require('./permessage-deflate');

buf.write(data, 2);
} else if (isUint8Array(data)) {
buf.set(data, 2);
} else {
buf.set(data, 2);
throw new TypeError('Second argument must be a string or a Uint8Array');
}

@@ -208,0 +213,0 @@ }

+1
-1
{
"name": "ws",
"version": "8.20.0",
"version": "8.20.1",
"description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js",

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