Socket
Socket
Sign inDemoInstall

aframe-extras

Package Overview
Dependencies
3
Maintainers
5
Versions
131
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.2.0 to 7.3.0

12

package.json
{
"name": "aframe-extras",
"version": "7.2.0",
"version": "7.3.0",
"description": "Add-ons and examples for A-Frame VR.",

@@ -8,2 +8,10 @@ "author": "Don McCurdy <dm@donmccurdy.com>",

"main": "index.js",
"exports": {
".": "index.js",
"./controls/*": "./src/controls/*",
"./loaders/*": "./src/loaders/*",
"./misc/*": "./src/misc/*",
"./pathfinding/*": "./src/pathfinding/*",
"./primitives/*": "./src/primitives/*"
},
"repository": {

@@ -21,3 +29,3 @@ "type": "git",

"nipplejs": "^0.10.1",
"three": "0.159.0",
"three": "^0.159.0",
"three-pathfinding": "^1.1.0"

@@ -24,0 +32,0 @@ },

7

README.md

@@ -74,6 +74,9 @@ # A-Frame Extras

// index.js
require('aframe-extras');
import 'aframe-extras';
// or specific packages
import "aframe-extras/controls/index.js";
import "aframe-extras/pathfinding/index.js";
```
Once installed, you'll need to compile your JavaScript using something like [webpack](https://webpack.js.org).
Once installed, you'll need to compile your JavaScript using something like [webpack](https://webpack.js.org) with three defined as external, see webpack.config.js in this repo for an example.

@@ -80,0 +83,0 @@ ## Examples

@@ -37,3 +37,2 @@ # Loaders

| useRegExp | false | If true, interpret the `clip` string as a regular expression. If false, it is treated as a literal string, except for the * character, which is treated as a variable-length wildcard. |
| duration | 0 | Duration of one cycle of the animation clip, in seconds. This provides the same functionality as timeScale (apart from pausing), with duration = clipLength/timeScale. This property only has an effect if timeScale is set to 1, otherwise the value of timeScale is used to determine animation playback speed. |

@@ -40,0 +39,0 @@ | crossFadeDuration | 0 | Duration of cross-fades between clips, in seconds. |

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