@herbertgao/pi-extensions 2026.11.6 → 2026.11.7
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.
- package/CHANGELOG.md +9 -0
- package/README.md +6 -6
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/node_modules/@herbertgao/pi-impeccable/CHANGELOG.md +6 -0
- package/node_modules/@herbertgao/pi-impeccable/README.md +2 -2
- package/node_modules/@herbertgao/pi-impeccable/package.json +4 -4
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/SKILL.md +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/VERSION +1 -1
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/engine-checksums.txt +5 -5
- package/node_modules/@herbertgao/pi-impeccable/skills/impeccable/scripts/live-browser.js +71 -56
- package/node_modules/@pi-plugins/fast-mode/dist/index.d.mts +1 -4
- package/node_modules/@pi-plugins/fast-mode/dist/index.d.mts.map +1 -1
- package/node_modules/@pi-plugins/fast-mode/dist/index.mjs +5620 -2946
- package/node_modules/@pi-plugins/fast-mode/dist/index.mjs.map +1 -1
- package/node_modules/@pi-plugins/fast-mode/package.json +11 -11
- package/node_modules/pi-commandcode-provider/CHANGELOG.md +5 -0
- package/node_modules/pi-commandcode-provider/README.md +1 -1
- package/node_modules/pi-commandcode-provider/package.json +1 -1
- package/node_modules/pi-commandcode-provider/src/commandcode-catalog.ts +5 -4
- package/node_modules/pi-commandcode-provider/src/pricing.ts +8 -2
- package/node_modules/pi-lens/CHANGELOG-USER.md +6 -6
- package/node_modules/pi-lens/CHANGELOG.md +182 -0
- package/node_modules/pi-lens/dist/{chunk-NE4EFHJX.js → chunk-2SD2CGVH.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-7JX3RNG4.js → chunk-34RXPR7M.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-2LVJQU3I.js → chunk-3C6ZZAB2.js} +33 -27
- package/node_modules/pi-lens/dist/{chunk-WAA63ZJV.js → chunk-3HZ6MNB2.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-IDCTDKIA.js → chunk-3NVGBFJS.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-B2YUE6YD.js → chunk-3QCI3V6C.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-NL5LSKVD.js → chunk-3R3Z54J7.js} +10 -4
- package/node_modules/pi-lens/dist/{chunk-7WJ55KBN.js → chunk-43KD3PPM.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-DVRJBQOJ.js → chunk-4HNBY7S7.js} +20 -19
- package/node_modules/pi-lens/dist/chunk-4WWPDMRA.js +22 -0
- package/node_modules/pi-lens/dist/{chunk-QL37SGTS.js → chunk-532X3OCZ.js} +18 -16
- package/node_modules/pi-lens/dist/{chunk-ZZDVGCGG.js → chunk-5RLEDUUE.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-GUGKKGG7.js → chunk-5YTDZ5WP.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-FOEPIX76.js → chunk-6EIV3H7O.js} +158 -61
- package/node_modules/pi-lens/dist/{chunk-E4VXKTBR.js → chunk-6K4X7IIF.js} +164 -172
- package/node_modules/pi-lens/dist/{chunk-HSYFLOZY.js → chunk-6RXMQYNU.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-K6WIBVMK.js → chunk-6XNVY3FW.js} +8 -9
- package/node_modules/pi-lens/dist/{chunk-ACRJ2GZ5.js → chunk-7424ANRU.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-PTSA6QKL.js → chunk-A4HKPAEN.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-RQRKIRFY.js → chunk-AFNPNHJV.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-3FRI5H4T.js → chunk-AGEQRJ5A.js} +24 -10
- package/node_modules/pi-lens/dist/{chunk-MAD4QJTP.js → chunk-AJ62EQIQ.js} +15 -14
- package/node_modules/pi-lens/dist/{chunk-FCQSZQAT.js → chunk-AOQKQWZU.js} +14 -5
- package/node_modules/pi-lens/dist/{chunk-ZOPXB2KK.js → chunk-AVOUHMCS.js} +111 -107
- package/node_modules/pi-lens/dist/{chunk-OTSTS7L2.js → chunk-AYDE7RFV.js} +34 -3
- package/node_modules/pi-lens/dist/{chunk-AWQWXSW4.js → chunk-B4FAFEBP.js} +7 -2
- package/node_modules/pi-lens/dist/{chunk-SKVNHCT5.js → chunk-B4K6OSLL.js} +49 -42
- package/node_modules/pi-lens/dist/{chunk-2ADRLTM2.js → chunk-BBJXIZ3X.js} +3 -3
- package/node_modules/pi-lens/dist/chunk-BJDB7PXU.js +25 -0
- package/node_modules/pi-lens/dist/{chunk-GTTMQ6XB.js → chunk-BLL4VYGZ.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-CZAWWXP6.js → chunk-BMMRLJA4.js} +7 -5
- package/node_modules/pi-lens/dist/{chunk-TN5CWX5D.js → chunk-BN36MQW5.js} +35 -34
- package/node_modules/pi-lens/dist/{chunk-IL6PIV33.js → chunk-C2REOMPO.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-XAFZJEXY.js → chunk-C4ICGFEO.js} +23 -23
- package/node_modules/pi-lens/dist/chunk-CIA7X2PZ.js +26 -0
- package/node_modules/pi-lens/dist/{chunk-SJQUWQR6.js → chunk-D5L7Q57Z.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-XPGH5O74.js → chunk-DBAHJFBU.js} +31 -35
- package/node_modules/pi-lens/dist/{chunk-H65TYP6V.js → chunk-DNB4ZQGN.js} +37 -21
- package/node_modules/pi-lens/dist/chunk-DPDA3ILA.js +108 -0
- package/node_modules/pi-lens/dist/{chunk-QGITU23N.js → chunk-E3PNZDPH.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-KDCIG23C.js → chunk-E6Z3CJT2.js} +13 -9
- package/node_modules/pi-lens/dist/{chunk-V7F7JHS5.js → chunk-ECYUBKYX.js} +557 -551
- package/node_modules/pi-lens/dist/chunk-F37CCZUA.js +27 -0
- package/node_modules/pi-lens/dist/{chunk-KSTQ4VXT.js → chunk-FVEEEEIM.js} +10 -13
- package/node_modules/pi-lens/dist/{chunk-GMC4ZGYR.js → chunk-GL6J5R34.js} +5 -5
- package/node_modules/pi-lens/dist/{chunk-C6AODRNU.js → chunk-GTNO6F6K.js} +11 -10
- package/node_modules/pi-lens/dist/{chunk-KJ3AHOCK.js → chunk-HASJPQBC.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-XVB3Q2PG.js → chunk-HGEE5LDW.js} +3 -2
- package/node_modules/pi-lens/dist/{chunk-F6FT6BVQ.js → chunk-HIUVHRLM.js} +35 -34
- package/node_modules/pi-lens/dist/{chunk-BRESRQBE.js → chunk-HTUG7ZFK.js} +8 -8
- package/node_modules/pi-lens/dist/{chunk-ALIZWXHZ.js → chunk-IBEYUBCM.js} +9 -9
- package/node_modules/pi-lens/dist/{chunk-JZQGRARR.js → chunk-IJ55MYO6.js} +15 -12
- package/node_modules/pi-lens/dist/{chunk-BGLS5SDN.js → chunk-IT7MFVGP.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-AON2QIJF.js → chunk-ITAPXBIB.js} +20 -17
- package/node_modules/pi-lens/dist/{chunk-TLWFZ66Y.js → chunk-JSQK5DH3.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-VCRVNLE7.js → chunk-K2GV34T2.js} +9 -1
- package/node_modules/pi-lens/dist/{chunk-QUQY3IME.js → chunk-KBSC5Z3G.js} +9 -8
- package/node_modules/pi-lens/dist/{chunk-W4CUK5G6.js → chunk-KDGKKK7A.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-YQA34KAF.js → chunk-KDMJ2DJD.js} +11 -11
- package/node_modules/pi-lens/dist/{chunk-SG2JQ2YP.js → chunk-KNP4ENFT.js} +1 -1
- package/node_modules/pi-lens/dist/chunk-KX4DF6XX.js +25 -0
- package/node_modules/pi-lens/dist/{chunk-4ITEFRDH.js → chunk-LHCDWFDB.js} +37 -145
- package/node_modules/pi-lens/dist/{chunk-3HM4BUHR.js → chunk-LHU6NG5Z.js} +16 -15
- package/node_modules/pi-lens/dist/{chunk-6I44EDNQ.js → chunk-LIDFFCZZ.js} +17 -15
- package/node_modules/pi-lens/dist/{chunk-KFRDFAOE.js → chunk-LPM6NKVI.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-NBM7PNBP.js → chunk-LXE7JAMV.js} +37 -26
- package/node_modules/pi-lens/dist/{chunk-UY745U35.js → chunk-ME6MF2N2.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-YT2VR4SL.js → chunk-NLRKB32C.js} +7 -7
- package/node_modules/pi-lens/dist/{chunk-QHOTTC4A.js → chunk-NQFXN5U7.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-QUPYLQA4.js → chunk-NR4KQOXZ.js} +14 -9
- package/node_modules/pi-lens/dist/{chunk-Y3EHLUPL.js → chunk-NWK7KKNO.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-A5TEJZGJ.js → chunk-O6LCSHHI.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-CTB5BAJI.js → chunk-OC4ZGVMH.js} +17 -14
- package/node_modules/pi-lens/dist/{chunk-VPFRU5IG.js → chunk-OP5BMZKK.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-MN635QYA.js → chunk-OYXD2MOM.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-GVWIU7M7.js → chunk-PSUXESQ5.js} +41 -4
- package/node_modules/pi-lens/dist/{chunk-J6BR5XN2.js → chunk-QAM2Q3VO.js} +3 -3
- package/node_modules/pi-lens/dist/{chunk-6MDM5MQT.js → chunk-QBUSONNE.js} +367 -153
- package/node_modules/pi-lens/dist/{chunk-VGTBLTPN.js → chunk-QDZ3ZZMY.js} +18 -66
- package/node_modules/pi-lens/dist/{chunk-LT62P654.js → chunk-QJ4T73J5.js} +1 -1
- package/node_modules/pi-lens/dist/{chunk-DOUAWKLO.js → chunk-QUZYRDT6.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-UNBRHPHJ.js → chunk-R2UF54ON.js} +17 -15
- package/node_modules/pi-lens/dist/{chunk-I32RSMH6.js → chunk-R2VUZZPJ.js} +11 -10
- package/node_modules/pi-lens/dist/chunk-R5BNSOIV.js +29 -0
- package/node_modules/pi-lens/dist/chunk-RV5VX2XW.js +29 -0
- package/node_modules/pi-lens/dist/{chunk-QWTHFFU6.js → chunk-SQBDX6IO.js} +12 -12
- package/node_modules/pi-lens/dist/{chunk-CZCAZVTD.js → chunk-SRXYSLMW.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-WS3UFJOU.js → chunk-SUIZOCSY.js} +3 -2
- package/node_modules/pi-lens/dist/{chunk-NUSXS6YB.js → chunk-T5EGSBM2.js} +4 -4
- package/node_modules/pi-lens/dist/{chunk-QMV2APEH.js → chunk-TBE4OLPA.js} +37 -35
- package/node_modules/pi-lens/dist/{chunk-B6HXETWY.js → chunk-TPMBNWHO.js} +28 -26
- package/node_modules/pi-lens/dist/{chunk-CYUJB552.js → chunk-TRYOYWWU.js} +18 -12
- package/node_modules/pi-lens/dist/{chunk-TJQSYX3J.js → chunk-TTGDTNSN.js} +6 -6
- package/node_modules/pi-lens/dist/{chunk-S3WFVG5P.js → chunk-UELHWF5I.js} +137 -126
- package/node_modules/pi-lens/dist/chunk-UG4YLCJ5.js +58 -0
- package/node_modules/pi-lens/dist/chunk-UQ6OZYTO.js +91 -0
- package/node_modules/pi-lens/dist/{chunk-QSCZAP24.js → chunk-UY3WWW5R.js} +4 -4
- package/node_modules/pi-lens/dist/chunk-V7IPIAE5.js +74 -0
- package/node_modules/pi-lens/dist/{chunk-4NCDHTFI.js → chunk-VDMF7Q2P.js} +10 -10
- package/node_modules/pi-lens/dist/{chunk-TYHOEX4V.js → chunk-VI3BJMZO.js} +35 -34
- package/node_modules/pi-lens/dist/{chunk-UOO4D2TK.js → chunk-VTXJAO5R.js} +34 -35
- package/node_modules/pi-lens/dist/chunk-W6VLB6LL.js +145 -0
- package/node_modules/pi-lens/dist/{chunk-NPNFGYLV.js → chunk-WBXCIRVI.js} +19 -2
- package/node_modules/pi-lens/dist/{chunk-CB7PEVOJ.js → chunk-WLD6BGON.js} +176 -60
- package/node_modules/pi-lens/dist/{chunk-Q2VCKC3X.js → chunk-WMCAEP2K.js} +11 -8
- package/node_modules/pi-lens/dist/{chunk-OPFNQBS5.js → chunk-WXMUGUZV.js} +21 -25
- package/node_modules/pi-lens/dist/{chunk-46TQJSUE.js → chunk-X33QECRJ.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-HILZE4BQ.js → chunk-YUF4DRYB.js} +396 -306
- package/node_modules/pi-lens/dist/{chunk-YF4G5NN5.js → chunk-YVPB5YGO.js} +2 -2
- package/node_modules/pi-lens/dist/{chunk-W7TY6HYX.js → chunk-ZRQMENT4.js} +5 -27
- package/node_modules/pi-lens/dist/index.js +5573 -4181
- package/node_modules/pi-lens/dist/mcp/analyze-cli.js +17 -11
- package/node_modules/pi-lens/dist/mcp/cli.js +43 -42
- package/node_modules/pi-lens/dist/mcp/server.js +1521 -610
- package/node_modules/pi-lens/dist/mcp/worker.js +62 -59
- package/node_modules/pi-lens/dist/probes/installer.js +19 -18
- package/node_modules/pi-lens/docs/agent-guide.md +3 -1
- package/node_modules/pi-lens/docs/agent-tools.md +4 -2
- package/node_modules/pi-lens/docs/alignment-families.md +5 -1
- package/node_modules/pi-lens/docs/ci.md +120 -0
- package/node_modules/pi-lens/docs/configuration.md +21 -3
- package/node_modules/pi-lens/docs/custom-rules.md +1 -0
- package/node_modules/pi-lens/docs/defect-shapes.md +107 -71
- package/node_modules/pi-lens/docs/durable-store-audit-1202.md +1 -1
- package/node_modules/pi-lens/docs/engineering-principles.md +46 -12
- package/node_modules/pi-lens/docs/environment-variables.md +25 -2
- package/node_modules/pi-lens/docs/features.md +1 -1
- package/node_modules/pi-lens/docs/invariants/dispatch-runners.md +13 -0
- package/node_modules/pi-lens/docs/language-coverage.md +1 -1
- package/node_modules/pi-lens/docs/lsp-capability-matrix.md +15 -16
- package/node_modules/pi-lens/docs/lsp-idle-eviction.md +1 -1
- package/node_modules/pi-lens/docs/module-report-read-symbol.md +2 -2
- package/node_modules/pi-lens/docs/pi-lens-fixer.md +3 -2
- package/node_modules/pi-lens/docs/pi-lens-merge-policy.md +1 -0
- package/node_modules/pi-lens/docs/pi-lens-monitor.md +4 -1
- package/node_modules/pi-lens/docs/pi-lens-release.md +19 -0
- package/node_modules/pi-lens/docs/pi-lens-reviewer.md +8 -2
- package/node_modules/pi-lens/docs/public-api-stability.md +41 -6
- package/node_modules/pi-lens/docs/rfcs/5138-query-surface.md +121 -0
- package/node_modules/pi-lens/docs/servercapabilities.md +1 -1
- package/node_modules/pi-lens/docs/settings.md +9 -0
- package/node_modules/pi-lens/docs/word-index.md +9 -10
- package/node_modules/pi-lens/package.json +3 -3
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/README.md +2 -0
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/dont-call-system-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/file-access-before-action-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/file-stat-before-action-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/insecure-hash-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/libxml2-audit-parser-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/null-library-function-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/sizeof-this-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/small-key-size-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/c/security/world-writable-file-c.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/dont-call-system-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/file-access-before-action-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/file-stat-before-action-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/fix-format-security-error-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/insecure-hash-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/libxml2-audit-parser-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/missing-nul-cpp-string-memcpy-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/null-library-function-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/return-c-str-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/sizeof-this-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/small-key-size-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/std-return-data-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/std-vector-invalidation-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/string-view-temporary-string-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/cpp/security/world-writable-file-cpp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/httponly-false-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/insecure-binaryformatter-deserialization-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-decode-without-verify-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-hardcoded-secret-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/jwt-tokenvalidationparameters-no-expiry-validation-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/networkcredential-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/npgsqlconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/oracleconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/sqlconnectionstringbuilder-hardcoded-secret-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/stacktrace-disclosure-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/csharp/security/use-ecb-mode-csharp.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/avoid-bind-to-all-interfaces-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/gorilla-cookie-store-hardcoded-session-key-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/gorilla-csrf-hardcoded-auth-key-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/grpc-client-insecure-connection-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/jwt-go-none-algorithm-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/missing-ssl-minversion-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/openai-empty-secret-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/openai-hardcoded-secret-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/ssl-v3-is-insecure-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/tls-with-insecure-cipher-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/go/security/use-of-weak-rsa-key-go.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/html/security/plaintext-http-link-html.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cbc-padding-oracle-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-httponly-false-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-httponly-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-samesite-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-missing-secure-flag-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/cookie-secure-flag-false-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/datanucleus-hardcoded-connection-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/des-is-deprecated-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/desede-is-deprecated-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-disallow-doctype-decl-false-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-external-general-entities-true-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/documentbuilderfactory-external-parameter-entities-true-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/drivermanager-hardcoded-secret-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/ecb-cipher-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/hardcoded-connection-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/hardcoded-secret-in-credentials-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/java-jwt-hardcoded-secret-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/jedis-jedisclientconfig-hardcoded-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/jedis-jedisfactory-hardcoded-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/missing-httponly-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/missing-secure-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/no-null-cipher-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/passwordauthentication-hardcoded-password-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/rsa-no-padding-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/simple-command-injection-direct-input-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/system-setproperty-hardcoded-secret-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/unencrypted-socket-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-aes-ecb-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-blowfish-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-default-aes-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-md5-digest-utils-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-md5-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-rc2-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-rc4-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/use-of-sha1-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/java/security/weak-ssl-context-java.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/detect-angular-sce-disabled-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/express-jwt-hardcoded-secret-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/express-session-hardcoded-secret-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/jwt-simple-noverify-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-rsa-weak-key-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-sequelize-empty-password-argument-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/javascript/security/node-sequelize-hardcoded-secret-argument-javascript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/des-is-deprecated-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/desede-is-deprecated-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/jwt-hardcode-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/rsa-no-padding-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/kotlin/security/system-setproperty-hardcoded-secret-kotlin.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/php/security/openssl-cbc-static-iv-php.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/php/security/search-active-debug-php.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/avoid-mktemp-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/avoid_app_run_with_bad_host-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/debug-enabled-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/hashids-with-django-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/hashids-with-flask-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/insecure-cipher-algorithm-rc4-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/jwt-python-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/openai-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-cassandra-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-cassandra-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-couchbase-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-couchbase-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-elasticsearch-hardcoded-bearer-auth-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-ldap3-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-ldap3-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mariadb-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mariadb-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysqlclient-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-mysqlclient-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-neo4j-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-neo4j-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-mysql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-mysql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-pg-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-peewee-pg-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pg8000-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pg8000-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-psycopg2-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-psycopg2-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pyjwt-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymongo-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymongo-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymssql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymssql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymysql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-pymysql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-redis-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-redis-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-requests-oauth-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-tormysql-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-tormysql-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-urllib3-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-webrepl-empty-password-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/python/security/python-webrepl-hardcoded-secret-python.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/force-ssl-false-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/hardcoded-http-auth-in-controller-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/hardcoded-secret-rsa-passphrase-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/insufficient-rsa-key-size-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-aws-sdk-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-cassandra-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-cassandra-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-excon-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-faraday-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mongo-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mongo-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mysql2-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-mysql2-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-octokit-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-pg-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-pg-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-redis-empty-password-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/ruby/security/ruby-redis-hardcoded-secret-ruby.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/empty-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/hardcoded-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/postgres-empty-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/reqwest-accept-invalid-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/secrets-reqwest-hardcoded-auth-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/ssl-verify-none-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/tokio-postgres-empty-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/rust/security/tokio-postgres-hardcoded-password-rust.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/scala/security/jwt-scala-hardcode-scala.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/scala/security/scala-jwt-hardcoded-secret-scala.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/aes-hardcoded-secret-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/blowfish-hardcoded-secret-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/chacha20-hardcoded-secret-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/insecure-biometrics-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/swift/security/rabbit-hardcoded-secret-swift.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/detect-angular-sce-disabled-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/express-session-hardcoded-secret-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/jwt-simple-noverify-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-rsa-weak-key-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-sequelize-empty-password-argument-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/coderabbit/rules/typescript/security/node-sequelize-hardcoded-secret-argument-typescript.yml +2 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rule-schema.json +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/c-no-malloc-free.yml +13 -12
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/cpp-no-malloc-free.yml +11 -10
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/cpp-no-printf.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-defer-func-call-antipattern.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-no-fmt-println.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-no-panic-in-lib.yml +20 -19
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-no-underscore-func-name.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-prefer-errors-is.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-prefer-string-builder.yml +19 -18
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/go-test-functions.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/hyphenated-svg-attribute.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-lateinit.yml +12 -11
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-nullable-boolean.yml +11 -10
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-println.yml +15 -14
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-unnecessary-let.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-unsafe-cast.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-no-var.yml +11 -10
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-prefer-data-class.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/kotlin-prefer-is-empty.yml +10 -9
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-aws-access-key-literal.yml +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-compile-call.yml +13 -12
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-flask-secret-key-literal.yml +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-hardcoded-password.yml +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-marshal-load.yml +12 -11
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-python-sql-string-concat.yml +12 -11
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-requests-verify-false.yml +13 -12
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/no-secret-in-env-var-name.yml +1 -1
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/python-optional-type.yml +9 -8
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/reducible-list-comprehension.yml +8 -7
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/ruby-detect-path-traversal.yml +14 -13
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/ruby-symbol-to-proc-candidate.yml +8 -7
- package/node_modules/pi-lens/rules/ast-grep-rules/rules/rust-no-chars-enumerate.yml +9 -8
- package/node_modules/pi-lens/rules/ast-grep-rules/rules-disabled/gorm-unbounded-preload.yml +7 -6
- package/node_modules/pi-lens/rules/ast-grep-rules/rules-disabled/shadow-err-variable.yml +6 -5
- package/node_modules/pi-lens/scripts/analyze-pi-lens-logs.mjs +262 -3
- package/node_modules/pi-lens/scripts/lib/latency-log-phases.mjs +125 -0
- package/package.json +6 -6
- package/node_modules/pi-lens/dist/chunk-3QWVOBZJ.js +0 -73
- package/node_modules/pi-lens/dist/chunk-BDR5MEZY.js +0 -25
- package/node_modules/pi-lens/dist/chunk-DBS736MA.js +0 -57
- package/node_modules/pi-lens/dist/chunk-I74RQGKA.js +0 -88
- package/node_modules/pi-lens/dist/chunk-IK4YS3KC.js +0 -25
- package/node_modules/pi-lens/dist/chunk-JKOZ2Z4U.js +0 -20
- package/node_modules/pi-lens/dist/chunk-TQHOKMVZ.js +0 -28
- package/node_modules/pi-lens/dist/chunk-VS2L7QDI.js +0 -25
- package/node_modules/pi-lens/dist/chunk-ZPFLHB3R.js +0 -28
|
@@ -431,6 +431,61 @@ function expand_(str, max, maxLength, maxDepth, depth, maxRewrites, isTop) {
|
|
|
431
431
|
return acc;
|
|
432
432
|
}
|
|
433
433
|
|
|
434
|
+
// node_modules/@isaacs/nonrecursive-glob-match/dist/esm/numeric-range.js
|
|
435
|
+
var digit = (a, b) => a === b ? { t: "lit", ch: String(a) } : { t: "class", re: new RegExp(`^[${a}-${b}]$`) };
|
|
436
|
+
var prefix = (d, alts) => alts.map((s) => [digit(d, d), ...s]);
|
|
437
|
+
var fixed = (a, b) => {
|
|
438
|
+
if (!a)
|
|
439
|
+
return [[]];
|
|
440
|
+
let lo = +a[0];
|
|
441
|
+
let hi = +b[0];
|
|
442
|
+
const ra = a.slice(1);
|
|
443
|
+
const rb = b.slice(1);
|
|
444
|
+
if (lo === hi)
|
|
445
|
+
return prefix(lo, fixed(ra, rb));
|
|
446
|
+
const zeros = "0".repeat(ra.length);
|
|
447
|
+
const nines = "9".repeat(ra.length);
|
|
448
|
+
const out = [];
|
|
449
|
+
if (ra !== zeros)
|
|
450
|
+
out.push(...prefix(lo++, fixed(ra, nines)));
|
|
451
|
+
const last = rb === nines ? [] : prefix(hi--, fixed(zeros, rb));
|
|
452
|
+
if (lo <= hi) {
|
|
453
|
+
out.push([digit(lo, hi), ...Array.from(ra, () => digit(0, 9))]);
|
|
454
|
+
}
|
|
455
|
+
out.push(...last);
|
|
456
|
+
return out;
|
|
457
|
+
};
|
|
458
|
+
var nonneg = (a, b, width) => {
|
|
459
|
+
if (width) {
|
|
460
|
+
return fixed(String(a).padStart(width, "0"), String(b).padStart(width, "0"));
|
|
461
|
+
}
|
|
462
|
+
const out = [];
|
|
463
|
+
for (let len = String(a).length; len <= String(b).length; len++) {
|
|
464
|
+
const lo = Math.max(a, len === 1 ? 0 : 10 ** (len - 1));
|
|
465
|
+
const hi = Math.min(b, 10 ** len - 1);
|
|
466
|
+
out.push(...fixed(String(lo), String(hi)));
|
|
467
|
+
}
|
|
468
|
+
return out;
|
|
469
|
+
};
|
|
470
|
+
var numericRange = (loStr, hiStr) => {
|
|
471
|
+
let lo = Number(loStr);
|
|
472
|
+
let hi = Number(hiStr);
|
|
473
|
+
if (!Number.isSafeInteger(lo) || !Number.isSafeInteger(hi))
|
|
474
|
+
return;
|
|
475
|
+
if (lo > hi)
|
|
476
|
+
[lo, hi] = [hi, lo];
|
|
477
|
+
const padded = /^-?0\d/.test(loStr) || /^-?0\d/.test(hiStr);
|
|
478
|
+
const width = padded ? Math.max(loStr.length, hiStr.length) : 0;
|
|
479
|
+
const out = [];
|
|
480
|
+
if (lo < 0) {
|
|
481
|
+
const neg = nonneg(Math.max(-hi, 1), -lo, width && width - 1);
|
|
482
|
+
out.push(...neg.map((s) => [{ t: "lit", ch: "-" }, ...s]));
|
|
483
|
+
}
|
|
484
|
+
if (hi >= 0)
|
|
485
|
+
out.push(...nonneg(Math.max(lo, 0), hi, width));
|
|
486
|
+
return out;
|
|
487
|
+
};
|
|
488
|
+
|
|
434
489
|
// node_modules/@isaacs/nonrecursive-glob-match/dist/esm/parse-class.js
|
|
435
490
|
var posixClasses = {
|
|
436
491
|
"[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}"],
|
|
@@ -567,10 +622,24 @@ var litMatch = (l, c) => {
|
|
|
567
622
|
ascii[code] ||= l.re.test(c) ? 1 : 2;
|
|
568
623
|
return ascii[code] === 1;
|
|
569
624
|
};
|
|
570
|
-
var tokenize = (p, nocase, noext, form) => {
|
|
625
|
+
var tokenize = (p, nocase, noext, form, mark) => {
|
|
571
626
|
const toks = [];
|
|
572
627
|
for (let i = 0; i < p.length; ) {
|
|
573
628
|
const c = String.fromCodePoint(p.codePointAt(i));
|
|
629
|
+
if (mark) {
|
|
630
|
+
const m = c === "\\" && p.startsWith(mark, i + 1) ? 1 : 0;
|
|
631
|
+
if (m || c === mark) {
|
|
632
|
+
const start = i + m + mark.length;
|
|
633
|
+
const end = p.indexOf(mark, start);
|
|
634
|
+
const r = /^(-?\d+)\.\.(-?\d+)$/.exec(p.slice(start, end));
|
|
635
|
+
const alts = end !== -1 && r && numericRange(r[1], r[2]);
|
|
636
|
+
if (alts) {
|
|
637
|
+
toks.push({ t: "ext", type: "@", alts });
|
|
638
|
+
i = end + mark.length;
|
|
639
|
+
continue;
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
}
|
|
574
643
|
if (c === "\\") {
|
|
575
644
|
const e = p.codePointAt(i + 1);
|
|
576
645
|
const ch = e === void 0 ? c : String.fromCodePoint(e);
|
|
@@ -1065,7 +1134,7 @@ var Matcher = class {
|
|
|
1065
1134
|
const { nocase = false, noext = false, normalize: n } = options;
|
|
1066
1135
|
this.#form = n === true ? "NFC" : n || void 0;
|
|
1067
1136
|
const literal2 = /^[?*+@]\(\)$/.test(pattern);
|
|
1068
|
-
const toks = tokenize(pattern, nocase, noext || literal2, this.#form);
|
|
1137
|
+
const toks = tokenize(pattern, nocase, noext || literal2, this.#form, options.rangeMark);
|
|
1069
1138
|
let [items] = build(toks, pair(toks), 0, toks.length, true);
|
|
1070
1139
|
if (this.#form)
|
|
1071
1140
|
items = normalize(items, this.#form);
|
|
@@ -1142,7 +1211,7 @@ var Matcher = class {
|
|
|
1142
1211
|
if (chars !== void 0 && (chars.length < min || chars.length > max)) {
|
|
1143
1212
|
return false;
|
|
1144
1213
|
}
|
|
1145
|
-
const
|
|
1214
|
+
const prefix2 = this.#prefix.length;
|
|
1146
1215
|
if (this.#affix) {
|
|
1147
1216
|
if (this.#prefixStr !== void 0 && this.#suffixStr !== void 0) {
|
|
1148
1217
|
if (!s.startsWith(this.#prefixStr) || !s.endsWith(this.#suffixStr)) {
|
|
@@ -1160,13 +1229,13 @@ var Matcher = class {
|
|
|
1160
1229
|
if (this.#linear) {
|
|
1161
1230
|
if (s === "." || s === "..")
|
|
1162
1231
|
return false;
|
|
1163
|
-
if (dotStart && !
|
|
1232
|
+
if (dotStart && !prefix2)
|
|
1164
1233
|
return false;
|
|
1165
1234
|
if (this.#wild)
|
|
1166
1235
|
return true;
|
|
1167
1236
|
chars ??= codePoints(s);
|
|
1168
1237
|
const end = chars.length - this.#suffix.length;
|
|
1169
|
-
return testLinear(this.#linear, chars,
|
|
1238
|
+
return testLinear(this.#linear, chars, prefix2, end);
|
|
1170
1239
|
}
|
|
1171
1240
|
chars ??= codePoints(s);
|
|
1172
1241
|
if (s === "." || s === "..") {
|
|
@@ -1295,6 +1364,8 @@ var braceExpand = (pattern, options = {}) => {
|
|
|
1295
1364
|
return expand(pattern, { max: options.braceExpandMax });
|
|
1296
1365
|
};
|
|
1297
1366
|
minimatch.braceExpand = braceExpand;
|
|
1367
|
+
var RANGE_MIN = 100;
|
|
1368
|
+
var rangeRe = /(?<![\\$])\{(-?\d+)\.\.(-?\d+)\}/g;
|
|
1298
1369
|
var match = (list, pattern, options = {}) => {
|
|
1299
1370
|
const mm = new Minimatch(pattern, options);
|
|
1300
1371
|
list = list.filter((f) => mm.match(f));
|
|
@@ -1458,6 +1529,8 @@ var Minimatch = class {
|
|
|
1458
1529
|
#matchers = /* @__PURE__ */ new Map();
|
|
1459
1530
|
// parse() returns PENDING in place of a Matcher
|
|
1460
1531
|
#pending = false;
|
|
1532
|
+
// the char that marks numeric ranges in globSet, if any
|
|
1533
|
+
#rangeMark;
|
|
1461
1534
|
// the GlobstarParts of each pattern row, by start index and partial
|
|
1462
1535
|
#globstarParts = /* @__PURE__ */ new WeakMap();
|
|
1463
1536
|
constructor(pattern, options = {}) {
|
|
@@ -1561,7 +1634,7 @@ var Minimatch = class {
|
|
|
1561
1634
|
return;
|
|
1562
1635
|
}
|
|
1563
1636
|
this.parseNegate();
|
|
1564
|
-
this.globSet = [...new Set(this
|
|
1637
|
+
this.globSet = [...new Set(this.#expandBraces())];
|
|
1565
1638
|
const rawGlobParts = this.globSet.map((s) => this.#slashSplit(s));
|
|
1566
1639
|
this.globParts = this.preprocess(rawGlobParts);
|
|
1567
1640
|
this.#pending = true;
|
|
@@ -1947,6 +2020,8 @@ var Minimatch = class {
|
|
|
1947
2020
|
// this WOULD be allowed if ** did follow symlinks, or * didn't
|
|
1948
2021
|
firstPhasePreProcess(globParts) {
|
|
1949
2022
|
const { braceExpandMax = 1e5 } = this.options;
|
|
2023
|
+
let splitCells = 0;
|
|
2024
|
+
const maxSplitCells = 1e6;
|
|
1950
2025
|
let didSomething = false;
|
|
1951
2026
|
do {
|
|
1952
2027
|
didSomething = false;
|
|
@@ -1965,13 +2040,18 @@ var Minimatch = class {
|
|
|
1965
2040
|
const p2 = parts[gs + 3];
|
|
1966
2041
|
if (next !== "..")
|
|
1967
2042
|
continue;
|
|
1968
|
-
if (!p || p === "." || p === ".." || !p2 || p2 === "." || p2 === ".."
|
|
2043
|
+
if (!p || p === "." || p === ".." || !p2 || p2 === "." || p2 === "..") {
|
|
1969
2044
|
continue;
|
|
1970
2045
|
}
|
|
2046
|
+
const addedCells = parts.length - 1;
|
|
2047
|
+
if (globParts.length >= braceExpandMax || splitCells + addedCells > maxSplitCells) {
|
|
2048
|
+
throw new RangeError(`optimizationLevel 2: too many patterns from '**/..'`);
|
|
2049
|
+
}
|
|
1971
2050
|
didSomething = true;
|
|
1972
2051
|
parts.splice(gs, 1);
|
|
1973
2052
|
const other = parts.slice(0);
|
|
1974
2053
|
other[gs] = "**";
|
|
2054
|
+
splitCells += addedCells;
|
|
1975
2055
|
globParts.push(other);
|
|
1976
2056
|
gs--;
|
|
1977
2057
|
}
|
|
@@ -2010,62 +2090,53 @@ var Minimatch = class {
|
|
|
2010
2090
|
return globParts;
|
|
2011
2091
|
}
|
|
2012
2092
|
// second phase: multi-pattern dedupes
|
|
2013
|
-
// {<pre>/*/<rest>,<pre>/<p>/<rest>} -> <pre>/*/<rest>
|
|
2014
2093
|
// {<pre>/<rest>,<pre>/<rest>} -> <pre>/<rest>
|
|
2015
|
-
// {<pre
|
|
2016
|
-
//
|
|
2017
|
-
// {<pre>/**/<rest>,<pre>/**/<p>/<rest>} -> <pre>/**/<rest>
|
|
2018
|
-
// ^-- not valid because ** doens't follow symlinks
|
|
2094
|
+
// {<pre>/*/<rest>,<pre>/<p>/<rest>} -> <pre>/*/<rest>
|
|
2019
2095
|
secondPhasePreProcess(globParts) {
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2096
|
+
const keys = /* @__PURE__ */ new Set();
|
|
2097
|
+
const rows = globParts.filter((parts) => {
|
|
2098
|
+
const key = parts.join("/");
|
|
2099
|
+
if (keys.has(key))
|
|
2100
|
+
return false;
|
|
2101
|
+
keys.add(key);
|
|
2102
|
+
return true;
|
|
2103
|
+
});
|
|
2104
|
+
const stars = /* @__PURE__ */ new Map();
|
|
2105
|
+
for (const parts of rows) {
|
|
2106
|
+
const s = [];
|
|
2107
|
+
for (let i = 0; i < parts.length; i++) {
|
|
2108
|
+
if (parts[i] === "*")
|
|
2109
|
+
s.push(i);
|
|
2110
|
+
}
|
|
2111
|
+
if (s.length)
|
|
2112
|
+
stars.set(s.join(","), s);
|
|
2113
|
+
}
|
|
2114
|
+
if (!stars.size || rows.length * stars.size > 1e5)
|
|
2115
|
+
return rows;
|
|
2116
|
+
const { dot } = this.options;
|
|
2117
|
+
return rows.filter((parts) => {
|
|
2118
|
+
for (const s of stars.values()) {
|
|
2119
|
+
if (s[s.length - 1] >= parts.length)
|
|
2120
|
+
continue;
|
|
2121
|
+
const c = [...parts];
|
|
2122
|
+
let ok = true;
|
|
2123
|
+
let changed = false;
|
|
2124
|
+
for (const i of s) {
|
|
2125
|
+
const p = parts[i];
|
|
2126
|
+
if (p === "*")
|
|
2127
|
+
continue;
|
|
2128
|
+
if (!p || p === "**" || !dot && p.startsWith(".")) {
|
|
2129
|
+
ok = false;
|
|
2130
|
+
break;
|
|
2131
|
+
}
|
|
2132
|
+
c[i] = "*";
|
|
2133
|
+
changed = true;
|
|
2029
2134
|
}
|
|
2030
|
-
|
|
2031
|
-
}
|
|
2032
|
-
return globParts.filter((gs) => gs.length);
|
|
2033
|
-
}
|
|
2034
|
-
partsMatch(a, b, emptyGSMatch = false) {
|
|
2035
|
-
let ai = 0;
|
|
2036
|
-
let bi = 0;
|
|
2037
|
-
let result = [];
|
|
2038
|
-
let which = "";
|
|
2039
|
-
while (ai < a.length && bi < b.length) {
|
|
2040
|
-
if (a[ai] === b[bi]) {
|
|
2041
|
-
result.push(which === "b" ? b[bi] : a[ai]);
|
|
2042
|
-
ai++;
|
|
2043
|
-
bi++;
|
|
2044
|
-
} else if (emptyGSMatch && a[ai] === "**" && b[bi] === a[ai + 1]) {
|
|
2045
|
-
result.push(a[ai]);
|
|
2046
|
-
ai++;
|
|
2047
|
-
} else if (emptyGSMatch && b[bi] === "**" && a[ai] === b[bi + 1]) {
|
|
2048
|
-
result.push(b[bi]);
|
|
2049
|
-
bi++;
|
|
2050
|
-
} else if (a[ai] === "*" && b[bi] && (this.options.dot || !b[bi].startsWith(".")) && b[bi] !== "**") {
|
|
2051
|
-
if (which === "b")
|
|
2135
|
+
if (ok && changed && keys.has(c.join("/")))
|
|
2052
2136
|
return false;
|
|
2053
|
-
which = "a";
|
|
2054
|
-
result.push(a[ai]);
|
|
2055
|
-
ai++;
|
|
2056
|
-
bi++;
|
|
2057
|
-
} else if (b[bi] === "*" && a[ai] && (this.options.dot || !a[ai].startsWith(".")) && a[ai] !== "**") {
|
|
2058
|
-
if (which === "a")
|
|
2059
|
-
return false;
|
|
2060
|
-
which = "b";
|
|
2061
|
-
result.push(b[bi]);
|
|
2062
|
-
ai++;
|
|
2063
|
-
bi++;
|
|
2064
|
-
} else {
|
|
2065
|
-
return false;
|
|
2066
2137
|
}
|
|
2067
|
-
|
|
2068
|
-
|
|
2138
|
+
return true;
|
|
2139
|
+
});
|
|
2069
2140
|
}
|
|
2070
2141
|
parseNegate() {
|
|
2071
2142
|
if (this.nonegate)
|
|
@@ -2275,6 +2346,44 @@ var Minimatch = class {
|
|
|
2275
2346
|
braceExpand() {
|
|
2276
2347
|
return braceExpand(this.pattern, this.options);
|
|
2277
2348
|
}
|
|
2349
|
+
// Expand braces, except numeric ranges such as {0..999} with at
|
|
2350
|
+
// least RANGE_MIN values. Each of those stays in its pattern as
|
|
2351
|
+
// `<mark>0..999<mark>`, for the Matcher to test. If a range might
|
|
2352
|
+
// be inside a [...] class, expand all of them instead.
|
|
2353
|
+
#expandBraces() {
|
|
2354
|
+
const { pattern } = this;
|
|
2355
|
+
if (this.options.nobrace)
|
|
2356
|
+
return this.braceExpand();
|
|
2357
|
+
let code = 57344;
|
|
2358
|
+
while (pattern.includes(String.fromCharCode(code))) {
|
|
2359
|
+
if (++code > 63743)
|
|
2360
|
+
return this.braceExpand();
|
|
2361
|
+
}
|
|
2362
|
+
const mark = String.fromCharCode(code);
|
|
2363
|
+
let found = false;
|
|
2364
|
+
const marked = pattern.replace(rangeRe, (m, lo, hi) => {
|
|
2365
|
+
const a = Number(lo);
|
|
2366
|
+
const b = Number(hi);
|
|
2367
|
+
if (!Number.isSafeInteger(a) || !Number.isSafeInteger(b) || Math.abs(a - b) + 1 < RANGE_MIN) {
|
|
2368
|
+
return m;
|
|
2369
|
+
}
|
|
2370
|
+
found = true;
|
|
2371
|
+
return `${mark}${lo}..${hi}${mark}`;
|
|
2372
|
+
});
|
|
2373
|
+
if (!found)
|
|
2374
|
+
return this.braceExpand();
|
|
2375
|
+
const set = braceExpand(marked, this.options);
|
|
2376
|
+
for (const p of set) {
|
|
2377
|
+
for (const portion of p.split("/")) {
|
|
2378
|
+
const c = portion.indexOf("[");
|
|
2379
|
+
if (c !== -1 && c < portion.lastIndexOf(mark)) {
|
|
2380
|
+
return this.braceExpand();
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2383
|
+
}
|
|
2384
|
+
this.#rangeMark = mark;
|
|
2385
|
+
return set;
|
|
2386
|
+
}
|
|
2278
2387
|
parse(pattern) {
|
|
2279
2388
|
assertValidPattern(pattern);
|
|
2280
2389
|
const options = this.options;
|
|
@@ -2283,7 +2392,8 @@ var Minimatch = class {
|
|
|
2283
2392
|
if (pattern === "")
|
|
2284
2393
|
return "";
|
|
2285
2394
|
const { nocase, nocaseMagicOnly, noext = false, dot, normalize: normalize2 } = options;
|
|
2286
|
-
const
|
|
2395
|
+
const rangeMark = this.#rangeMark;
|
|
2396
|
+
const lit2 = rangeMark && pattern.includes(rangeMark) ? void 0 : literal(pattern, noext);
|
|
2287
2397
|
if (lit2 !== void 0 && !(nocase && !nocaseMagicOnly && pattern.toUpperCase() !== pattern.toLowerCase())) {
|
|
2288
2398
|
return this.#norm(lit2);
|
|
2289
2399
|
}
|
|
@@ -2291,7 +2401,13 @@ var Minimatch = class {
|
|
|
2291
2401
|
return PENDING;
|
|
2292
2402
|
let m = this.#matchers.get(pattern);
|
|
2293
2403
|
if (!m) {
|
|
2294
|
-
m = new Matcher(pattern, {
|
|
2404
|
+
m = new Matcher(pattern, {
|
|
2405
|
+
nocase,
|
|
2406
|
+
noext,
|
|
2407
|
+
dot,
|
|
2408
|
+
normalize: normalize2,
|
|
2409
|
+
...rangeMark && { rangeMark }
|
|
2410
|
+
});
|
|
2295
2411
|
this.#matchers.set(pattern, m);
|
|
2296
2412
|
}
|
|
2297
2413
|
return m;
|
|
@@ -1,29 +1,32 @@
|
|
|
1
1
|
import { createRequire as __pilensCreateRequire } from "node:module"; const require = __pilensCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
getStartupScanMaxSourceFilesDerived
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IT7MFVGP.js";
|
|
5
5
|
import {
|
|
6
6
|
shouldRecurseIntoDir,
|
|
7
7
|
walkTreeStackAsync,
|
|
8
8
|
walkTreeStackSync
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-C2REOMPO.js";
|
|
10
10
|
import {
|
|
11
11
|
getProjectIgnoreMatcher
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DNB4ZQGN.js";
|
|
13
|
+
import {
|
|
14
|
+
isJstsFactFile
|
|
15
|
+
} from "./chunk-SRXYSLMW.js";
|
|
13
16
|
import {
|
|
14
17
|
getDirectoryMarkers,
|
|
15
18
|
registerWorkspaceTopologyReset
|
|
16
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3R3Z54J7.js";
|
|
17
20
|
import {
|
|
18
21
|
lazyEnvNumber
|
|
19
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-K2GV34T2.js";
|
|
20
23
|
import {
|
|
21
24
|
BoundedLruCache,
|
|
22
25
|
isAtOrAboveHomeDir,
|
|
23
26
|
normalizeMapKey,
|
|
24
27
|
realpathOrResolve,
|
|
25
28
|
walkUpDirs
|
|
26
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-WLD6BGON.js";
|
|
27
30
|
|
|
28
31
|
// dist/clients/startup-scan.js
|
|
29
32
|
import * as os from "node:os";
|
|
@@ -41,7 +44,7 @@ var PROJECT_ROOT_MARKERS = [
|
|
|
41
44
|
|
|
42
45
|
// dist/clients/startup-scan.js
|
|
43
46
|
var MAX_STARTUP_SCAN_ENTRIES = 5e4;
|
|
44
|
-
var
|
|
47
|
+
var NON_JSTS_SOURCE_FILE_PATTERN = /\.(py|go|rs|rb)$/;
|
|
45
48
|
var DEFAULT_STARTUP_SCAN_VERDICT_TTL_MS = 24 * 60 * 60 * 1e3;
|
|
46
49
|
var _ttl = lazyEnvNumber("PI_LENS_STARTUP_SCAN_VERDICT_TTL_MS", DEFAULT_STARTUP_SCAN_VERDICT_TTL_MS);
|
|
47
50
|
var getStartupScanVerdictTtlMs = _ttl.get;
|
|
@@ -85,7 +88,7 @@ function makeSourceCountVisitor(state, ignoreMatcher, limit, maxEntries) {
|
|
|
85
88
|
}
|
|
86
89
|
return recurse ? "recurse" : "skip";
|
|
87
90
|
}
|
|
88
|
-
if (entry.isFile() &&
|
|
91
|
+
if (entry.isFile() && (isJstsFactFile(entry.name) || NON_JSTS_SOURCE_FILE_PATTERN.test(entry.name)) && !ignoreMatcher.isIgnored(fullPath, false)) {
|
|
89
92
|
state.count += 1;
|
|
90
93
|
if (state.count > limit)
|
|
91
94
|
return "stop";
|
|
@@ -2,24 +2,27 @@ import { createRequire as __pilensCreateRequire } from "node:module"; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
getScratchTreeGlobPatterns,
|
|
4
4
|
nestedWorktreeOffsets
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-D5L7Q57Z.js";
|
|
6
6
|
import {
|
|
7
7
|
SecurityScanClient
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QDZ3ZZMY.js";
|
|
9
|
+
import {
|
|
10
|
+
parseReportJson
|
|
11
|
+
} from "./chunk-DPDA3ILA.js";
|
|
9
12
|
import {
|
|
10
13
|
safeSpawnAsync
|
|
11
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DNB4ZQGN.js";
|
|
12
15
|
import {
|
|
13
16
|
loadPiLensProjectConfig
|
|
14
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6EIV3H7O.js";
|
|
15
18
|
import {
|
|
16
19
|
incrementDegradationCount
|
|
17
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AGEQRJ5A.js";
|
|
18
21
|
import {
|
|
19
22
|
isUnderDir,
|
|
20
23
|
normalizeMapKey,
|
|
21
24
|
toPosix
|
|
22
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-WLD6BGON.js";
|
|
23
26
|
|
|
24
27
|
// dist/clients/trivy-client.js
|
|
25
28
|
import * as fs from "node:fs";
|
|
@@ -228,7 +231,15 @@ var TrivyClient = class extends SecurityScanClient {
|
|
|
228
231
|
scannedAt
|
|
229
232
|
};
|
|
230
233
|
},
|
|
231
|
-
|
|
234
|
+
// Only master's three fields: the failure's raw parts (stderr, status,
|
|
235
|
+
// outcome) stay in the ledger lane, never in a result that is cached
|
|
236
|
+
// on success (round-1 review of #5440, F1).
|
|
237
|
+
fail: ({ success, scannedAt, summary }) => ({
|
|
238
|
+
...EMPTY_RESULT,
|
|
239
|
+
success: success === true,
|
|
240
|
+
scannedAt,
|
|
241
|
+
summary
|
|
242
|
+
})
|
|
232
243
|
});
|
|
233
244
|
}
|
|
234
245
|
};
|
|
@@ -242,12 +253,7 @@ function normalizeSeverity(raw) {
|
|
|
242
253
|
function parseTrivyReport(raw) {
|
|
243
254
|
if (!raw.trim())
|
|
244
255
|
return [];
|
|
245
|
-
|
|
246
|
-
try {
|
|
247
|
-
parsed = JSON.parse(raw);
|
|
248
|
-
} catch {
|
|
249
|
-
return [];
|
|
250
|
-
}
|
|
256
|
+
const parsed = parseReportJson("trivy", raw);
|
|
251
257
|
const results = parsed?.Results;
|
|
252
258
|
if (!Array.isArray(results))
|
|
253
259
|
return [];
|
|
@@ -285,12 +291,7 @@ function parseTrivyReport(raw) {
|
|
|
285
291
|
function parseTrivySecrets(raw) {
|
|
286
292
|
if (!raw.trim())
|
|
287
293
|
return [];
|
|
288
|
-
|
|
289
|
-
try {
|
|
290
|
-
parsed = JSON.parse(raw);
|
|
291
|
-
} catch {
|
|
292
|
-
return [];
|
|
293
|
-
}
|
|
294
|
+
const parsed = parseReportJson("trivy", raw);
|
|
294
295
|
const results = parsed?.Results;
|
|
295
296
|
if (!Array.isArray(results))
|
|
296
297
|
return [];
|
|
@@ -324,12 +325,7 @@ function parseTrivySecrets(raw) {
|
|
|
324
325
|
function parseTrivyLicenses(raw) {
|
|
325
326
|
if (!raw.trim())
|
|
326
327
|
return [];
|
|
327
|
-
|
|
328
|
-
try {
|
|
329
|
-
parsed = JSON.parse(raw);
|
|
330
|
-
} catch {
|
|
331
|
-
return [];
|
|
332
|
-
}
|
|
328
|
+
const parsed = parseReportJson("trivy", raw);
|
|
333
329
|
const results = parsed?.Results;
|
|
334
330
|
if (!Array.isArray(results))
|
|
335
331
|
return [];
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
MAX_SESSION_FACT_RECORDS,
|
|
5
5
|
getFactStoreEvictionReporter,
|
|
6
6
|
setFactStoreEvictionReporter
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-O6LCSHHI.js";
|
|
8
|
+
import "./chunk-WLD6BGON.js";
|
|
9
9
|
import "./chunk-NXL4FFQQ.js";
|
|
10
10
|
export {
|
|
11
11
|
FactStore,
|