diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 43d2897..b6ebf3a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,8 @@ jobs: - uses: actions/checkout@v2 - uses: purescript-contrib/setup-purescript@main + with: + purescript: "unstable" - uses: actions/setup-node@v1 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index 66d64ce..3529261 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ Notable changes to this project are documented in this file. The format is based ## [Unreleased] Breaking changes: +- Update project and deps to PureScript v0.15.0 (#41 by @JordanMartinez) New features: diff --git a/bower.json b/bower.json index e394bc5..042d36e 100644 --- a/bower.json +++ b/bower.json @@ -15,20 +15,20 @@ "package.json" ], "dependencies": { - "purescript-control": "^5.0.0", - "purescript-effect": "^3.0.0", - "purescript-either": "^5.0.0", - "purescript-foldable-traversable": "^5.0.0", - "purescript-functors": "^4.0.0", - "purescript-maybe": "^5.0.0", - "purescript-newtype": "^4.0.0", - "purescript-prelude": "^5.0.0", - "purescript-profunctor": "^5.0.0", - "purescript-refs": "^5.0.0", - "purescript-transformers": "^5.0.0" + "purescript-control": "master", + "purescript-effect": "master", + "purescript-either": "master", + "purescript-foldable-traversable": "master", + "purescript-functors": "master", + "purescript-maybe": "master", + "purescript-newtype": "master", + "purescript-prelude": "master", + "purescript-profunctor": "master", + "purescript-refs": "master", + "purescript-transformers": "master" }, "devDependencies": { - "purescript-console": "^5.0.0", - "purescript-functions": "^5.0.0" + "purescript-console": "master", + "purescript-functions": "master" } } diff --git a/package.json b/package.json index 1fac874..4d84152 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "test": "pulp test" }, "devDependencies": { - "pulp": "^15.0.0", - "purescript-psa": "^0.8.0", + "pulp": "16.0.0-0", + "purescript-psa": "^0.8.2", "rimraf": "^2.6.2" } } diff --git a/test/Main.js b/test/Main.js index 674ca36..5e69ad2 100644 --- a/test/Main.js +++ b/test/Main.js @@ -1,9 +1,9 @@ -"use strict"; +import http from "http"; -exports.getImpl = function(opts) { +export function getImpl(opts) { return function(done) { return function() { - require('http').request(opts, function(res) { + http.request(opts, function(res) { var body = ''; res.setEncoding('utf8'); res.on('data', function (s) { @@ -15,4 +15,4 @@ exports.getImpl = function(opts) { }).end(); }; }; -}; +}