-
Notifications
You must be signed in to change notification settings - Fork 91
Migrate FFI to ES modules #287
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
Merged
JordanMartinez
merged 18 commits into
purescript:master
from
working-group-purescript-es:es-modules-libraries
Mar 11, 2022
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
25d7896
Convert foreign modules to try bundling with esbuild
kl0tl b823c45
Update .eslintrc.json to ES6
JordanMartinez a66ee77
Migrated FFI to ES modules via 'lebab'
JordanMartinez 31b243e
Update to CI to use v0.15.0-alpha-01 purescript
JordanMartinez 2994f6d
Fix eslint issues
JordanMartinez 7ccbc36
Merge branch 'master' into es-modules
JordanMartinez 193a1d0
Migrate 'unit'
JordanMartinez a04e049
Update CI purs to unstable
JordanMartinez ec59b04
Get rid of extra space from 'use strict' line
JordanMartinez f942db6
Remove unneeded diff on eslint config file
JordanMartinez 37795d7
Revert eslint change
JordanMartinez 717f5ed
Revert "Revert eslint change"
JordanMartinez 9402f16
Change all functions back to 'export var'
JordanMartinez eb44340
Revert "Change all functions back to 'export var'"
JordanMartinez bac4ae1
Add changelog entry
JordanMartinez 0996605
Update pulp to 16.0.0-0
JordanMartinez 6eaf4d6
Update psa to 0.8.2
JordanMartinez 3c405be
Drop es6: true in eslint config file
JordanMartinez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,8 @@ | ||
| "use strict"; | ||
| export const topInt = 2147483647; | ||
| export const bottomInt = -2147483648; | ||
|
|
||
| exports.topInt = 2147483647; | ||
| exports.bottomInt = -2147483648; | ||
| export const topChar = String.fromCharCode(65535); | ||
| export const bottomChar = String.fromCharCode(0); | ||
|
|
||
| exports.topChar = String.fromCharCode(65535); | ||
| exports.bottomChar = String.fromCharCode(0); | ||
|
|
||
| exports.topNumber = Number.POSITIVE_INFINITY; | ||
| exports.bottomNumber = Number.NEGATIVE_INFINITY; | ||
| export const topNumber = Number.POSITIVE_INFINITY; | ||
| export const bottomNumber = Number.NEGATIVE_INFINITY; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,15 @@ | ||
| "use strict"; | ||
|
|
||
| exports.boolConj = function (b1) { | ||
| export const boolConj = function (b1) { | ||
| return function (b2) { | ||
| return b1 && b2; | ||
| }; | ||
| }; | ||
|
|
||
| exports.boolDisj = function (b1) { | ||
| export const boolDisj = function (b1) { | ||
| return function (b2) { | ||
| return b1 || b2; | ||
| }; | ||
| }; | ||
|
|
||
| exports.boolNot = function (b) { | ||
| export const boolNot = function (b) { | ||
| return !b; | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,6 @@ | ||
| "use strict"; | ||
|
|
||
| // module Data.Symbol | ||
|
|
||
| exports.unsafeCoerce = function (arg) { | ||
| export const unsafeCoerce = function (arg) { | ||
| return arg; | ||
| }; | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1 @@ | ||
| "use strict"; | ||
|
|
||
| exports.unit = undefined; | ||
| export const unit = undefined; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reason for the prerelease version of Pulp? Should this be
16.0.0?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made a pre-release of
16.0.0in case we wanted to add support for esbuild later or come across other bugs.