Socket
Socket
Sign inDemoInstall

promise-ws

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promise-ws - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

7

lib/Server.js

@@ -109,3 +109,8 @@ 'use strict';

if (noServer || server && server.listening) {
if (noServer ||
/* istanbul ignore next */
server && (server.listening ||
/* for node.js < v5.7.0 */
server.listening === undefined && server.address())) {
process.nextTick(callback);

@@ -112,0 +117,0 @@ } else {

2

package.json
{
"name": "promise-ws",
"description": "A Promise-Based WebSocket implementation for Node.js",
"version": "0.2.0",
"version": "0.2.1",
"main": "lib/index",

@@ -6,0 +6,0 @@ "files": [

# promise-ws
[![Build Status](https://travis-ci.org/cantonjs/promise-ws.svg?branch=master)](https://travis-ci.org/cantonjs/promise-ws)
[![CircleCI](https://circleci.com/gh/cantonjs/promise-ws.svg?style=shield)](https://circleci.com/gh/cantonjs/promise-ws)
[![Build status](https://ci.appveyor.com/api/projects/status/q0rmv88vjfk8m2w5/branch/master?svg=true)](https://ci.appveyor.com/project/cantonjs/promise-ws/branch/master)
[![Coverage Status](https://coveralls.io/repos/github/cantonjs/promise-ws/badge.svg?branch=master)](https://coveralls.io/github/cantonjs/promise-ws?branch=master)
[![License](https://img.shields.io/badge/license-MIT_License-blue.svg?style=flat)](https://github.com/cantonjs/promise-ws/blob/master/LICENSE.md)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)
[![License](https://img.shields.io/badge/license-MIT_License-brightgreen.svg?style=flat)](https://github.com/cantonjs/promise-ws/blob/master/LICENSE.md)

@@ -7,0 +10,0 @@ A promise based WebSocket implementation for Node.js. Built on top of

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