Socket
Socket
Sign inDemoInstall

@shapediver/viewer.shared.types

Package Overview
Dependencies
Maintainers
0
Versions
203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shapediver/viewer.shared.types - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

6

dist/implementation/data/AnimationData.js

@@ -104,8 +104,4 @@ "use strict";

__classPrivateFieldSet(this, _AnimationData_started, true, "f");
__classPrivateFieldSet(this, _AnimationData_nodeIds, [], "f");
for (let i = 0; i < __classPrivateFieldGet(this, _AnimationData_tracks, "f").length; i++) {
const track = __classPrivateFieldGet(this, _AnimationData_tracks, "f")[i];
if (__classPrivateFieldGet(this, _AnimationData_nodeIds, "f").includes(track.node.id))
continue;
__classPrivateFieldGet(this, _AnimationData_nodeIds, "f").push(track.node.id);
const idleTransformation = track.node.transformations.find(t => t.id === 'gltf_matrix');

@@ -192,3 +188,3 @@ if (idleTransformation) {

}
else if (!__classPrivateFieldGet(this, _AnimationData_nodeIds, "f").includes(track.node.id)) {
else {
const idleTransformation = track.node.transformations.find(t => t.id === 'gltf_matrix');

@@ -195,0 +191,0 @@ if (idleTransformation) {

10

package.json
{
"name": "@shapediver/viewer.shared.types",
"version": "3.1.1",
"version": "3.1.2",
"description": "",

@@ -44,8 +44,8 @@ "keywords": [],

"@shapediver/sdk.sdtf-v1": "1.5.0",
"@shapediver/viewer.shared.math": "3.1.1",
"@shapediver/viewer.shared.node-tree": "3.1.1",
"@shapediver/viewer.shared.services": "3.1.1",
"@shapediver/viewer.shared.math": "3.1.2",
"@shapediver/viewer.shared.node-tree": "3.1.2",
"@shapediver/viewer.shared.services": "3.1.2",
"gl-matrix": "3.3.0"
},
"gitHead": "907a4374f92599a4ffb37eedd2f5cc388b9c4aab"
"gitHead": "b777b52622744784ca90b32c2008f24653e57c76"
}

@@ -121,8 +121,5 @@ import { AbstractTreeNodeData, ITransformation, ITreeNode, ITreeNodeData } from '@shapediver/viewer.shared.node-tree'

this.#started = true;
this.#nodeIds = [];
for (let i = 0; i < this.#tracks.length; i++) {
const track = this.#tracks[i];
if(this.#nodeIds.includes(track.node.id)) continue;
this.#nodeIds.push(track.node.id)
const idleTransformation = track.node.transformations.find(t => t.id === 'gltf_matrix');

@@ -214,3 +211,3 @@ if (idleTransformation) {

}
} else if(!this.#nodeIds.includes(track.node.id)) {
} else {
const idleTransformation = track.node.transformations.find(t => t.id === 'gltf_matrix');

@@ -217,0 +214,0 @@ if (idleTransformation) {

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