Skip to content

Commit

Permalink
fix(deps): upgrade xmldom
Browse files Browse the repository at this point in the history
  • Loading branch information
eventualbuddha committed Oct 10, 2023
1 parent 267a0d7 commit 5b28b30
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 19 deletions.
5 changes: 2 additions & 3 deletions libs/hmpb/render-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
"@votingworks/fixtures": "workspace:*",
"@votingworks/hmpb-layout": "workspace:*",
"@votingworks/types": "workspace:*",
"@xmldom/xmldom": "^0.8.1",
"js-sha256": "^0.9.0",
"pdfkit": "^0.13.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"svg-to-pdfkit": "^0.1.8",
"xmldom": "^0.6.0"
"svg-to-pdfkit": "^0.1.8"
},
"devDependencies": {
"@jest/types": "^29.6.1",
Expand All @@ -56,7 +56,6 @@
"@types/react-dom": "^18.2.7",
"@types/svg-to-pdfkit": "^0.1.0",
"@types/tmp": "^0.2.3",
"@types/xmldom": "^0.1.31",
"esbuild": "^0.14.29",
"esbuild-runner": "^2.2.1",
"eslint-plugin-vx": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion libs/hmpb/render-backend/src/render_ballot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
PPI,
} from '@votingworks/hmpb-layout';
import { join } from 'path';
import { DOMParser, XMLSerializer } from 'xmldom';
import { DOMParser, XMLSerializer } from '@xmldom/xmldom';

const ASSETS_DIR = join(__dirname, '../assets');
// These font names need to be exactly of the pattern FontName[-Bold] in order
Expand Down
18 changes: 3 additions & 15 deletions pnpm-lock.yaml

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

0 comments on commit 5b28b30

Please sign in to comment.