fix: update node-stream-pipes

This commit is contained in:
orion 2024-06-20 15:42:35 -05:00
parent 7321600783
commit 3b4ec77414
Signed by: orion
GPG Key ID: 6D4165AE4C928719
3 changed files with 37 additions and 7 deletions

View File

@ -18,7 +18,7 @@ workspace:
- newtype: ">=5.0.0 <6.0.0"
- node-buffer: ">=9.0.0 <10.0.0"
- node-event-emitter: ">=3.0.0 <4.0.0"
- node-stream-pipes: ">=1.5.0 <2.0.0"
- node-stream-pipes: ">=1.6.0 <2.0.0"
- node-streams: ">=9.0.0 <10.0.0"
- nullable: ">=6.0.0 <7.0.0"
- numbers: ">=9.0.1 <10.0.0"
@ -39,6 +39,7 @@ workspace:
- console
- gen
- node-fs
- node-process
- node-zlib
- quickcheck
- simple-json
@ -87,6 +88,7 @@ workspace:
- node-event-emitter
- node-fs
- node-path
- node-process
- node-stream-pipes
- node-streams
- node-zlib
@ -100,6 +102,7 @@ workspace:
- parsing
- partial
- pipes
- posix-types
- precise-datetime
- prelude
- profunctor
@ -605,10 +608,24 @@ packages:
integrity: sha256-pd82nQ+2l5UThzaxPdKttgDt7xlsgIDLpPG0yxDEdyE=
dependencies:
- effect
node-process:
type: registry
version: 11.2.0
integrity: sha256-+2MQDYChjGbVbapCyJtuWYwD41jk+BntF/kcOTKBMVs=
dependencies:
- effect
- foreign
- foreign-object
- maybe
- node-event-emitter
- node-streams
- posix-types
- prelude
- unsafe-coerce
node-stream-pipes:
type: registry
version: 1.5.0
integrity: sha256-kca0MJ8Pz4tXNpaw7CdysyNAgdbb8yqH1FhOoYbRm5s=
version: 1.6.0
integrity: sha256-aYwtrkJgTzLEaYZNel2HLISaWecyBzyKoGVpZpIRTJI=
dependencies:
- aff
- arrays
@ -620,7 +637,6 @@ packages:
- lists
- maybe
- mmorph
- newtype
- node-buffer
- node-event-emitter
- node-fs
@ -783,6 +799,13 @@ packages:
- tailrec
- transformers
- tuples
posix-types:
type: registry
version: 6.0.0
integrity: sha256-ZfFz8RR1lee/o/Prccyeut3Q+9tYd08mlR72sIh6GzA=
dependencies:
- maybe
- prelude
precise-datetime:
type: registry
version: 7.0.0

View File

@ -10,7 +10,7 @@ package:
strict: true
pedanticPackages: true
dependencies:
- node-stream-pipes: ">=1.5.0 <2.0.0"
- node-stream-pipes: ">=1.6.0 <2.0.0"
- aff: ">=7.1.0 <8.0.0"
- arrays: ">=7.3.0 <8.0.0"
- bifunctors: ">=6.0.0 <7.0.0"
@ -48,6 +48,7 @@ package:
- console
- gen
- node-fs
- node-process
- node-zlib
- quickcheck
- simple-json

View File

@ -5,10 +5,16 @@ import Prelude
import Data.Maybe (Maybe(..))
import Effect (Effect)
import Effect.Aff (launchAff_)
import Effect.Class (liftEffect)
import Effect.Console as Console
import Node.EventEmitter as Event
import Node.Process as Process
import Test.Pipes.CSV as Test.Pipes.CSV
import Test.Spec.Reporter (specReporter)
import Test.Spec.Runner (defaultConfig, runSpec')
main :: Effect Unit
main = launchAff_ $ runSpec' (defaultConfig { failFast = true, timeout = Nothing }) [ specReporter ] do
Test.Pipes.CSV.spec
main = launchAff_ do
void $ liftEffect $ Event.on Process.uncaughtExceptionH (const $ Console.error) Process.process
runSpec' (defaultConfig { failFast = true, timeout = Nothing }) [ specReporter ] do
Test.Pipes.CSV.spec