Skip to content

Commit 6209420

Browse files
committed
Update dependencies
1 parent c248be2 commit 6209420

14 files changed

+44
-26
lines changed

.gitignore

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Dependencies
2-
.psci_modules
3-
bower_components
4-
node_modules
5-
6-
# Generated files
7-
.psci
8-
output
1+
/.*
2+
!/.gitignore
3+
!/.eslintrc.json
4+
!/.travis.yml
5+
package-lock.json
6+
/bower_components/
7+
/node_modules/
8+
/output/

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@ language: node_js
22
dist: trusty
33
sudo: required
44
node_js: stable
5+
env:
6+
- PATH=$HOME/purescript:$PATH
57
install:
8+
- TAG=$(wget -q -O - https://github.com/purescript/purescript/releases/latest --server-response --max-redirect 0 2>&1 | sed -n -e 's/.*Location:.*tag\///p')
9+
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
10+
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
11+
- chmod a+x $HOME/purescript
612
- npm install -g bower
713
- npm install
8-
- bower install
914
script:
15+
- bower install
1016
- npm run -s build
1117
after_success:
1218
- >-

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
11
# purescript-web-socket
2+
3+
[![Latest release](http://img.shields.io/github/release/purescript-web/purescript-web-socket.svg)](https://github.com/purescript-web/purescript-web-socket/releases)
4+
[![Build status](https://travis-ci.org/purescript-web/purescript-web-socket.svg?branch=master)](https://travis-ci.org/purescript-web/purescript-web-socket)
5+
6+
Type definitions and low level interface implementations for the W3C WebSocket API.
7+
8+
## Installation
9+
10+
```
11+
bower install purescript-web-socket
12+
```
13+
14+
## Documentation
15+
16+
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-web-socket).

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
],
1717
"dependencies": {
1818
"purescript-arraybuffer-types": "^2.0.0",
19-
"purescript-web-file": "#compiler/0.12"
19+
"purescript-web-file": "^1.0.0"
2020
}
2121
}

package.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@
22
"private": true,
33
"scripts": {
44
"clean": "rimraf output && rimraf .pulp-cache",
5-
"build": "eslint src && pulp build -- --censor-lib --strict",
6-
"test": "pulp test --runtime phantomjs"
5+
"build": "eslint src && pulp build -- --censor-lib --strict"
76
},
87
"devDependencies": {
9-
"eslint": "^3.19.0",
10-
"phantomjs-prebuilt": "^2.1.14",
11-
"pulp": "^11.0.0",
12-
"purescript-psa": "^0.5.0",
13-
"purescript": "^0.11.1",
14-
"rimraf": "^2.6.1"
8+
"eslint": "^4.19.1",
9+
"pulp": "^12.2.0",
10+
"purescript-psa": "^0.6.0",
11+
"rimraf": "^2.6.2"
1512
}
1613
}

src/Web/WebSocket/BinaryType.purs renamed to src/Web/Socket/BinaryType.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Web.WebSocket.BinaryType where
1+
module Web.Socket.BinaryType where
22

33
import Prelude
44
import Data.Enum (Cardinality(..), class BoundedEnum, defaultPred, defaultSucc, class Enum)

src/Web/WebSocket/Event/CloseEvent.purs renamed to src/Web/Socket/Event/CloseEvent.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Web.WebSocket.Event.CloseEvent where
1+
module Web.Socket.Event.CloseEvent where
22

33
import Data.Maybe (Maybe)
44
import Unsafe.Coerce (unsafeCoerce)

src/Web/WebSocket/Event/EventTypes.purs renamed to src/Web/Socket/Event/EventTypes.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Web.WebSocket.Event.EventTypes where
1+
module Web.Socket.Event.EventTypes where
22

33
import Web.Event.Event (EventType(..))
44

src/Web/WebSocket/Event/MessageEvent.purs renamed to src/Web/Socket/Event/MessageEvent.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Web.WebSocket.Event.MessageEvent where
1+
module Web.Socket.Event.MessageEvent where
22

33
import Data.Maybe (Maybe)
44
import Foreign (Foreign)

src/Web/WebSocket/ReadyState.purs renamed to src/Web/Socket/ReadyState.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Web.WebSocket.ReadyState where
1+
module Web.Socket.ReadyState where
22

33
import Prelude
44
import Data.Enum (Cardinality(..), class BoundedEnum, defaultPred, defaultSucc, class Enum)
File renamed without changes.

src/Web/WebSocket/WebSocket.purs renamed to src/Web/Socket/WebSocket.purs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module Web.WebSocket.WebSocket
1+
module Web.Socket.WebSocket
22
( WebSocket
33
, fromEventTarget
44
, toEventTarget
@@ -29,8 +29,8 @@ import Unsafe.Coerce (unsafeCoerce)
2929
import Web.Event.EventTarget (EventTarget)
3030
import Web.File.Blob (Blob)
3131
import Web.Internal.FFI (unsafeReadProtoTagged)
32-
import Web.WebSocket.BinaryType (BinaryType(..), printBinaryType)
33-
import Web.WebSocket.ReadyState (ReadyState, toEnumReadyState)
32+
import Web.Socket.BinaryType (BinaryType(..), printBinaryType)
33+
import Web.Socket.ReadyState (ReadyState, toEnumReadyState)
3434

3535
foreign import data WebSocket :: Type
3636

0 commit comments

Comments
 (0)