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

@likec4/core

Package Overview
Dependencies
Maintainers
1
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@likec4/core - npm Package Versions

23
13

1.22.1

Diff

Changelog

Source

1.22.1 (2025-02-13)

Improvement

  • diagram: manual layout is locked by default (a847a28), closes #1518

Bug Fixes

  • cli: failing check update command (a6b9544)
  • export: manual layout causes the exported landscape view losing nodes and links, when exporting to .png (5ebbc03), closes #1594

Features

  • Revamped search

    <img src="https://github.com/user-attachments/assets/8e6ec03b-7a0f-4089-bc99-1406160985d9" />

    thanks @davydkov, closes #1553

  • cli: added an option to set the listen address of serve and preview commands, thanks @pavelpykhtin, (#1559) (3522c5d), closes #1526

  • cli: check for new releases and notify if update available (#1574) (d57fc40), closes #1573

Bug Fixes

  • Extended view not generated when using dot (closes #1582)
davydkov
published 1.22.0 •

Changelog

Source

1.22.1 (2025-02-13)

Improvement

  • diagram: manual layout is locked by default (a847a28), closes #1518

Bug Fixes

  • cli: failing check update command (a6b9544)
  • export: manual layout causes the exported landscape view losing nodes and links, when exporting to .png (5ebbc03), closes #1594

Features

  • Revamped search

    <img src="https://github.com/user-attachments/assets/8e6ec03b-7a0f-4089-bc99-1406160985d9" />

    thanks @davydkov, closes #1553

  • cli: added an option to set the listen address of serve and preview commands, thanks @pavelpykhtin, (#1559) (3522c5d), closes #1526

  • cli: check for new releases and notify if update available (#1574) (d57fc40), closes #1573

Bug Fixes

  • Extended view not generated when using dot (closes #1582)
davydkov
published 1.21.1 •

Changelog

Source

1.21.1 (2025-02-08)

Bug Fixes

  • cli: broken "--use-dot" in 1.21.0 (closes #1563)

🚀 Features

  • Various sizes
    Change size of the element with new properties: size, padding and textSize

    <img width="806" alt="SCR-20250207-mchv-2" src="https://github.com/user-attachments/assets/bf534b85-7b89-490b-bce1-5982e0388377" />

    Documentation (thanks @davydkov)

  • where in deployment views
    Support where in deployment views predicates.
    thanks @pavelpykhtin, #1442

  • Extending element tags
    Extend element with additional tags, links and metadata:

    model {
      extend cloud {
        // Add tags
        #additional-tag, #another-tag
    
        // Add metadata
        metadata {
          prop1 'value1'
        }
    
        // Add links
        link ../src/index.ts#L1-L10
      }
    }
    

    thanks @davydkov, #1557 closes #666

  • lsp: semantic tokens for global styles, predicates and groups (thanks @pavelpykhtin, closes #1182)

Bug Fixes

  • diagram: compound nodes miss icons (thanks @pavelpykhtin, #1550) (214c951), closes #1482
  • diagram: nonresponsive UI after navigation in RelationshipBrowser (thanks @davydkov, a4db769)
davydkov
published 1.21.0 •

Changelog

Source

1.21.0 (2025-02-07)

🚀 Features

  • Various sizes
    Change size of the element with new properties: size, padding and textSize

    <img width="806" alt="SCR-20250207-mchv-2" src="https://github.com/user-attachments/assets/bf534b85-7b89-490b-bce1-5982e0388377" />

    Documentation (thanks @davydkov)

  • where in deployment views
    Support where in deployment views predicates.
    thanks @pavelpykhtin, #1442

  • Extending element tags
    Extend element with additional tags, links and metadata:

    model {
      extend cloud {
        // Add tags
        #additional-tag, #another-tag
    
        // Add metadata
        metadata {
          prop1 'value1'
        }
    
        // Add links
        link ../src/index.ts#L1-L10
      }
    }
    

    thanks @davydkov, #1557 closes #666

  • lsp: semantic tokens for global styles, predicates and groups (thanks @pavelpykhtin, closes #1182)

Bug Fixes

  • diagram: compound nodes miss icons (thanks @pavelpykhtin, #1550) (214c951), closes #1482
  • diagram: nonresponsive UI after navigation in RelationshipBrowser (thanks @davydkov, a4db769)
davydkov
published 1.20.3 •

Changelog

Source

1.20.3 (2025-02-06)

Improvements

  • cli: Add --output-single-file flag to build give self-contained HTML file (thanks @rnwood, #1510)
  • diagram: Added go-to-source button to nodes inside relationship browser (thanks @pavelpykhtin, #1485)

Bug Fixes

  • diagram: boundaries of a parent node calculated incorrectly on manual layout (thanks @pavelpykhtin, closes #1516)
  • layout: nesting of the groups on 3+ level (thanks @pavelpykhtin, closes #1519)
  • diagram: n.incoming().flatMap is not a function in safari (thanks @davydkov, afd6293)
  • layout: dont use pack in graphviz (thanks @davydkov, #1512)

New Contributors

@rnwood made their first contribution in #1510

davydkov
published 1.20.2 •

Changelog

Source

1.20.2 (2025-02-01)

Improvements

  • multiple style option (thanks @davydkov, #1478) (5beae43)

    <img width="400" alt="SCR-20250201-ozip" src="https://github.com/user-attachments/assets/b103ae95-f5ac-4d91-8e58-c388e3426ba0" />
  • lsp: format deployment and global predicates syntax (thanks @pavelpykhtin, #1484) (0d0d5ba)

  • lsp: likec4-language-server as standalone server (#1501) (3f5d053)

  • diagram: animations in RelationshipsBrowser

  • diagrams: hide buttons and edge labels if zoom too small (e67e2fe)

  • diagrams: render only visible elements if total number of nodes is more than 75 (4d6ac08)

Bug Fixes

  • playground: mantine provider should stay in the root of the app (19aeb57)
davydkov
published 1.20.1 •

Changelog

Source

1.20.1 (2025-01-27)

Bug Fixes

  • vscode: broken layout in previews (thanks @pavelpykhtin, #1472) (e50cf63), closes #1471
davydkov
published 1.20.0 •

Changelog

Source

1.20.0 (2025-01-27)

🚀 Features

  • Filter relationships by tag or kind of its endpoints

    include
      // only relationships outgoing from elements with with tag #next
      cloud.* -> amazon.*
        where source.tag is #next,
    
      // only incoming relations of elements with kind microservice
      -> *
        where target.kind is microservice
    

    Documentation (thanks @pavelpykhtin)

  • Refreshed UI and more customization options for React components

    image

    More options available - LikeC4ViewProps

[!WARNING]
Diagrams migrated to React 19, you may get dependency resolution issues

Bug Fixes

  • diagram: added key prop for action bar content (thanks @pavelpykhtin, #1443) (3d9e7f8), closes #1424
  • diagram: adjusted label and endpoint position of relationships on manual layout (thanks @pavelpykhtin, #1445) (629271e), closes #1322
  • diagram: for '<iterator object>.<array function> is not a function' (thanks @pavelpykhtin, #1463) (e141586), closes #1425
  • diagram: hide element toolbar when more then one element selected (thanks @pavelpykhtin, #1446) (56acca0), closes #1422
  • diagram: incorrect merge of relation labels (thanks @davydkov, #1435) (a7b4120)
  • diagram: overlay transparency in FF (thanks @pavelpykhtin, #1462) (f59308f), closes #1420
  • diagram: incorrect merge of relation labels (thanks @davydkov, #1435) (a7b4120)
  • diagram: Icon does not render in 'Browse relationships' view (thanks @davydkov, closes #1219)
davydkov
published 1.19.2 •

Changelog

Source

1.19.2 (2025-01-06)

Bug Fixes

  • vscode: disable dynamic import in vscode extension (closes #1415)
davydkov
published 1.19.1 •

Changelog

Source

1.19.1 (2025-01-03)

Fixes

  • likec4: change package.json custom condition to sources (closes #1405)
  • vscode: add error handling and logging in documentation provider
  • vscode: do not report handled errors to telemetry (1b16c42)
23
13
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