-
Notifications
You must be signed in to change notification settings - Fork 18
Update ramda to 0.29 #654
Update ramda to 0.29 #654
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,12 +31,3 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- run: yarn install --frozen-lockfile --ignore-optional | ||
- run: ./scripts/smoke.sh | ||
|
||
coverage: | ||
needs: [test] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: coverallsapp/github-action@master | ||
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. The GitHub org policies do not let us use external actions outside our space. Dropping coveralls reports (nice to have, and not fundamental). |
||
with: | ||
github-token: ${{ secrets.github_token }} | ||
parallel-finished: true |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,7 +104,7 @@ const deduplicateUnsupportedAnnotations = R.curry((namespace, parseResult) => { | |
}, | ||
R.T); | ||
|
||
const result = new namespace.elements.ParseResult(R.filter(filterWarnings, parseResult)); | ||
const result = R.filter(filterWarnings, parseResult); | ||
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. As fantasy land filter would result in the same type, we no longer need to wrap it back into a parse result. |
||
|
||
// Update warning messages to include count | ||
R.forEach( | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,7 +72,8 @@ function parseOauthFlowsObject(context, object) { | |
authScheme.push(new namespace.elements.Member('grantType', grantTypes[member.key.toValue()])); | ||
authScheme.push(member.value.getMember('scopes')); | ||
|
||
R.filter(R.is(namespace.elements.Transition), member.value).forEach((item) => { | ||
const isTransitionElement = R.is(namespace.elements.Transition); | ||
member.value.filter(isTransitionElement).forEach((item) => { | ||
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. This one was a little tricky to grapple with. ObjectElement's forEach has the signature of |
||
authScheme.push(item); | ||
}); | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.
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.
3.6 is no longer available on GitHub actions. 3.8 isn't the latest either but there are breaking changes in 3.9 which would mean we have to uptake other changes that I wanted to do right now to the way we build docs, Sphinx versions and the related toolchain.