promise-ws
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -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 { |
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28522
472
366