Skip to content

Commit

Permalink
feat: change output format from SARIF v2.0 to SARIF v2.1 (#65)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Change output format from SARIF v2.0 to SARIF v2.1

* Switches the public APIs in index.ts to use the new 21 converter implementations
* Removes 20 converter implementations, tests, and associated /src/sarif folder
* Makes @types/sarif a dependency, since we're now using one of its types as part of our API surface
* Pins a non-caret version of @types/sarif, since it doesn't use semantic versioning
* Rewrote index.test.ts to work strictly in terms of public API surface, since we no longer require non-public APIs for any e2e tests we want to run
  • Loading branch information
dbjorge authored Jun 22, 2019
1 parent 9dd4633 commit 6c86025
Show file tree
Hide file tree
Showing 20 changed files with 17,538 additions and 19,462 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"yarn": "^1.15.1"
},
"dependencies": {
"@types/sarif": "2.1.1",
"axe-core": "^3.2.2"
},
"devDependencies": {
"@types/jest": "^24.0.12",
"@types/lodash": "^4.14.123",
"@types/node": "^11.13.9",
"@types/sarif": "^2.1.1",
"jest": "^24.7.1",
"jest-circus": "^24.7.1",
"jest-junit": "^6.4.0",
Expand Down
32,300 changes: 17,454 additions & 14,846 deletions src/__snapshots__/index.test.ts.snap

Large diffs are not rendered by default.

159 changes: 0 additions & 159 deletions src/axe-raw-sarif-converter.test.ts

This file was deleted.

Loading

0 comments on commit 6c86025

Please sign in to comment.