0sec-cli 0.18.0 → 0.22.0
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/{0sec.js → 0.js} +90 -82
- package/LICENSE +1 -1
- package/README.md +62 -46
- package/chunks/adapt-loop-7I57LXXR.js +18 -0
- package/chunks/{adgraph-JLGA6RYI.js → adgraph-AUDQTBYA.js} +5 -5
- package/chunks/agent/skills/frameworks/entra-id.yaml +2 -2
- package/chunks/agent/skills/techniques/assumption-mining.yaml +2 -2
- package/chunks/agent/skills/techniques/cve-poc-adaptation.yaml +2 -2
- package/chunks/agent/skills/techniques/entra-attack-paths.yaml +1 -1
- package/chunks/agent/skills/techniques/kernel-weaponization.yaml +1 -1
- package/chunks/agent/skills/techniques/llm-prompt-injection.yaml +2 -2
- package/chunks/agent/skills/techniques/npm-ecosystem.yaml +1 -1
- package/chunks/agent/skills/techniques/poc-verification.yaml +1 -1
- package/chunks/agent/skills/techniques/seedless-depth-review.yaml +20 -38
- package/chunks/{artifact-scraper-HQ7HLP6V.js → artifact-scraper-PYZ3RU3O.js} +6 -6
- package/chunks/{assumption-mining-5SNIVVDN.js → assumption-mining-MFLF43IR.js} +24 -26
- package/chunks/{chunk-7DQEV5QI.js → chunk-23DG5YKS.js} +4 -4
- package/chunks/{chunk-UR4ELX2Y.js → chunk-2GV4HQKE.js} +340 -703
- package/chunks/{chunk-P6WKNFWX.js → chunk-2OQOQ2FZ.js} +8 -8
- package/chunks/{chunk-5G3ZXFBW.js → chunk-2WNCI664.js} +3 -3
- package/chunks/{chunk-DW5UWPFY.js → chunk-4VGLO2YS.js} +6 -5
- package/chunks/{chunk-KLTNTE2Z.js → chunk-5IBCBQEH.js} +13 -14
- package/chunks/{chunk-N7BOUYEV.js → chunk-5MWAG3FT.js} +14 -14
- package/chunks/{chunk-OEFNRYI2.js → chunk-6GHSR47F.js} +3 -6
- package/chunks/chunk-6YNKRUMC.js +4474 -0
- package/chunks/{chunk-6L26OBWI.js → chunk-76KSBWOQ.js} +255 -35
- package/chunks/chunk-7DEHG7YT.js +2143 -0
- package/chunks/{chunk-AD7WXDH6.js → chunk-7UFUALR2.js} +288 -22
- package/chunks/{chunk-53G27VPS.js → chunk-AZ7L3HFD.js} +7 -2
- package/chunks/{chunk-TSK2AG6J.js → chunk-CAYANSH6.js} +173 -1757
- package/chunks/{chunk-SAFFWQW4.js → chunk-DKSCN2AB.js} +7 -7
- package/chunks/{chunk-2JCCA2JL.js → chunk-DM5C5L5D.js} +3 -3
- package/chunks/{chunk-RWONANDA.js → chunk-DQTNI3KY.js} +5 -5
- package/chunks/{chunk-5JI7L7KV.js → chunk-EGZGZFAH.js} +10036 -12938
- package/chunks/{chunk-6LKRLK2R.js → chunk-FHC2B7LN.js} +3 -3
- package/chunks/{chunk-MYVT64FN.js → chunk-GHWODZMR.js} +2 -2
- package/chunks/{chunk-2RMLOJVB.js → chunk-GVD6SJGH.js} +2 -2
- package/chunks/{chunk-SF4KZ4O3.js → chunk-HLFS6WV2.js} +2 -2
- package/chunks/chunk-HR2TU42B.js +1228 -0
- package/chunks/{chunk-BFRB6HB2.js → chunk-HUNAPTKV.js} +3 -3
- package/chunks/chunk-IO7R7WBM.js +114 -0
- package/chunks/{chunk-WEBMRWEG.js → chunk-IXT64DV5.js} +656 -1868
- package/chunks/{chunk-3MOLBTLS.js → chunk-K2PWUPUI.js} +2 -2
- package/chunks/{chunk-WXQ6BJ6A.js → chunk-LCRTAQN2.js} +7 -7
- package/chunks/{chunk-SVJEDVYK.js → chunk-LPTRPRZR.js} +5 -5
- package/chunks/{chunk-CMKXP5RR.js → chunk-LYUAM3TG.js} +3 -3
- package/chunks/{chunk-BVAZO4WA.js → chunk-MICHDTBK.js} +3 -3
- package/chunks/{chunk-UCYRA73C.js → chunk-OAYUPGF6.js} +4 -4
- package/chunks/{chunk-XM5NLHYU.js → chunk-OWLJYJ5O.js} +14 -14
- package/chunks/{chunk-BKZFDZ23.js → chunk-QCUFBVIZ.js} +3 -3
- package/chunks/chunk-RE5EZDG2.js +5523 -0
- package/chunks/{chunk-ASUR522M.js → chunk-RRD4XXPU.js} +9 -9
- package/chunks/{chunk-AHTBZC3E.js → chunk-RSIUX3RW.js} +4 -4
- package/chunks/{chunk-BZNEY2ZS.js → chunk-SJBCK2EI.js} +15268 -16053
- package/chunks/{chunk-IOL7D5YV.js → chunk-SQCBHFWN.js} +3 -3
- package/chunks/chunk-TH2LW437.js +7829 -0
- package/chunks/{chunk-WVTBZEQO.js → chunk-TM74SSHC.js} +8 -8
- package/chunks/{chunk-U5FLXGHT.js → chunk-TO35Y326.js} +13 -729
- package/chunks/chunk-TRH2PJSN.js +547 -0
- package/chunks/{chunk-YYRBQVFE.js → chunk-TZFIAMWZ.js} +70 -16
- package/chunks/chunk-UELXHK2Y.js +1950 -0
- package/chunks/{chunk-RJWOYEOG.js → chunk-UEX7PFSE.js} +5 -5
- package/chunks/{chunk-VQG4FT5D.js → chunk-UFHN6RIU.js} +2 -2
- package/chunks/{chunk-JQHOLLTD.js → chunk-UU7PQP6N.js} +9 -9
- package/chunks/{chunk-BFR2CDV5.js → chunk-UV5QWZGE.js} +283 -153
- package/chunks/{chunk-WU6AFRAZ.js → chunk-V36HVTUL.js} +12 -12
- package/chunks/{chunk-IR537GON.js → chunk-VCSFCHAJ.js} +2 -2
- package/chunks/{chunk-YLMN3N25.js → chunk-VIT5ALXF.js} +3 -3
- package/chunks/{chunk-BATRQBOR.js → chunk-VMRRNRMR.js} +41 -41
- package/chunks/{chunk-72CISA2D.js → chunk-VNRY6AWF.js} +89 -41
- package/chunks/chunk-W6UWZFKL.js +298 -0
- package/chunks/{chunk-3KPWWJCI.js → chunk-XFCTUKXR.js} +88 -88
- package/chunks/{chunk-GMT2AZKM.js → chunk-YIQSGNAA.js} +897 -130
- package/chunks/codex-models-7TLJSY3L.js +17 -0
- package/chunks/{commands-TBC2F5CE.js → commands-NEI7L3QA.js} +2836 -1424
- package/chunks/corpus-v1.json +2 -2
- package/chunks/data/appsec-archetypes.json +2 -2
- package/chunks/data/chromium-archetypes.json +1 -1
- package/chunks/data/freebsd-archetypes.json +1 -1
- package/chunks/data/kernel-archetypes.json +2 -2
- package/chunks/db-5AP3JB4W.js +16 -0
- package/chunks/{disclose-EKTWSCGW.js → disclose-LDNKAVRH.js} +13 -11
- package/chunks/{dist-4YICS2J2.js → dist-3FNZIBB4.js} +394 -404
- package/chunks/{dist-4MAW5X6L.js → dist-5YHYNLI3.js} +6 -6
- package/chunks/{dist-FMGSR3DW.js → dist-DD4H6HMQ.js} +13 -5
- package/chunks/dist-KEULE5IQ.js +21914 -0
- package/chunks/dist-XZB53PS5.js +53 -0
- package/chunks/eval-runner-43BO2C4T.js +26 -0
- package/chunks/example-manifest.json +2 -2
- package/chunks/{exploit-agent-45YQOHPJ.js → exploit-agent-N4A5ELBK.js} +4 -4
- package/chunks/{exploit-autoclimb-UZGEMGYT.js → exploit-autoclimb-N7P6KIF5.js} +6 -6
- package/chunks/{exploit-climb-SG23KB2G.js → exploit-climb-WNEJUB5W.js} +12 -12
- package/chunks/fix-Z452M4EC.js +26 -0
- package/chunks/{github-issues-MJ6OYOOU.js → github-issues-IGTTWM7V.js} +7 -7
- package/chunks/harness-QJJJVSG4.js +22 -0
- package/chunks/http-conformance-U5F6GKYG.js +11 -0
- package/chunks/http-sender-I5XFFY35.js +10 -0
- package/chunks/hunt-scan-K6D2V3PX.js +36 -0
- package/chunks/{identity-6ZAIIWOR.js → identity-62SVRW4H.js} +5 -5
- package/chunks/{kernel-primitive-7U6CWHXD.js → kernel-primitive-TKUACPKD.js} +6 -6
- package/chunks/{kernel-vm-runner-3JAU4O6J.js → kernel-vm-runner-RAAO2PGT.js} +6 -6
- package/chunks/memsafety-scan-FCPAXIZE.js +16 -0
- package/chunks/{native-loop-RJCJPOUS.js → native-loop-2ZRJENZ3.js} +17 -18
- package/chunks/{npm-detectors-KB5Y5ZFX.js → npm-detectors-Z2ZIQCN4.js} +6 -6
- package/chunks/npm-dynamic-discovery-5J7FT3XM.js +13 -0
- package/chunks/orchestrate-2GWGNTBF.js +58 -0
- package/chunks/{pre-recon-cve-66EB6G4M.js → pre-recon-cve-X2K2P5YQ.js} +4 -4
- package/chunks/prepare-KYHGFWCJ.js +13 -0
- package/chunks/process-N245QIQG.js +12 -0
- package/chunks/{run-D56MPDKY.js → run-U3XU4CTC.js} +11507 -13632
- package/chunks/{runtime-G7YWIO3B.js → runtime-G75TEWQY.js} +10 -11
- package/chunks/runtime-XFWJTBUO.js +12 -0
- package/chunks/{scan-stream-FHI2FYZE.js → scan-stream-BMOCPKQX.js} +7 -7
- package/chunks/scope-WXI46UHJ.js +21 -0
- package/chunks/{session-store-GZ4A4KYT.js → session-store-27L3ZU73.js} +6 -6
- package/chunks/source-files-REHOM44I.js +12 -0
- package/chunks/{specdrift-WCLH6TTQ.js → specdrift-AFS54WEJ.js} +5 -5
- package/chunks/token-KRWP5JYA.js +72 -0
- package/chunks/token-util-DWTL33S3.js +8 -0
- package/chunks/variant-candidates-YWZORZMK.js +13 -0
- package/chunks/{web-recon-prepass-JJGPEOLE.js → web-recon-prepass-YVMFXCIK.js} +9 -9
- package/cli-path-traversal-fixture.js +352 -0
- package/dashboard/assets/bot-Bg1Tp9_d.js +1 -0
- package/dashboard/assets/dist-B_dDCPbu.js +1 -0
- package/dashboard/assets/findings-page-mayGhNx6.js +5 -0
- package/dashboard/assets/format--susmHX7.js +1 -0
- package/dashboard/assets/input-TuVPR3Zl.js +1 -0
- package/dashboard/assets/jsx-runtime-MGseXjj5.js +3 -0
- package/dashboard/assets/live-page-HWWHX99U.js +1 -0
- package/dashboard/assets/meta-tile-ckHo-w7k.js +1 -0
- package/dashboard/assets/operations-BxZ0OoXO.js +10 -0
- package/dashboard/assets/operations-CMFVrXEe.css +2 -0
- package/dashboard/assets/operations-app-D3d35rgo.js +46 -0
- package/dashboard/assets/overview-page-W_4IteEr.js +1 -0
- package/dashboard/assets/page-header-Bw9AJgBV.js +1 -0
- package/dashboard/assets/scans-page-CgzVXHnn.js +1 -0
- package/dashboard/assets/siren-KQj8QAnJ.js +1 -0
- package/dashboard/assets/table-8EDklulN.js +1 -0
- package/dashboard/assets/tabs-CFHPOwg8.js +1 -0
- package/dashboard/index.html +4 -5
- package/node_modules/node-addon-api/LICENSE.md +9 -0
- package/node_modules/node-addon-api/README.md +95 -0
- package/node_modules/node-addon-api/common.gypi +21 -0
- package/node_modules/node-addon-api/except.gypi +25 -0
- package/node_modules/node-addon-api/index.js +14 -0
- package/node_modules/node-addon-api/napi-inl.deprecated.h +186 -0
- package/node_modules/node-addon-api/napi-inl.h +7250 -0
- package/node_modules/node-addon-api/napi.h +3463 -0
- package/node_modules/node-addon-api/node_addon_api.gyp +42 -0
- package/node_modules/node-addon-api/node_api.gyp +9 -0
- package/node_modules/node-addon-api/noexcept.gypi +26 -0
- package/node_modules/node-addon-api/nothing.c +0 -0
- package/node_modules/node-addon-api/package-support.json +21 -0
- package/node_modules/node-addon-api/package.json +481 -0
- package/node_modules/node-addon-api/tools/README.md +73 -0
- package/node_modules/node-addon-api/tools/check-napi.js +99 -0
- package/node_modules/node-addon-api/tools/clang-format.js +71 -0
- package/node_modules/node-addon-api/tools/conversion.js +301 -0
- package/node_modules/node-gyp-build/LICENSE +21 -0
- package/node_modules/node-gyp-build/README.md +58 -0
- package/node_modules/node-gyp-build/SECURITY.md +5 -0
- package/node_modules/node-gyp-build/bin.js +84 -0
- package/node_modules/node-gyp-build/build-test.js +19 -0
- package/node_modules/node-gyp-build/index.js +6 -0
- package/node_modules/node-gyp-build/node-gyp-build.js +207 -0
- package/node_modules/node-gyp-build/optional.js +7 -0
- package/node_modules/node-gyp-build/package.json +43 -0
- package/node_modules/tree-sitter/LICENSE +21 -0
- package/node_modules/tree-sitter/README.md +90 -0
- package/node_modules/tree-sitter/binding.gyp +76 -0
- package/node_modules/tree-sitter/index.js +895 -0
- package/node_modules/tree-sitter/package.json +62 -0
- package/node_modules/tree-sitter/prebuilds/darwin-arm64/tree-sitter.node +0 -0
- package/node_modules/tree-sitter/prebuilds/darwin-x64/tree-sitter.node +0 -0
- package/node_modules/tree-sitter/prebuilds/linux-x64/tree-sitter.node +0 -0
- package/node_modules/tree-sitter/prebuilds/win32-x64/tree-sitter.node +0 -0
- package/node_modules/tree-sitter/src/addon_data.h +47 -0
- package/node_modules/tree-sitter/src/binding.cc +35 -0
- package/node_modules/tree-sitter/src/conversions.cc +140 -0
- package/node_modules/tree-sitter/src/conversions.h +22 -0
- package/node_modules/tree-sitter/src/language.cc +106 -0
- package/node_modules/tree-sitter/src/language.h +17 -0
- package/node_modules/tree-sitter/src/logger.cc +70 -0
- package/node_modules/tree-sitter/src/logger.h +19 -0
- package/node_modules/tree-sitter/src/lookaheaditerator.cc +122 -0
- package/node_modules/tree-sitter/src/lookaheaditerator.h +33 -0
- package/node_modules/tree-sitter/src/node.cc +1056 -0
- package/node_modules/tree-sitter/src/node.h +30 -0
- package/node_modules/tree-sitter/src/parser.cc +298 -0
- package/node_modules/tree-sitter/src/parser.h +35 -0
- package/node_modules/tree-sitter/src/query.cc +383 -0
- package/node_modules/tree-sitter/src/query.h +39 -0
- package/node_modules/tree-sitter/src/tree.cc +307 -0
- package/node_modules/tree-sitter/src/tree.h +45 -0
- package/node_modules/tree-sitter/src/tree_cursor.cc +213 -0
- package/node_modules/tree-sitter/src/tree_cursor.h +52 -0
- package/node_modules/tree-sitter/tree-sitter.d.ts +211 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/LICENSE +21 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/README.md +21 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/README.md +6 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/include/tree_sitter/api.h +1266 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/alloc.c +48 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/alloc.h +41 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/array.h +290 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/atomic.h +68 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/clock.h +146 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/error_costs.h +11 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/get_changed_ranges.c +501 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/get_changed_ranges.h +36 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/host.h +21 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/language.c +221 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/language.h +299 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/length.h +52 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/lexer.c +419 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/lexer.h +49 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/lib.c +14 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/node.c +774 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/parser.c +2151 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/parser.h +230 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/point.h +62 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/query.c +4134 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/reduce_action.h +34 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/reusable_node.h +95 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/stack.c +899 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/stack.h +133 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/subtree.c +1060 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/subtree.h +382 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree.c +165 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree.h +31 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree_cursor.c +714 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/tree_cursor.h +48 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/ICU_SHA +1 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/LICENSE +414 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/README.md +29 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/ptypes.h +1 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/umachine.h +448 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/urename.h +1 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/utf.h +1 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/utf16.h +733 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode/utf8.h +881 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/unicode.h +50 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm/stdlib-symbols.txt +23 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm/stdlib.c +109 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm/wasm-stdlib.h +1294 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm_store.c +1823 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/lib/src/wasm_store.h +31 -0
- package/node_modules/tree-sitter/vendor/tree-sitter/test/fixtures/grammars/.gitkeep +0 -0
- package/node_modules/tree-sitter-c/LICENSE +21 -0
- package/node_modules/tree-sitter-c/README.md +18 -0
- package/node_modules/tree-sitter-c/binding.gyp +20 -0
- package/node_modules/tree-sitter-c/bindings/node/binding.cc +20 -0
- package/node_modules/tree-sitter-c/bindings/node/index.d.ts +28 -0
- package/node_modules/tree-sitter-c/bindings/node/index.js +7 -0
- package/node_modules/tree-sitter-c/grammar.js +1463 -0
- package/node_modules/tree-sitter-c/package.json +108 -0
- package/node_modules/tree-sitter-c/prebuilds/darwin-arm64/tree-sitter-c.node +0 -0
- package/node_modules/tree-sitter-c/prebuilds/darwin-x64/tree-sitter-c.node +0 -0
- package/node_modules/tree-sitter-c/prebuilds/linux-x64/tree-sitter-c.node +0 -0
- package/node_modules/tree-sitter-c/prebuilds/win32-x64/tree-sitter-c.node +0 -0
- package/node_modules/tree-sitter-c/queries/highlights.scm +81 -0
- package/node_modules/tree-sitter-c/queries/tags.scm +9 -0
- package/node_modules/tree-sitter-c/src/grammar.json +9682 -0
- package/node_modules/tree-sitter-c/src/node-types.json +4556 -0
- package/node_modules/tree-sitter-c/src/parser.c +113852 -0
- package/node_modules/tree-sitter-c/src/tree_sitter/alloc.h +54 -0
- package/node_modules/tree-sitter-c/src/tree_sitter/array.h +290 -0
- package/node_modules/tree-sitter-c/src/tree_sitter/parser.h +265 -0
- package/package.json +20 -13
- package/vendor/tree-sitter-0.21.1-node24.json +16 -0
- package/vendor/tree-sitter-0.21.1-node24.tgz +0 -0
- package/chunks/adapt-loop-SMH6V4PD.js +0 -18
- package/chunks/appsec-catalog-CBWHGTEL.js +0 -24
- package/chunks/chunk-242TMK6G.js +0 -110
- package/chunks/chunk-57ZENEX2.js +0 -169
- package/chunks/chunk-ADOLI6DT.js +0 -102
- package/chunks/chunk-ATATQACO.js +0 -471
- package/chunks/chunk-C2WXWFBB.js +0 -1070
- package/chunks/chunk-F3WBKITT.js +0 -687
- package/chunks/chunk-H2FFLZNK.js +0 -3
- package/chunks/chunk-LP3HHYQU.js +0 -245
- package/chunks/chunk-QI233I24.js +0 -333
- package/chunks/chunk-RRMJC3ZE.js +0 -105
- package/chunks/chunk-Z5FA2XOX.js +0 -2798
- package/chunks/cost-ledger-NU63MYZM.js +0 -13
- package/chunks/db-KFWOAUUB.js +0 -16
- package/chunks/eval-runner-7ZF472KV.js +0 -27
- package/chunks/fix-IG7LYXH3.js +0 -12
- package/chunks/harness-7ODOLOWU.js +0 -22
- package/chunks/http-conformance-DU66MZIU.js +0 -11
- package/chunks/http-sender-GWH2IYEA.js +0 -10
- package/chunks/hunt-scan-MMKUOETU.js +0 -38
- package/chunks/memsafety-scan-J7SECV5W.js +0 -16
- package/chunks/npm-dynamic-discovery-AHROOZDB.js +0 -13
- package/chunks/orchestrate-OC2VZN2X.js +0 -62
- package/chunks/pipeline-BZK5BLJR.js +0 -14
- package/chunks/prepare-MYY743TK.js +0 -13
- package/chunks/process-LQRCS5OY.js +0 -13
- package/chunks/replay-runner-45G3VU7X.js +0 -39
- package/chunks/runtime-J7PLXZNM.js +0 -12
- package/chunks/scope-BI7BF4ZY.js +0 -18
- package/chunks/source-files-PWRQR6LY.js +0 -12
- package/chunks/variant-candidates-YERCYMPD.js +0 -13
- package/dashboard/assets/0sec-icon-66SreztZ.gif +0 -0
- package/dashboard/assets/bot-yILPnRgD.js +0 -1
- package/dashboard/assets/chevron-down-BeDJ-Vka.js +0 -1
- package/dashboard/assets/circle-alert-BEnMBMT-.js +0 -1
- package/dashboard/assets/client-DRYsuOGl.js +0 -9
- package/dashboard/assets/copy-Bi5vzoF9.js +0 -1
- package/dashboard/assets/desktop-CXTQonNm.js +0 -32
- package/dashboard/assets/desktop-NOekk4QS.css +0 -1
- package/dashboard/assets/dist-CmX-h7a4.js +0 -1
- package/dashboard/assets/dist-DAwYQmf_.js +0 -45
- package/dashboard/assets/findings-page-CACW9nw2.js +0 -5
- package/dashboard/assets/format-PoISqsES.js +0 -1
- package/dashboard/assets/jsx-runtime-C7oxC63R.js +0 -1
- package/dashboard/assets/live-page-DrgQqQK5.js +0 -1
- package/dashboard/assets/meta-tile-CcskIV_o.js +0 -1
- package/dashboard/assets/operations-BKE8T-vY.css +0 -2
- package/dashboard/assets/operations-D8nUP5_m.js +0 -4
- package/dashboard/assets/operations-app-CQQhG54n.js +0 -2
- package/dashboard/assets/overview-page-DTGS8dPo.js +0 -1
- package/dashboard/assets/page-header-MFVvEtZW.js +0 -1
- package/dashboard/assets/play-Dwo-9xt6.js +0 -1
- package/dashboard/assets/scans-page-ChVtq8Us.js +0 -1
- package/dashboard/assets/search-CiooTLck.js +0 -1
- package/dashboard/assets/siren-CCBwTSuk.js +0 -1
- package/dashboard/assets/table-BYS-nIVA.js +0 -1
- package/dashboard/assets/tabs-DivxbhQy.js +0 -1
- package/dashboard/desktop.html +0 -21
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
var fs = require('fs')
|
|
2
|
+
var path = require('path')
|
|
3
|
+
var os = require('os')
|
|
4
|
+
|
|
5
|
+
// Workaround to fix webpack's build warnings: 'the request of a dependency is an expression'
|
|
6
|
+
var runtimeRequire = typeof __webpack_require__ === 'function' ? __non_webpack_require__ : require // eslint-disable-line
|
|
7
|
+
|
|
8
|
+
var vars = (process.config && process.config.variables) || {}
|
|
9
|
+
var prebuildsOnly = !!process.env.PREBUILDS_ONLY
|
|
10
|
+
var abi = process.versions.modules // TODO: support old node where this is undef
|
|
11
|
+
var runtime = isElectron() ? 'electron' : (isNwjs() ? 'node-webkit' : 'node')
|
|
12
|
+
|
|
13
|
+
var arch = process.env.npm_config_arch || os.arch()
|
|
14
|
+
var platform = process.env.npm_config_platform || os.platform()
|
|
15
|
+
var libc = process.env.LIBC || (isAlpine(platform) ? 'musl' : 'glibc')
|
|
16
|
+
var armv = process.env.ARM_VERSION || (arch === 'arm64' ? '8' : vars.arm_version) || ''
|
|
17
|
+
var uv = (process.versions.uv || '').split('.')[0]
|
|
18
|
+
|
|
19
|
+
module.exports = load
|
|
20
|
+
|
|
21
|
+
function load (dir) {
|
|
22
|
+
return runtimeRequire(load.resolve(dir))
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
load.resolve = load.path = function (dir) {
|
|
26
|
+
dir = path.resolve(dir || '.')
|
|
27
|
+
|
|
28
|
+
try {
|
|
29
|
+
var name = runtimeRequire(path.join(dir, 'package.json')).name.toUpperCase().replace(/-/g, '_')
|
|
30
|
+
if (process.env[name + '_PREBUILD']) dir = process.env[name + '_PREBUILD']
|
|
31
|
+
} catch (err) {}
|
|
32
|
+
|
|
33
|
+
if (!prebuildsOnly) {
|
|
34
|
+
var release = getFirst(path.join(dir, 'build/Release'), matchBuild)
|
|
35
|
+
if (release) return release
|
|
36
|
+
|
|
37
|
+
var debug = getFirst(path.join(dir, 'build/Debug'), matchBuild)
|
|
38
|
+
if (debug) return debug
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
var prebuild = resolve(dir)
|
|
42
|
+
if (prebuild) return prebuild
|
|
43
|
+
|
|
44
|
+
var nearby = resolve(path.dirname(process.execPath))
|
|
45
|
+
if (nearby) return nearby
|
|
46
|
+
|
|
47
|
+
var target = [
|
|
48
|
+
'platform=' + platform,
|
|
49
|
+
'arch=' + arch,
|
|
50
|
+
'runtime=' + runtime,
|
|
51
|
+
'abi=' + abi,
|
|
52
|
+
'uv=' + uv,
|
|
53
|
+
armv ? 'armv=' + armv : '',
|
|
54
|
+
'libc=' + libc,
|
|
55
|
+
'node=' + process.versions.node,
|
|
56
|
+
process.versions.electron ? 'electron=' + process.versions.electron : '',
|
|
57
|
+
typeof __webpack_require__ === 'function' ? 'webpack=true' : '' // eslint-disable-line
|
|
58
|
+
].filter(Boolean).join(' ')
|
|
59
|
+
|
|
60
|
+
throw new Error('No native build was found for ' + target + '\n loaded from: ' + dir + '\n')
|
|
61
|
+
|
|
62
|
+
function resolve (dir) {
|
|
63
|
+
// Find matching "prebuilds/<platform>-<arch>" directory
|
|
64
|
+
var tuples = readdirSync(path.join(dir, 'prebuilds')).map(parseTuple)
|
|
65
|
+
var tuple = tuples.filter(matchTuple(platform, arch)).sort(compareTuples)[0]
|
|
66
|
+
if (!tuple) return
|
|
67
|
+
|
|
68
|
+
// Find most specific flavor first
|
|
69
|
+
var prebuilds = path.join(dir, 'prebuilds', tuple.name)
|
|
70
|
+
var parsed = readdirSync(prebuilds).map(parseTags)
|
|
71
|
+
var candidates = parsed.filter(matchTags(runtime, abi))
|
|
72
|
+
var winner = candidates.sort(compareTags(runtime))[0]
|
|
73
|
+
if (winner) return path.join(prebuilds, winner.file)
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function readdirSync (dir) {
|
|
78
|
+
try {
|
|
79
|
+
return fs.readdirSync(dir)
|
|
80
|
+
} catch (err) {
|
|
81
|
+
return []
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
function getFirst (dir, filter) {
|
|
86
|
+
var files = readdirSync(dir).filter(filter)
|
|
87
|
+
return files[0] && path.join(dir, files[0])
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
function matchBuild (name) {
|
|
91
|
+
return /\.node$/.test(name)
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
function parseTuple (name) {
|
|
95
|
+
// Example: darwin-x64+arm64
|
|
96
|
+
var arr = name.split('-')
|
|
97
|
+
if (arr.length !== 2) return
|
|
98
|
+
|
|
99
|
+
var platform = arr[0]
|
|
100
|
+
var architectures = arr[1].split('+')
|
|
101
|
+
|
|
102
|
+
if (!platform) return
|
|
103
|
+
if (!architectures.length) return
|
|
104
|
+
if (!architectures.every(Boolean)) return
|
|
105
|
+
|
|
106
|
+
return { name, platform, architectures }
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function matchTuple (platform, arch) {
|
|
110
|
+
return function (tuple) {
|
|
111
|
+
if (tuple == null) return false
|
|
112
|
+
if (tuple.platform !== platform) return false
|
|
113
|
+
return tuple.architectures.includes(arch)
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
function compareTuples (a, b) {
|
|
118
|
+
// Prefer single-arch prebuilds over multi-arch
|
|
119
|
+
return a.architectures.length - b.architectures.length
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
function parseTags (file) {
|
|
123
|
+
var arr = file.split('.')
|
|
124
|
+
var extension = arr.pop()
|
|
125
|
+
var tags = { file: file, specificity: 0 }
|
|
126
|
+
|
|
127
|
+
if (extension !== 'node') return
|
|
128
|
+
|
|
129
|
+
for (var i = 0; i < arr.length; i++) {
|
|
130
|
+
var tag = arr[i]
|
|
131
|
+
|
|
132
|
+
if (tag === 'node' || tag === 'electron' || tag === 'node-webkit') {
|
|
133
|
+
tags.runtime = tag
|
|
134
|
+
} else if (tag === 'napi') {
|
|
135
|
+
tags.napi = true
|
|
136
|
+
} else if (tag.slice(0, 3) === 'abi') {
|
|
137
|
+
tags.abi = tag.slice(3)
|
|
138
|
+
} else if (tag.slice(0, 2) === 'uv') {
|
|
139
|
+
tags.uv = tag.slice(2)
|
|
140
|
+
} else if (tag.slice(0, 4) === 'armv') {
|
|
141
|
+
tags.armv = tag.slice(4)
|
|
142
|
+
} else if (tag === 'glibc' || tag === 'musl') {
|
|
143
|
+
tags.libc = tag
|
|
144
|
+
} else {
|
|
145
|
+
continue
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
tags.specificity++
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
return tags
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
function matchTags (runtime, abi) {
|
|
155
|
+
return function (tags) {
|
|
156
|
+
if (tags == null) return false
|
|
157
|
+
if (tags.runtime && tags.runtime !== runtime && !runtimeAgnostic(tags)) return false
|
|
158
|
+
if (tags.abi && tags.abi !== abi && !tags.napi) return false
|
|
159
|
+
if (tags.uv && tags.uv !== uv) return false
|
|
160
|
+
if (tags.armv && tags.armv !== armv) return false
|
|
161
|
+
if (tags.libc && tags.libc !== libc) return false
|
|
162
|
+
|
|
163
|
+
return true
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
function runtimeAgnostic (tags) {
|
|
168
|
+
return tags.runtime === 'node' && tags.napi
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
function compareTags (runtime) {
|
|
172
|
+
// Precedence: non-agnostic runtime, abi over napi, then by specificity.
|
|
173
|
+
return function (a, b) {
|
|
174
|
+
if (a.runtime !== b.runtime) {
|
|
175
|
+
return a.runtime === runtime ? -1 : 1
|
|
176
|
+
} else if (a.abi !== b.abi) {
|
|
177
|
+
return a.abi ? -1 : 1
|
|
178
|
+
} else if (a.specificity !== b.specificity) {
|
|
179
|
+
return a.specificity > b.specificity ? -1 : 1
|
|
180
|
+
} else {
|
|
181
|
+
return 0
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
function isNwjs () {
|
|
187
|
+
return !!(process.versions && process.versions.nw)
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
function isElectron () {
|
|
191
|
+
if (process.versions && process.versions.electron) return true
|
|
192
|
+
if (process.env.ELECTRON_RUN_AS_NODE) return true
|
|
193
|
+
return typeof window !== 'undefined' && window.process && window.process.type === 'renderer'
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
function isAlpine (platform) {
|
|
197
|
+
return platform === 'linux' && fs.existsSync('/etc/alpine-release')
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// Exposed for unit tests
|
|
201
|
+
// TODO: move to lib
|
|
202
|
+
load.parseTags = parseTags
|
|
203
|
+
load.matchTags = matchTags
|
|
204
|
+
load.compareTags = compareTags
|
|
205
|
+
load.parseTuple = parseTuple
|
|
206
|
+
load.matchTuple = matchTuple
|
|
207
|
+
load.compareTuples = compareTuples
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "node-gyp-build",
|
|
3
|
+
"version": "4.8.4",
|
|
4
|
+
"description": "Build tool and bindings loader for node-gyp that supports prebuilds",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"imports": {
|
|
7
|
+
"fs": {
|
|
8
|
+
"bare": "builtin:fs",
|
|
9
|
+
"default": "fs"
|
|
10
|
+
},
|
|
11
|
+
"path": {
|
|
12
|
+
"bare": "builtin:path",
|
|
13
|
+
"default": "path"
|
|
14
|
+
},
|
|
15
|
+
"os": {
|
|
16
|
+
"bare": "builtin:os",
|
|
17
|
+
"default": "os"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"array-shuffle": "^1.0.1",
|
|
22
|
+
"standard": "^14.0.0",
|
|
23
|
+
"tape": "^5.0.0"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"test": "standard && node test"
|
|
27
|
+
},
|
|
28
|
+
"bin": {
|
|
29
|
+
"node-gyp-build": "./bin.js",
|
|
30
|
+
"node-gyp-build-optional": "./optional.js",
|
|
31
|
+
"node-gyp-build-test": "./build-test.js"
|
|
32
|
+
},
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "https://github.com/prebuild/node-gyp-build.git"
|
|
36
|
+
},
|
|
37
|
+
"author": "Mathias Buus (@mafintosh)",
|
|
38
|
+
"license": "MIT",
|
|
39
|
+
"bugs": {
|
|
40
|
+
"url": "https://github.com/prebuild/node-gyp-build/issues"
|
|
41
|
+
},
|
|
42
|
+
"homepage": "https://github.com/prebuild/node-gyp-build"
|
|
43
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2014 maxbrunsfeld
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
node tree-sitter
|
|
2
|
+
================
|
|
3
|
+
|
|
4
|
+
Incremental parsers for node
|
|
5
|
+
|
|
6
|
+
### Installation
|
|
7
|
+
|
|
8
|
+
```sh
|
|
9
|
+
npm install tree-sitter
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
### Usage
|
|
13
|
+
|
|
14
|
+
First, you'll need a Tree-sitter grammar for the language you want to parse. There are many [existing grammars](https://github.com/tree-sitter) such as [tree-sitter-javascript](http://github.com/tree-sitter/tree-sitter-javascript) and [tree-sitter-go](http://github.com/tree-sitter/tree-sitter-go). You can also develop a new grammar using the [Tree-sitter CLI](https://github.com/tree-sitter/tree-sitter/tree/master/cli).
|
|
15
|
+
|
|
16
|
+
Once you've got your grammar, create a parser with that grammar.
|
|
17
|
+
|
|
18
|
+
```javascript
|
|
19
|
+
const Parser = require('tree-sitter');
|
|
20
|
+
const JavaScript = require('tree-sitter-javascript');
|
|
21
|
+
|
|
22
|
+
const parser = new Parser();
|
|
23
|
+
parser.setLanguage(JavaScript);
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Then you can parse some source code,
|
|
27
|
+
|
|
28
|
+
```javascript
|
|
29
|
+
const sourceCode = 'let x = 1; console.log(x);';
|
|
30
|
+
const tree = parser.parse(sourceCode);
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
and inspect the syntax tree.
|
|
34
|
+
|
|
35
|
+
```javascript
|
|
36
|
+
console.log(tree.rootNode.toString());
|
|
37
|
+
|
|
38
|
+
// (program
|
|
39
|
+
// (lexical_declaration
|
|
40
|
+
// (variable_declarator (identifier) (number)))
|
|
41
|
+
// (expression_statement
|
|
42
|
+
// (call_expression
|
|
43
|
+
// (member_expression (identifier) (property_identifier))
|
|
44
|
+
// (arguments (identifier)))))
|
|
45
|
+
|
|
46
|
+
const callExpression = tree.rootNode.child(1).firstChild;
|
|
47
|
+
console.log(callExpression);
|
|
48
|
+
|
|
49
|
+
// { type: 'call_expression',
|
|
50
|
+
// startPosition: {row: 0, column: 16},
|
|
51
|
+
// endPosition: {row: 0, column: 30},
|
|
52
|
+
// startIndex: 0,
|
|
53
|
+
// endIndex: 30 }
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
If your source code *changes*, you can update the syntax tree. This will take less time than the first parse.
|
|
57
|
+
|
|
58
|
+
```javascript
|
|
59
|
+
// Replace 'let' with 'const'
|
|
60
|
+
const newSourceCode = 'const x = 1; console.log(x);';
|
|
61
|
+
|
|
62
|
+
tree.edit({
|
|
63
|
+
startIndex: 0,
|
|
64
|
+
oldEndIndex: 3,
|
|
65
|
+
newEndIndex: 5,
|
|
66
|
+
startPosition: {row: 0, column: 0},
|
|
67
|
+
oldEndPosition: {row: 0, column: 3},
|
|
68
|
+
newEndPosition: {row: 0, column: 5},
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
const newTree = parser.parse(newSourceCode, tree);
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### Parsing Text From a Custom Data Structure
|
|
75
|
+
|
|
76
|
+
If your text is stored in a data structure other than a single string, you can parse it by supplying a callback to `parse` instead of a string:
|
|
77
|
+
|
|
78
|
+
```javascript
|
|
79
|
+
const sourceLines = [
|
|
80
|
+
'let x = 1;',
|
|
81
|
+
'console.log(x);'
|
|
82
|
+
];
|
|
83
|
+
|
|
84
|
+
const tree = parser.parse((index, position) => {
|
|
85
|
+
let line = sourceLines[position.row];
|
|
86
|
+
if (line) {
|
|
87
|
+
return line.slice(position.column);
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
```
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"targets": [
|
|
3
|
+
{
|
|
4
|
+
"target_name": "tree_sitter_runtime_binding",
|
|
5
|
+
"dependencies": [
|
|
6
|
+
"tree_sitter",
|
|
7
|
+
"<!(node -p \"require('node-addon-api').targets\"):node_addon_api_except",
|
|
8
|
+
],
|
|
9
|
+
"sources": [
|
|
10
|
+
"src/binding.cc",
|
|
11
|
+
"src/conversions.cc",
|
|
12
|
+
"src/language.cc",
|
|
13
|
+
"src/logger.cc",
|
|
14
|
+
"src/lookaheaditerator.cc",
|
|
15
|
+
"src/node.cc",
|
|
16
|
+
"src/parser.cc",
|
|
17
|
+
"src/query.cc",
|
|
18
|
+
"src/tree.cc",
|
|
19
|
+
"src/tree_cursor.cc",
|
|
20
|
+
],
|
|
21
|
+
"include_dirs": [
|
|
22
|
+
"vendor/tree-sitter/lib/include",
|
|
23
|
+
],
|
|
24
|
+
"defines": [
|
|
25
|
+
"NAPI_VERSION=<(napi_build_version)",
|
|
26
|
+
],
|
|
27
|
+
"cflags_cc": [
|
|
28
|
+
"-std=c++20"
|
|
29
|
+
],
|
|
30
|
+
"conditions": [
|
|
31
|
+
["OS=='mac'", {
|
|
32
|
+
"xcode_settings": {
|
|
33
|
+
"GCC_SYMBOLS_PRIVATE_EXTERN": "YES", # -fvisibility=hidden
|
|
34
|
+
"CLANG_CXX_LANGUAGE_STANDARD": "c++20",
|
|
35
|
+
"MACOSX_DEPLOYMENT_TARGET": "10.9",
|
|
36
|
+
},
|
|
37
|
+
}],
|
|
38
|
+
["OS=='win'", {
|
|
39
|
+
"msvs_settings": {
|
|
40
|
+
"VCCLCompilerTool": {
|
|
41
|
+
"AdditionalOptions": [
|
|
42
|
+
"/std:c++20",
|
|
43
|
+
],
|
|
44
|
+
"RuntimeLibrary": 0,
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
}],
|
|
48
|
+
["OS == 'linux'", {
|
|
49
|
+
"cflags_cc": [
|
|
50
|
+
"-Wno-cast-function-type"
|
|
51
|
+
]
|
|
52
|
+
}],
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"target_name": "tree_sitter",
|
|
57
|
+
"type": "static_library",
|
|
58
|
+
"sources": [
|
|
59
|
+
"vendor/tree-sitter/lib/src/lib.c"
|
|
60
|
+
],
|
|
61
|
+
"include_dirs": [
|
|
62
|
+
"vendor/tree-sitter/lib/src",
|
|
63
|
+
"vendor/tree-sitter/lib/include",
|
|
64
|
+
],
|
|
65
|
+
"cflags": [
|
|
66
|
+
"-std=c11"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"variables": {
|
|
71
|
+
"runtime%": "node",
|
|
72
|
+
"openssl_fips": "",
|
|
73
|
+
"v8_enable_pointer_compression%": 0,
|
|
74
|
+
"v8_enable_31bit_smis_on_64bit_arch%": 0,
|
|
75
|
+
}
|
|
76
|
+
}
|