Skip to content

Commit 5d15790

Browse files
authored
Merge pull request #19 from anilanar/update-deps-0.11.x
v0.11.x
2 parents ba3b5de + a3d3bf5 commit 5d15790

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

bower.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
"url": "git://github.com/purescript-node/purescript-node-buffer"
1414
},
1515
"dependencies": {
16-
"purescript-eff": "^2.0.0",
17-
"purescript-maybe": "^2.0.0"
16+
"purescript-eff": "^3.0.0",
17+
"purescript-maybe": "^3.0.0"
1818
},
1919
"devDependencies": {
20-
"purescript-assert": "^2.0.0",
21-
"purescript-console": "^2.0.0",
22-
"purescript-foldable-traversable": "^2.0.0"
20+
"purescript-assert": "^3.0.0",
21+
"purescript-console": "^3.0.0",
22+
"purescript-foldable-traversable": "^3.0.0"
2323
}
2424
}

package.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
2+
"name": "purescript-node-buffer",
23
"private": true,
34
"scripts": {
45
"clean": "rimraf output && rimraf .pulp-cache",
5-
"build": "pulp build --censor-lib --strict"
6+
"build": "pulp build -- --censor-lib --strict"
67
},
78
"devDependencies": {
8-
"pulp": "^9.0.1",
9-
"purescript-psa": "^0.3.9",
10-
"purescript": "^0.10.1",
11-
"rimraf": "^2.5.4"
9+
"pulp": "^11.0.0",
10+
"purescript-psa": "^0.5.0",
11+
"purescript": "^0.11.1",
12+
"rimraf": "^2.6.1"
1213
}
1314
}

src/Node/Buffer.purs

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module Node.Buffer
2323
) where
2424

2525
import Prelude
26-
import Control.Monad.Eff (Eff)
26+
import Control.Monad.Eff (Eff, kind Effect)
2727
import Data.Maybe (Maybe(..))
2828
import Node.Encoding (Encoding, encodingToNode)
2929

@@ -35,15 +35,15 @@ type Octet = Int
3535
type Offset = Int
3636

3737
-- | An instance of Node's Buffer class.
38-
foreign import data Buffer :: *
38+
foreign import data Buffer :: Type
3939

4040
instance showBuffer :: Show Buffer where
4141
show = showImpl
4242

4343
foreign import showImpl :: Buffer -> String
4444

4545
-- | Effect for buffer creation, reading, or writing.
46-
foreign import data BUFFER :: !
46+
foreign import data BUFFER :: Effect
4747

4848
-- | Enumeration of the numeric types that can be written to a buffer.
4949
data BufferValueType

test/Main.purs

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ testGetAtOffset = do
131131
assertEq Nothing =<< getAtOffset 4 buf
132132
assertEq Nothing =<< getAtOffset (-1) buf
133133

134-
assertEq :: forall a. (Eq a, Show a) => a -> a -> Test
134+
assertEq :: forall a. Eq a => Show a => a -> a -> Test
135135
assertEq x y =
136136
if x == y
137137
then pure unit

0 commit comments

Comments
 (0)