Skip to content

Commit

Permalink
Update html-entities package to version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jun 19, 2023
1 parent c48cece commit 7d2fddb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
3 changes: 1 addition & 2 deletions book/build.js
Expand Up @@ -2,9 +2,8 @@

const fs = require('fs');
const cheerio = require('cheerio');
const entities = require('html-entities');
const hljs = require('./build/highlight.js');
const Entities = require('html-entities').AllHtmlEntities;
const entities = new Entities();

const githublink = `\
<li class="part-title">\
Expand Down
18 changes: 14 additions & 4 deletions book/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 book/package.json
Expand Up @@ -4,7 +4,7 @@
"main": "build.js",
"dependencies": {
"cheerio": "^0.22.0",
"html-entities": "^1.3.1"
"html-entities": "^2.3.6"
},
"prettier": {
"singleQuote": true
Expand Down

0 comments on commit 7d2fddb

Please sign in to comment.