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

@shapediver/viewer.shared.types

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.shared.types - npm Package Compare versions

Comparing version 3.5.4 to 3.5.5

5

dist/implementation/data/InstanceMatricesData.d.ts
import { AbstractTreeNodeData } from '@shapediver/viewer.shared.node-tree';
import { IInstanceMatricesData } from '../../interfaces/data/IInstanceMatricesData';
import { mat4 } from 'gl-matrix';
import { Color } from '../../types';
export declare class InstanceMatricesData extends AbstractTreeNodeData implements IInstanceMatricesData {

@@ -13,5 +12,3 @@ #private;

*/
constructor(instanceMatrices?: mat4[], instanceColors?: Color[], id?: string, version?: string);
get instanceColors(): Color[];
set instanceColors(value: Color[]);
constructor(instanceMatrices?: mat4[], id?: string, version?: string);
get instanceMatrices(): mat4[];

@@ -18,0 +15,0 @@ set instanceMatrices(value: mat4[]);

24

dist/implementation/data/InstanceMatricesData.js

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

};
var _InstanceMatricesData_instanceColors, _InstanceMatricesData_instanceMatrices;
var _InstanceMatricesData_instanceMatrices;
Object.defineProperty(exports, "__esModule", { value: true });

@@ -19,3 +19,3 @@ exports.InstanceMatricesData = void 0;

class InstanceMatricesData extends viewer_shared_node_tree_1.AbstractTreeNodeData {
// #endregion Properties (2)
// #endregion Properties (1)
// #region Constructors (1)

@@ -28,18 +28,10 @@ /**

*/
constructor(instanceMatrices = [], instanceColors = [], id, version) {
constructor(instanceMatrices = [], id, version) {
super(id, version);
// #region Properties (2)
_InstanceMatricesData_instanceColors.set(this, []);
// #region Properties (1)
_InstanceMatricesData_instanceMatrices.set(this, []);
__classPrivateFieldSet(this, _InstanceMatricesData_instanceMatrices, instanceMatrices, "f");
__classPrivateFieldSet(this, _InstanceMatricesData_instanceColors, instanceColors, "f");
}
// #endregion Constructors (1)
// #region Public Getters And Setters (4)
get instanceColors() {
return __classPrivateFieldGet(this, _InstanceMatricesData_instanceColors, "f");
}
set instanceColors(value) {
__classPrivateFieldSet(this, _InstanceMatricesData_instanceColors, value, "f");
}
// #region Public Getters And Setters (2)
get instanceMatrices() {

@@ -51,3 +43,3 @@ return __classPrivateFieldGet(this, _InstanceMatricesData_instanceMatrices, "f");

}
// #endregion Public Getters And Setters (4)
// #endregion Public Getters And Setters (2)
// #region Public Methods (1)

@@ -58,7 +50,7 @@ /**

clone() {
return new InstanceMatricesData(this.instanceMatrices, this.instanceColors, this.id, this.version);
return new InstanceMatricesData(this.instanceMatrices, this.id, this.version);
}
}
exports.InstanceMatricesData = InstanceMatricesData;
_InstanceMatricesData_instanceColors = new WeakMap(), _InstanceMatricesData_instanceMatrices = new WeakMap();
_InstanceMatricesData_instanceMatrices = new WeakMap();
//# sourceMappingURL=InstanceMatricesData.js.map
import { ITreeNodeData } from '@shapediver/viewer.shared.node-tree';
import { mat4 } from 'gl-matrix';
import { Color } from '../../types';
export interface IInstanceMatricesData extends ITreeNodeData {
instanceColors: Color[];
instanceMatrices: mat4[];

@@ -7,0 +5,0 @@ clone(): IInstanceMatricesData;

{
"name": "@shapediver/viewer.shared.types",
"version": "3.5.4",
"version": "3.5.5",
"description": "",

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

"@shapediver/sdk.sdtf-v1": "1.5.3",
"@shapediver/viewer.shared.math": "3.5.4",
"@shapediver/viewer.shared.node-tree": "3.5.4",
"@shapediver/viewer.shared.services": "3.5.4",
"@shapediver/viewer.shared.math": "3.5.5",
"@shapediver/viewer.shared.node-tree": "3.5.5",
"@shapediver/viewer.shared.services": "3.5.5",
"gl-matrix": "3.3.0",
"zod": "^3.23.8"
},
"gitHead": "739bf516d6af5db81c4f049947ea3a9126c74ee6"
"gitHead": "c7f06566e67aa2453d7fa74cbca02952ed94fdbe"
}

Sorry, the diff of this file is not supported yet

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