Skip to content

Commit 2ba2d18

Browse files
Update to v0.14.0-rc3 (#4)
* Update to v0.14.0-rc3 purescript * Add psa flags to pulp test * Fix bower dependencies * Update package.json * Provide alternative way to show Buffer Co-authored-by: Thomas Honeyman <admin@thomashoneyman.com>
1 parent c660516 commit 2ba2d18

File tree

4 files changed

+18
-15
lines changed

4 files changed

+18
-15
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
- uses: actions/checkout@v2
1414

1515
- uses: purescript-contrib/setup-purescript@main
16+
with:
17+
purescript: "0.14.0-rc3"
1618

1719
- uses: actions/setup-node@v1
1820
with:

bower.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
1212
"output"
1313
],
1414
"dependencies": {
15-
"purescript-effect": ">= 1.0.0 < 3",
16-
"purescript-either": ">= 1.0.0 < 5",
17-
"purescript-exceptions": ">= 4.0.0 < 5",
18-
"purescript-foreign": ">= 5.0.0 < 6",
19-
"purescript-maybe": ">= 1.0.0 < 5",
20-
"purescript-node-buffer": ">= 5.0.0 < 6",
21-
"purescript-node-fs": ">= 5.0.0 < 6",
22-
"purescript-nullable": ">= 3.0.0 < 5",
23-
"purescript-options": ">= 1.0.0 < 6",
24-
"purescript-prelude": ">= 4.0.0 < 5",
25-
"purescript-transformers": ">= 1.0.0 < 5"
15+
"purescript-effect": "master",
16+
"purescript-either": "master",
17+
"purescript-exceptions": "master",
18+
"purescript-foreign": "master",
19+
"purescript-maybe": "master",
20+
"purescript-node-buffer": "master",
21+
"purescript-node-fs": "master",
22+
"purescript-nullable": "main",
23+
"purescript-options": "main",
24+
"purescript-prelude": "master",
25+
"purescript-transformers": "master"
2626
},
2727
"devDependencies": {
28-
"purescript-console": ">= 4.0.0 < 5"
28+
"purescript-console": "master"
2929
}
3030
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"scripts": {
44
"clean": "rimraf output && rimraf .pulp-cache",
55
"build": "eslint src && pulp build -- --censor-lib --strict",
6-
"test": "pulp test"
6+
"test": "pulp test -- --censor-lib"
77
},
88
"devDependencies": {
99
"eslint": "^7.15.0",

test/Test/Main.purs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ main = do
4444
infoShow {_message: "Socket connected"}
4545
Node.Net.Socket.onData socket case _ of
4646
Left buffer -> do
47-
logShow { _message: "Received some data", buffer }
47+
bufferBinary <- toString Binary buffer
48+
logShow { _message: "Received some data", bufferBinary }
4849
bufferString <- toString UTF8 buffer
49-
logShow { _message: "Converted to a `String`", buffer, bufferString }
50+
logShow { _message: "Converted to a `String`", bufferString }
5051
Right string -> logShow { _message: "Received some data", string }
5152
Node.Net.Socket.onDrain socket do
5253
infoShow { _message: "Socket drained" }

0 commit comments

Comments
 (0)