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

wpe-lightning

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wpe-lightning - npm Package Versions

2

1.11.0

Diff

Changelog

Source

v1.11.0

Features
  • [experimental] Added touch support (see examples/touch) (#239)
Fixes
  • Shaders will now use precision highp float if the platform supports it (#232)
  • Fixed RoundedRectangle shader unconverted uniforms that would cause errors on some of the platforms (#234)
  • Fixed Hole shader to work with different resolutions (#233)
  • Fixed CORS issues on images specific to PS4 platform (#226)
metrological
published 1.10.0 •

Changelog

Source

v1.10.0

04 sep 2020

Features

  • New shaders:Vignette, Perspective, Spinner and Hole (example)

  • <details><summary><code>RoundedRectangle</code> shader can now be applied to each corner separately (<a href="https://jsfiddle.net/sLk5gzoh/2/">example</a>)</summary>
    shader: {type: lng.shaders.RoundedRectangle, radius: 50} // apply round corners to whole rectangle
    
    shader: {type: lng.shaders.RoundedRectangle, radius: [50, 0, 25, 0]} // apply round corners separately
    
    </details>
  • <details><summary>Binding multiple methods to same keycode is now possible</summary>
    const keys = {
      ...
      8: 'Back',
      13: 'Enter',
      219: ['Rewind', 'PreviousPage'],
      221: ['FastForward', 'NextPage'],
      ...
    };
    
</details>
  • <details><summary>Added support for base64 encoded images. This may have worked or not depending on image format and Image Worker configuration, but after the change it should work in all configurations</summary>
    Image: {
      x: 15, y: 15,
      src: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAA...'
    }
    
    
</details>

Fixes

  • Animation's progress event is called right before finish (#196)
  • No text on PS4 (#16)
  • Broken Dithering, Outline and Pixelate shaders (#199, #203)
metrological
published 1.9.0 •

Changelog

Source

v1.9.0

Features

  • <details><summary><code>RoundedRectangle</code> shader now has <code>fillColor</code>, <code>stroke</code> and <code>strokeColor</code> properties (<a href="https://jsfiddle.net/sLk5gzoh/4/">example</a>)</summary>
    shader: {
      type: lng.shaders.RoundedRectangle,
      fillColor: 0xffff0000, // fill color
      strokeColor: 0xff00ffff, // stroke color
      stroke: 30, // stroke thickness
    }
    
    </details>
  • <details><summary>Added <code>verticalAlign</code> option for <code>TextTexture</code>, which defines how text should be positioned if line height is greater than size of the font (<a href="https://jsfiddle.net/sLk5gzoh/5/">example</a>)</summary>
    text: {
      text: 'Hello',
      fontSize: 24,
      lineHeight: 40,
      verticalAlign: 'middle'
    }
    
    </details>

Fixes

  • Reverted #192 (#164) to preserve compatibility with existing applications
metrological
published 1.8.1 •

Changelog

Source

v1.8.1

Fixes

  • Vertical centering of text when line height is larger than font size (#164)
  • Relative protocol urls for Image Worker (#143)
metrological
published 1.8.0 •

Changelog

Source

v1.8.0

General

  • Migration to rdkcentral

Fixes

  • SVG images from foreign origins throwing errors (#185)
metrological
published 1.7.0 •

Changelog

Source

v1.7.0

Features

  • <details><summary>Added <code>letterSpacing</code> option for <code>TextTexture</code>, which lets increase or decrease space between letters (<a href="https://jsfiddle.net/oazxmp30/">example</a>)</summary>
    text: {
      text: 'Hello',
      letterSpacing: 5
    }
    
    </details>
metrological
published 1.6.1 •

Changelog

Source

v1.6.1

Fixes

  • getNonDefaults() of Element class (9096717)
metrological
published 1.4.1 •

Changelog

Source

v1.4.1

General

  • Rollup update (#102)
metrological
published 1.4.0 •

Changelog

Source

v1.4.0

Features

  • Lightning now contains ES5 compatible bundles (#97)
metrological
published 1.3.1 •

Changelog

Source

v1.3.1

08 jan 2020

Fixes

  • Fixed text highlight not rendering properly (#86)
2
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