git.iko.soy/rowtype-yoga/purescript-yoga-fetch
on main help sign in
Renaming
commit11b836d058366cab8551c1dcdcdcebca8d754a41 authorMark Eibes <mark.eibes@gmail.com> dateTue 10 May 2022, 19:16 (4 years ago) parent6b5ee72
7 files changed+11−11
README.md+2−2 bower.json+2−2 package-lock.json+2−2 package.json+1−1 spago.dhall+1−3 test.dhall+2 test/Main.purs+1−1
README.md+2−2
@@ -1,4 +1,4 @@
1−# 📬 purescript-fetch
1+# 📬 purescript-yoga-fetch
22
33A simple wrapper for the JavaScript fetch API.
44
@@ -13,4 +13,4 @@ A simple wrapper for the JavaScript fetch API.
1313
1414## Migrate from `purescript-milkis`
1515
16−`purescript-fetch` is a drop-in replacement for `purescript-milkis`. Just change the imports from `Milkis` to `Fetch`.
16+`purescript-yoga-fetch` is a drop-in replacement for `purescript-milkis`. Just change the imports from `Milkis` to `Fetch`.
bower.json+2−2
@@ -1,11 +1,11 @@
11{
2− "name": "purescript-fetch",
2+ "name": "purescript-yoga-fetch",
33 "license": [
44 "MIT"
55 ],
66 "repository": {
77 "type": "git",
8− "url": "https://github.com/rowtype-yoga/purescript-fetch.git"
8+ "url": "https://github.com/rowtype-yoga/purescript-yoga-fetch.git"
99 },
1010 "ignore": [
1111 "**/.*",
package-lock.json+2−2
@@ -1,11 +1,11 @@
11{
2− "name": "purescript-fetch",
2+ "name": "purescript-yoga-fetch",
33 "version": "1.0.0",
44 "lockfileVersion": 2,
55 "requires": true,
66 "packages": {
77 "": {
8− "name": "purescript-fetch",
8+ "name": "purescript-yoga-fetch",
99 "version": "1.0.0",
1010 "license": "MIT",
1111 "dependencies": {
package.json+1−1
@@ -1,5 +1,5 @@
11{
2− "name": "purescript-fetch",
2+ "name": "purescript-yoga-fetch",
33 "version": "1.0.0",
44 "description": "",
55 "main": "index.js",
spago.dhall+1−3
@@ -1,17 +1,15 @@
11{ name = "fetch"
22, license = "MIT"
3−, repository = "https://github.com/rowtype-yoga/purescript-fetch.git"
3+, repository = "https://github.com/rowtype-yoga/purescript-yoga-fetch.git"
44, dependencies =
55 [ "aff"
66 , "aff-promise"
77 , "arraybuffer-types"
88 , "effect"
9− , "either"
109 , "foreign"
1110 , "foreign-object"
1211 , "newtype"
1312 , "prelude"
14− , "strings"
1513 , "typelevel-prelude"
1614 , "unsafe-coerce"
1715 ]
test.dhall+2
@@ -5,5 +5,7 @@ in conf
55 , dependencies =
66 conf.dependencies
77 # [ "spec"
8+ , "either"
9+ , "strings"
810 ]
911 }
test/Main.purs+1−1
@@ -20,7 +20,7 @@ fetch = Fetch.fetch nodeFetch
2020
2121main ∷ Effect Unit
2222main = launchAff_ $ runSpec [ consoleReporter ] do
23− describe "purescript-fetch" do
23+ describe "purescript-yoga-fetch" do
2424 it "get works and gets a body" do
2525 _response ← attempt $ fetch (Fetch.URL "https://www.google.com")
2626 Fetch.defaultFetchOptions