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

troika-worker-utils

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

troika-worker-utils - npm Package Versions

1345

0.44.0

Diff

Changelog

Source

0.44.0 (2021-11-14)

Bug Fixes

  • troika-three-text: fill in missing caret positions when the final glyph is a ligature - #165 (ad2eda6)
lojjic
published 0.43.0 •

Changelog

Source

0.43.0 (2021-09-20)

Bug Fixes

  • InstancedUniformsMesh: reuse same derived material instance when uniform names change (bd7cea6), closes #154
  • remove warnings about many open worker module requests (164fb8f), closes #156

Features

  • troika-three-text: allow line wrapping after some common non-whitespace chars like hyphens (1b20e34), closes #136
  • troika-worker-utils: add a terminateWorker function (33b8455)
  • don't transpile UMD build files, fixing usage with Three.js r128 (e380b0d), closes #130

Performance Improvements

  • troika-three-text: parallelize SDF generation with multiple worker threads (c2bf886)
lojjic
published 0.42.0 •

Changelog

Source

0.42.0 (2021-05-17)

Bug Fixes

  • add three to peerDependencies in all leaf packages (0a11ab6)

Features

  • open up 'three' peer dependency to include future versions (d4a5b23)
lojjic
published 0.41.0 •

Changelog

Source

0.41.0 (2021-04-19)

Bug Fixes

  • troika-core: set animation/transition first when using .update() (8ebf59d)
  • troika-three-text: fix Arabic word position letter forms (480ee97)
  • troika-three-text: formatting characters no longer produce visible glyphs (c0d28e8)
  • troika-three-text: more correct impl for character joining types (2ce519a)
  • troika-three-text: prevent mutation of input to worldPositionToTextCoords method (d487b8a)

Features

  • update support up to threejs r127 (5b512f0)
  • troika-three-text: add full bidi text support (3fde850)
  • troika-three-text: simple bidi layout support, using explicit LRO/RLO/PDF chars only (d511655)
  • troika-three-text: very basic support for right-to-left text layout (ce887be)

Performance Improvements

  • prune some unused functions out of the Typr build (26e669f)
lojjic
published 0.40.0 •

Changelog

Source

0.40.0 (2021-02-28)

Bug Fixes

  • troika-three-text: fix boundingBox, boundingSphere, and raycasting with curveRadius (7cc7c82), closes #103

Features

  • troika-3d: add initThreeObject lifecycle method to Object3DFacade (230a87d)
  • troika-3d: remove need for manually defining material.instanceUniforms (a234f8c)
lojjic
published 0.39.0 •

Changelog

Source

0.39.0 (2021-02-15)

Bug Fixes

  • restore compatibility with three versions <0.113.0 by copying MathUtils.generateUUID (35856b5)

Features

  • troika-core: add requestRender method as nicer shortcut (c79254c)
  • troika-three-text: add curveRadius for applying cylindrical curvature (6fdfbbf)
  • troika-three-text: export a function for debugging SDF textures (3fb0c23)
  • troika-three-text: pack SDFs using all 4 color channels, to increase max glyphs in a texture (d236caf)
  • troika-xr: add basic TeleportControls (319ed29)
lojjic
published 0.38.1 •

Changelog

Source

0.38.1 (2021-02-03)

Bug Fixes

  • hoist vertexTransform defs to top of the shader to prevent errors in chained derivations (889ed38)
  • update to support up to Three r125 (4edff04)
  • three-instanced-uniforms-mesh: prevent creation of multiple derived geometries (94a7f67)
  • three-instanced-uniforms-mesh: the derived material is now prototype-chained to its base (bf45d01)
  • troika-worker-utils: properly track open requests count (a01d903)
  • make derived material's customProgramCacheKey function writable (10289dd)
  • troika-three-text: prevent copy() from sharing geometry between instances (8c3ba2d)
  • add new text props to UI blocks (a2d631f)
lojjic
published 0.38.0 •

Changelog

Source

0.38.0 (2021-01-24)

Bug Fixes

  • troika-three-text: allow negative percentages for outlineOffsetX/Y (3a274f0), closes #100

Features

  • move InstancedUniformsMesh to its own three-instanced-uniforms-mesh package (f623b1f)
lojjic
published 0.37.0 •

Changelog

Source

0.37.0 (2021-01-18)

Features

  • troika-three-text: added inner stroke and outline blur capabilities (e004b9d)
  • add InstancedUniformsMesh class for setting shader uniforms per instance (5fd4d79)

Performance Improvements

  • troika-three-text: swap tiny-inflate to fflate for minor speed boost on woff fonts (2ae29fa)
lojjic
published 0.36.0 •

Changelog

Source

0.36.0 (2020-12-04)

Bug Fixes

  • fix font parser build scripts (e2d88fa)
  • prevent error in WristMountedUI when gripPose is null (755d560)
  • use combined frustum for XR camera, using setProjectionFromUnion from three.js (ff1b9ae)
  • troika-three-text: fix wrong caret position for collapsed ligature characters (f220035)

Features

  • troika-three-text: fix kerning by updating from Typr.js to Typr.ts (43144cf), closes #70
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