Skip to content

Commit 4cb1bce

Browse files
Update to v0.15.0 (#51)
* 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 <[email protected]>
1 parent 170d959 commit 4cb1bce

File tree

5 files changed

+21
-20
lines changed

5 files changed

+21
-20
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
- uses: actions/checkout@v2
1414

1515
- uses: purescript-contrib/setup-purescript@main
16+
with:
17+
purescript: "unstable"
1618

1719
- uses: actions/setup-node@v1
1820
with:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Notable changes to this project are documented in this file. The format is based
55
## [Unreleased]
66

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

910
New features:
1011

bower.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@
1717
"package.json"
1818
],
1919
"dependencies": {
20-
"purescript-control": "^5.0.0",
21-
"purescript-either": "^5.0.0",
22-
"purescript-gen": "^3.0.0",
23-
"purescript-maybe": "^5.0.0",
24-
"purescript-newtype": "^4.0.0",
25-
"purescript-nonempty": "^6.0.0",
26-
"purescript-partial": "^3.0.0",
27-
"purescript-prelude": "^5.0.0",
28-
"purescript-tuples": "^6.0.0",
29-
"purescript-unfoldable": "^5.0.0"
20+
"purescript-control": "master",
21+
"purescript-either": "master",
22+
"purescript-gen": "master",
23+
"purescript-maybe": "master",
24+
"purescript-newtype": "master",
25+
"purescript-nonempty": "master",
26+
"purescript-partial": "master",
27+
"purescript-prelude": "master",
28+
"purescript-tuples": "master",
29+
"purescript-unfoldable": "master"
3030
},
3131
"devDependencies": {
32-
"purescript-assert": "^5.0.0",
33-
"purescript-console": "^5.0.0"
32+
"purescript-assert": "master",
33+
"purescript-console": "master"
3434
}
3535
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"test": "pulp test"
77
},
88
"devDependencies": {
9-
"pulp": "^15.0.0",
10-
"purescript-psa": "^0.8.0",
9+
"pulp": "16.0.0-0",
10+
"purescript-psa": "^0.8.2",
1111
"rimraf": "^3.0.2"
1212
}
1313
}

src/Data/Enum.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
"use strict";
2-
3-
exports.toCharCode = function (c) {
1+
export function toCharCode(c) {
42
return c.charCodeAt(0);
5-
};
3+
}
64

7-
exports.fromCharCode = function (c) {
5+
export function fromCharCode(c) {
86
return String.fromCharCode(c);
9-
};
7+
}

0 commit comments

Comments
 (0)