New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@likec4/generators

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@likec4/generators - npm Package Versions

1
10

0.60.2

Diff

Changelog

Source

0.60.2 (2024-03-26)

@mcpride reported that likec4 export png ... timed out sometimes (see #634)

As a temporary workaround, now cli has the option to configure max attempts (retries) and set timeout. Or even ignore failures,

Options:
  -i, --ignore        continue if some views failed to export                            [boolean] [default: false]
  -t, --timeout       (ms) timeout for playwright operations                              [number] [default: 15000]
      --max-attempts  (number) if export failed, retry N times                                [number] [default: 4]

Example:

$ likec4 export png -o ./assets -i --max-attempts 3 -t 5000

LikeC4 sets default playwright timeout to 5sec, retries exporting failed views 3 times, and ignores these failures anyway (if there are any successful exports).

davydkov
published 0.60.1 •

Changelog

Source

0.60.1 (2024-03-22)

Bug Fixes

  • cli: -v returns undefined #615
  • cli: reuse playwright page for screenshots (#635) (f07c61b), closes #634,
  • deps: update dependency playwright-core to v1.42.1 (#636) (48d7ef4)
davydkov
published 0.60.0 •

Changelog

Source

0.60.0 (2024-03-10)

🚀 Features

  • Relations with container elements #530
    Relations with container elements were always used to layout diagrams but were not shown as they sometimes looked quite weird. While solving #614 it was figured out:
    • Sometimes, Graphviz fails to "group" more than 5 nodes (or some extra heuristics required)
    • Relations with containers look much better without hard minlen
    • Results from Graphviz WASM and its binary version can be significantly different

Compare results by starting two CLIs (with and without --use-dot-bin)

Bug Fixes

  • decrease the number of nodes to group 7 -> 5, closes #614
davydkov
published 0.58.0 •

Changelog

Source

0.58.0 (2024-03-08)

🚀 Features

davydkov
published 0.57.1 •

Changelog

Source

0.57.1 (2024-02-23)

Bug Fixes

davydkov
published 0.57.0 •

Changelog

Source

0.57.0 (2024-02-23)

🚀 Features

  • cli: add option to use graphviz binary (instead of bundled WASM) #534 (205e334)

Bug Fixes

  • cli: tsx default tsconfig (2f5b3f0)
  • lsp: returns references to the same views if no changes are made (56333e1)
  • vscode: use browser and node startServer from @likec4/language-server (67e3bab)
davydkov
published 0.56.0 •

Changelog

Source

0.56.0 (2024-02-17)

Features

  • vscode: setting to use local graphviz binaries (see #534 7e93e86)

Bug Fixes

  • core: improve error stack trace (06ebf81)
  • deps: update dependency @hpcc-js/wasm to ^2.15.3 (#537) (b2fc368)
  • deps: update dependency @radix-ui/themes to ^2.0.3 (#544) (c0929a1)
  • deps: update dependency autoprefixer to ^10.4.17 (#561) (56f462f)
  • deps: update dependency jotai to ^2.6.4 (#545) (1f97776)
  • deps: update dependency konva to ^9.3.2 (#546) (469c3bc)
  • deps: update dependency konva to ^9.3.3 (58db259)
  • deps: update dependency react-accessible-treeview to ^2.8.3 (#556) (919aede)
  • deps: update dependency remeda to ^1.40.0 (#555) (a5797f6)
  • deps: update dependency remeda to ^1.40.1 (#559) (8815004)
  • deps: update dependency ts-graphviz to ^1.8.2 (ea80d34)
  • deps: update playwright to 1.41.2 (18416f1)
davydkov
published 0.54.0 •

Changelog

Source

0.54.0 (2024-01-12)

🚀 Features

  • lsp: add tags to relationships (a7e6e06)

Bug Fixes

  • vscode: document selector on windows (2540f88)
davydkov
published 0.53.0 •

Changelog

Source

0.53.0 (2024-01-10)

Features

Fixes

  • cli: add fs watcher inside plugin on server configuration (73f4263)
  • cli: d2 view fails to load (5f7690f)
  • diagrams: minor ui improvements (2f38eb4)
  • layout: add headArrowPoint and tailArrowPoint to edges (89a9171)
  • layouts: ts compile error and remove dead code (667bc00)
  • layout: use constraint=false instead of minlen=0 (1fdc6ba)
  • types: NonEmptyArray has defined either head or tail (dccc52a)
davydkov
published 0.52.0 •

Changelog

Source

0.52.0 (2023-12-12)

  • likec4: preview mermaid and d2 (02f0be2)
  • likec4: improve graphviz output (954e7d0)

Bug Fixes

  • deps: bump @hpcc-js/wasm to 2.15.1 (8e51156)
  • graph: remove implicit edges if there is any nested already included (94f935f)
  • graph: sort graph nodes (3c8adf7)
  • layout: edges with reverse direction (09edfb8)
  • layouts: don't use weight edges in graphviz layout (60917eb)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc