-
-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sanitize externalReferences URLs and exclude invalid ones + Strict JSON Schema validation #1130
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,7 @@ | |
"@npmcli/arborist": "7.5.2", | ||
"ajv": "^8.14.0", | ||
"ajv-formats": "^3.0.1", | ||
"ajv-formats-draft2019": "^1.6.1", | ||
"cheerio": "^1.0.0-rc.12", | ||
"edn-data": "1.1.1", | ||
"find-up": "7.0.0", | ||
|
@@ -90,7 +91,8 @@ | |
"tar": "^6.2.1", | ||
"uuid": "^9.0.1", | ||
"xml-js": "^1.6.11", | ||
"yargs": "^17.7.2" | ||
"yargs": "^17.7.2", | ||
"hosted-git-info": "^7.0.2" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's not introduce this package and change the url format in this PR. We can drop any non-compliant urls, maybe with a log in DEBUG_MODE. |
||
}, | ||
"optionalDependencies": { | ||
"@appthreat/atom": "2.0.12", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am having better success with validate-iri package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was looking for some validation library but didn't find this one 👍