Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

[chore] Use marked v4 #2731

Open
icecream17 wants to merge 1 commit into atom:dependabot/npm_and_yarn/marked-4.0.10
base: dependabot/npm_and_yarn/marked-4.0.10
Choose a base branch
Loading
from icecream17:patch-1

Conversation

@icecream17
Copy link

@icecream17 icecream17 commented Jan 15, 2022
edited
Loading

Please be sure to read the contributor's guide to the GitHub package before submitting any pull requests.

Requirements

  • Filling out the template is required. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.

Description of the Change

Copied from icecream17#2

Actually updating to v4.0.10
The only relevant breaking change: https://github.com/markedjs/marked/releases/tag/v4.0.0
is that the default export is removed: ({marked} = require('marked'))

Parens are required to make it not a SyntaxError.

Only other change is that the docs: https://marked.js.org/using_advanced
recommend using sanitize on the output instead of in the options

The tests should pass (except for the ones that failed in #2724): icecream17#2

Although I don't know why there's more coverage

Screenshot or Gif

Applicable Issues

Copied from #2
Actually updating to v4.0.10
The only relevant breaking change: https://github.com/markedjs/marked/releases/tag/v4.0.0 
is that the default export is removed: `({marked} = require('marked'))`
Parens are required to make it not a SyntaxError.
Only other change is that the docs: https://marked.js.org/using_advanced
recommend using sanitize on the output instead of in the options
Copy link

codecov bot commented Jan 15, 2022
edited
Loading

Codecov Report

Merging #2731 (02e6dda) into dependabot/npm_and_yarn/marked-4.0.10 (b5629b6) will increase coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@ Coverage Diff @@
## dependabot/npm_and_yarn/marked-4.0.10 #2731 +/- ##
=========================================================================
+ Coverage 93.43% 93.47% +0.04% 
=========================================================================
 Files 237 237 
 Lines 13213 13212 -1 
 Branches 1900 1900 
=========================================================================
+ Hits 12345 12350 +5 
+ Misses 868 862 -6 
Impacted Files Coverage Δ
lib/helpers.js 89.25% <100.00%> (+0.36%) ⬆️
lib/git-shell-out-strategy.js 100.00% <0.00%> (+0.18%) ⬆️
lib/controllers/reviews-controller.js 100.00% <0.00%> (+1.75%) ⬆️
lib/views/github-dotcom-markdown.js 100.00% <0.00%> (+1.85%) ⬆️
lib/atom/gutter.js 92.85% <0.00%> (+2.38%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b5629b6...02e6dda. Read the comment docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /