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

@lightningjs/blits

Package Overview
Dependencies
Maintainers
6
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightningjs/blits - npm Package Versions

1
10

0.9.2

Diff

Changelog

Source

v0.9.2

21 mar 2024

  • Fixed issue with updates not triggering during array operation
michielvandergeest
published 0.9.1 •

Changelog

Source

v0.9.1

21 mar 2024

  • Improved support for reactive advanced array operations (i.e. splice(), concat(), sort())
  • Upgraded Lightning renderer to v0.7.6
  • Reverted removal of destroy of child nodes (added in v0.8.1)
  • Introduced viewportMargin setting
  • Added undefined-check for props sent to renderer
michielvandergeest
published 0.9.0 •

Changelog

Source

v0.9.0

18 mar 2024

  • Added symbol for id on component
  • Fixed issue in for loop when :key is a number (and not a string)
  • Added built-in hasFocus state variable, available on every Component
  • Refactored font loading, removed the need for temporary src/fontLoader.js file
  • Replaced using component name with unique identifier for registering and emitting hooks
michielvandergeest
published 0.8.1 •

Changelog

Source

v0.8.1

9 mar 2024

  • Added pre-processing of hardcoded colors used in the template
  • Upgraded Lightning renderer to v0.7.5
  • Removed explicit destroy of child nodes, as the renderer now takes care of this
  • Re-added support for clipping
michielvandergeest
published 0.8.0 •

Changelog

Source

v0.8.0

1 mar 2024

  • Added this.$clearIntervals() and this.$clearTimeouts() methods that clear all intervals and timers set on a certain component
  • Breaking change: Renamed the key function to easing in the transitions object used to specify a custom easing functio (deprecation notice added)
michielvandergeest
published 0.7.4 •

Changelog

Source

v0.7.4

28 feb 2024

  • Fixed dependency for on the fly MSDF font generation
michielvandergeest
published 0.7.3 •

Changelog

Source

v0.7.3

28 feb 2024

  • Added functionality that forces focus hook to fire when parent receives focus from child
  • Improved destroy sequence of nodes to be disposed
  • Fixed issue with tracking reactive objects multiple times (potential max call stack error)
  • Added on the fly MSDF font generation from a .ttf file placed in publics/fonts
  • Added support for pre-compilation for files with more than 1 Blits component
  • Fixed transitions on scale attribute when passed an object with x and y values
michielvandergeest
published 0.7.2 •

Changelog

Source

v0.7.2

23 feb 2024

  • Added small fix to support for (re)assigning an array used in a for-loop
  • Added option to enable the Lightning inspector in launch setting (inspector: true/false)
michielvandergeest
published 0.7.1 •

Changelog

Source

v0.7.1

22 feb 2024

  • Fixed clean up of children nodes when routing to a new view
  • Fixed test cases for code generator (100% coverage)
  • Added support for colorizing sprites
  • Removed before setup and setup lifecycle events and optimized lifecycle instance in components
  • Added support for (re)assigning an array used in a for-loop
  • Refactored delay of transitions (using the now available built-in delay in the renderer)
  • Added preliminary support for frameTick hook
  • Upgraded to latest version of the renderer (0.7.4)
michielvandergeest
published 0.7.0 •

Changelog

Source

v0.7.0

20 feb 2024

  • Added support for dynamic components through the is-attribute (<Component is="Poster" /> or <Component is="$dynamicComponent" />)
  • Added functionality to pass extra data / props when navigating to a new route ( breaking change in signature of router.to() method - previously: router.to(path, options), now: router.to(path, data, options))
  • Added configuration option to set the canvas color (aka clear color)
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