Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lightningjs/core

Package Overview
Dependencies
Maintainers
0
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightningjs/core - npm Package Versions

13

2.8.1

Diff

Changelog

Source

v2.8.1

31 oct 2022

  • Fixed Lightning inspector (#427)
michielvandergeest
published 2.8.0 •

Changelog

Source

v2.8.0

20 oct 2022

  • Updated patching.md file (#422)
  • Minor documentation updates (#405)
  • Added support to track vram usage (#395)
  • Added texture compression support (#391)
michielvandergeest
published 2.7.1 •

Changelog

Source

v2.7.1

19 sep 2022

  • Added support for smart read pixels after draw (#417)
  • Fixed "handling input" section of docs index (#416)
  • Added missing 'pauseRafLoopOnIdle' stage option type def and small doc updates (#415)
  • Reverted original functionality of drawFrame() (#414)
  • Fixed fatal exception when attempting to render 0x0 canvas texture without forceTxCanvasSource option (#413)
  • Added typescript docs (#409)
erikhaandrikman
published 2.7.0 •

Changelog

Source

v2.7.0

15 aug 2022

  • Added TypeScript Support (#407)
  • Enabled RAF idle usage with stage option 'pauseRafLoopOnIdle'(#402)
  • Fixed regression on Ziggo platforms (#364)
  • Added glReadPixels support after rendering (#388)
  • Updated Readme file with correct LightningJs Documentation URL.(#383)
  • Improved support for vertical alignment on advanced text renderer. (#378)
  • Removed regex named capture groups from text parser (#394)
  • Added listener for visibility change to redraw when visible(#396)
  • Added revised Documentation related to Lightning Core
  • Added option to force canvas element as tx source(#393)
erikhaandrikman
published 2.6.0 •

Changelog

Source

v2.6.0

28 dec 2021

Features

  • textRenderSharpFontSize and textRenderSharpPrecision options were replaced by fontSharp option and their default values adjusted (#354, #359)
  • Added CSS cursor support (https://developer.mozilla.org/en-US/docs/Web/CSS/cursor). Check out the example: examples/mouse-pointer/cursor.html (#319)

Fixes

  • Fixed issue where canvas would not fully initialize before the inspector, resulting in invalid width and height of the root inspector element (#355)
grzegorzzachar
published 2.5.1 •

Changelog

Source

v2.5.1

04 nov 2021

Fixes

  • Mouse hover/unhover properly affects entire branch instead of single component. See examples/mouse-pointer/hover-tree.html. (#334)
  • Fixed text rendering problems present on some versions of Tizen platforms (#344)
  • Fixed issue where inspector would not show falsy text values e.g. 0 in element's attributes (#341)
  • Fixed issue in advancedTextRenderer, where maxLines would break for one word lines (#350)
erikhaandrikman
published 2.5.0 •

Changelog

Source

v2.5.0

13 sep 2021

Features

  • Added new text renderer that enables i.a. bold, italics and color using html-like tags. Check examples/text/advanced-renderer.html for more information (#318)
  • Introduced options textRenderSharpFontSize and textRenderSharpPrecision stage options for text texture scaling. Those options are useful for reducing blur effect on only selected text textures (#321, #320)

Fixes

  • Fixed ChildList's setAt boundary check (#314)
  • Fixed inaccurate collision check for mouse pointer when precision is different than 1 (#329)
grzegorzzachar
published 2.4.0 •

Changelog

Source

2.4.0

07 jul 2021

Features

  • Added support for mouse (check out examples/mouse-pointer)(#68, #300, #302)
  • childList insert methods now accept patch objects (#294)
  • Added focus attribute to currently focused element when viewed using inspector (#266, #304)

Fixes

  • Fixed issue with inspector in bundled Lightning (#308)
  • Fixed issue where ObjectList's removeAt method would not guard against errors (#306)
  • Reduced blur effect on text texture when its font size is small (#299, #305)
  • Updated license field in package.json file to match SPDX (#307)
  • Relicense Lightning to Metrological Apache (#285)
grzegorzzachar
published 2.3.0 •

Changelog

Source

v2.3.0

05 jul 2021

Features

  • Multiple property bindings are now accepted by bindProp method (#275)
  • Added Magnifier shader (check out examples/shaders/magnifier) (#274)
  • Added customisable data-testId property in inspector that can be used by automated tests (#288)

Fixes

  • Property bindings now work with shaders (#278)
  • Property bindings now work with text objects (#283)
  • Text texture's height will now match exactly line height if its textBaseline property is set to bottom (#286)
erikhaandrikman
published 2.2.0 •

Changelog

Source

v2.2.0

Features

  • Added FadeOut, Spinner2 shaders, updated RoundRectangle, RadialGradient, Vignette (see examples/shaders) (#255)
  • Event emitter now supports once method (#271)
  • Component's signals method will now accept functions (see examples/signals) (#264)

Fixes

  • Fixed issue where calling Event emitter's off method inside callback it was registered with would not work (#271)
  • Multiple \n text line breaks are now rendered correctly (#277)
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