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
5
5
## [ Unreleased]
6
6
7
7
Breaking changes:
8
+ - Migrated from ` web-promise ` to ` js-promise `
8
9
9
10
New features:
10
11
Original file line number Diff line number Diff line change 18
18
"purescript-effect" : " ^4.0.0" ,
19
19
"purescript-foreign-object" : " ^4.0.0" ,
20
20
"purescript-http-methods" : " ^6.0.0" ,
21
+ "purescript-js-promise" : " https://github.com/purescript-contrib/purescript-js-promise.git#^1.0.0" ,
21
22
"purescript-prelude" : " ^6.0.0" ,
22
23
"purescript-record" : " ^4.0.0" ,
23
24
"purescript-typelevel-prelude" : " ^7.0.0" ,
24
25
"purescript-web-file" : " ^4.0.0" ,
25
- "purescript-web-promise" : " https://github.com/purescript-web/purescript-web-promise.git#^3.0.0" ,
26
26
"purescript-web-streams" : " https://github.com/purescript-web/purescript-web-streams.git#^3.0.0"
27
27
}
28
28
}
Original file line number Diff line number Diff line change 2
2
"private" : true ,
3
3
"scripts" : {
4
4
"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"
6
6
},
7
7
"devDependencies" : {
8
- "eslint" : " ^7.15 .0" ,
9
- "pulp" : " 16.0.0-0 " ,
8
+ "eslint" : " ^8.28 .0" ,
9
+ "pulp" : " ^ 16.0.2 " ,
10
10
"purescript-psa" : " ^0.8.2" ,
11
+ "purs-tidy" : " ^0.9.2" ,
11
12
"rimraf" : " ^3.0.2"
12
13
}
13
14
}
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ module Web.Fetch
7
7
import Effect (Effect )
8
8
import Effect.Uncurried (EffectFn2 , runEffectFn2 )
9
9
import Prim.Row as Row
10
+ import Promise (Promise )
10
11
import Web.Fetch.AbortController (AbortSignal )
11
12
import Web.Fetch.Request (Request )
12
13
import Web.Fetch.Response (Response )
13
- import Web.Promise (Promise )
14
14
15
15
type FetchOptions =
16
16
( keepalive :: Boolean
Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ module Web.Fetch.Response where
2
2
3
3
import Data.ArrayBuffer.Types (ArrayBuffer , Uint8Array )
4
4
import Effect (Effect )
5
+ import Promise (Promise )
5
6
import Web.Fetch.Headers (Headers )
6
7
import Web.File.Blob (Blob )
7
- import Web.Promise (Promise )
8
8
import Web.Streams.ReadableStream (ReadableStream )
9
9
10
10
foreign import data Response :: Type
You can’t perform that action at this time.
0 commit comments