Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
scheibo committed Nov 26, 2024
1 parent 56ee4c0 commit b23722e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
"license": "MIT",
"dependencies": {
"@retorquere/bibtex-parser": "^9.0.17",
"@types/jest": "^29.5.13",
"@types/node": "^22.7.7",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.0",
"favicons": "^7.2.0",
"site": "github:scheibo/static",
"source-map-support": "^0.5.21",
"subpkg": "^4.1.0",
"typescript": "^5.6.3",
"yaml": "^2.6.0"
"typescript": "^5.7.2",
"yaml": "^2.6.1"
},
"devDependencies": {
"@pkmn/eslint-config": "^9.0.0",
"@untitaker/hyperlink": "^0.1.32",
"@pkmn/eslint-config": "^9.3.0",
"@untitaker/hyperlink": "^0.1.43",
"stylelint": "16.10",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard": "^36.0.1",
"vitest": "^2.1.3"
"vitest": "^2.1.5"
},
"scripts": {
"lint": "subpkg run lint && eslint --cache && stylelint static/*.css && hyperlink public --check-anchors",
Expand Down
4 changes: 3 additions & 1 deletion static/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ export function page(dir: string) {
const file = (ext: string) => path.join(dir, `projects.${ext}`);

const bib = bibtex.parse(fs.readFileSync(file('bib'), 'utf8'), {sentenceCase: false});
if (bib.errors.length) throw new Error(`Error parsing projects.bib: ${bib.errors.join(', ')}`);
if (bib.errors.length) {
throw new Error(`Error parsing projects.bib: ${bib.errors.map(e => e.error).join(', ')}`);
}

const bibliography: {[key: string]: bibtex.Entry} = {};
for (const entry of bib.entries) {
Expand Down

0 comments on commit b23722e

Please sign in to comment.