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.248 to 1.0.249

13

dist/react/useEventListenerOn.js

@@ -151,11 +151,6 @@ import { useEffect, useState, useRef } from 'react';

useEffect(function () {
if (!initSelector) {
var id = generateUniqueId();
setSelectId(id);
setSelector("[frame-id=\"".concat(id, "\"]"));
}
else {
setSelector(initSelector);
}
}, [initSelector]);
var id = generateUniqueId();
setSelectId(id);
setSelector("[frame-id=\"".concat(id, "\"]"));
}, []);
return _a = {}, _a["frame-id"] = selectedId, _a;

@@ -162,0 +157,0 @@ }

{
"name": "a-frame-components",
"version": "1.0.248",
"version": "1.0.249",
"description": "",

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

@@ -177,11 +177,6 @@ import { useEffect, useState, useRef } from 'react';

useEffect(() => {
if (!initSelector) {
let id = generateUniqueId();
setSelectId(id);
setSelector(`[frame-id="${id}"]`);
}
else {
setSelector(initSelector);
}
}, [initSelector])
let id = generateUniqueId();
setSelectId(id);
setSelector(`[frame-id="${id}"]`);
}, [])

@@ -188,0 +183,0 @@ return { [`frame-id`]: selectedId }

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