Socket
Socket
Sign inDemoInstall

stl-exporter

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stl-exporter - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

10

build/AsciiSerializer.js

@@ -53,6 +53,8 @@ // Generated by CoffeeScript 1.9.2

}
if (this.options.beautify) {
this.push(createBeautifiedFacetString(data));
} else {
this.push(createFacetString(data));
if (data.hasOwnProperty('vertices')) {
if (this.options.beautify) {
this.push(createBeautifiedFacetString(data));
} else {
this.push(createFacetString(data));
}
}

@@ -59,0 +61,0 @@ }

6

build/BinarySerializer.js

@@ -78,3 +78,3 @@ // Generated by CoffeeScript 1.9.2

data = JSON.parse(data);
if (data.name) {
if (data.hasOwnProperty('name')) {
this.name = data.name;

@@ -89,3 +89,5 @@ arrayBuffer = new ArrayBuffer(this.headerLength + this.facetsCounterLength);

}
this.push(this._createFacetString(data));
if (data.hasOwnProperty('vertices')) {
this.push(this._createFacetString(data));
}
}

@@ -92,0 +94,0 @@ return done();

{
"name": "stl-exporter",
"version": "0.3.2",
"version": "0.3.3",
"description": "Convert face-vertex, or polygon meshes to ascii and binary STLs",

@@ -5,0 +5,0 @@ "main": "build/index.js",

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