From 37b55a705127cd99a8e94ac7401057354873ff36 Mon Sep 17 00:00:00 2001 From: Gary Burgess Date: Mon, 17 Oct 2016 02:32:04 +0100 Subject: [PATCH] Update dependencies --- README.md | 3 +-- bower.json | 14 +++++++------- test/Test/Main.purs | 3 ++- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 6c3b58b..ab145ea 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/bower.json b/bower.json index 0d8abee..8ca6ade 100644 --- a/bower.json +++ b/bower.json @@ -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" } } diff --git a/test/Test/Main.purs b/test/Test/Main.purs index 77f89ed..d26b11c 100644 --- a/test/Test/Main.purs +++ b/test/Test/Main.purs @@ -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) @@ -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