Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to v0.15.0 #130

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"parserOptions": {
"ecmaVersion": 5
"ecmaVersion": 6,
"sourceType": "module"
},
"extends": "eslint:recommended",
"env": {
"commonjs": true
},
"rules": {
"strict": [2, "global"],
"block-scoped-var": 2,
Expand Down
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 (#130 by @kl0tl and @JordanMartinez)

New features:

Expand Down
58 changes: 29 additions & 29 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,36 +20,36 @@
"package.json"
],
"dependencies": {
"purescript-arrays": "^6.0.0",
"purescript-console": "^5.0.0",
"purescript-control": "^5.0.0",
"purescript-effect": "^3.0.0",
"purescript-either": "^5.0.0",
"purescript-enums": "^5.0.0",
"purescript-exceptions": "^5.0.0",
"purescript-foldable-traversable": "^5.0.0",
"purescript-gen": "^3.0.0",
"purescript-identity": "^5.0.0",
"purescript-integers": "^5.0.0",
"purescript-lazy": "^5.0.0",
"purescript-lcg": "^3.0.0",
"purescript-lists": "^6.0.0",
"purescript-math": "^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-record": "^3.0.0",
"purescript-st": "^5.0.0",
"purescript-strings": "^5.0.0",
"purescript-tailrec": "^5.0.0",
"purescript-transformers": "^5.0.0",
"purescript-tuples": "^6.0.0",
"purescript-unfoldable": "^5.0.0"
"purescript-arrays": "master",
"purescript-console": "master",
"purescript-control": "master",
"purescript-effect": "master",
"purescript-either": "master",
"purescript-enums": "master",
"purescript-exceptions": "master",
"purescript-foldable-traversable": "master",
"purescript-gen": "master",
"purescript-identity": "master",
"purescript-integers": "master",
"purescript-lazy": "master",
"purescript-lcg": "master",
"purescript-lists": "master",
"purescript-math": "master",
"purescript-maybe": "master",
"purescript-newtype": "master",
"purescript-nonempty": "master",
"purescript-partial": "master",
"purescript-prelude": "master",
"purescript-record": "master",
"purescript-st": "master",
"purescript-strings": "master",
"purescript-tailrec": "master",
"purescript-transformers": "master",
"purescript-tuples": "master",
"purescript-unfoldable": "master"
},
"devDependencies": {
"purescript-assert": "^5.0.0",
"purescript-numbers": "^8.0.0"
"purescript-assert": "master",
"purescript-numbers": "master"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
},
"devDependencies": {
"eslint": "^7.15.0",
"pulp": "^15.0.0",
"purescript-psa": "^0.8.0",
"pulp": "16.0.0-0",
"purescript-psa": "^0.8.2",
"rimraf": "^3.0.2"
}
}
6 changes: 2 additions & 4 deletions src/Test/QuickCheck/Gen.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
/* global ArrayBuffer, Float32Array, Int32Array */
"use strict";

// module Test.QuickCheck.Gen

exports.float32ToInt32 = function (n) {
export function float32ToInt32(n) {
var arr = new ArrayBuffer(4);
var fv = new Float32Array(arr);
var iv = new Int32Array(arr);
fv[0] = n;
return iv[0];
};
}