Socket
Socket
Sign inDemoInstall

@shapediver/viewer.rendering-engine.canvas-engine

Package Overview
Dependencies
Maintainers
5
Versions
203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shapediver/viewer.rendering-engine.canvas-engine - npm Package Compare versions

Comparing version 2.9.11 to 2.10.0

6

dist/implementation/Canvas.js

@@ -1,5 +0,2 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Canvas = void 0;
class Canvas {
export class Canvas {
// #region Constructors (1)

@@ -38,3 +35,2 @@ constructor(_id, _originalDefinition, _canvasElement) {

}
exports.Canvas = Canvas;
//# sourceMappingURL=Canvas.js.map

20

dist/implementation/CanvasEngine.js

@@ -1,11 +0,8 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CanvasEngine = void 0;
const viewer_shared_services_1 = require("@shapediver/viewer.shared.services");
const Canvas_1 = require("./Canvas");
class CanvasEngine {
import { UuidGenerator } from '@shapediver/viewer.shared.services';
import { Canvas } from './Canvas';
export class CanvasEngine {
constructor() {
// #region Properties (3)
this._canvasDictionary = {};
this._uuidGenerator = viewer_shared_services_1.UuidGenerator.instance;
this._uuidGenerator = UuidGenerator.instance;
// #endregion Public Methods (2)

@@ -39,3 +36,3 @@ }

canvasElement.id = this._uuidGenerator.create();
this._canvasDictionary[storageId] = new Canvas_1.Canvas(canvasElement.id, canvasDefinition, canvasElement);
this._canvasDictionary[storageId] = new Canvas(canvasElement.id, canvasDefinition, canvasElement);
return storageId;

@@ -51,3 +48,3 @@ }

// id of a canvas was provided
this._canvasDictionary[storageId] = new Canvas_1.Canvas(id, canvasDefinition, canvasElement);
this._canvasDictionary[storageId] = new Canvas(id, canvasDefinition, canvasElement);
return storageId;

@@ -57,7 +54,7 @@ }

// no HTMLElement could be found, create Canvas with the id
this._canvasDictionary[storageId] = new Canvas_1.Canvas(id, canvasDefinition);
this._canvasDictionary[storageId] = new Canvas(id, canvasDefinition);
return storageId;
}
}
this._canvasDictionary[storageId] = new Canvas_1.Canvas(storageId, canvasDefinition);
this._canvasDictionary[storageId] = new Canvas(storageId, canvasDefinition);
return storageId;

@@ -69,3 +66,2 @@ }

}
exports.CanvasEngine = CanvasEngine;
//# sourceMappingURL=CanvasEngine.js.map

@@ -1,8 +0,4 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Canvas = exports.CanvasEngine = void 0;
const Canvas_1 = require("./implementation/Canvas");
Object.defineProperty(exports, "Canvas", { enumerable: true, get: function () { return Canvas_1.Canvas; } });
const CanvasEngine_1 = require("./implementation/CanvasEngine");
Object.defineProperty(exports, "CanvasEngine", { enumerable: true, get: function () { return CanvasEngine_1.CanvasEngine; } });
import { Canvas } from './implementation/Canvas';
import { CanvasEngine } from './implementation/CanvasEngine';
export { CanvasEngine, Canvas };
//# sourceMappingURL=index.js.map

@@ -1,3 +0,2 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
export {};
//# sourceMappingURL=ICanvas.js.map

@@ -1,3 +0,2 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
export {};
//# sourceMappingURL=ICanvasEngine.js.map
{
"name": "@shapediver/viewer.rendering-engine.canvas-engine",
"version": "2.9.11",
"version": "2.10.0",
"description": "",

@@ -42,7 +42,7 @@ "keywords": [],

"dependencies": {
"@shapediver/viewer.rendering-engine.rendering-engine": "2.9.11",
"@shapediver/viewer.shared.services": "2.9.11",
"@shapediver/viewer.rendering-engine.rendering-engine": "2.10.0",
"@shapediver/viewer.shared.services": "2.10.0",
"gl-matrix": "3.3.0"
},
"gitHead": "105aa4b6fb6de2e9d4dfac026030207460551c5b"
"gitHead": "3969d2d1c56ac1a6fc8fb86906b10a50c872f6a7"
}

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