{"_id":"@danielcalle/sfdx-scanner","_rev":"1-b5a967808c5e8334755a6638cbfd0a10","name":"@danielcalle/sfdx-scanner","dist-tags":{"latest":"3.9.1"},"versions":{"3.9.0":{"name":"@danielcalle/sfdx-scanner","description":"Static code scanner that applies quality and security rules to Apex code, and provides feedback.","version":"3.9.0","author":{"name":"ISV SWAT"},"bugs":{"url":"https://github.com/DanielCalle/sfdx-scanner/issues"},"dependencies":{"@babel/core":"^7.11.0","@babel/eslint-parser":"^7","@lwc/eslint-plugin-lwc":"^1.1.2","@oclif/command":"^1","@oclif/config":"^1","@oclif/errors":"^1","@salesforce/command":"^5","@salesforce/core":"^3","@salesforce/eslint-config-lwc":"^3.2.1","@salesforce/eslint-plugin-lightning":"^1.0.0","@typescript-eslint/eslint-plugin":"^5.14.0","@typescript-eslint/parser":"^5.14.0","cross-spawn":"^7.0.3","csv-stringify":"^6.0.5","eslint":"^8.10.0","eslint-plugin-import":"^2.25.4","eslint-plugin-jest":"^26.1.1","find-java-home":"1.2.2","globby":"^11.0.0","html-escaper":"^3.0.0","is-zip":"^1.0.0","isbinaryfile":"^5","mustache":"^4.0.1","node-stream-zip":"1.13.2","normalize-path":"^3.0.0","picomatch":"^2.2.2","reflect-metadata":"^0.1.13","retire":"^3","semver":"^7.3.4","tmp":"^0.2.0","ts-node":"^10","tslib":"^2","tsyringe":"^4.1.0","typescript":"^4.6.2","untildify":"^4.0.0","uuid":"^9.0.0","word-wrap":"^1.2.3","xml-js":"^1.6.11"},"resolutions":{"bl":"^4.0.3","lodash":"^4.17.21","ajv":"^6.12.3","minimist":"^1.2.3","hosted-git-info":"^3.0.8","glob-parent":"^5.1.2"},"devDependencies":{"@istanbuljs/nyc-config-typescript":"^1.0.1","@oclif/dev-cli":"^1","@oclif/plugin-help":"^5","@oclif/test":"^2","@salesforce/dev-config":"^3","@salesforce/ts-sinon":"^1.1.2","@types/chai":"^4","@types/cross-spawn":"^6.0.2","@types/eslint":"^8.4.1","@types/html-escaper":"^3.0.0","@types/json-schema":"^7.0.11","@types/mocha":"^9","@types/mustache":"^4.0.1","@types/node":"^17","@types/normalize-path":"^3.0.0","@types/picomatch":"^2.3.0","@types/sarif":"^2.1.4","@types/semver":"^7.3.9","@types/tmp":"^0.2.3","@types/uuid":"^8.3.4","chai":"^4","cross-env":"^7.0.3","eslint":"^8.10.0","mocha":"^9","mocha-junit-reporter":"^2.0.0","nyc":"^15.0.0","sinon":"^13","tildify":"^2.0.0","ts-mockito":"^2.6.1"},"engines":{"node":">=8.0.0"},"homepage":"https://forcedotcom.github.io/sfdx-scanner","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","bin":"sfdx","topics":{"scanner":{"description":"scan code to detect code quality issues and security vulnerabilities","subtopics":{"rule":{"description":"view or add rules to scan code"}}},"scanner:scannerCommand":{"hidden":true}},"devPlugins":["@oclif/plugin-help"],"hooks":{"init":"./lib/lib/hooks/init"}},"nyc":{"branches":"80","lines":"90","functions":"90","statements":"90"},"repository":{"type":"git","url":"git+https://github.com/forcedotcom/sfdx-scanner.git"},"scripts":{"build":"./gradlew build -x test","prepack":"rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme","postpack":"rm -f oclif.manifest.json","lint-typescript":"eslint ./src --ext .ts --max-warnings 0","test":"./gradlew test jacocoTestCoverageVerification && nyc mocha --timeout 10000 --retries 5 \"./test/**/*.test.ts\"","test-quiet":"cross-env SFGE_LOGGING=false ./gradlew test jacocoTestCoverageVerification && nyc mocha --timeout 10000 --retries 5 \"./test/**/*.test.ts\"","test-cli-messaging":"./gradlew cli-messaging:test","test-pmd-cataloger":"./gradlew pmd-cataloger:test pmd-cataloger:jacocoTestCoverageVerification","test-sfge":"./gradlew sfge:test sfge:jacocoTestCoverageVerification","test-sfge-quiet":"cross-env SFGE_LOGGING=false ./gradlew sfge:test sfge:jacocoTestCoverageVerification","test-typescript":"nyc mocha --timeout 10000 --retries 5 \"./test/**/*.test.ts\"","version":"oclif-dev readme && git add README.md"},"gitHead":"b13a50f3d8558bee5a9188473e779ac2b6237a02","_id":"@danielcalle/sfdx-scanner@3.9.0","_nodeVersion":"16.14.0","_npmVersion":"9.4.2","dist":{"integrity":"sha512-fpubFoRGLqbnU/fei6lEyfQt81VcIkcC5mNoDHO8Qv6trR9y3oc2t2uAPcPePm7M3WcAAPUSKluN0zWHOlrXSA==","shasum":"62eca69ea98c0166266c94399246987e09fcb63f","tarball":"https://registry.npmjs.org/@danielcalle/sfdx-scanner/-/sfdx-scanner-3.9.0.tgz","fileCount":313,"unpackedSize":50072822,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEoaDfdPDpww3vRWfu3ZveLWrWpUmxPgpRP8mwVdCKcxAiEA7BMcE6re1gl/DUCrdZYzQYfqvpgsjQu1yniGtO2mNkw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4s4mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpSuRAAhOacLsPBt1P68btx8Oa/sfHgWVKPExazP/m7zWFetthFTReL\r\nNIZxV4P1sn3KigESoV5tyzlq7wmM753UXi9rZ8v72D+FRLERQUaGaoyxP/l9\r\neLCgHkk9Q/Zno2GnT9362j9msI94s9WoqSOKyO2NXhAL+uxDjlOUEWfT+E4Y\r\n93Wpa4jejprF98ZsjXQDsuUu9g7fYKpJXNlO2qBrDZwOfCVRTbUsKClt7Rni\r\n6uEKOPfAafbW+WANdhsM2p2FYbc4BhhMwX6Z6qLuA8s20FFIZU4ceeMu/jvc\r\n86uA4fnUshuyhiYWou+py5L7f2iaozlSuiChwk1NaPO5B88nNoQ0NTB/E90S\r\nGYPLsOt5fiGPt+XvQmaMggZ5PqdNqHLJrbx7ik2m7veSuSGeXv4GTjEFnTjZ\r\nw8Hf2FfHJPUixFEybil0M6/lqS0EpfnVT2B+7myuLcD4RWLOxYa4J5D88Ia0\r\ne1UvTN/YpEvV7MDL6aL69gPweh5UPYE+2I7UAmFzC05q48U6dDHNLs4Dd8Ik\r\nvKNYTVpQ2JII41JTzJvDE/QFOvYd83xRzcJjN2F/mIjBwz3izmKYnnzPd7dM\r\nG3b5sQMObPMeUoQo1XPLF9LsbemqDW4EN7+78+cDW7idq8UzGNN3XvY3bcnu\r\nCZWBo92sf1qkMXuGxfpeMMvZus+eildEYAg=\r\n=hpGk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"danielcalle","email":"danielcallesanchez@gmail.com"},"directories":{},"maintainers":[{"name":"danielcalle","email":"danielcallesanchez@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfdx-scanner_3.9.0_1675808293572_0.889175877793696"},"_hasShrinkwrap":false},"3.9.1":{"name":"@danielcalle/sfdx-scanner","description":"Static code scanner that applies quality and security rules to Apex code, and provides feedback.","version":"3.9.1","author":{"name":"ISV SWAT"},"bugs":{"url":"https://github.com/DanielCalle/sfdx-scanner/issues"},"dependencies":{"@babel/core":"^7.11.0","@babel/eslint-parser":"^7","@lwc/eslint-plugin-lwc":"^1.1.2","@oclif/command":"^1","@oclif/config":"^1","@oclif/errors":"^1","@salesforce/command":"^5","@salesforce/core":"^3","@salesforce/eslint-config-lwc":"^3.2.1","@salesforce/eslint-plugin-lightning":"^1.0.0","@typescript-eslint/eslint-plugin":"^5.14.0","@typescript-eslint/parser":"^5.14.0","cross-spawn":"^7.0.3","csv-stringify":"^6.0.5","eslint":"^8.10.0","eslint-plugin-import":"^2.25.4","eslint-plugin-jest":"^26.1.1","find-java-home":"1.2.2","globby":"^11.0.0","html-escaper":"^3.0.0","is-zip":"^1.0.0","isbinaryfile":"^5","mustache":"^4.0.1","node-stream-zip":"1.13.2","normalize-path":"^3.0.0","picomatch":"^2.2.2","reflect-metadata":"^0.1.13","retire":"^3","semver":"^7.3.4","tmp":"^0.2.0","ts-node":"^10","tslib":"^2","tsyringe":"^4.1.0","typescript":"^4.6.2","untildify":"^4.0.0","uuid":"^9.0.0","word-wrap":"^1.2.3","xml-js":"^1.6.11"},"resolutions":{"bl":"^4.0.3","lodash":"^4.17.21","ajv":"^6.12.3","minimist":"^1.2.3","hosted-git-info":"^3.0.8","glob-parent":"^5.1.2"},"devDependencies":{"@istanbuljs/nyc-config-typescript":"^1.0.1","@oclif/dev-cli":"^1","@oclif/plugin-help":"^5","@oclif/test":"^2","@salesforce/dev-config":"^3","@salesforce/ts-sinon":"^1.1.2","@types/chai":"^4","@types/cross-spawn":"^6.0.2","@types/eslint":"^8.4.1","@types/html-escaper":"^3.0.0","@types/json-schema":"^7.0.11","@types/mocha":"^9","@types/mustache":"^4.0.1","@types/node":"^17","@types/normalize-path":"^3.0.0","@types/picomatch":"^2.3.0","@types/sarif":"^2.1.4","@types/semver":"^7.3.9","@types/tmp":"^0.2.3","@types/uuid":"^8.3.4","chai":"^4","cross-env":"^7.0.3","eslint":"^8.10.0","mocha":"^9","mocha-junit-reporter":"^2.0.0","nyc":"^15.0.0","sinon":"^13","tildify":"^2.0.0","ts-mockito":"^2.6.1"},"engines":{"node":">=8.0.0"},"homepage":"https://forcedotcom.github.io/sfdx-scanner","keywords":["sfdx-plugin"],"license":"MIT","oclif":{"commands":"./lib/commands","bin":"sfdx","topics":{"scanner":{"description":"scan code to detect code quality issues and security vulnerabilities","subtopics":{"rule":{"description":"view or add rules to scan code"}}},"scanner:scannerCommand":{"hidden":true}},"devPlugins":["@oclif/plugin-help"],"hooks":{"init":"./lib/lib/hooks/init"}},"nyc":{"branches":"80","lines":"90","functions":"90","statements":"90"},"repository":{"type":"git","url":"git+https://github.com/forcedotcom/sfdx-scanner.git"},"scripts":{"build":"./gradlew build -x test","prepack":"rm -rf lib && tsc -b && oclif-dev manifest && oclif-dev readme","postpack":"rm -f oclif.manifest.json","lint-typescript":"eslint ./src --ext .ts --max-warnings 0","test":"./gradlew test jacocoTestCoverageVerification && nyc mocha --timeout 10000 --retries 5 \"./test/**/*.test.ts\"","test-quiet":"cross-env SFGE_LOGGING=false ./gradlew test jacocoTestCoverageVerification && nyc mocha --timeout 10000 --retries 5 \"./test/**/*.test.ts\"","test-cli-messaging":"./gradlew cli-messaging:test","test-pmd-cataloger":"./gradlew pmd-cataloger:test pmd-cataloger:jacocoTestCoverageVerification","test-sfge":"./gradlew sfge:test sfge:jacocoTestCoverageVerification","test-sfge-quiet":"cross-env SFGE_LOGGING=false ./gradlew sfge:test sfge:jacocoTestCoverageVerification","test-typescript":"nyc mocha --timeout 10000 --retries 5 \"./test/**/*.test.ts\"","version":"oclif-dev readme && git add README.md"},"gitHead":"b13a50f3d8558bee5a9188473e779ac2b6237a02","_id":"@danielcalle/sfdx-scanner@3.9.1","_nodeVersion":"16.14.0","_npmVersion":"9.4.2","dist":{"integrity":"sha512-wlxZ2bmcdDxl/8iROhmQ7She4SainT2xDovkg9sIjuSxYPF+y5fnqjMnBfIWKmEGr9I0kcEtnOBp+c0ZYgZJgA==","shasum":"2edec9914b5e39b3f148bcfeaf46965d67a7d7e2","tarball":"https://registry.npmjs.org/@danielcalle/sfdx-scanner/-/sfdx-scanner-3.9.1.tgz","fileCount":313,"unpackedSize":50072822,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBv41F7GziqA/AjHKJTSeptB+9V71OReJm5l9o7o1lirAiBfh7kDtHCK1tyxN4X+RQvF7owXNTcHvarhZgRB+mv1/Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4tj2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrqqBAAoAZa62sVgV2OB3tpavyo/gcenmm7BjUXZAuzKPohTkUPcpII\r\n4LjYrv8mdNdJ4ZKqC5ILAMA35di3b0j52p6sr8+iYiVy3satSUVf5HC+CSzM\r\nqOGWOtSYVY9iCQued9Nz1pV0BbqC9yrvmAd0vWaG2OeQQlFFCFFqh0QKvqBb\r\nbKgUvyUFDifrRVgX2Cp1I1gADFrhkgGAZd1iA5e4S9I0ZVUe4BlzCbS+rhSA\r\nCZbBUsRnQ2HB9O9exwMQzycMdahDFaxqYQRmd4LjxtoOuMh8AC2eJw0ftaQF\r\nm+r0TGdGqc93P5+l+p/HTYih3mib2j1RSJjpXt7HO9V62bbiwPGH+8qDR8Ow\r\nYu2Ts0Za5K2y2loL7VGUpTSTk6J5xx4xZgOz4db9HG3Vzs6Bq3TKKNJ/qiw4\r\nUFnZCkuMvq3z9IDYXP9q0ECK/btMdKeY+e/5xNE7Yp64jEpHxw6tA+IngGFC\r\nAjAgW5uv8LlFV17EdN48OqI8jkQSrKQr4EpUAWj7/oXqn9jRQ8baHGLYBBe8\r\nNGlcehldfFunqHlHrGAW1eBQ+KizSiOWqznq6uEbKgRX/SkC6VIMGUTSk0Vp\r\noX6XmeLy5XcZxvMCDm7DhOo7kupmD874a3f1MwybnEY18kvpQzZ2ksXqtuq8\r\nws6PWGbq85wCg6yMWDkIuzBcgKRbIPZpNtY=\r\n=Y5Z0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"danielcalle","email":"danielcallesanchez@gmail.com"},"directories":{},"maintainers":[{"name":"danielcalle","email":"danielcallesanchez@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sfdx-scanner_3.9.1_1675811061592_0.268727958073429"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-07T22:18:13.493Z","3.9.0":"2023-02-07T22:18:14.190Z","modified":"2023-02-07T23:04:22.756Z","3.9.1":"2023-02-07T23:04:22.389Z"},"maintainers":[{"name":"danielcalle","email":"danielcallesanchez@gmail.com"}],"description":"Static code scanner that applies quality and security rules to Apex code, and provides feedback.","homepage":"https://forcedotcom.github.io/sfdx-scanner","keywords":["sfdx-plugin"],"repository":{"type":"git","url":"git+https://github.com/forcedotcom/sfdx-scanner.git"},"author":{"name":"ISV SWAT"},"bugs":{"url":"https://github.com/DanielCalle/sfdx-scanner/issues"},"license":"MIT","readme":"[![CircleCI](https://circleci.com/gh/forcedotcom/sfdx-scanner/tree/master.svg?style=shield)](https://circleci.com/gh/forcedotcom/sfdx-scanner/tree/master)\n[![License](https://img.shields.io/npm/l/scanner.svg)](https://github.com/forcedotcom/sfdx-scanner/blob/master/package.json)\n\n# Salesforce CLI Scanner Plug-in\nThe Salesforce CLI Scanner plug-in is a unified tool for static analysis of source code, in multiple languages (including Apex), with a consistent command-line interface and report output. We currently support the PMD rule engine and ESLint. We may add support for more rule engines in the future.\n\nThe Salesforce CLI Scanner Plug-in creates \"Rule Violations\" when the scanner identifies issues. Developers use this information as feedback to fix their code.\n\nYou can integrate this plug-in into your CI/CD solution to enforce the rules and expect high-quality code.\n\n# Official Documentation\nAll the official documentation on the Salesforce CLI Scanner plug-in is hosted on [GitHub Pages](https://forcedotcom.github.io/sfdx-scanner/). These documents include instructions on how to install the plug-in, the command reference, writing and managing custom rules and an overview of the architecture of the plug-in.\n\n### Document Link\nhttps://forcedotcom.github.io/sfdx-scanner/\n\n### Building/Contributing\nInstructions [here](CONTRIBUTING.md).\n\n=======\n\n# Usage\n\nHere is the information on [How to Install the plugin](https://forcedotcom.github.io/sfdx-scanner/en/getting-started/install/)\n\nPlease check out the [Salesforce CLI Scanner Plug-In Command Reference](https://forcedotcom.github.io/sfdx-scanner/en/scanner-commands/run/) for usage and demo of the plugin.\n","readmeFilename":"README.md"}