Skip to content

Commit

Permalink
chore(deps): bump hast-util-sanitize from 2.0.3 to 4.0.0 (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Jun 24, 2021
1 parent 50325ed commit e5fda67
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 12 deletions.
2 changes: 1 addition & 1 deletion __tests__/flavored-compilers.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const unified = require('unified');
const sanitize = require('hast-util-sanitize/lib/github.json');
const { defaultSchema: sanitize } = require('hast-util-sanitize/lib/schema.js');

const remarkParse = require('remark-parse');
const remarkStringify = require('remark-stringify');
Expand Down
38 changes: 29 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@readme/emojis": "^3.0.0",
"@readme/syntax-highlighter": "^10.7.0",
"copy-to-clipboard": "^3.3.1",
"hast-util-sanitize": "^2.0.2",
"hast-util-sanitize": "^4.0.0",
"hast-util-to-string": "^1.0.3",
"lodash.kebabcase": "^4.1.1",
"mdast-util-toc": "^5.1.0",
Expand Down
2 changes: 1 addition & 1 deletion sanitize.schema.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const sanitize = require('hast-util-sanitize/lib/github.json');
const { defaultSchema: sanitize } = require('hast-util-sanitize/lib/schema.js');

// Sanitization Schema Defaults
sanitize.clobberPrefix = '';
Expand Down

0 comments on commit e5fda67

Please sign in to comment.