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

a-frame-components

Package Overview
Dependencies
Maintainers
1
Versions
321
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a-frame-components - npm Package Compare versions

Comparing version 1.0.47 to 1.0.48

4

dist/gui/components/mixin.js

@@ -11,3 +11,3 @@ export default {

var currentWidth = el.getAttribute('width');
var newWidth = container.getWidth().toString();
var newWidth = container.getWidth ? container.getWidth().toString() : (container.getAttribute('width') || '0');
if (currentWidth !== newWidth) {

@@ -18,3 +18,3 @@ el.setAttribute('width', newWidth);

var currentHeight = el.getAttribute('height');
var newHeight = container.getHeight().toString();
var newHeight = container.getHeight ? container.getHeight().toString() : (container.getAttribute('height') || '0');
if (currentHeight !== newHeight) {

@@ -21,0 +21,0 @@ el.setAttribute('height', newHeight);

{
"name": "a-frame-components",
"version": "1.0.47",
"version": "1.0.48",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -12,3 +12,3 @@ export default {

const currentWidth = el.getAttribute('width');
const newWidth = container.getWidth().toString();
const newWidth = container.getWidth ? container.getWidth().toString() : (container.getAttribute('width') || '0');
if (currentWidth !== newWidth) {

@@ -20,3 +20,3 @@ el.setAttribute('width', newWidth);

const currentHeight = el.getAttribute('height');
const newHeight = container.getHeight().toString();
const newHeight = container.getHeight ? container.getHeight().toString() : (container.getAttribute('height') || '0');
if (currentHeight !== newHeight) {

@@ -23,0 +23,0 @@ el.setAttribute('height', newHeight);

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