Skip to content

Commit

Permalink
backdown x509 dep (#98)
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Callaway <[email protected]>
  • Loading branch information
bobcallaway authored Dec 22, 2024
1 parent 8ada68b commit 3e42807
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@mui/icons-material": "^5.4.4",
"@mui/lab": "5.0.0-alpha.114",
"@mui/material": "^5.5.0",
"@peculiar/x509": "1.12.3",
"@peculiar/x509": "1.8.4",
"js-yaml": "^4.1.0",
"moment": "^2.30.1",
"next": "^14.2.15",
Expand Down
4 changes: 1 addition & 3 deletions src/modules/x509/extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ export const EXTENSIONS_CONFIG: Record<string, ExtensionConfig> = {
"2.5.29.17": {
name: "Subject Alternative Name",
toJSON(rawExtension: Extension) {
return new SubjectAlternativeNameExtension(
rawExtension.rawData,
).toTextObject();
return new SubjectAlternativeNameExtension(rawExtension.rawData).toJSON();
},
},
"2.5.29.19": {
Expand Down

0 comments on commit 3e42807

Please sign in to comment.