diff --git a/CHANGELOG.md b/CHANGELOG.md index 791c0f1..e2aaec1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ New features: Bugfixes: Other improvements: +- Ensure all directly-imported packages are included in the `spago.dhall` file (#205 by @ptrfrncsmrph) ## [v6.0.0](https://github.com/purescript-contrib/purescript-aff/releases/tag/v6.0.0) - 2021-02-26 diff --git a/bower.json b/bower.json index a2fae08..3d29e88 100644 --- a/bower.json +++ b/bower.json @@ -17,19 +17,22 @@ "package.json" ], "dependencies": { - "purescript-datetime": "^5.0.0", - "purescript-effect": "^3.0.0", - "purescript-exceptions": "^5.0.0", - "purescript-functions": "^5.0.0", - "purescript-parallel": "^5.0.0", - "purescript-transformers": "^5.0.0", - "purescript-unsafe-coerce": "^5.0.0" - }, - "devDependencies": { - "purescript-assert": "^5.0.0", - "purescript-console": "^5.0.0", - "purescript-free": "^6.0.0", - "purescript-minibench": "^3.0.0", - "purescript-partial": "^3.0.0" + "purescript-arrays": "^v6.0.0", + "purescript-bifunctors": "^v5.0.0", + "purescript-control": "^v5.0.0", + "purescript-datetime": "^v5.0.0", + "purescript-effect": "^v3.0.0", + "purescript-either": "^v5.0.0", + "purescript-exceptions": "^v5.0.0", + "purescript-foldable-traversable": "^v5.0.0", + "purescript-functions": "^v5.0.0", + "purescript-maybe": "^v5.0.0", + "purescript-newtype": "^v4.0.0", + "purescript-parallel": "^v5.0.0", + "purescript-prelude": "^v5.0.0", + "purescript-refs": "^v5.0.0", + "purescript-tailrec": "^v5.0.0", + "purescript-transformers": "^v5.0.0", + "purescript-unsafe-coerce": "^v5.0.0" } } diff --git a/spago.dhall b/spago.dhall index dab6263..69ebdb5 100644 --- a/spago.dhall +++ b/spago.dhall @@ -1,16 +1,25 @@ { name = "aff" , dependencies = - [ "assert" + [ "arrays" + , "assert" + , "bifunctors" , "console" + , "control" , "datetime" , "effect" + , "either" , "exceptions" - , "free" + , "foldable-traversable" , "functions" + , "maybe" , "minibench" + , "newtype" , "parallel" , "partial" + , "prelude" , "psci-support" + , "refs" + , "tailrec" , "transformers" , "unsafe-coerce" ] diff --git a/test/Test/Main.purs b/test/Test/Main.purs index f175429..440e7a4 100644 --- a/test/Test/Main.purs +++ b/test/Test/Main.purs @@ -99,7 +99,7 @@ test_delay = assert "delay" do test_fork ∷ Aff Unit test_fork = assert "fork" do ref ← newRef "" - fiber ← forkAff do + _ ← forkAff do delay (Milliseconds 10.0) modifyRef ref (_ <> "child") _ ← modifyRef ref (_ <> "go") @@ -287,7 +287,7 @@ test_kill_canceler ∷ Aff Unit test_kill_canceler = assert "kill/canceler" do ref ← newRef "" fiber ← forkAff do - n ← makeAff \_ → pure $ Canceler \_ → do + _ ← makeAff \_ → pure $ Canceler \_ → do delay (Milliseconds 20.0) liftEffect (writeRef ref "cancel") writeRef ref "done" @@ -626,7 +626,7 @@ test_efffn = assert "efffn" do action = do effectDelay (Milliseconds 10.0) void $ modifyRef ref (_ <> "done") - f1 ← forkAff action + _ ← forkAff action f2 ← forkAff action killFiber (error "Nope.") f2 delay (Milliseconds 20.0) @@ -695,7 +695,7 @@ test_regression_bracket_catch_cleanup = assert "regression/bracket-catch-cleanup test_regression_kill_sync_async ∷ Aff Unit test_regression_kill_sync_async = assert "regression/kill-sync-async" do - ref ← newRef "" + _ ← newRef "" f1 ← forkAff $ makeAff \k -> k (Left (error "Boom.")) *> mempty killFiber (error "Nope.") f1 pure true