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 8.6.2 to 8.7.0

6

distribution/hooks/use-unity-instance.js

@@ -71,2 +71,8 @@ "use strict";

_a.trys.push([1, 3, , 4]);
// It is possible for the application being rendered server side. In
// this scenario, the window is not available. We can't create the
// Unity Instance in this case.
if (window === undefined) {
return [2 /*return*/];
}
return [4 /*yield*/, window.createUnityInstance(htmlCanvasElement, unityInstanceParameters, setProgression)];

@@ -73,0 +79,0 @@ case 2:

2

package.json
{
"name": "react-unity-webgl",
"version": "8.6.2",
"version": "8.7.0",
"description": "React Unity WebGL provides an easy solution for embedding Unity WebGL builds in your React application, with two-way communication between your React and Unity application with advanced API's.",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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