-
Notifications
You must be signed in to change notification settings - Fork 2
Update to PureScript v0.15.0 #7
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 11 commits into
purescript-web:master
from
working-group-purescript-es:es-modules-libraries
Mar 22, 2022
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
9660c0d
Migrated FFI to ES modules via 'lebab'
JordanMartinez 6f9c332
Removed '"use strict";' in FFI files
JordanMartinez 5f1f8f8
Update to CI to use 'unstable' purescript
JordanMartinez 9da6ce4
Update Bower dependencies to master or main
JordanMartinez 263c72b
Update pulp to 16.0.0-0
JordanMartinez d578b2c
Update psa to 0.8.2
JordanMartinez 92ddd1e
Update Bower dependencies to master or main
JordanMartinez df6c5e5
Update eslint to es6
JordanMartinez 372d66b
Fix FFI export
JordanMartinez 2f54be6
Update CI to use Node 14
JordanMartinez 2e966e2
Add changelog entry
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
"use strict"; | ||
|
||
exports.new = function(options) { | ||
const newImpl = function (options) { | ||
return function() { | ||
return new QueuingStrategy(options); | ||
}; | ||
}; | ||
export { newImpl as new }; | ||
|
||
exports.byteLengthQueuingStrategy = function(options) { | ||
export function byteLengthQueuingStrategy(options) { | ||
return function() { | ||
return new ByteLengthQueuingStrategy(options); | ||
}; | ||
}; | ||
} | ||
|
||
exports.countQueuingStrategy = function(options) { | ||
export function countQueuingStrategy(options) { | ||
return function() { | ||
return new CountQueuingStrategy(options); | ||
}; | ||
}; | ||
} |
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,28 +1,26 @@ | ||
"use strict"; | ||
|
||
exports._new = function(source, strategy) { | ||
export function _new(source, strategy) { | ||
return new ReadableStream(source, strategy); | ||
}; | ||
} | ||
|
||
exports.cancel = function(stream) { | ||
export function cancel(stream) { | ||
return function() { | ||
return stream.cancel(); | ||
}; | ||
}; | ||
} | ||
|
||
exports.locked = function(stream) { | ||
export function locked(stream) { | ||
return function() { | ||
return stream.locked; | ||
}; | ||
}; | ||
} | ||
|
||
exports.getReader = function(stream) { | ||
export function getReader(stream) { | ||
return function() { | ||
return stream.getReader(); | ||
}; | ||
}; | ||
} | ||
|
||
exports._tee = function(tuple, stream) { | ||
export function _tee(tuple, stream) { | ||
var r = stream.tee(); | ||
return tuple(r[0])(r[1]); | ||
}; | ||
} |
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,29 +1,27 @@ | ||
"use strict"; | ||
|
||
exports.enqueue = function(chunk) { | ||
export function enqueue(chunk) { | ||
return function(controller) { | ||
return function() { | ||
return controller.enqueue(chunk); | ||
}; | ||
}; | ||
}; | ||
} | ||
|
||
exports.close = function(controller) { | ||
export function close(controller) { | ||
return function() { | ||
return controller.close(); | ||
}; | ||
}; | ||
} | ||
|
||
exports.error = function(error) { | ||
export function error(error) { | ||
return function(controller) { | ||
return function() { | ||
return controller.error(error); | ||
}; | ||
}; | ||
}; | ||
} | ||
|
||
exports.desiredSize = function(controller) { | ||
export function desiredSize(controller) { | ||
return function() { | ||
return controller.desiredSize; | ||
}; | ||
}; | ||
} |
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"; | ||
|
||
exports._read = function(nothing, just, reader) { | ||
export function _read(nothing, just, reader) { | ||
return reader.read().then(function(res) { | ||
if (res.done) { | ||
return nothing; | ||
} | ||
return just(res.value); | ||
}); | ||
}; | ||
} |
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
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.
Need to update the Node version as well (below)
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.
Yup! Done.