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.26 to 1.0.27

2

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

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

@@ -40,3 +40,4 @@ import * as three from "three"

antialias: options.antialias,
depth: false
depth: false,
preserveDrawingBuffer: options.preserveDrawingBuffer
})

@@ -689,3 +690,5 @@ } catch (e) {

/** Retain the simple object representing the parsed DXF - will consume a lot of additional memory */
retainParsedDxf: false
retainParsedDxf: false,
/** Whether to preserve the buffers until manually cleared or overwritten */
preserveDrawingBuffer: false
}

@@ -692,0 +695,0 @@

@@ -30,3 +30,4 @@ /** See TextRenderer.DefaultOptions for default values and documentation. */

sceneOptions: DxfSceneOptions,
retainParsedDxf: boolean
retainParsedDxf: boolean,
preserveDrawingBuffer: boolean
}

@@ -84,3 +85,3 @@

export class Pattern {
constructor(lines: PatternLineDef[], name: string | null = null)
constructor(lines: PatternLineDef[], name: string | null)

@@ -90,5 +91,5 @@ static ParsePatFile(content: String): Pattern

export function RegisterPattern(pattern: Pattern, isMetric: boolean = true): void
export function RegisterPattern(pattern: Pattern, isMetric: boolean): void
/** @return {?Pattern} */
export function LookupPattern(name: string, isMetric: boolean = true): Pattern | null
export function LookupPattern(name: string, isMetric: boolean): Pattern | null

@@ -31,3 +31,2 @@ import * as helpers from '../ParseHelpers';

break;
break;
case 10: // X coordinate of 'first alignment point'

@@ -34,0 +33,0 @@ entity.startPoint = helpers.parsePoint(scanner);

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