🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@lightningjs/core

Package Overview
Dependencies
Maintainers
5
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightningjs/core - npm Package Versions

23

2.16.0-beta.2

Diff
michielvandergeest
published 2.16.0-beta.2 •
michielvandergeest
published 2.16.0-beta.1 •
wouterlucas
published 2.16.0-beta.0 •
uguraslan
published 2.15.0 •

Changelog

Source

v2.15.0

12 March 2025

  • Fixed issue related to image URL validation for image worker (#566)
  • Fixed issue related to imageWorker can't load relative URLs(#564)
  • Fixed regression issue related to types changes.(#562)
  • Fixed issue related to incorrect types(#558)
  • Added github workflow to validate PR's(#560)
  • Added support for animation by reference(#563)
  • Added Playwright browser tests(#561)
uguraslan
published 2.14.0 •

Changelog

Source

v2.14.0

24 June 2024

  • Adds onIdle event when pauseRafLoopOnIdle is enabled.
uguraslan
published 2.13.2 •

Changelog

Source

v2.13.2

04 June 2024

  • Fixes limiting behaviour that prevented using other system fonts. (#537)
  • Fixes duplicated call for _cleanupLookupMap() in the garbage collection function. (#520)
  • Fixes the issue causing double freeing of textures due to the garbage collection triggered during releasing memory. (#529)
michielvandergeest
published 2.13.1 •

Changelog

Source

v2.13.1

12 apr 2024

  • Hotfix - Typescript types were not properly published
michielvandergeest
published 2.13.0 •

Changelog

Source

v2.13.0

11 apr 2024

  • Fixed an issue causing not including TypeScript types in the build. (#527)
  • Enhanced handling of bidirectional text in TextTexture by setting canvas context direction to correct display of text blocks in RTL configurations.
uguraslan
published 2.12.1 •

Changelog

Source

v2.12.1

07 feb 2024

  • Fixed examples that were not working due to incorrect imports.
  • Fixed build issues on non-*nix systems.
  • Fixed some typos in the documentation.
  • Fixed an issue in RoundedRectangleShader where setting a stroke value resulted in incorrect clipping, especially noticeable when the radius is half the height.
uguraslan
published 2.12.0 •

Changelog

Source

v2.12.0

26 oct 2023

  • Introduced a named export for Lightning in the ESM build to support direct module augmentation with @lightningjs/core, resolving issues with default export augmentation. (#480)
  • Modified the export structure to support tree-shaking. Lightning's ES modules can now be selectively imported /tree-shaken. (#490)
  • Enabled development in both TypeScript and JavaScript. Migrated specific files and ensured all source module files are appropriately managed in the dist directory.
  • Separated the Lightning Inspector with types as its own export.
  • Resolved an inconsistency in the zSorting algorithm where elements with the same zIndex were not correctly sorted by updateTreeOrder. (#443)
  • Addressed an exception causing infinite loops when accessing the texture.source property after text updates. This fix streamlines access to the renderInfo property without triggering a maximum call stack exception. (#447 and #348)
  • Resolved an issue where adding an already existing element to childList would throw an error. (#311 and #509)
  • Fixed an issue where SVG txError events were not being triggered due to missed error captures.
  • Fixed an issue where txLoaded event in elements over-fired due to incorrect texture change identification.