Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
garyb committed Oct 17, 2016
1 parent 11f861b commit 37b55a7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# purescript-js-date

[![Latest release](http://img.shields.io/bower/v/purescript-js-date.svg)](https://github.com/purescript-contrib/purescript-js-date/releases)
[![Latest release](http://img.shields.io/github/release/purescript-contrib/purescript-js-date.svg)](https://github.com/purescript-contrib/purescript-js-date/releases)
[![Build Status](https://travis-ci.org/purescript-contrib/purescript-js-date.svg?branch=master)](https://travis-ci.org/purescript-contrib/purescript-js-date)
[![Dependency Status](https://www.versioneye.com/user/projects/5757543d7757a0003bd4b322/badge.svg?style=flat)](https://www.versioneye.com/user/projects/5757543d7757a0003bd4b322)
[![Maintainer: garyb](https://img.shields.io/badge/maintainer-garyb-lightgrey.svg)](http://github.com/garyb)

JavaScript's native date type and corresponding functions.
Expand Down
14 changes: 7 additions & 7 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"package.json"
],
"dependencies": {
"purescript-datetime": "^1.0.0",
"purescript-exceptions": "^1.0.0",
"purescript-foreign": "^1.0.0",
"purescript-integers": "^1.0.0"
"purescript-datetime": "^2.0.0",
"purescript-exceptions": "^2.0.0",
"purescript-foreign": "^3.0.0",
"purescript-integers": "^2.0.0"
},
"devDependencies": {
"purescript-assert": "^1.0.0",
"purescript-console": "^1.0.0",
"purescript-globals": "^1.0.0"
"purescript-assert": "^2.0.0",
"purescript-console": "^2.0.0",
"purescript-globals": "^2.0.0"
}
}
3 changes: 2 additions & 1 deletion test/Test/Main.purs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Prelude

import Control.Monad.Eff (Eff)
import Control.Monad.Eff.Console (CONSOLE, log)
import Control.Monad.Except (runExcept)

import Data.DateTime as DT
import Data.Enum (toEnum)
Expand All @@ -24,7 +25,7 @@ main :: forall eff. Eff (console :: CONSOLE, assert :: ASSERT, locale :: JSD.LOC
main = do

log "Check IsForeign intance will read JS date values..."
assert $ isRight $ read myDate :: F JSD.JSDate
assert $ isRight $ runExcept $ read myDate :: F JSD.JSDate

log "Checking that a UTC date constructed with sensible values is valid..."
assert $ JSD.isValid $ JSD.jsdate defaultDateRecord
Expand Down

0 comments on commit 37b55a7

Please sign in to comment.