website: remove extra rogue npm package

This commit is contained in:
Starbeamrainbowlabs 2021-08-08 22:02:31 +01:00
parent 115855fc99
commit f1aa481d99
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
4 changed files with 10 additions and 22 deletions

View file

@ -1,6 +1,6 @@
const fs = require("fs"); const fs = require("fs");
const path = require("path"); const path = require("path");
const htmlentities = require("htmlentities"); const htmlentities = require("html-entities");
function read_contributors() { function read_contributors() {
return fs.readFileSync(path.resolve(__dirname, "../../CONTRIBUTORS.tsv"), "utf-8") return fs.readFileSync(path.resolve(__dirname, "../../CONTRIBUTORS.tsv"), "utf-8")

View file

@ -1,4 +1,4 @@
const htmlentities = require("htmlentities"); const htmlentities = require("html-entities");
const markdown = require("markdown-it")({ const markdown = require("markdown-it")({
xhtmlOut: true xhtmlOut: true
}); });

View file

@ -8,11 +8,12 @@
"name": "worldeditadditions", "name": "worldeditadditions",
"version": "1.0.0", "version": "1.0.0",
"license": "MPL-2.0", "license": "MPL-2.0",
"dependencies": {
"html-entities": "^2.3.2"
},
"devDependencies": { "devDependencies": {
"@11ty/eleventy": "^0.12.1", "@11ty/eleventy": "^0.12.1",
"@11ty/eleventy-img": "^0.9.0", "@11ty/eleventy-img": "^0.9.0",
"html-entities": "^2.3.2",
"htmlentities": "^1.0.0",
"markdown-it-prism": "^2.1.8", "markdown-it-prism": "^2.1.8",
"phin": "^3.6.0" "phin": "^3.6.0"
} }
@ -1870,14 +1871,7 @@
"node_modules/html-entities": { "node_modules/html-entities": {
"version": "2.3.2", "version": "2.3.2",
"resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.3.2.tgz", "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.3.2.tgz",
"integrity": "sha512-c3Ab/url5ksaT0WyleslpBEthOzWhrjQbg75y7XUsfSzi3Dgzt0l8w5e7DylRn15MTlMMD58dTfzddNS2kcAjQ==", "integrity": "sha512-c3Ab/url5ksaT0WyleslpBEthOzWhrjQbg75y7XUsfSzi3Dgzt0l8w5e7DylRn15MTlMMD58dTfzddNS2kcAjQ=="
"dev": true
},
"node_modules/htmlentities": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/htmlentities/-/htmlentities-1.0.0.tgz",
"integrity": "sha1-CTqMH7Cd/l4Wn8M9CVdIJdYeQKQ=",
"dev": true
}, },
"node_modules/http-errors": { "node_modules/http-errors": {
"version": "1.7.3", "version": "1.7.3",
@ -6169,14 +6163,7 @@
"html-entities": { "html-entities": {
"version": "2.3.2", "version": "2.3.2",
"resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.3.2.tgz", "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.3.2.tgz",
"integrity": "sha512-c3Ab/url5ksaT0WyleslpBEthOzWhrjQbg75y7XUsfSzi3Dgzt0l8w5e7DylRn15MTlMMD58dTfzddNS2kcAjQ==", "integrity": "sha512-c3Ab/url5ksaT0WyleslpBEthOzWhrjQbg75y7XUsfSzi3Dgzt0l8w5e7DylRn15MTlMMD58dTfzddNS2kcAjQ=="
"dev": true
},
"htmlentities": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/htmlentities/-/htmlentities-1.0.0.tgz",
"integrity": "sha1-CTqMH7Cd/l4Wn8M9CVdIJdYeQKQ=",
"dev": true
}, },
"http-errors": { "http-errors": {
"version": "1.7.3", "version": "1.7.3",

View file

@ -22,9 +22,10 @@
"devDependencies": { "devDependencies": {
"@11ty/eleventy": "^0.12.1", "@11ty/eleventy": "^0.12.1",
"@11ty/eleventy-img": "^0.9.0", "@11ty/eleventy-img": "^0.9.0",
"html-entities": "^2.3.2",
"htmlentities": "^1.0.0",
"markdown-it-prism": "^2.1.8", "markdown-it-prism": "^2.1.8",
"phin": "^3.6.0" "phin": "^3.6.0"
},
"dependencies": {
"html-entities": "^2.3.2"
} }
} }