Skip to content

Commit

Permalink
fix: migrate xmldom to the new package name
Browse files Browse the repository at this point in the history
  • Loading branch information
GabsEdits committed Aug 3, 2024
1 parent dc4e1ab commit 753f46a
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 20 deletions.
89 changes: 72 additions & 17 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"dependencies": {
"@types/marked": "^5.0.1",
"@vueuse/head": "^1.1.26",
"@xmldom/xmldom": "^0.8.10",
"compression": "^1.7.4",
"express": "^4.19.2",
"express-rate-limit": "^7.4.0",
Expand All @@ -25,8 +26,7 @@
"slugify": "^1.6.6",
"unhead": "^1.9.16",
"vue": "^3.2.47",
"vue-router": "^4.1.6",
"xmldom": "^0.6.0"
"vue-router": "^4.1.6"
},
"devDependencies": {
"@types/node": "^18.17.0",
Expand Down
2 changes: 1 addition & 1 deletion scripts/generateArticlesJson.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const path = require("path");
const glob = require("glob");
const yaml = require("js-yaml");
const { marked } = require("marked");
const { DOMParser, XMLSerializer } = require("xmldom");
const { DOMParser, XMLSerializer } = require("@xmldom/xmldom");

function cleanArticlesDir(articlesDir) {
console.log(`Cleaning articles directory: ${articlesDir}`);
Expand Down

0 comments on commit 753f46a

Please sign in to comment.