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

@shapediver/viewer.data-engine.material-engine

Package Overview
Dependencies
Maintainers
0
Versions
229
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shapediver/viewer.data-engine.material-engine - npm Package Compare versions

Comparing version 3.2.4 to 3.2.5

9

dist/MaterialEngine.js

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

abstractProperties.bumpScale = definition.bumpScale;
abstractProperties.color = definition.color ? this._converter.toColorArray(definition.color) : undefined;
abstractProperties.color = definition.color ? definition.color : undefined;
abstractProperties.depthTest = definition.depthTest;

@@ -86,3 +86,3 @@ abstractProperties.depthWrite = definition.depthWrite;

}));
abstractProperties.emissiveness = definition.emissiveness ? this._converter.toColorArray(definition.emissiveness) : undefined;
abstractProperties.emissiveness = definition.emissiveness ? definition.emissiveness : undefined;
promises.push(this.loadMapFromDefinition(definition.map).then(map => {

@@ -341,3 +341,6 @@ if (map)

return undefined;
if (definition.image) {
if (typeof definition === 'string') {
return this.loadMap(definition);
}
else if (definition.image) {
if (typeof definition.image === 'string') {

@@ -344,0 +347,0 @@ return this.loadMapWithProperties({

{
"name": "@shapediver/viewer.data-engine.material-engine",
"version": "3.2.4",
"version": "3.2.5",
"description": "",

@@ -43,10 +43,10 @@ "keywords": [],

"@shapediver/sdk.geometry-api-sdk-v2": "1.10.0",
"@shapediver/viewer.data-engine.shared-types": "3.2.4",
"@shapediver/viewer.shared.node-tree": "3.2.4",
"@shapediver/viewer.shared.services": "3.2.4",
"@shapediver/viewer.shared.types": "3.2.4",
"@shapediver/viewer.data-engine.shared-types": "3.2.5",
"@shapediver/viewer.shared.node-tree": "3.2.5",
"@shapediver/viewer.shared.services": "3.2.5",
"@shapediver/viewer.shared.types": "3.2.5",
"axios": "^1.2.6",
"gl-matrix": "3.3.0"
},
"gitHead": "112bde299c23758fa552f0cf46456f1dbde837d6"
"gitHead": "08deb0200eb96bfa7387653a66a7b62a88bf9714"
}

@@ -108,3 +108,3 @@ import {

abstractProperties.bumpScale = definition.bumpScale;
abstractProperties.color = definition.color ? this._converter.toColorArray(definition.color) : undefined;
abstractProperties.color = definition.color ? definition.color : undefined;
abstractProperties.depthTest = definition.depthTest;

@@ -116,3 +116,3 @@ abstractProperties.depthWrite = definition.depthWrite;

}));
abstractProperties.emissiveness = definition.emissiveness ? this._converter.toColorArray(definition.emissiveness) : undefined;
abstractProperties.emissiveness = definition.emissiveness ? definition.emissiveness : undefined;
promises.push(this.loadMapFromDefinition(definition.map).then(map => {

@@ -352,3 +352,5 @@ if (map) abstractProperties.map = map;

if (definition.image) {
if (typeof definition === 'string') {
return this.loadMap(definition);
} else if (definition.image) {
if (typeof definition.image === 'string') {

@@ -355,0 +357,0 @@ return this.loadMapWithProperties({

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