codeant-cli 0.2.1 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/178.index.js +1 -1
  2. package/dist/239.index.js +1 -1
  3. package/dist/701.index.js +1 -1
  4. package/dist/880.index.js +1 -1
  5. package/dist/935.index.js +1 -1
  6. package/dist/966.index.js +1 -1
  7. package/dist/index.js +4 -13
  8. package/package.json +8 -2
  9. package/src/commands/getBaseUrl.js +25 -0
  10. package/src/commands/login.js +124 -0
  11. package/src/commands/logout.js +30 -0
  12. package/src/commands/review.js +271 -0
  13. package/src/commands/secrets.js +268 -0
  14. package/src/commands/securityAnalysis.js +284 -0
  15. package/src/commands/setBaseUrl.js +37 -0
  16. package/src/commands/staticAnalysis.js +405 -0
  17. package/src/components/ReviewUI.js +410 -0
  18. package/src/components/Welcome.js +144 -0
  19. package/src/index.js +398 -0
  20. package/src/reviewHeadless.js +170 -0
  21. package/src/scm/azure/client.js +21 -0
  22. package/src/scm/azure/getCodeReview.js +20 -0
  23. package/src/scm/azure/getPullRequest.js +30 -0
  24. package/src/scm/azure/index.js +6 -0
  25. package/src/scm/azure/listCodeReviews.js +17 -0
  26. package/src/scm/azure/listPullRequestComments.js +41 -0
  27. package/src/scm/azure/listPullRequests.js +26 -0
  28. package/src/scm/azure/searchComments.js +35 -0
  29. package/src/scm/bitbucket/client.js +18 -0
  30. package/src/scm/bitbucket/getCodeReview.js +3 -0
  31. package/src/scm/bitbucket/getPullRequest.js +26 -0
  32. package/src/scm/bitbucket/index.js +6 -0
  33. package/src/scm/bitbucket/listCodeReviews.js +17 -0
  34. package/src/scm/bitbucket/listPullRequestComments.js +33 -0
  35. package/src/scm/bitbucket/listPullRequests.js +33 -0
  36. package/src/scm/bitbucket/searchComments.js +29 -0
  37. package/src/scm/github/client.js +17 -0
  38. package/src/scm/github/getCodeReview.js +26 -0
  39. package/src/scm/github/getPullRequest.js +27 -0
  40. package/src/scm/github/index.js +6 -0
  41. package/src/scm/github/listCodeReviews.js +17 -0
  42. package/src/scm/github/listPullRequestComments.js +51 -0
  43. package/src/scm/github/listPullRequests.js +32 -0
  44. package/src/scm/github/searchComments.js +30 -0
  45. package/src/scm/gitlab/client.js +16 -0
  46. package/src/scm/gitlab/getCodeReview.js +18 -0
  47. package/src/scm/gitlab/getPullRequest.js +24 -0
  48. package/src/scm/gitlab/index.js +6 -0
  49. package/src/scm/gitlab/listCodeReviews.js +21 -0
  50. package/src/scm/gitlab/listPullRequestComments.js +44 -0
  51. package/src/scm/gitlab/listPullRequests.js +26 -0
  52. package/src/scm/gitlab/searchComments.js +28 -0
  53. package/src/scm/index.js +96 -0
  54. package/src/tools/executeTool.js +31 -0
  55. package/src/tools/globTool.js +9 -0
  56. package/src/tools/grepTool.js +18 -0
  57. package/src/tools/lsTool.js +7 -0
  58. package/src/tools/readTool.js +12 -0
  59. package/src/utils/commonApiHelper.js +143 -0
  60. package/src/utils/config.js +42 -0
  61. package/src/utils/fetchApi.js +42 -0
  62. package/src/utils/gitDiffHelper.js +1203 -0
  63. package/src/utils/reviewApiHelper.js +275 -0
  64. package/src/utils/scmAuth.js +136 -0
  65. package/src/utils/secretsApiHelper.js +134 -0
  66. package/src/utils/securityAnalysisApiHelper.js +119 -0
  67. package/src/utils/staticAnalysisApiHelper.js +119 -0
