Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
* [`mdast-util-to-hast`](https://github.com/syntax-tree/mdast-util-to-hast/releases/tag/10.0.0)
  (**breaking**, potentially, if you have duplicate definitions)
* [`hast-util-sanitize`](https://github.com/syntax-tree/hast-util-sanitize/releases/tag/3.0.0),
  [`hast-util-hyperscript`](https://github.com/syntax-tree/hast-to-hyperscript/releases/tag/9.0.0)
  (**breaking**, potentially, if you or your dependents use typescript)
  • Loading branch information
wooorm committed Oct 3, 2020
1 parent fc3f5f3 commit f1c83f9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
],
"dependencies": {
"@mapbox/hast-util-table-cell-style": "^0.1.3",
"hast-to-hyperscript": "^8.0.0",
"hast-util-sanitize": "^2.0.0",
"mdast-util-to-hast": "^8.0.0"
"hast-to-hyperscript": "^9.0.0",
"hast-util-sanitize": "^3.0.0",
"mdast-util-to-hast": "^10.0.0"
},
"devDependencies": {
"is-hidden": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ versions.forEach(function (reactVersion) {
)

if (global.process.env.UPDATE) {
fs.writeFileSync(path.join(root, name, 'output.html'), actual)
fs.writeFileSync(path.join(root, name, 'output.html'), actual + '\n')
}

t.equal(actual.trim(), expected.trim(), name)
Expand Down
8 changes: 4 additions & 4 deletions test/react/v16/fixtures/code/output.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</code></pre>
<pre><code></code></pre>
<pre><code> two spaces
one
two
one
mixed.
one
two
one
mixed.
</code></pre></div>

0 comments on commit f1c83f9

Please # to comment.