Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed deprecated globals dependency and bumped packages #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
"output"
],
"dependencies": {
"purescript-globals": "^4.0.0",
"purescript-integers": "^4.0.0",
"purescript-functions": "^4.0.0"
"purescript-integers": "^5.0.0",
"purescript-functions": "^5.0.0"
},
"license": "BSD-3-Clause",
"repository": {
Expand Down
3 changes: 1 addition & 2 deletions packages.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,8 @@ let additions =
-------------------------------
-}


let upstream =
https://github.com/purescript/package-sets/releases/download/psc-0.13.6-20200423/packages.dhall sha256:c180a06bb5444fd950f8cbdd6605c644fd246deb397e62572b8f4a6b9dbcaf22
https://github.com/purescript/package-sets/releases/download/psc-0.14.5-20220224/packages.dhall sha256:67cc3d4f0e8fb72bb1413ba94ddd72a3ceb0783eb725e3b22ad7568b3b581163

let overrides = {=}

Expand Down
2 changes: 1 addition & 1 deletion spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ You can edit this file as you like.
-}
{ name = "parseint"
, dependencies =
[ "functions", "globals", "integers" ]
[ "functions", "integers" ]
, packages = ./packages.dhall
, sources = [ "src/**/*.purs" ]
}
2 changes: 1 addition & 1 deletion src/Data/Float/Parse.purs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Data.Float.Parse (parseFloat) where

import Data.Maybe (Maybe (..))
import Global (isNaN)
import Data.Number (isNaN)


foreign import unsafeParseFloat :: String -> Number
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Int/Parse.purs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Prelude ((<), (>))
import Data.Maybe (Maybe (..))
import Data.Int (round)
import Data.Function.Uncurried (Fn2, runFn2)
import Global (isNaN)
import Data.Number (isNaN)


foreign import unsafeParseInt :: Fn2 String Int Number
Expand Down