File tree Expand file tree Collapse file tree 6 files changed +18
-6
lines changed
Expand file tree Collapse file tree 6 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "importSort" : " ide" ,
3+ "importWrap" : " source" ,
4+ "indent" : 2 ,
5+ "operatorsFile" : null ,
6+ "ribbon" : 1 ,
7+ "typeArrowPlacement" : " first" ,
8+ "unicode" : " never" ,
9+ "width" : null
10+ }
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ Notable changes to this project are documented in this file. The format is based
55## [ Unreleased]
66
77Breaking changes:
8+ - Migrated from ` web-promise ` to ` js-promise `
89
910New features:
1011
Original file line number Diff line number Diff line change 1818 "purescript-effect" : " ^4.0.0" ,
1919 "purescript-foreign-object" : " ^4.0.0" ,
2020 "purescript-http-methods" : " ^6.0.0" ,
21+ "purescript-js-promise" : " https://github.com/purescript-contrib/purescript-js-promise.git#^1.0.0" ,
2122 "purescript-prelude" : " ^6.0.0" ,
2223 "purescript-record" : " ^4.0.0" ,
2324 "purescript-typelevel-prelude" : " ^7.0.0" ,
2425 "purescript-web-file" : " ^4.0.0" ,
25- "purescript-web-promise" : " https://github.com/purescript-web/purescript-web-promise.git#^3.0.0" ,
2626 "purescript-web-streams" : " https://github.com/purescript-web/purescript-web-streams.git#^3.0.0"
2727 }
2828}
Original file line number Diff line number Diff line change 22 "private" : true ,
33 "scripts" : {
44 "clean" : " rimraf output && rimraf .pulp-cache" ,
5- "build" : " eslint src && pulp build -- --censor-lib --strict"
5+ "build" : " eslint src && purs-tidy check --config-require src/**/*.purs && pulp build -- --censor-lib --strict"
66 },
77 "devDependencies" : {
8- "eslint" : " ^7.15 .0" ,
9- "pulp" : " 16.0.0-0 " ,
8+ "eslint" : " ^8.28 .0" ,
9+ "pulp" : " ^ 16.0.2 " ,
1010 "purescript-psa" : " ^0.8.2" ,
11+ "purs-tidy" : " ^0.9.2" ,
1112 "rimraf" : " ^3.0.2"
1213 }
1314}
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ module Web.Fetch
77import Effect (Effect )
88import Effect.Uncurried (EffectFn2 , runEffectFn2 )
99import Prim.Row as Row
10+ import Promise (Promise )
1011import Web.Fetch.AbortController (AbortSignal )
1112import Web.Fetch.Request (Request )
1213import Web.Fetch.Response (Response )
13- import Web.Promise (Promise )
1414
1515type FetchOptions =
1616 ( keepalive :: Boolean
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ module Web.Fetch.Response where
22
33import Data.ArrayBuffer.Types (ArrayBuffer , Uint8Array )
44import Effect (Effect )
5+ import Promise (Promise )
56import Web.Fetch.Headers (Headers )
67import Web.File.Blob (Blob )
7- import Web.Promise (Promise )
88import Web.Streams.ReadableStream (ReadableStream )
99
1010foreign import data Response :: Type
You can’t perform that action at this time.
0 commit comments