@visulima/vis 3.0.0 → 3.0.1
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 +8 -0
- package/LICENSE.md +5307 -4249
- package/dist/bin.js +1 -1
- package/dist/binx.js +2 -2
- package/dist/config/index.js +1 -1
- package/dist/packem_chunks/CONFIG_FILES.js +6 -6
- package/dist/packem_chunks/DEFAULT_CLEAN_KEEP.js +1 -1
- package/dist/packem_chunks/agent-instructions.js +7 -7
- package/dist/packem_chunks/bloom-status.js +2 -2
- package/dist/packem_chunks/bloom-sync.js +2 -2
- package/dist/packem_chunks/cache-attestation.js +1 -1
- package/dist/packem_chunks/catalog-detector.js +1 -1
- package/dist/packem_chunks/catalog.js +87 -111
- package/dist/packem_chunks/cli-exec.js +1 -1
- package/dist/packem_chunks/cli-main.js +192 -217
- package/dist/packem_chunks/defineReleasePlugin.js +3 -3
- package/dist/packem_chunks/detect.js +8 -3
- package/dist/packem_chunks/devtools.js +1 -1
- package/dist/packem_chunks/discord.js +4 -4
- package/dist/packem_chunks/dispatch.js +4 -4
- package/dist/packem_chunks/doctor-probe.js +2 -2
- package/dist/packem_chunks/extra-files.js +3 -3
- package/dist/packem_chunks/fix.js +11 -11
- package/dist/packem_chunks/git.js +3 -3
- package/dist/packem_chunks/group-tags.js +1 -1
- package/dist/packem_chunks/handler.js +1 -1
- package/dist/packem_chunks/handler10.js +5 -5
- package/dist/packem_chunks/handler11.js +1 -1
- package/dist/packem_chunks/handler12.js +16 -16
- package/dist/packem_chunks/handler13.js +5 -5
- package/dist/packem_chunks/handler14.js +1 -1
- package/dist/packem_chunks/handler15.js +1 -1
- package/dist/packem_chunks/handler16.js +1 -1
- package/dist/packem_chunks/handler17.js +1 -1
- package/dist/packem_chunks/handler18.js +1 -1
- package/dist/packem_chunks/handler19.js +5 -5
- package/dist/packem_chunks/handler2.js +1 -1
- package/dist/packem_chunks/handler20.js +2 -2
- package/dist/packem_chunks/handler21.js +2 -2
- package/dist/packem_chunks/handler22.js +8 -8
- package/dist/packem_chunks/handler23.js +1 -1
- package/dist/packem_chunks/handler24.js +1 -1
- package/dist/packem_chunks/handler25.js +1 -1
- package/dist/packem_chunks/handler26.js +5 -5
- package/dist/packem_chunks/handler27.js +1 -1
- package/dist/packem_chunks/handler28.js +3 -3
- package/dist/packem_chunks/handler29.js +1 -1
- package/dist/packem_chunks/handler3.js +2 -2
- package/dist/packem_chunks/handler30.js +1 -1
- package/dist/packem_chunks/handler31.js +2 -2
- package/dist/packem_chunks/handler32.js +2 -2
- package/dist/packem_chunks/handler33.js +2 -2
- package/dist/packem_chunks/handler34.js +3 -3
- package/dist/packem_chunks/handler35.js +5 -5
- package/dist/packem_chunks/handler36.js +1 -1
- package/dist/packem_chunks/handler37.js +2 -2
- package/dist/packem_chunks/handler38.js +6 -6
- package/dist/packem_chunks/handler39.js +8 -8
- package/dist/packem_chunks/handler4.js +4 -4
- package/dist/packem_chunks/handler40.js +34 -34
- package/dist/packem_chunks/handler41.js +5 -5
- package/dist/packem_chunks/handler42.js +4 -4
- package/dist/packem_chunks/handler43.js +3 -3
- package/dist/packem_chunks/handler44.js +2 -2
- package/dist/packem_chunks/handler45.js +1 -1
- package/dist/packem_chunks/handler46.js +1 -1
- package/dist/packem_chunks/handler47.js +1 -1
- package/dist/packem_chunks/handler48.js +3 -3
- package/dist/packem_chunks/handler49.js +1 -1
- package/dist/packem_chunks/handler5.js +6 -6
- package/dist/packem_chunks/handler50.js +6 -6
- package/dist/packem_chunks/handler51.js +13 -13
- package/dist/packem_chunks/handler52.js +3 -3
- package/dist/packem_chunks/handler53.js +5 -5
- package/dist/packem_chunks/handler54.js +2 -2
- package/dist/packem_chunks/handler55.js +1 -1
- package/dist/packem_chunks/handler56.js +4 -4
- package/dist/packem_chunks/handler57.js +5 -5
- package/dist/packem_chunks/handler58.js +5 -5
- package/dist/packem_chunks/handler59.js +8 -8
- package/dist/packem_chunks/handler6.js +7 -7
- package/dist/packem_chunks/handler60.js +3 -3
- package/dist/packem_chunks/handler61.js +21 -21
- package/dist/packem_chunks/handler62.js +12 -12
- package/dist/packem_chunks/handler63.js +3 -3
- package/dist/packem_chunks/handler64.js +5 -5
- package/dist/packem_chunks/handler65.js +8 -8
- package/dist/packem_chunks/handler66.js +2 -2
- package/dist/packem_chunks/handler67.js +21 -21
- package/dist/packem_chunks/handler68.js +21 -21
- package/dist/packem_chunks/handler69.js +30 -30
- package/dist/packem_chunks/handler7.js +1 -1
- package/dist/packem_chunks/handler70.js +9 -9
- package/dist/packem_chunks/handler71.js +17 -17
- package/dist/packem_chunks/handler72.js +104 -104
- package/dist/packem_chunks/handler73.js +20 -20
- package/dist/packem_chunks/handler74.js +45 -45
- package/dist/packem_chunks/handler75.js +27 -3
- package/dist/packem_chunks/handler76.js +3 -27
- package/dist/packem_chunks/handler77.js +68 -68
- package/dist/packem_chunks/handler78.js +30 -30
- package/dist/packem_chunks/handler8.js +1 -1
- package/dist/packem_chunks/handler9.js +1 -1
- package/dist/packem_chunks/heal-accept.js +9 -9
- package/dist/packem_chunks/heal.js +11 -11
- package/dist/packem_chunks/help-command.js +7 -63
- package/dist/packem_chunks/index.js +1 -1
- package/dist/packem_chunks/index2.js +48 -804
- package/dist/packem_chunks/index3.js +3 -7
- package/dist/packem_chunks/index4.js +803 -134
- package/dist/packem_chunks/index5.js +7 -73
- package/dist/packem_chunks/index6.js +73 -0
- package/dist/packem_chunks/index7.js +135 -0
- package/dist/packem_chunks/interface.js +2 -2
- package/dist/packem_chunks/keys-refresh.js +4 -4
- package/dist/packem_chunks/lean.js +3 -3
- package/dist/packem_chunks/list.js +3 -3
- package/dist/packem_chunks/loader.js +4 -4
- package/dist/packem_chunks/loader2.js +1 -1
- package/dist/packem_chunks/orchestrator.js +27 -27
- package/dist/packem_chunks/pre-mode.js +2 -2
- package/dist/packem_chunks/print-config.js +1 -1
- package/dist/packem_chunks/prompts.js +7 -7
- package/dist/packem_chunks/prune.js +3 -3
- package/dist/packem_chunks/publish-guards.js +1 -1
- package/dist/packem_chunks/resolveFormatter.js +5 -5
- package/dist/packem_chunks/run.js +1 -1
- package/dist/packem_chunks/security.js +1 -1
- package/dist/packem_chunks/shell-runner.js +1 -1
- package/dist/packem_chunks/slack.js +2 -2
- package/dist/packem_chunks/snapshot.js +2 -2
- package/dist/packem_chunks/stage-publisher.js +1 -1
- package/dist/packem_chunks/staged-registry.js +2 -2
- package/dist/packem_chunks/state.js +3 -3
- package/dist/packem_chunks/status.js +2 -2
- package/dist/packem_chunks/success-walk.js +4 -4
- package/dist/packem_chunks/sync.js +2 -2
- package/dist/packem_chunks/sync2.js +2 -2
- package/dist/packem_chunks/tar.js +3 -3
- package/dist/packem_chunks/tripwire.js +2 -2
- package/dist/packem_chunks/ts-loader.js +5 -9
- package/dist/packem_chunks/verify-lockfile.js +2 -2
- package/dist/packem_chunks/version-resolver.js +2 -2
- package/dist/packem_chunks/webhook.js +1 -1
- package/dist/packem_chunks/workflow-templates.js +5 -5
- package/dist/packem_chunks/workspace.js +2 -2
- package/dist/packem_shared/ReleaseClient-DAvbxCdo.js +1 -0
- package/dist/packem_shared/Table-DyORjLji-CC9cYgCG.js +11 -0
- package/dist/packem_shared/{VisReleaseError-DMGRBTNO.js → VisReleaseError-DZtgcKf8.js} +1 -1
- package/dist/packem_shared/_commonjsHelpers-DTfxOvZk.js +1 -0
- package/dist/packem_shared/advisories-CyDqzi5j.js +1 -0
- package/dist/packem_shared/affected-selection-DPQR-Bd3.js +1 -0
- package/dist/packem_shared/affected-shas-Dd0P7fGD.js +1 -0
- package/dist/packem_shared/ai-analysis-DSQQDFU9.js +68 -0
- package/dist/packem_shared/ai-fix-6nXZbecQ.js +43 -0
- package/dist/packem_shared/augment-COAiXSIx.js +4 -0
- package/dist/packem_shared/bin-wafzkjaB.js +1 -0
- package/dist/packem_shared/build-scripts-pdVmqXRm.js +1 -0
- package/dist/packem_shared/clean-DRiLimTx.js +1 -0
- package/dist/packem_shared/command-runtime-CiLVo4ED.js +1 -0
- package/dist/packem_shared/{compile-cache-B_Vf_WxT.js → compile-cache-DoMHRsRZ.js} +1 -1
- package/dist/packem_shared/createAdapter-F7GidOzU.js +1 -0
- package/dist/packem_shared/createVersionActions-ByaJ1Nbv.js +1 -0
- package/dist/packem_shared/cyclonedx-C_ezHg8b.js +4 -0
- package/dist/packem_shared/dependency-scan-DBH2Qo4I.js +1 -0
- package/dist/packem_shared/docker-Br_iFmI-.js +59 -0
- package/dist/packem_shared/failure-log-D92tM0ie.js +2 -0
- package/dist/packem_shared/formatBytes-BHAzNIrn-DFIppnY0.js +4 -0
- package/dist/packem_shared/getRandomSpinner-4ZEcbTYv-DCyIuj19.js +1 -0
- package/dist/packem_shared/giget-CVyyR7x8.js +2 -0
- package/dist/packem_shared/glob-Cyk1H9ZL-ox19CSsT.js +1 -0
- package/dist/packem_shared/index-B4AjSxHU.js +1 -0
- package/dist/packem_shared/index-BisalDCf.js +39 -0
- package/dist/packem_shared/{index-BWl4DbMp.js → index-BjdW45xX.js} +1 -1
- package/dist/packem_shared/index-DHD8wb6Z.js +22 -0
- package/dist/packem_shared/index-DXPSWMbG.js +1 -0
- package/dist/packem_shared/index.server-CwSgbeN7.js +2 -0
- package/dist/packem_shared/isAccessibleSync-DYKTrrvc-CSnBISfV.js +1 -0
- package/dist/packem_shared/license-DvlYdo6T.js +1 -0
- package/dist/packem_shared/lifecycle-CfTZQHOG.js +2 -0
- package/dist/packem_shared/lockfile-35RFsJDs.js +1 -0
- package/dist/packem_shared/lockfile-DhHAaHN5.js +1 -0
- package/dist/packem_shared/main-BjJN8kWj.js +1 -0
- package/dist/packem_shared/manifests-BNSmpPF_.js +1 -0
- package/dist/packem_shared/min-release-age-ChzTC7_I.js +34 -0
- package/dist/packem_shared/missing-package-json-C0keIt78.js +1 -0
- package/dist/packem_shared/native-config-sync-BSzU4qUO.js +21 -0
- package/dist/packem_shared/osv-bloom-5wDAoZ1e.js +2 -0
- package/dist/packem_shared/otelPlugin-D8LL2-4L.js +1 -0
- package/dist/packem_shared/package-version-BJkg7-6H.js +4 -0
- package/dist/packem_shared/packument-C55kVxcQ.js +1 -0
- package/dist/packem_shared/{peer-warnings-BXAzXqY3.js → peer-warnings-CmYSxvql.js} +1 -1
- package/dist/packem_shared/pm-runner-de-jCq8q.js +1 -0
- package/dist/packem_shared/project-name-filter-BeREbPMI.js +7 -0
- package/dist/packem_shared/{prompt-BSAy8SMH.js → prompt-DMzaQEVa.js} +1 -1
- package/dist/packem_shared/provenance-CvfQEJPQ.js +1 -0
- package/dist/packem_shared/readJsonSync-CbryXYxN-B2aSeDpC.js +1 -0
- package/dist/packem_shared/registry-keys-DmBrAlhg.js +1 -0
- package/dist/packem_shared/resolve-explicit-COmP7eqr.js +5 -0
- package/dist/packem_shared/resolve-runtime-C7NBCA1C.js +1 -0
- package/dist/packem_shared/run-file-jMngGQhs.js +1 -0
- package/dist/packem_shared/runtime-check-BklgEMkC.js +1 -0
- package/dist/packem_shared/s1ngularity-RZOHbGrE.js +1 -0
- package/dist/packem_shared/scan-progress-C9nMDLis.js +2 -0
- package/dist/packem_shared/selectors-B7lSFz7l.js +3 -0
- package/dist/packem_shared/signatures-oZ_2IneN.js +2 -0
- package/dist/packem_shared/{slug-DoueYuLo.js → slug-OBHcH7wV.js} +1 -1
- package/dist/packem_shared/spinner-CbJfWYwB.js +1 -0
- package/dist/packem_shared/sticky-comment-DjhyCIZt.js +1 -0
- package/dist/packem_shared/subtree-DtmcKAJK.js +2 -0
- package/dist/packem_shared/symbols-BXDZ_sKt.js +1 -0
- package/dist/packem_shared/tabs-BilwonkM.js +1 -0
- package/dist/packem_shared/target-merge-D1xbylFw.js +4 -0
- package/dist/packem_shared/target-options-d_rIrLyq.js +1 -0
- package/dist/packem_shared/toolchain-DY11tPCw.js +5 -0
- package/dist/packem_shared/typosquats-D8ppc5kr.js +1 -0
- package/dist/packem_shared/use-measured-height-BPQg2q_p.js +1 -0
- package/dist/packem_shared/utils-DQFHJn72.js +1 -0
- package/dist/packem_shared/verify-D8wYvB85.js +1 -0
- package/dist/packem_shared/vis-update-app-ngwL2mRv.js +1 -0
- package/dist/packem_shared/vis-user-error-jhNwmkZp.js +30 -0
- package/dist/packem_shared/watch-Dswvj6Zp.js +1 -0
- package/dist/packem_shared/watch-loop-COWvvSbR.js +11 -0
- package/dist/packem_shared/writeFileSync-DJoHk3Ks-CgQ-VNNT.js +1 -0
- package/dist/release/core/changelog/index.d.ts +62 -2
- package/dist/release/core/package-managers/index.d.ts +25 -1
- package/dist/release/core/package-managers/index.js +1 -1
- package/dist/release/core/version-actions/index.d.ts +47 -2
- package/dist/release/core/version-actions/index.js +1 -1
- package/dist/release/index.d.ts +100 -1
- package/dist/release/index.js +1 -1
- package/dist/release/plugin-sdk.d.ts +16 -1
- package/dist/release/plugin-sdk.js +1 -1
- package/dist/release/presets.js +1 -1
- package/dist/release/types.js +1 -1
- package/dist/runtime/preload.js +1 -1
- package/index.js +26 -26
- package/package.json +9 -9
- package/dist/packem_chunks/detect2.js +0 -8
- package/dist/packem_chunks/registry.js +0 -48
- package/dist/packem_shared/ReleaseClient-BY4OZNCK.js +0 -1
- package/dist/packem_shared/_commonjsHelpers-B5Y90VFO.js +0 -1
- package/dist/packem_shared/advisories-DsXRmIA5.js +0 -1
- package/dist/packem_shared/affected-selection-BE6VFCDV.js +0 -1
- package/dist/packem_shared/affected-shas-BKEu4RZc.js +0 -1
- package/dist/packem_shared/ai-analysis-DikAj6rX.js +0 -68
- package/dist/packem_shared/ai-fix-bfWo0cZX.js +0 -43
- package/dist/packem_shared/augment-BkJxi_GW.js +0 -4
- package/dist/packem_shared/bin-B-TytgzW.js +0 -1
- package/dist/packem_shared/build-scripts-DWypBQ--.js +0 -1
- package/dist/packem_shared/clean-DWjQl14S.js +0 -1
- package/dist/packem_shared/command-runtime-DQ7ZpLYL.js +0 -1
- package/dist/packem_shared/createAdapter-bU4DIP3F.js +0 -1
- package/dist/packem_shared/createVersionActions-BK43SNDH.js +0 -1
- package/dist/packem_shared/cyclonedx-DLBi65MV.js +0 -4
- package/dist/packem_shared/dependency-scan-ZLOuLkGN.js +0 -1
- package/dist/packem_shared/docker-B4zAZCZG.js +0 -59
- package/dist/packem_shared/en-BDYMmM2_.js +0 -27
- package/dist/packem_shared/failure-log-DyhWPqno.js +0 -2
- package/dist/packem_shared/giget-CAxjpwew.js +0 -2
- package/dist/packem_shared/glob-BUjyjdE8-Dp_QcayW.js +0 -1
- package/dist/packem_shared/index-BAe6e0XE.js +0 -1
- package/dist/packem_shared/index-BLtnel38.js +0 -35
- package/dist/packem_shared/index-CuKDxOCI.js +0 -1
- package/dist/packem_shared/index-tNFGWxc0.js +0 -39
- package/dist/packem_shared/index.server-CusjRLCh.js +0 -2
- package/dist/packem_shared/license-t5KnNX6v.js +0 -1
- package/dist/packem_shared/lifecycle-KY9umOg6.js +0 -2
- package/dist/packem_shared/lockfile-YAuZf1gh.js +0 -1
- package/dist/packem_shared/main-D_cam4hv.js +0 -1
- package/dist/packem_shared/manifests-BwTn_1ad.js +0 -1
- package/dist/packem_shared/min-release-age-6avfn81h.js +0 -34
- package/dist/packem_shared/missing-package-json-Cl0vdz6K.js +0 -1
- package/dist/packem_shared/native-config-sync-CHMCJx7H.js +0 -21
- package/dist/packem_shared/osv-bloom-DdqDnLCt.js +0 -2
- package/dist/packem_shared/otelPlugin-DmKDBaPo.js +0 -1
- package/dist/packem_shared/package-version-BNRJ3o9C.js +0 -4
- package/dist/packem_shared/packument-B9-WqReu.js +0 -1
- package/dist/packem_shared/pm-runner-DRybtzOV.js +0 -1
- package/dist/packem_shared/project-name-filter-Dw0fC6IO.js +0 -7
- package/dist/packem_shared/provenance-CLxuqCfL.js +0 -1
- package/dist/packem_shared/readJsonSync-DweZd5ZA-CtrDlqpb.js +0 -1
- package/dist/packem_shared/registry-keys-cTN24144.js +0 -1
- package/dist/packem_shared/resolve-explicit-Uw6WQl9R.js +0 -5
- package/dist/packem_shared/resolve-runtime-DztanwkZ.js +0 -1
- package/dist/packem_shared/run-file-CaE5_xBY.js +0 -1
- package/dist/packem_shared/runtime-check-C32yE57I.js +0 -1
- package/dist/packem_shared/s1ngularity-BIYhg82u.js +0 -1
- package/dist/packem_shared/scan-progress-DWfY4zkp.js +0 -2
- package/dist/packem_shared/selectors-D2j4M9Ul.js +0 -3
- package/dist/packem_shared/signatures-C8iQ5fUq.js +0 -2
- package/dist/packem_shared/sticky-comment-D6_7-w8T.js +0 -1
- package/dist/packem_shared/subtree-DSm0QEoE.js +0 -2
- package/dist/packem_shared/symbols-DPTlrJ3B.js +0 -1
- package/dist/packem_shared/target-merge-DLxJTcxn.js +0 -11
- package/dist/packem_shared/target-options-3t4-2F-F.js +0 -1
- package/dist/packem_shared/toolchain-BPzbahcQ.js +0 -5
- package/dist/packem_shared/typosquats-BWrmhh36.js +0 -1
- package/dist/packem_shared/use-measured-height-BwAwGHjw.js +0 -1
- package/dist/packem_shared/utils-CRueU43T.js +0 -1
- package/dist/packem_shared/verify-CzUPT6Uk.js +0 -1
- package/dist/packem_shared/vis-update-app-D6Wq8ZHM.js +0 -1
- package/dist/packem_shared/vis-user-error-CfM4_ORo.js +0 -30
- package/dist/packem_shared/watch-D_oAxW_Z.js +0 -1
- package/dist/packem_shared/watch-loop-BrjblOz5.js +0 -11
package/dist/bin.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./packem_shared/compile-cache-
|
|
1
|
+
import"./packem_shared/compile-cache-DoMHRsRZ.js";import"./packem_shared/bin-wafzkjaB.js";
|
package/dist/binx.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{
|
|
3
|
-
`),process.exit(0));process.argv.splice(2,0,"dlx");n();const e=
|
|
2
|
+
import{m as r,w as i,i as c,d as a,r as d}from"./packem_shared/vis-user-error-jhNwmkZp.js";import{t as n}from"./packem_shared/compile-cache-DoMHRsRZ.js";import{g as o}from"./packem_shared/package-version-BJkg7-6H.js";process.argv.includes("--no-color")&&(process.env.NO_COLOR="1",process.env.FORCE_COLOR="0");process.argv.slice(2).some(s=>s==="--version"||s==="-v"||s==="-V")&&(process.stdout.write(`${o()}
|
|
3
|
+
`),process.exit(0));process.argv.splice(2,0,"dlx");n();const e=r("visx",{packageName:"visx",packageVersion:o()}),p=process.argv.includes("--debug")||!!process.env.DEBUG;e.addPlugin(i({concise:c,detailed:p,exitOnError:!1}));e.addCommand(a);d(e);
|
package/dist/config/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CONFIG_FILES as o,SECURITY_DEFAULTS as e,TASK_CONFIG_FILES as n,applyDefaults as l,defineConfig as C,defineTaskConfig as g,findVisConfigFile as s,findVisTaskConfigFile as a,loadVisConfig as d,loadVisTaskConfig as F}from"../packem_chunks/CONFIG_FILES.js";import{definePlugin as T}from"../packem_shared/definePlugin-DoUcoYSy.js";import{otelPlugin as t}from"../packem_shared/otelPlugin-
|
|
1
|
+
import{CONFIG_FILES as o,SECURITY_DEFAULTS as e,TASK_CONFIG_FILES as n,applyDefaults as l,defineConfig as C,defineTaskConfig as g,findVisConfigFile as s,findVisTaskConfigFile as a,loadVisConfig as d,loadVisTaskConfig as F}from"../packem_chunks/CONFIG_FILES.js";import{definePlugin as T}from"../packem_shared/definePlugin-DoUcoYSy.js";import{otelPlugin as t}from"../packem_shared/otelPlugin-D8LL2-4L.js";export{o as CONFIG_FILES,e as SECURITY_DEFAULTS,n as TASK_CONFIG_FILES,l as applyDefaults,C as defineConfig,T as definePlugin,g as defineTaskConfig,s as findVisConfigFile,a as findVisTaskConfigFile,d as loadVisConfig,F as loadVisTaskConfig,t as otelPlugin};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import{createRequire as G}from"node:module";import{
|
|
2
|
-
`),
|
|
3
|
-
Chain: ${
|
|
1
|
+
import{createRequire as G}from"node:module";import{w as _,m as L,T as O}from"../packem_shared/target-merge-D1xbylFw.js";import{v as b,e as a,m as y}from"../packem_shared/index-DHD8wb6Z.js";import{i as q}from"./ts-loader.js";import{otelPlugin as je}from"../packem_shared/otelPlugin-D8LL2-4L.js";import{definePlugin as Oe}from"../packem_shared/definePlugin-DoUcoYSy.js";import{y as d}from"../packem_shared/isAccessibleSync-DYKTrrvc-CSnBISfV.js";import{h as p}from"../packem_shared/writeFileSync-DJoHk3Ks-CgQ-VNNT.js";import{p as $}from"../packem_shared/readJsonSync-CbryXYxN-B2aSeDpC.js";let R;const I=e=>(R??=G(import.meta.url))(e),l=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,k=e=>{if(typeof l<"u"&&l.versions&&l.versions.node){const[s,t]=l.versions.node.split(".").map(Number);if(s>22||s===22&&t>=3||s===20&&t>=16)return l.getBuiltinModule(e)}return I(e)},{createHash:w}=k("node:crypto"),{readdirSync:j,readFileSync:N}=k("node:fs"),{createRequire:F}=k("node:module");class h extends Error{chain;constructor(s,t,o){super(s,o),this.name=this.constructor.name,this.chain=t}}class K extends h{constructor(s,t){const o=[...t,`${s} (re-enters)`].join(" → ");super(`Config cycle: ${o}`,t)}}class E extends h{filePath;removedKeys;constructor(s,t,o){const r=[`${s} uses removed keys.`,""];for(const n of o){const i=n.location?` (at ${n.location})`:"";r.push(` • ${n.name}${i} → renamed to \`${n.renamedTo}\``);for(const c of n.children??[])r.push(` ↳ ${c.name} → renamed to \`${c.renamedTo}\``)}r.push("","Run `vis migrate self` to auto-rewrite the config (use --dry-run to preview)."),super(r.join(`
|
|
2
|
+
`),t),this.filePath=s,this.removedKeys=o}}class v extends h{constructor(s,t,o){const r=o instanceof Error?o.message:String(o),n=t.length>0?`
|
|
3
|
+
Chain: ${t.join(" → ")}`:"";super(`Failed to load ${s}: ${r}${n}`,t,{cause:o})}}const M=e=>e.join(" → ");class m extends h{constructor(s,t,o){const r=t.length>0?t[t.length-1]:"<unknown>",n=o.length>0?`
|
|
4
4
|
Tried:
|
|
5
5
|
${o.join(`
|
|
6
|
-
`)}`:"";super(`Cannot resolve "${
|
|
7
|
-
Chain: ${
|
|
8
|
-
`);return
|
|
6
|
+
`)}`:"";super(`Cannot resolve "${s}" extended from ${r}.${n}
|
|
7
|
+
Chain: ${M(t)}`,t)}}const P=e=>{const s=[];if(Object.hasOwn(e,"targetDefaults")&&s.push({name:"targetDefaults",renamedTo:"tasks"}),Object.hasOwn(e,"taskRunnerOptions")&&s.push({name:"taskRunnerOptions",renamedTo:"taskRunner"}),Object.hasOwn(e,"taskDefaults")){const{taskDefaults:t}=e,o=[];if(Array.isArray(t))for(const[r,n]of t.entries())n&&typeof n=="object"&&(Object.hasOwn(n,"scope")&&o.push({location:`taskDefaults[${r}].scope`,name:"scope",renamedTo:"match"}),Object.hasOwn(n,"targets")&&o.push({location:`taskDefaults[${r}].targets`,name:"targets",renamedTo:"tasks"}));s.push({children:o.length>0?o:void 0,name:"taskDefaults",renamedTo:"scopedTasks"})}else if(Array.isArray(e.scopedTasks))for(const[t,o]of e.scopedTasks.entries())o&&typeof o=="object"&&(Object.hasOwn(o,"scope")&&s.push({location:`scopedTasks[${t}].scope`,name:"scope",renamedTo:"match"}),Object.hasOwn(o,"targets")&&s.push({location:`scopedTasks[${t}].targets`,name:"targets",renamedTo:"tasks"}));return s},U=e=>Object.hasOwn(e,"targets")&&!Object.hasOwn(e,"tasks")?[{name:"targets",renamedTo:"tasks"}]:[],W=(e,s,t)=>{if(!t||typeof t!="object")return;const o=P(t);if(o.length>0)throw new E(e,s,o)},z=(e,s,t)=>{if(!t||typeof t!="object")return;const o=U(t);if(o.length>0)throw new E(e,s,o)},x=["vis.config.ts","vis.config.mts","vis.config.cts","vis.config.js","vis.config.mjs","vis.config.cjs"],B=new Set(x),S=["vis.task.ts","vis.task.mts","vis.task.cts","vis.task.js","vis.task.mjs","vis.task.cjs"],H=new Set(S),ge=2880,g={blockExoticSubdeps:!0,policies:{installScripts:{strict:!0},publisherChange:{ignoreAfter:43200,mode:"no-downgrade"}}},Y=e=>{if(!e)return{...g};const s=g.policies??{},t=e.policies??{},o={...s,...t};for(const r of Object.keys(s)){const n=s[r],i=t[r];n!==void 0&&i!==void 0&&(o[r]={...n,...i})}return{...g,...e,policies:o}},T=e=>({...e,security:Y(e.security),update:{security:!0,target:"minor",...e.update}}),J=e=>{let s;try{s=j(e)}catch{return}const t=new Set(s.filter(o=>B.has(o)));for(const o of x)if(t.has(o))return a(e,o)},Q=e=>{let s;try{s=j(e)}catch{return}const t=new Set(s.filter(o=>H.has(o)));for(const o of S)if(t.has(o))return a(e,o)},D=e=>w("sha256").update(N(e)).digest("hex"),X=e=>{const s=w("sha256"),t=[...e].sort();for(const o of t)s.update(o),s.update(":"),s.update(D(o)),s.update(`
|
|
8
|
+
`);return s.digest("hex")},Z=e=>{const s=a(e,"node_modules");if(d(s)){const o=a(s,".cache","vis");return p(o),a(o,"vis-config-cache.json")}const t=_("vis",{create:!0,cwd:e});return t?a(t,"vis-config-cache.json"):void 0},ee=(e,s)=>{if(d(e))try{const t=$(e);if(t.hash===s)return t.config}catch{}},se=(e,s,t)=>{try{p(y(e)),O(e,{config:t,hash:s})}catch{}},te=e=>e===void 0?[]:Array.isArray(e)?e:[e],oe=(e,s,t)=>{if(b(e))throw new m(e,[...t,s],["Absolute paths in `extends` are not supported. Use a relative path or an npm package name."]);const o=[];if(e.startsWith("./")||e.startsWith("../")){const r=y(s),n=a(r,e);if(o.push(n),d(n))return n;throw new m(e,[...t,s],o)}try{return F(s).resolve(e)}catch{throw o.push(`require.resolve("${e}") from ${s}`),new m(e,[...t,s],o)}},V=async(e,s)=>{let t;try{t=(await q(e)).default??{}}catch(o){throw new v(e,s,o)}try{return(typeof t=="function"?await t()??{}:t)??{}}catch(o){throw new v(e,s,o)}},ne=(e,s)=>{const t={...e,...s};if(e.tasks||s.tasks){const o=new Set([...Object.keys(e.tasks??{}),...Object.keys(s.tasks??{})]),r={};for(const n of o)r[n]=L(e.tasks?.[n],s.tasks?.[n]);t.tasks=r}if((e.scopedTasks||s.scopedTasks)&&(t.scopedTasks=[...e.scopedTasks??[],...s.scopedTasks??[]]),(e.fileGroups||s.fileGroups)&&(t.fileGroups={...e.fileGroups,...s.fileGroups}),(e.taskGroups||s.taskGroups)&&(t.taskGroups={...e.taskGroups,...s.taskGroups}),e.security||s.security){const o=e.security?.policies??{},r=s.security?.policies??{},n={...o,...r};for(const i of Object.keys(o)){const c=o[i],u=r[i];c!==void 0&&u!==void 0&&(n[i]={...c,...u})}t.security={...e.security,...s.security,acceptedRisks:{...e.security?.acceptedRisks,...s.security?.acceptedRisks},policies:n}}return(e.update||s.update)&&(t.update={...e.update,...s.update}),(e.taskRunner||s.taskRunner)&&(t.taskRunner={...e.taskRunner,...s.taskRunner}),delete t.extends,t},A=async(e,s,t,o,r)=>{if(t.has(e))throw new K(e,s);if(!o.has(e)){t.add(e);try{const n=await V(e,s);W(e,s,n);const i=te(n.extends);for(const c of i){const u=oe(c,e,s);await A(u,[...s,e],t,o,r)}o.set(e,n),r.push(e)}finally{t.delete(e)}}},ke=async(e,s)=>{let t;if(s?.explicitConfigPath){const f=b(s.explicitConfigPath)?s.explicitConfigPath:a(e,s.explicitConfigPath);if(!d(f))throw new Error(`Cannot find config file at ${f}`);t=f}else t=J(e);if(!t)return T({});const o=new Set,r=new Map,n=[];await A(t,[],o,r,n);const i=X(n),c=Z(e);if(c){const f=ee(c,i);if(f)return f}let u={};for(const f of n)u=ne(u,r.get(f));const C=T(u);return c&&se(c,i,C),C},re=e=>e.replaceAll(/[^\w.-]+/g,"_"),ie=(e,s)=>{const t=a(e,"node_modules"),o=re(s);if(d(t)){const n=a(t,".cache","vis","task-configs");return p(n),a(n,`${o}.json`)}const r=_("vis",{create:!0,cwd:e});return r?a(r,"task-configs",`${o}.json`):void 0},ce=(e,s)=>{if(d(e))try{const t=$(e);if(t.hash===s)return t.config}catch{}},ae=(e,s,t)=>{try{p(y(e)),O(e,{config:t,hash:s})}catch{}},ye=async(e,s,t)=>{const o=Q(s);if(!o)return;const r=D(o),n=ie(e,t);if(n){const u=ce(n,r);if(u)return u}const i=await V(o,[]);z(o,[],i);const c=i;return n&&ae(n,r,c),c},Ce=e=>e,ve=e=>e;export{x as CONFIG_FILES,ge as DEFAULT_MIN_RELEASE_AGE_MINUTES,g as SECURITY_DEFAULTS,S as TASK_CONFIG_FILES,T as applyDefaults,ve as defineConfig,Oe as definePlugin,Ce as defineTaskConfig,J as findVisConfigFile,Q as findVisTaskConfigFile,ke as loadVisConfig,ye as loadVisTaskConfig,je as otelPlugin};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const i=".vis/release",a="main",o=e=>e,r={access:"public",aggregateRelease:!1,allowCustomCommands:!1,baseBranch:a,changedFilePatterns:["**"],changelog:"default",changesDir:i,defaultManaged:!1,fixed:[],ignore:[],include:[],linked:[],postPublishCommand:"",postVersionCommand:"",prePublishCommand:"",preVersionCommand:"",privatePackages:{tag:!1,version:!1},updateInternalDependencies:"out-of-range"},p={dependencies:{bumpAs:"patch",trigger:"patch"},devDependencies:!1,optionalDependencies:{bumpAs:"patch",trigger:"minor"},peerDependencies:{bumpAs:"match",trigger:"major"}},n=["scripts","devDependencies","private","workspaces","vis-release","bumpy","release","nx","lint-staged","husky","commitlint","eslint","prettier","vitest","tsup","packem","tsdown","@visulima/packem","pnpm"],c=["name","version","description","keywords","homepage","bugs","repository","funding","author","contributors","license","dependencies","peerDependencies","peerDependenciesMeta","optionalDependencies","engines","os","cpu","type","sideEffects","main","module","types","typings","exports","imports","bin","files","publishConfig","napi"],d=e=>{if(e===!1)return[];if(e===void 0||e===!0)return[...n];const s=new Set([...n,...e.strip??[]]);for(const t of e.keep??[])s.delete(t);return[...s]};export{a as DEFAULT_BASE_BRANCH,i as DEFAULT_CHANGES_DIR,c as DEFAULT_CLEAN_KEEP,n as DEFAULT_CLEAN_STRIP,r as DEFAULT_CONFIG,p as DEFAULT_DEPENDENCY_BUMP_RULES,o as defineReleaseConfig,d as resolveCleanStripList};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const s="<!-- BEGIN vis release (managed) -->",
|
|
1
|
+
const s="<!-- BEGIN vis release (managed) -->",o="<!-- END vis release (managed) -->",c="## Releasing with vis\n\nThis repo uses `@visulima/vis` for releases. To record a change for the next release, add a change file:\n\n```bash\nvis release add --packages '@scope/pkg:minor' --message 'Describe the change'\n```\n\nChange files live in `.vis/release/*.md` as YAML-frontmatter Markdown — one per logical change:\n\n```markdown\n---\n\"@scope/pkg\": minor\n---\n\nWhat changed, in changelog prose.\n```\n\n- Pick the bump by impact: `major` (breaking), `minor` (feature), `patch` (fix). You may also omit the level and let a heading decide (`#`→major, `##`→minor, `###`→patch).\n- Do NOT bump versions or edit `CHANGELOG.md` by hand — `vis release version` does that from the change files.\n- Preview the effect with `vis release status`; never run `vis release publish` locally.\n- One change file per PR is expected; an empty frontmatter (`---\\n{}\\n---`) records a deliberate no-release change.",i=()=>`${s}
|
|
2
2
|
|
|
3
|
-
${
|
|
3
|
+
${c}
|
|
4
4
|
|
|
5
|
-
${
|
|
5
|
+
${o}`,r=e=>e.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`),t=new RegExp(String.raw`${r(s)}[\s\S]*?${r(o)}`),l=e=>{const a=i();if(e===void 0||e.trim()==="")return{changed:!0,content:`# AGENTS.md
|
|
6
6
|
|
|
7
|
-
${
|
|
8
|
-
`};if(t.test(e)){const
|
|
7
|
+
${a}
|
|
8
|
+
`};if(t.test(e)){const n=e.replace(t,a);return{changed:n!==e,content:n}}return{changed:!0,content:`${e.replace(/\n*$/,`
|
|
9
9
|
`)}
|
|
10
|
-
${
|
|
11
|
-
`}};export{
|
|
10
|
+
${a}
|
|
11
|
+
`}};export{c as AGENT_SECTION_BODY,i as renderAgentSection,l as upsertAgentSection};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
`);return}if(
|
|
1
|
+
import{r as f,F as s,J as c}from"../packem_shared/index.server-CwSgbeN7.js";import{p as r}from"./cli-main.js";import{g as u}from"../packem_shared/osv-bloom-5wDAoZ1e.js";const a=t=>{if(!t)return"never";const i=Date.parse(t);if(Number.isNaN(i))return t;const e=Date.now()-i;if(e<0)return t;const n=Math.floor(e/6e4);if(n<1)return"just now";if(n<60)return`${n}m ago`;const o=Math.floor(n/60);return o<24?`${o}h ago`:`${Math.floor(o/24)}d ago`},m=t=>t<1024?`${t} B`:t<1024*1024?`${(t/1024).toFixed(1)} KB`:`${(t/(1024*1024)).toFixed(1)} MB`,l=async({options:t,workspaceRoot:i})=>{if(!i)throw new Error("Could not determine workspace root. Run this command inside a workspace.");const e=await u(i,t.cacheDir);if(t.format==="json"){process.stdout.write(`${JSON.stringify(e,void 0,2)}
|
|
2
|
+
`);return}if(r.info(`Cache: ${e.cacheDir}`),!e.present){r.warn(`No osv-bloom filter yet. Run ${f("vis advisories bloom sync")} to populate.`);return}if(e.manifest){const{manifest:o}=e;r.info(`Built: ${o.builtAtRfc3339} (${a(o.builtAtRfc3339)})`),r.info(`Fetch: ${e.fetchedAtIso??s("—")} (${a(e.fetchedAtIso)})`),r.info(`Filter: ${c(m(o.bloomByteLen))} m=${o.bloomMBits.toLocaleString()} bits k=${String(o.bloomKHashes)}`),r.info(`Set: ${o.entryCount.toLocaleString()} entries from ${o.advisoryCount.toLocaleString()} advisories (target FPR ${o.targetFpr})`),r.info(s(`Digest: ${o.setDigestSha256}`))}else r.warn("filter.bin present but manifest.json missing — `vis advisories bloom sync` will rewrite the cache.")},g=l;export{g as advisoriesBloomStatusExecute};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
`):e&&(i.info(
|
|
1
|
+
import{F as f}from"../packem_shared/index.server-CwSgbeN7.js";import{p as i}from"./cli-main.js";import{s as d}from"../packem_shared/scan-progress-C9nMDLis.js";import{D as p,s as D}from"../packem_shared/osv-bloom-5wDAoZ1e.js";const h=o=>o?.security?.audit?.advisories?.bloom??{},u=o=>o>=1e3?`${(o/1e3).toFixed(1)}s`:`${Math.round(o)}ms`,$=o=>o<1024?`${o} B`:o<1024*1024?`${(o/1024).toFixed(1)} KB`:`${(o/(1024*1024)).toFixed(1)} MB`,b=async({options:o,visConfig:m,workspaceRoot:n})=>{if(!n)throw new Error("Could not determine workspace root. Run this command inside a workspace.");const a=o.format==="json",c=h(m),l=o.source??c.source??p,r=d([{id:"bloom",label:"Sync osv-bloom prefilter"}],{live:!a});let e,t;try{r.start("bloom");const s=Date.now();e=await D({allowedHosts:c.allowedHosts,cacheDir:o.cacheDir,force:!!o.force,source:l,workspaceRoot:n}),e.upToDate?r.finish("bloom","ok",`up to date · ${u(Date.now()-s)}`):r.finish("bloom","ok",`${e.manifest.entryCount.toLocaleString()} entries · ${$(e.bytesOnDisk)} · ${u(e.durationMs)}`)}catch(s){t=s instanceof Error?s.message:String(s),r.finish("bloom","error",t)}finally{r.stop()}a?process.stdout.write(`${JSON.stringify({bytesOnDisk:e?.bytesOnDisk??0,cacheDir:e?.cacheDir??null,durationMs:e?.durationMs??0,error:t??null,manifest:e?.manifest??null,source:l,upToDate:e?.upToDate??!1},void 0,2)}
|
|
2
|
+
`):e&&(i.info(f(`Cache: ${e.cacheDir}`)),i.info(f(`Built: ${e.manifest.builtAtRfc3339}`)),t||i.success(e.upToDate?"osv-bloom prefilter up to date.":"osv-bloom prefilter synced.")),t&&(process.exitCode=1)},g=b;export{g as advisoriesBloomSyncExecute};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{createRequire as w}from"node:module";import{loadOptionalSigstore as
|
|
1
|
+
import{createRequire as w}from"node:module";import{loadOptionalSigstore as _}from"./loader.js";let I;const S=e=>(I??=w(import.meta.url))(e),a=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,y=e=>{if(typeof a<"u"&&a.versions&&a.versions.node){const[t,s]=a.versions.node.split(".").map(Number);if(t>22||t===22&&s>=3||t===20&&s>=16)return a.getBuiltinModule(e)}return S(e)},{createHash:R}=y("node:crypto"),{createReadStream:b}=y("node:fs"),v="https://token.actions.githubusercontent.com",h=e=>e.replaceAll(/[$()*+.?[\\\]^{|}]/g,String.raw`\$&`),O=e=>{if("github"in e){const{ref:t,repo:s,workflow:r}=e.github;return{issuer:v,sanPattern:`^${h(`https://github.com/${s}/${r}@${t}`)}$`}}return"sanRegex"in e?{issuer:e.oidcIssuer,sanPattern:e.sanRegex}:{issuer:e.oidcIssuer,sanPattern:`^${h(e.san)}$`}},$=()=>process.env.CI==="true"||typeof process.env.ACTIONS_ID_TOKEN_REQUEST_URL=="string"||typeof process.env.SIGSTORE_ID_TOKEN=="string",m=e=>new Promise((t,s)=>{const r=R("sha256"),c=b(e);c.on("error",s),c.on("data",n=>r.update(n)),c.on("end",()=>{t(Buffer.from(r.digest("hex")))})}),x=1024,j=e=>{const{issuer:t,sanPattern:s}=O(e.expectedIdentity),r=new Map,c=(n,o)=>{let i;try{i=JSON.parse(o)}catch{return Promise.resolve(!1)}return(async()=>{let f;try{f=await m(n)}catch{return!1}const d=`${f.toString("utf8")}:${R("sha256").update(o).digest("hex")}`,p=r.get(d);if(p)return p;const g=(async()=>{try{return await(await _({workspaceRoot:e.workspaceRoot})).verify(i,f,{certificateIdentityURI:s,certificateIssuer:t}),!0}catch(u){return e.onVerifyFailure?.(u instanceof Error?u.message:String(u)),!1}})();return r.size>=x&&r.clear(),r.set(d,g),g})()};return{expectedIdentity:e.expectedIdentity,onReject:e.onReject,requireOnDownload:e.requireOnDownload??!1,signArtifact:async({archivePath:n})=>{if(!$())return null;const o=await _({workspaceRoot:e.workspaceRoot}),i=await m(n),l=await o.sign(i);return JSON.stringify(l)},verifyArtifact:({archivePath:n,attestation:o})=>c(n,o)}};export{j as buildCacheAttestationHooks,O as normalizeExpectedIdentity};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as
|
|
1
|
+
import{p as g}from"./index2.js";const m=a=>{const n=g(a),t=new Map;Object.keys(n.default).length>0&&t.set("",{...n.default});for(const[s,e]of Object.entries(n.named))t.set(s,{...e});return t},d=["dependencies","devDependencies","peerDependencies","optionalDependencies"],k=a=>{const n=[];for(const t of d){const s=a.manifest[t];if(!(!s||typeof s!="object"))for(const[e,o]of Object.entries(s)){if(typeof o!="string"||!o.startsWith("catalog:"))continue;const c=o.slice(8);n.push({catalog:c,dep:e,kind:t,packageName:a.name})}}return n},N=(a,n)=>{const t=new Map;for(const s of n.keys())t.set(s,new Map);for(const s of a)for(const e of k(s)){if(!n.has(e.catalog))continue;let o=t.get(e.catalog);o||(o=new Map,t.set(e.catalog,o));const c=o.get(e.dep);c?c.push({kind:e.kind,packageName:e.packageName}):o.set(e.dep,[{kind:e.kind,packageName:e.packageName}])}return t},h=(a,n)=>{if(a.size===0&&n.size===0)return[];const t=[],s=new Set;for(const[e,o]of n){s.add(e);const c=a.get(e)??{},p=[...new Set([...Object.keys(c),...Object.keys(o)])].sort();for(const i of p){const f=c[i],l=o[i];f!==l&&t.push({catalog:e,dep:i,newVersion:l,oldVersion:f})}}for(const[e,o]of a){if(s.has(e))continue;const c=Object.keys(o).sort();for(const r of c)t.push({catalog:e,dep:r,newVersion:void 0,oldVersion:o[r]})}return t};export{h as detectCatalogChanges,k as extractCatalogRefs,N as findCatalogConsumers,m as parseCatalogs};
|