chore: prepare v1.2.5

This commit is contained in:
orion 2024-05-03 12:58:57 -05:00
parent 874503a300
commit a3be110749
Signed by: orion
GPG Key ID: 6D4165AE4C928719
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "purescript-csv-stream",
"version": "v1.2.4",
"version": "v1.2.5",
"dependencies": {
"csv-parse": "^5.5.5",
"csv-stringify": "^6.4.6"

View File

@ -1,7 +1,7 @@
package:
name: csv-stream
publish:
version: '1.2.4'
version: '1.2.5'
license: 'GPL-3.0-or-later'
location:
githubOwner: 'cakekindel'

View File

@ -3,7 +3,7 @@ module Node.Stream.CSV.Parse where
import Prelude hiding (join)
import Control.Alt ((<|>))
import Control.Alternative (guard)
import Control.Alternative (guard, empty)
import Control.Monad.Error.Class (liftEither)
import Control.Monad.Except (runExcept)
import Control.Monad.Maybe.Trans (MaybeT(..), runMaybeT)
@ -144,7 +144,7 @@ foreach stream cb =
isClosed <- liftEffect $ Stream.closed stream
if isClosed && isNothing r then
pure unit
else if isNothing r then
else if isNothing r then do
liftAff $ delay $ wrap 10.0
empty
else do