generated from tpl/purs
fix: use url-immutable
This commit is contained in:
parent
6da34de646
commit
01f505d05b
20
spago.yaml
20
spago.yaml
@ -15,7 +15,7 @@ package:
|
|||||||
- maybe
|
- maybe
|
||||||
- newtype
|
- newtype
|
||||||
- node-buffer
|
- node-buffer
|
||||||
- node-url
|
- url
|
||||||
- nullable
|
- nullable
|
||||||
- numbers
|
- numbers
|
||||||
- ordered-collections
|
- ordered-collections
|
||||||
@ -27,7 +27,23 @@ package:
|
|||||||
- web-file
|
- web-file
|
||||||
name: fetch
|
name: fetch
|
||||||
workspace:
|
workspace:
|
||||||
extra_packages: {}
|
extra_packages:
|
||||||
|
url:
|
||||||
|
git: 'https://git.orionkindel.com/thunderstrike/purescript-url-immutable.git'
|
||||||
|
ref: 'dbfa3b6'
|
||||||
|
dependencies:
|
||||||
|
- arrays
|
||||||
|
- effect
|
||||||
|
- filterable
|
||||||
|
- foldable-traversable
|
||||||
|
- integers
|
||||||
|
- maybe
|
||||||
|
- newtype
|
||||||
|
- nullable
|
||||||
|
- ordered-collections
|
||||||
|
- prelude
|
||||||
|
- strings
|
||||||
|
- tuples
|
||||||
package_set:
|
package_set:
|
||||||
url: https://raw.githubusercontent.com/purescript/package-sets/psc-0.15.10-20230930/packages.json
|
url: https://raw.githubusercontent.com/purescript/package-sets/psc-0.15.10-20230930/packages.json
|
||||||
hash: sha256-nTsd44o7/hrTdk0c6dh0wyBqhFFDJJIeKdQU6L1zv/A=
|
hash: sha256-nTsd44o7/hrTdk0c6dh0wyBqhFFDJJIeKdQU6L1zv/A=
|
||||||
|
@ -6,6 +6,7 @@ import Control.Promise (Promise)
|
|||||||
import Control.Promise as Promise
|
import Control.Promise as Promise
|
||||||
import Data.Nullable (Nullable)
|
import Data.Nullable (Nullable)
|
||||||
import Data.Nullable as Nullable
|
import Data.Nullable as Nullable
|
||||||
|
import Data.URL (URL)
|
||||||
import Effect (Effect)
|
import Effect (Effect)
|
||||||
import Effect.Aff.Class (class MonadAff, liftAff)
|
import Effect.Aff.Class (class MonadAff, liftAff)
|
||||||
import Foreign.Object (Object)
|
import Foreign.Object (Object)
|
||||||
@ -14,7 +15,6 @@ import HTTP.Header (headers) as X
|
|||||||
import HTTP.Request (class Request, Method(..)) as X
|
import HTTP.Request (class Request, Method(..)) as X
|
||||||
import HTTP.Request as Req
|
import HTTP.Request as Req
|
||||||
import HTTP.Response (Response)
|
import HTTP.Response (Response)
|
||||||
import Node.URL (URL)
|
|
||||||
|
|
||||||
foreign import fetchImpl :: URL -> String -> Object String -> Nullable Req.RawRequestBody -> Effect (Promise Response)
|
foreign import fetchImpl :: URL -> String -> Object String -> Nullable Req.RawRequestBody -> Effect (Promise Response)
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ import Data.Newtype (unwrap)
|
|||||||
import Data.Nullable as Nullable
|
import Data.Nullable as Nullable
|
||||||
import Data.Tuple.Containing (class TupleContaining, extract)
|
import Data.Tuple.Containing (class TupleContaining, extract)
|
||||||
import Data.Tuple.Nested (type (/\), (/\))
|
import Data.Tuple.Nested (type (/\), (/\))
|
||||||
|
import Data.URL (URL)
|
||||||
import Effect (Effect)
|
import Effect (Effect)
|
||||||
import Effect.Aff.Class (class MonadAff, liftAff)
|
import Effect.Aff.Class (class MonadAff, liftAff)
|
||||||
import Effect.Class (class MonadEffect, liftEffect)
|
import Effect.Class (class MonadEffect, liftEffect)
|
||||||
@ -39,7 +40,6 @@ import HTTP.MIME as MIME
|
|||||||
import Node.Buffer (Buffer)
|
import Node.Buffer (Buffer)
|
||||||
import Node.Buffer as Buffer
|
import Node.Buffer as Buffer
|
||||||
import Node.Encoding (Encoding(..))
|
import Node.Encoding (Encoding(..))
|
||||||
import Node.URL (URL)
|
|
||||||
import Simple.JSON (class WriteForeign, writeJSON)
|
import Simple.JSON (class WriteForeign, writeJSON)
|
||||||
import Unsafe.Coerce (unsafeCoerce)
|
import Unsafe.Coerce (unsafeCoerce)
|
||||||
import Web.File.Blob (Blob)
|
import Web.File.Blob (Blob)
|
||||||
|
Loading…
Reference in New Issue
Block a user