-
Notifications
You must be signed in to change notification settings - Fork 11
Update to PureScript v0.15.0 #22
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-node:master
from
sigma-andex:es-modules-libraries
Mar 22, 2022
Merged
Changes from 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
b54c292
ESM conversion
nwolverson fb8e9e7
Arrow/lest transformation
nwolverson 2a328e7
Update .eslintrc.json to ES6
sigma-andex 7395a8c
Update Bower dependencies to master or main
sigma-andex e4c0cf3
Update pulp to 16.0.0-0 and psa to 0.8.2
sigma-andex ac88c54
Removed '"use strict";' in FFI files
sigma-andex 85306d4
Update to CI to use 'unstable' purescript
sigma-andex c78f987
Update .github/workflows/ci.yml
sigma-andex 8cb285d
Fix duplicate entry in ci.yml
sigma-andex bf26149
Fix resolve with arrow syntax
sigma-andex cb10e1c
Add changelog entry
sigma-andex 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,32 @@ | ||
"use strict"; | ||
import path from "path"; | ||
export const normalize = path.normalize; | ||
|
||
var path = require("path"); | ||
|
||
exports.normalize = path.normalize; | ||
|
||
exports.concat = function (segments) { | ||
export function concat(segments) { | ||
return path.join.apply(this, segments); | ||
}; | ||
} | ||
|
||
exports.resolve = function (from) { | ||
return function (to) { | ||
return function () { | ||
return path.resolve.apply(this, from.concat([to])); | ||
}; | ||
}; | ||
}; | ||
export function resolve(from) { | ||
return to => (function() { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't this be
|
||
return path.resolve.apply(this, from.concat([to])); | ||
}); | ||
} | ||
|
||
exports.relative = function (from) { | ||
return function (to) { | ||
return path.relative(from, to); | ||
}; | ||
}; | ||
export function relative(from) { | ||
return to => path.relative(from, to); | ||
} | ||
|
||
exports.dirname = function (p) { | ||
export function dirname(p) { | ||
return path.normalize(path.dirname(p)); | ||
}; | ||
|
||
exports.basename = path.basename; | ||
|
||
exports.basenameWithoutExt = function (p) { | ||
return function (ext) { | ||
return path.basename(p, ext); | ||
}; | ||
}; | ||
|
||
exports.extname = path.extname; | ||
|
||
exports.sep = path.sep; | ||
} | ||
|
||
exports.delimiter = path.delimiter; | ||
export const basename = path.basename; | ||
|
||
exports.parse = path.parse; | ||
export function basenameWithoutExt(p) { | ||
return ext => path.basename(p, ext); | ||
} | ||
|
||
exports.isAbsolute = path.isAbsolute; | ||
export const extname = path.extname; | ||
export const sep = path.sep; | ||
export const delimiter = path.delimiter; | ||
export const parse = path.parse; | ||
export const isAbsolute = path.isAbsolute; |
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.
Uh oh!
There was an error while loading. Please reload this page.