@lrnwebcomponents/aframe-player
Advanced tools
+5
-5
@@ -15,3 +15,3 @@ { | ||
| }, | ||
| "version": "7.0.15", | ||
| "version": "7.0.16", | ||
| "description": "A-frame 3D player in the browser via data binding w/ polymer", | ||
@@ -41,8 +41,8 @@ "repository": { | ||
| "@lrnwebcomponents/es-global-bridge": "^7.0.4", | ||
| "@lrnwebcomponents/schema-behaviors": "^7.0.15", | ||
| "@lrnwebcomponents/schema-behaviors": "^7.0.16", | ||
| "lit": "^2.7.6" | ||
| }, | ||
| "devDependencies": { | ||
| "@lrnwebcomponents/deduping-fix": "^7.0.4", | ||
| "@lrnwebcomponents/storybook-utilities": "^7.0.15", | ||
| "@lrnwebcomponents/deduping-fix": "^7.0.16", | ||
| "@lrnwebcomponents/storybook-utilities": "^7.0.16", | ||
| "@open-wc/testing": "3.2.0", | ||
@@ -65,3 +65,3 @@ "@polymer/iron-component-page": "github:PolymerElements/iron-component-page", | ||
| ], | ||
| "gitHead": "c7826d219bb3282c7d1f7c2cfd9fceb7e238298d" | ||
| "gitHead": "3f01a081c0e9953e959deffdbcba9a7dca1eeb65" | ||
| } |
| import { StorybookUtilities } from "@lrnwebcomponents/storybook-utilities/storybook-utilities.js"; | ||
| import { AframePlayer } from "./aframe-player.js"; | ||
| window.StorybookUtilities.requestAvailability(); | ||
| /** | ||
| * add to the pattern library | ||
| */ | ||
| const AframePattern = { | ||
| of: "Pattern Library/Molecules/Media", | ||
| name: "3D", | ||
| file: require("raw-loader!./demo/index.html"), | ||
| replacements: [ | ||
| { | ||
| find: "./animatedbox.gltf", | ||
| replace: require("file-loader!./demo/animatedbox.gltf"), | ||
| }, | ||
| ], | ||
| }; | ||
| window.StorybookUtilities.instance.addPattern(AframePattern); | ||
| /** | ||
| * add the live demo | ||
| */ | ||
| const props = AframePlayer.properties; | ||
| props.source.value = require("file-loader!./demo/animatedbox.gltf"); | ||
| const AframeStory = { | ||
| of: "Web Components", | ||
| name: "aframe-player", | ||
| props: props, | ||
| slots: {}, | ||
| attr: ``, | ||
| slotted: ``, | ||
| }; | ||
| window.StorybookUtilities.instance.addLiveDemo(AframeStory); |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
60159
-1.46%16
-5.88%931
-3.32%