From f1aa481d996948764a6847a199e4f941af150ed7 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 8 Aug 2021 22:02:31 +0100 Subject: [PATCH] website: remove extra rogue npm package --- .docs/_data/contributors.js | 2 +- .docs/lib/parse_sections.js | 2 +- .docs/package-lock.json | 23 +++++------------------ .docs/package.json | 5 +++-- 4 files changed, 10 insertions(+), 22 deletions(-) diff --git a/.docs/_data/contributors.js b/.docs/_data/contributors.js index b03dacc..d9f8e6d 100644 --- a/.docs/_data/contributors.js +++ b/.docs/_data/contributors.js @@ -1,6 +1,6 @@ const fs = require("fs"); const path = require("path"); -const htmlentities = require("htmlentities"); +const htmlentities = require("html-entities"); function read_contributors() { return fs.readFileSync(path.resolve(__dirname, "../../CONTRIBUTORS.tsv"), "utf-8") diff --git a/.docs/lib/parse_sections.js b/.docs/lib/parse_sections.js index 4e5789d..5cdecf6 100644 --- a/.docs/lib/parse_sections.js +++ b/.docs/lib/parse_sections.js @@ -1,4 +1,4 @@ -const htmlentities = require("htmlentities"); +const htmlentities = require("html-entities"); const markdown = require("markdown-it")({ xhtmlOut: true }); diff --git a/.docs/package-lock.json b/.docs/package-lock.json index 3bc23b6..6f48460 100644 --- a/.docs/package-lock.json +++ b/.docs/package-lock.json @@ -8,11 +8,12 @@ "name": "worldeditadditions", "version": "1.0.0", "license": "MPL-2.0", + "dependencies": { + "html-entities": "^2.3.2" + }, "devDependencies": { "@11ty/eleventy": "^0.12.1", "@11ty/eleventy-img": "^0.9.0", - "html-entities": "^2.3.2", - "htmlentities": "^1.0.0", "markdown-it-prism": "^2.1.8", "phin": "^3.6.0" } @@ -1870,14 +1871,7 @@ "node_modules/html-entities": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.3.2.tgz", - "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 + "integrity": "sha512-c3Ab/url5ksaT0WyleslpBEthOzWhrjQbg75y7XUsfSzi3Dgzt0l8w5e7DylRn15MTlMMD58dTfzddNS2kcAjQ==" }, "node_modules/http-errors": { "version": "1.7.3", @@ -6169,14 +6163,7 @@ "html-entities": { "version": "2.3.2", "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-2.3.2.tgz", - "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 + "integrity": "sha512-c3Ab/url5ksaT0WyleslpBEthOzWhrjQbg75y7XUsfSzi3Dgzt0l8w5e7DylRn15MTlMMD58dTfzddNS2kcAjQ==" }, "http-errors": { "version": "1.7.3", diff --git a/.docs/package.json b/.docs/package.json index 27ec9cc..538f0ed 100644 --- a/.docs/package.json +++ b/.docs/package.json @@ -22,9 +22,10 @@ "devDependencies": { "@11ty/eleventy": "^0.12.1", "@11ty/eleventy-img": "^0.9.0", - "html-entities": "^2.3.2", - "htmlentities": "^1.0.0", "markdown-it-prism": "^2.1.8", "phin": "^3.6.0" + }, + "dependencies": { + "html-entities": "^2.3.2" } }