Socket
Socket
Sign inDemoInstall

dxf-viewer

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dxf-viewer - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

package.json
{
"name": "dxf-viewer",
"version": "1.0.2",
"version": "1.0.3",
"description": "JavaScript DXF file viewer",

@@ -18,3 +18,3 @@ "main": "src/index.js",

"dependencies": {
"three": "^0.125.1",
"three": "^0.125.2",
"loglevel": "^1.7.1",

@@ -21,0 +21,0 @@ "opentype.js": "^1.3.3"

@@ -51,8 +51,9 @@ import {DynamicBuffer, NativeType} from "./DynamicBuffer"

async Build(dxf, fontFetchers) {
const header = dxf.header || {}
/* 0 - CCW, 1 - CW */
this.angBase = dxf.header["$ANGBASE"] || 0
this.angBase = header["$ANGBASE"] || 0
/* Zero angle direction, 0 is +X */
this.angDir = dxf.header["$ANGDIR"] || 0
this.pdMode = dxf.header["$PDMODE"] || 0
this.pdSize = dxf.header["$PDSIZE"] || 0
this.angDir = header["$ANGDIR"] || 0
this.pdMode = header["$PDMODE"] || 0
this.pdSize = header["$PDSIZE"] || 0

@@ -59,0 +60,0 @@ if(dxf.tables && dxf.tables.layer) {

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