Skip to content

Commit

Permalink
Update to v0.15.0 (#51)
Browse files Browse the repository at this point in the history
* Add support for es modules

* Update to CI to use 'unstable' purescript

* Update pulp to 16.0.0-0 and psa to 0.8.2

* Update Bower dependencies to master

* Added changelog entry

Co-authored-by: sigma-andex <sigma.andex@pm.me>
  • Loading branch information
JordanMartinez and sigma-andex authored Mar 15, 2022
1 parent 170d959 commit 4cb1bce
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 20 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
- uses: actions/checkout@v2

- uses: purescript-contrib/setup-purescript@main
with:
purescript: "unstable"

- uses: actions/setup-node@v1
with:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Notable changes to this project are documented in this file. The format is based
## [Unreleased]

Breaking changes:
- Migrate FFI to ES modules (#51 by @sigma-andex and @JordanMartinez)

New features:

Expand Down
24 changes: 12 additions & 12 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
"package.json"
],
"dependencies": {
"purescript-control": "^5.0.0",
"purescript-either": "^5.0.0",
"purescript-gen": "^3.0.0",
"purescript-maybe": "^5.0.0",
"purescript-newtype": "^4.0.0",
"purescript-nonempty": "^6.0.0",
"purescript-partial": "^3.0.0",
"purescript-prelude": "^5.0.0",
"purescript-tuples": "^6.0.0",
"purescript-unfoldable": "^5.0.0"
"purescript-control": "master",
"purescript-either": "master",
"purescript-gen": "master",
"purescript-maybe": "master",
"purescript-newtype": "master",
"purescript-nonempty": "master",
"purescript-partial": "master",
"purescript-prelude": "master",
"purescript-tuples": "master",
"purescript-unfoldable": "master"
},
"devDependencies": {
"purescript-assert": "^5.0.0",
"purescript-console": "^5.0.0"
"purescript-assert": "master",
"purescript-console": "master"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "^3.0.2"
}
}
10 changes: 4 additions & 6 deletions src/Data/Enum.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
"use strict";

exports.toCharCode = function (c) {
export function toCharCode(c) {
return c.charCodeAt(0);
};
}

exports.fromCharCode = function (c) {
export function fromCharCode(c) {
return String.fromCharCode(c);
};
}

0 comments on commit 4cb1bce

Please sign in to comment.