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
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@likec4/core - npm Package Versions

1
13

1.2.1

Diff

Changelog

Source

1.2.1 (2024-06-14)

Bug Fixes

  • cli: compatibility with vite 5.3 (closes #765, thanks to @simonwfarrow)
  • deps: playwright 1.44.1 (3f277f7)
davydkov
published 1.2.0 •

Changelog

Source

1.2.0 (2024-06-12)

🚀 Features

Dynamic Views [Experimental]

Describe a particular use-case or scenario, with ad-hoc interactions (without polluting the model).

dynamic view example {
  title 'Dynamic View Example'
  customer -> web 'opens in browser'
  web -> api 'POST request'
  web <- api 'returns JSON'
}

Check example

Bug Fixes

  • diagram: always zoom to 1.0 on container resize (f5b898c)
  • diagram: backdrop in safari (94530ae)
  • diagram: focus in dynamic walkthrough (b4c1752)
  • playground: missing element type (4aad466)
  • playground: unique extension for each playground (8fcfed6)
davydkov
published 1.1.1 •

Changelog

Source

1.1.1 (2024-05-26)

Bug Fixes

  • diagram: viewport transform is not rounded to integers which results in blurry nodes on some resolution (d268344), closes #734

Improvements

davydkov
published 1.1.0 •

Changelog

Source

1.1.0 (2024-05-24)

Features

  • Change opacity and border for compounds background (#723)

    view {
       include some._
    
       style some {
         opacity 20%
         border dashed
       }
    
    }
    

Bug Fixes

  • app: color scheme inheritance (70b5243)
  • playground: show locations (6af55a6)
davydkov
published 1.0.2 •

Changelog

Source

1.0.2 (2024-05-21)

Bug Fixes

  • vscode: preview fails with command likec4:open-preview not found (#724, thanks @4cio)
  • deps: update dependency playwright to v1.44.0 (#713) (dd62f8d)
  • vscode: bundling @hpcc-js/wasm is necessary for the extension to work properly (6904afc)
davydkov
published 1.0.1 •

Changelog

Source

1.0.1 (2024-05-18)

Bug Fixes

  • lsp: correct selection range after changes (42999ef)
  • vscode: correct view column for preview (6a33a48)

Minor

  • download view as png from app (b316dfb)
davydkov
published 1.0.0 •

Changelog

Source

1.0.0 (2024-05-17)

🚀 Features

  • View Editor
    VSCode Preview allows to change color, shape and switch auto-layout.
    Changes are persistent and update sources.

    Also available in preview (via CLI), but changes are not saved back.

  • LikeC4 views as webcomponents Generates JS with custom elements:

      <script src="https://published.website/likec4-views.js"></script>
      <likec4-view view-id="index"></likec4-view>    
    

    Always generated on likec4 build, but also available as likec4 gen webcomponent

  • New predicate include some._
    Expand and include nested elements only if they have in/out relationships (internals are not considered):

    view {
       include some._
    }
    

    Differs from include some.*, which includes all nested elements regardless of relationships.

    Almost the same as:

    view {
      include some
      include -> some.* ->
      exclude some.* -> some.*
    }
    
  • New predicate <->
    Include relationships of both directions between elements:

    view {
       include someA.* <-> someB.*
    }
    
  • CLI
    Builds and exports with pre-bundled CLI are 6-8x times faster
    Allow deep-linking in GitHub Pages, closes #661
    Set color-scheme on export to png, closes #685

  • New renderer
    Fast and responsive views on any device, based on xyflow

  • New sites
    https://docs.likec4.dev/ - (migration in progress...)
    https://playground.likec4.dev/ - dedicated for playgrounds

davydkov
published 1.0.0-rc.1 •

Changelog

Source

1.0.0-rc.1 (2024-05-06)

🚀 Features

  • LikeC4 views as webcomponents
    Generates JS with custom elements:

      <script src="https://published.website/likec4-views.js"></script>
      <likec4-view view-id="index"></likec4-view>    
    

    Always generated on likec4 build, but also available as likec4 gen webcomponent

  • New predicate include some._
    Expand and include nested elements only if they have in/out relationships (internals are not considered):

    view {
       include some._
    }
    

    Differs from include some.*, which includes all nested elements regardless of relationships.

    Almost the same as:

    view {
      include some
      include -> some.* ->
      exclude some.* -> some.*
    }
    
  • New predicate <->
    Include relationships of both directions between elements:

    view {
       include someA.* <-> someB.*
    }
    
  • Pre-bundled CLI
    Builds and exports are 6-8x times faster

  • New renderer
    Fast and responsive views on any device, based on xyflow

  • Editor
    VSCode Preview allows to change color, shape and switch auto-layout.
    Changes are persistent and update sources.

    Also available in preview (via CLI), but changes are not saved back.

In Progress

  • Editor: manual layout
  • New docs
davydkov
published 1.0.0-next.14 •

Changelog

Source

1.0.0-next.14 (2024-04-30)

PRE-RELEASE

davydkov
published 0.60.4 •

Changelog

Source

0.60.4 (2024-04-13)

Bug Fixes

  • diagrams: Icons do not render when expected in React app, see #649
  • deps: update dependencies
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