Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gerber-to-svg

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gerber-to-svg - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

10

lib/plotter.js

@@ -445,2 +445,6 @@ (function() {

this.quad = 'm';
} else if (code === 'G70') {
this.backupUnits = 'in';
} else if (code === 'G71') {
this.backupUnits = 'mm';
} else if (!code.match(/^G(0?4)|(5[45])|(7[01])|(9[01])/)) {

@@ -669,3 +673,7 @@ throw new SyntaxError('invalid operation G code');

if (this.units == null) {
throw new Error('units have not been set');
if (this.backupUnits != null) {
this.units = this.backupUnits;
} else {
throw new Error('units have not been set');
}
}

@@ -672,0 +680,0 @@ newPosition = this.coordinate(coord);

2

package.json
{
"name": "gerber-to-svg",
"version": "0.0.3",
"version": "0.0.4",
"description": "Gerber file to SVG converter",

@@ -5,0 +5,0 @@ "main": "lib/gerber-to-svg.js",

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

# gerber-to-svg
Javascript Gerber file to SVG converter for Node and the browser.
# gerber-to-svg [![Build Status](http://img.shields.io/travis/mcous/gerber-to-svg.svg?style=flat)](https://travis-ci.org/mcous/gerber-to-svg) [![Version](http://img.shields.io/npm/v/gerber-to-svg.svg?style=flat)](https://www.npmjs.org/package/gerber-to-svg)
Gerber file to SVG converter for Node and the browser.

@@ -4,0 +4,0 @@ ## usage

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