Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dcharbonnier/hydrated-ws
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.8.4
Choose a base ref
...
head repository: dcharbonnier/hydrated-ws
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.0
Choose a head ref
Loading
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
language: node_js
node_js:
- 8.12.0
- 10.15.1
- 11.9.0
- 12.13.0
- 13.1.0


after_success:
- yarn run codecov
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
<img src="./logo.png">
</p>

[![Gitter](https://img.shields.io/gitter/room/hydrated-ws/Lobby.svg?style=flat-square)](https://gitter.im/hydrated-ws/Lobby)
[![Gitter](https://img.shields.io/gitter/room/hydratedws/Lobby.svg?style=flat-square)](https://gitter.im/hydratedws/Lobby)

[![Build Status](https://img.shields.io/travis/dcharbonnier/hydrated-ws/master.svg?style=flat-square)](https://travis-ci.org/dcharbonnier/hydrated-ws)
[![Greenkeeper badge](https://badges.greenkeeper.io/dcharbonnier/hydrated-ws.svg)](https://greenkeeper.io/)
@@ -19,7 +19,7 @@ path over Websocket on the server and the browser.
All components are seen from the outside world like a WebSocket allowing
you to integrate is on any existing project.

- [Api documentation](http://doc.hydrated.ws/)
- [Api documentation](https://dcharbonnier.github.io/hydrated-ws/)

<!-- toc -->

@@ -178,6 +178,19 @@ lerna
FAQ
=======

#### Aurelia bundler
The bundler will complain about many packages with a message "Unable to load package metadata", the solution is to ignore the ws package in the task build :
```
function writeBundles() {
return buildCLI.dest({
onRequiringModule: moduleId =>
moduleId === "ws"
? "define(['ws'] , function () {return undefined;});"
: void 0
});
}
```

#### Webpack
Webpack complain about the `ws` implementation of WebSocket, the errors
are :
Loading