Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Oct 3, 2021
1 parent ac80e5f commit 95f8015
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import {toHast} from 'mdast-util-to-hast'
*
* @type {import('unified').Plugin<[Options?]|void[], Root, string>}
*/
export default function remarkHtml(settings) {
const options = {...(settings || {})}
export default function remarkHtml(settings = {}) {
const options = {...settings}
/** @type {boolean|undefined} */
let clean

Expand Down
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,18 @@
"rehype-stringify": "^9.0.0",
"remark": "^14.0.0",
"remark-cli": "^10.0.0",
"remark-footnotes": "^4.0.0",
"remark-frontmatter": "^4.0.0",
"remark-gfm": "^1.0.0",
"remark-github": "^10.0.0",
"remark-preset-wooorm": "^8.0.0",
"remark-slug": "^6.0.0",
"remark-toc": "^7.0.0",
"remark-gfm": "^3.0.0",
"remark-github": "^11.0.0",
"remark-preset-wooorm": "^9.0.0",
"remark-slug": "^7.0.0",
"remark-toc": "^8.0.0",
"rimraf": "^3.0.0",
"tape": "^5.0.0",
"to-vfile": "^7.0.0",
"type-coverage": "^2.0.0",
"typescript": "^4.0.0",
"xo": "^0.43.0"
"xo": "^0.45.0"
},
"scripts": {
"build": "rimraf \"test/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage",
Expand Down
3 changes: 1 addition & 2 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {unified} from 'unified'
import {remark} from 'remark'
import remarkParse from 'remark-parse'
import remarkSlug from 'remark-slug'
import remarkFootnotes from 'remark-footnotes'
import remarkFrontmatter from 'remark-frontmatter'
import remarkGfm from 'remark-gfm'
import remarkGithub from 'remark-github'
Expand Down Expand Up @@ -319,7 +318,7 @@ test('CommonMark', (t) => {

test('Integrations', (t) => {
const integrationMap = {
footnotes: remarkFootnotes,
footnotes: remarkGfm,
frontmatter: remarkFrontmatter,
gfm: remarkGfm,
github: remarkGithub,
Expand Down

0 comments on commit 95f8015

Please sign in to comment.