Socket
Socket
Sign inDemoInstall

@zappar/zappar-threejs

Package Overview
Dependencies
5
Maintainers
11
Versions
101
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
79
11Next

0.3.27-rc.1

Diff

cgauld
published 0.3.26 •

Changelog

Source

[0.3.26] - 2021-06-25

  • Updated dependencies.
    • Bumped three support to r128.
    • Minimum supported three version raised to r118.

Added

  • Author url to package.json.
  • Links and Resources section to README.md.
TypeDoc
  • Code Comments.
  • TypeDoc generated documentation is hosted on GitHub Pages: https://zappar-xr.github.io/zappar-threejs/
ESLint
  • Pre-commit Husky hooks to enforce eslint rules.
  • CONTRIBUTING.MD:
    • Added Code Styling section.
    • Added notes regarding Husky.
    • Added notes regarding eslint.
    • Added notes regarding custom ESLint rules.
  • package.json:
    • Added husky and lint-staged configs.

Changed

Source Directories
  • src now has geometry, loaders, mesh and trackers subdirectories. The following files have been moved from ./src/ into subdirectories:
    • src/geometry/facebuffergeometry.ts
    • src/loaders/facemeshloader.ts
    • src/loaders/facetrackerloader.ts
    • src/loaders/headmaskmeshloader.ts
    • src/loaders/imagetrackerloader.ts
    • src/loaders/loadingmanager.ts
    • src/mesh/headmaskmesh.ts
    • src/trackers/faceanchorgroup.ts
    • src/trackers/facelandmarkgroup.ts
    • src/trackers/imageanchorgroup.ts
    • src/trackers/instantworldanchorgroup.ts
ESLint
  • Now using AirBnB ESLint config alongside prettier/recommended plugin.
    • This is enforced using Husky pre-commit hooks and lint-staged.
    • Added eslint-webpack-plugin to enforce code style.
  • (internal) THREE import validation is now handled by eslint.
Tests Refactor
  • Tests now use jest-image-snapshot for snapshot testing.
  • All tests moved to ./tests/.
  • Dramatically reduced test time by running console & snapshot tests in a single it block.
  • Expected screenshots are now stored in tests/__image_snapshots__/.
  • Screenshot diff artifacts are now saved in tests/__image_snapshots__/__diff_output__.
  • Standalone THREE versions to test against now come from standalone-versions.js.
  • Added webpack.helper.js. This helper is used to automatically generate standalone test pages. (tests/jest/module/*.tstests/jest/generated-standalone/*.js)
  • Added kill-test-process script to stop any processes running on the port 8081.
  • Added test:post script to package.json.

Removed

  • No longer used dependencies and their corresponding DT packages: pngjs, pixelmatch, concurrently, @zappar/zapworks-cli.

Fixed

  • CHANGELOG.md markdown formatting.
  • lint and lint:fix scripts in package.json.
  • README.MD markdown formatting.
cgauld
published 0.3.26-rc1 •

cgauld
published 0.3.25 •

cgauld
published 0.3.24 •

Changelog

Source

[0.3.24] - 2021-04-23

  • Updated @zappar/zappar-js

Added

  • zNear and zFar options to ZapparThree.Camera, allowing custom clipping planes distances.
cgauld
published 0.3.23 •

Changelog

Source

[0.3.23] - 2021-04-21

  • Updated @zappar/zappar
  • Tracker groups matrices are now decomposed into the object's respective transforms.
  • Migrated testing utils to @zappar/test-utils

Added

  • Caveats section to README.MD

Fixed

  • Version typo in CHANGELOG.md
  • Workaround for deprecated removeAttribute
cgauld
published 0.3.22 •

Changelog

Source

[0.3.22] - 2021-04-08

Changed

  • Camera source options now take HTMLImageElement | HTMLVideoElement | string instead of CameraSource | string.
cgauld
published 0.3.11 •

Changelog

Source

[0.3.11] - 2021-04-07

  • Updated ThreeJs to 0.127.0

Fixed

  • Fallback to getInverse for threejs versions before 0.123.x
cgauld
published 0.3.8 •

Changelog

Source

[0.3.8] - 2021-03-08

Added

  • Options to Camera constructor, allowing custom video devices to be used.
  • logLevel() and setLogLevel(...) to customize volume of log output
  • glContextLost() to indicate that the GL context is lost

Changed

  • Open-sourcing on GitHub
  • Updated dependencies
  • License check now happens when the first ZapparCamera or Pipeline is created

Fixed

  • pipeline.glContextSet(...) correctly handles multiple invocations
cgauld
published 0.3.6 •

Changelog

Source

[0.3.6] - 2020-12-1

Changed

  • Bumped Three version to 0.123.0
  • If available, camera sets projectionMatrixInverse using invert instead of deprecated getInverse.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc