Skip to content

Commit

Permalink
chore(deps): bump marked from 1.2.9 to 2.0.0 (#183)
Browse files Browse the repository at this point in the history
* chore(deps): bump marked from 1.2.9 to 2.0.0

Bumps [marked](https://github.com/markedjs/marked) from 1.2.9 to 2.0.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](markedjs/marked@v1.2.9...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Fix unit test

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Mimi <1119186082@qq.com>
  • Loading branch information
dependabot-preview[bot] and stevenjoezhang committed Feb 10, 2021
1 parent 6141432 commit 758e237
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"license": "MIT",
"dependencies": {
"hexo-util": "^2.1.0",
"marked": "^1.0.0"
"marked": "^2.0.0"
},
"devDependencies": {
"chai": "^4.2.0",
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('Marked renderer', () => {

result.should.eql([
'<h1 id="Hello-world"><a href="#Hello-world" class="headerlink" title="Hello world"></a>Hello world</h1>',
'<pre><code>' + escapeHTML(code) + '</code></pre>\n',
'<pre><code>' + escapeHTML(code) + '\n</code></pre>\n',
'<h2 id="Hello-world-1"><a href="#Hello-world-1" class="headerlink" title="Hello world"></a>Hello world</h2>',
'<p>hello</p>'
].join('') + '\n');
Expand Down

0 comments on commit 758e237

Please sign in to comment.