+1
-1
| { | ||
| "name": "three", | ||
| "version": "0.181.1", | ||
| "version": "0.181.2", | ||
| "description": "JavaScript 3D library", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -317,2 +317,3 @@ import { | ||
| this._blurMaterial = _getBlurShader( _lodMax, width, height ); | ||
| this._ggxMaterial = _getGGXShader( _lodMax, width, height ); | ||
@@ -523,10 +524,2 @@ } | ||
| if ( this._ggxMaterial === null ) { | ||
| const width = 3 * Math.max( this._cubeSize, 16 ); | ||
| const height = 4 * this._cubeSize; | ||
| this._ggxMaterial = _getGGXShader( this._lodMax, width, height ); | ||
| } | ||
| const ggxMaterial = this._ggxMaterial; | ||
@@ -533,0 +526,0 @@ const ggxMesh = this._lodMeshes[ lodOut ]; |
@@ -462,2 +462,3 @@ import NodeMaterial from '../../../materials/nodes/NodeMaterial.js'; | ||
| this._blurMaterial = _getBlurShader( _lodMax, renderTarget.width, renderTarget.height ); | ||
| this._ggxMaterial = _getGGXShader( _lodMax, renderTarget.width, renderTarget.height ); | ||
@@ -654,9 +655,2 @@ } | ||
| // Lazy create GGX material only when first used | ||
| if ( this._ggxMaterial === null ) { | ||
| this._ggxMaterial = _getGGXShader( this._lodMax, this._pingPongRenderTarget.width, this._pingPongRenderTarget.height ); | ||
| } | ||
| const ggxMaterial = this._ggxMaterial; | ||
@@ -663,0 +657,0 @@ const ggxMesh = this._lodMeshes[ lodOut ]; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
869
-1.59%75
-5.06%35827023
0501055
0