package/dist/178.index.js CHANGED
@@ -1 +1 @@
1
- function _0x3af3(){const _0x4c24c7=['2443884YgEqOY','11676420NaBLtU','364424IPyUMQ','42765008pabuks','3enYEPL','3335340SbMOZq','8211070TYffWl','475976oEmbwj','exports'];_0x3af3=function(){return _0x4c24c7;};return _0x3af3();}(function(_0x216765,_0x3b20c3){const _0x4a6ba8=_0x5612,_0x1143c0=_0x216765();while(!![]){try{const _0x55bb16=-parseInt(_0x4a6ba8(0xa1))/0x1*(parseInt(_0x4a6ba8(0xa8))/0x2)+-parseInt(_0x4a6ba8(0xa2))/0x3+parseInt(_0x4a6ba8(0xa4))/0x4+-parseInt(_0x4a6ba8(0xa3))/0x5+parseInt(_0x4a6ba8(0xa6))/0x6+-parseInt(_0x4a6ba8(0xa7))/0x7+parseInt(_0x4a6ba8(0xa0))/0x8;if(_0x55bb16===_0x3b20c3)break;else _0x1143c0['push'](_0x1143c0['shift']());}catch(_0x5487c9){_0x1143c0['push'](_0x1143c0['shift']());}}}(_0x3af3,0xdc84c));export const id=0xb2;function _0x5612(_0x226e09,_0x2edafc){_0x226e09=_0x226e09-0xa0;const _0x3af3d4=_0x3af3();let _0x5612af=_0x3af3d4[_0x226e09];return _0x5612af;}export const ids=[0xb2];export const modules={0x1ff2:(_0x4f01ae,_0x53f1fd,_0x14d4a7)=>{const _0x237ffb=_0x5612,_0x356c0e=_0x14d4a7(0x5fe);_0x4f01ae[_0x237ffb(0xa5)]=_0x356c0e;}};
1
+ function _0x5897(){const _0x243b82=['1634526zVSmVe','3372061ZPjkxJ','4606srzVvv','364eQrUju','70cTSUOE','exports','158yylSid','644wjztFB','63495JzQUur','146816bSPLsk','771759MZLjDJ','18570sgdAss'];_0x5897=function(){return _0x243b82;};return _0x5897();}function _0x4d0f(_0x2d426d,_0x164eef){_0x2d426d=_0x2d426d-0x137;const _0x5897f5=_0x5897();let _0x4d0ff5=_0x5897f5[_0x2d426d];return _0x4d0ff5;}(function(_0x8920cf,_0x9d86d3){const _0x2f6879=_0x4d0f,_0x1afb52=_0x8920cf();while(!![]){try{const _0xeacf61=-parseInt(_0x2f6879(0x139))/0x1*(parseInt(_0x2f6879(0x13d))/0x2)+parseInt(_0x2f6879(0x13f))/0x3+parseInt(_0x2f6879(0x13e))/0x4*(parseInt(_0x2f6879(0x142))/0x5)+parseInt(_0x2f6879(0x137))/0x6+parseInt(_0x2f6879(0x13a))/0x7*(parseInt(_0x2f6879(0x140))/0x8)+-parseInt(_0x2f6879(0x141))/0x9*(parseInt(_0x2f6879(0x13b))/0xa)+-parseInt(_0x2f6879(0x138))/0xb;if(_0xeacf61===_0x9d86d3)break;else _0x1afb52['push'](_0x1afb52['shift']());}catch(_0x9235eb){_0x1afb52['push'](_0x1afb52['shift']());}}}(_0x5897,0x8c6ba));export const id=0xb2;export const ids=[0xb2];export const modules={0x1ff2:(_0x911d10,_0x84e4bc,_0x14bede)=>{const _0x1b5b66=_0x4d0f,_0xa825f5=_0x14bede(0x5fe);_0x911d10[_0x1b5b66(0x13c)]=_0xa825f5;}};
package/dist/239.index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x5259d6,_0x22330e){const _0x6c1c01=_0x201d,_0x423a93=_0x5259d6();while(!![]){try{const _0x25fd25=-parseInt(_0x6c1c01(0xf9))/0x1*(parseInt(_0x6c1c01(0xf8))/0x2)+parseInt(_0x6c1c01(0xfe))/0x3+parseInt(_0x6c1c01(0xfc))/0x4*(parseInt(_0x6c1c01(0xfb))/0x5)+-parseInt(_0x6c1c01(0xfa))/0x6*(-parseInt(_0x6c1c01(0xfd))/0x7)+-parseInt(_0x6c1c01(0x101))/0x8+parseInt(_0x6c1c01(0xf7))/0x9+-parseInt(_0x6c1c01(0x100))/0xa;if(_0x25fd25===_0x22330e)break;else _0x423a93['push'](_0x423a93['shift']());}catch(_0x2ab740){_0x423a93['push'](_0x423a93['shift']());}}}(_0x2ea5,0xeb0ff));export const id=0xef;export const ids=[0xef];function _0x2ea5(){const _0xd4baab=['606sqgeAM','7661250bnUjbU','4YAyEJj','129549JdeCEI','182412JsEaLu','exports','36215960qgwLcE','2118624MFSNrg','14972598nkMXKQ','5704gVKNGp','97VakeJg'];_0x2ea5=function(){return _0xd4baab;};return _0x2ea5();}function _0x201d(_0x55fea2,_0x511d6c){_0x55fea2=_0x55fea2-0xf7;const _0x2ea5fe=_0x2ea5();let _0x201d68=_0x2ea5fe[_0x55fea2];return _0x201d68;}export const modules={0x202f:_0xe6be98=>{const _0x12e87e=_0x201d;_0xe6be98[_0x12e87e(0xff)]=eval('require;')('glob');}};
1
+ (function(_0x16c453,_0x596f85){const _0x180deb=_0x16ed,_0x1404ce=_0x16c453();while(!![]){try{const _0x32745f=parseInt(_0x180deb(0xc7))/0x1*(parseInt(_0x180deb(0xce))/0x2)+-parseInt(_0x180deb(0xd3))/0x3+parseInt(_0x180deb(0xcf))/0x4*(-parseInt(_0x180deb(0xd2))/0x5)+parseInt(_0x180deb(0xcc))/0x6*(-parseInt(_0x180deb(0xc8))/0x7)+-parseInt(_0x180deb(0xd0))/0x8+parseInt(_0x180deb(0xcd))/0x9*(parseInt(_0x180deb(0xcb))/0xa)+-parseInt(_0x180deb(0xc9))/0xb*(-parseInt(_0x180deb(0xd1))/0xc);if(_0x32745f===_0x596f85)break;else _0x1404ce['push'](_0x1404ce['shift']());}catch(_0x36b64b){_0x1404ce['push'](_0x1404ce['shift']());}}}(_0x3c4b,0xd5110));export const id=0xef;export const ids=[0xef];function _0x16ed(_0x54c0df,_0x3cb990){_0x54c0df=_0x54c0df-0xc7;const _0x3c4bb7=_0x3c4b();let _0x16ed18=_0x3c4bb7[_0x54c0df];return _0x16ed18;}export const modules={0x202f:_0x395a15=>{const _0xe123e9=_0x16ed;_0x395a15['exports']=eval('require;')(_0xe123e9(0xca));}};function _0x3c4b(){const _0x32b675=['1Pzbqzm','14SMpEqM','11lldxPM','glob','10tJbIXc','3053868CWyijy','8991747UhmJqD','3237700AbylHh','3284hLUlwo','570880WVKpdM','15825804qbTuHG','3730rQlXyu','4086744wimCAU'];_0x3c4b=function(){return _0x32b675;};return _0x3c4b();}