New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-unity-webgl

Package Overview
Dependencies
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-unity-webgl - npm Package Compare versions

Comparing version 5.6.0-update.2 to 5.6.0-update.3

2

lib/react-unity-webgl.js

@@ -102,3 +102,3 @@ "use strict";

"div",
{ style: this.style },
{ className: "unity" },
_react2.default.createElement("div", { className: "unity-container", id: "unity-container" }),

@@ -105,0 +105,0 @@ this.state.loaded == false && _react2.default.createElement(

{
"name": "react-unity-webgl",
"version": "5.6.0-update.2",
"version": "5.6.0-update.3",
"description": "A Unity WebGL component for your React application",

@@ -5,0 +5,0 @@ "main": "lib/react-unity-webgl.js",

@@ -53,16 +53,13 @@ # react-unity-webgl

```scss
/* Example styling */
.unity-container {
canvas {
/* ... */
.unity {
.unity-container {
canvas {
}
}
}
.unity-loader {
/* ... */
.bar {
/* ... */
.fill {
/* the width will be set
* by the component
... */
.unity-loader {
.bar {
.fill {
/* the width will be set by the component */
}
}

@@ -69,0 +66,0 @@ }

@@ -63,3 +63,3 @@ import React, { Component } from 'react';

return (
<div style={this.style}>
<div className="unity">
<div className="unity-container" id="unity-container"></div>

@@ -66,0 +66,0 @@ {this.state.loaded == false &&

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