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

View File

@ -10,7 +10,7 @@ package:
strict: true strict: true
pedanticPackages: true pedanticPackages: true
dependencies: 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" - aff: ">=7.1.0 <8.0.0"
- arrays: ">=7.3.0 <8.0.0" - arrays: ">=7.3.0 <8.0.0"
- bifunctors: ">=6.0.0 <7.0.0" - bifunctors: ">=6.0.0 <7.0.0"
@ -48,6 +48,7 @@ package:
- console - console
- gen - gen
- node-fs - node-fs
- node-process
- node-zlib - node-zlib
- quickcheck - quickcheck
- simple-json - simple-json

View File

@ -5,10 +5,16 @@ import Prelude
import Data.Maybe (Maybe(..)) import Data.Maybe (Maybe(..))
import Effect (Effect) import Effect (Effect)
import Effect.Aff (launchAff_) 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.Pipes.CSV as Test.Pipes.CSV
import Test.Spec.Reporter (specReporter) import Test.Spec.Reporter (specReporter)
import Test.Spec.Runner (defaultConfig, runSpec') import Test.Spec.Runner (defaultConfig, runSpec')
main :: Effect Unit main :: Effect Unit
main = launchAff_ $ runSpec' (defaultConfig { failFast = true, timeout = Nothing }) [ specReporter ] do 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 Test.Pipes.CSV.spec