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.5 to 0.0.6

dist/gerber-to-svg.js

17

lib/plotter.js

@@ -28,4 +28,4 @@ (function() {

params.hole = {
width: parseFloat(mods[2]),
height: parseFloat(mods[1])
width: parseFloat(mods[1]),
height: parseFloat(mods[2])
};

@@ -47,4 +47,4 @@ } else if (mods.length > 1) {

params.hole = {
width: parseFloat(mods[3]),
height: parseFloat(mods[2])
width: parseFloat(mods[2]),
height: parseFloat(mods[3])
};

@@ -66,4 +66,4 @@ } else if (mods.length > 2) {

params.hole = {
width: parseFloat(mods[3]),
height: parseFloat(mods[2])
width: parseFloat(mods[2]),
height: parseFloat(mods[3])
};

@@ -89,4 +89,4 @@ } else if (mods.length > 2) {

params.hole = {
width: parseFloat(mods[4]),
height: parseFloat(mods[3])
width: parseFloat(mods[3]),
height: parseFloat(mods[4])
};

@@ -319,2 +319,3 @@ } else if (mods.length > 3) {

}
this.currentTool = ad.code;
break;

@@ -321,0 +322,0 @@ case 'AM':

{
"name": "gerber-to-svg",
"version": "0.0.5",
"version": "0.0.6",
"description": "Gerber file to SVG converter",

@@ -29,12 +29,19 @@ "main": "lib/gerber-to-svg.js",

"devDependencies": {
"browserify": "^5.9.1",
"coffee-script": "^1.7.1",
"coffeeify": "^0.7.0",
"gulp": "^3.8.5",
"gulp-coffee": "^2.0.1",
"gulp-mocha": "^0.4.1",
"gulp-rename": "^1.2.0",
"gulp-streamify": "0.0.5",
"gulp-uglify": "^0.3.1",
"gulp-util": "^2.2.19",
"jquery": "^2.1.1",
"mocha": "^1.20.1",
"should": "^4.0.4"
"node-static": "^0.7.4",
"should": "^4.0.4",
"vinyl-source-stream": "^0.1.1"
},
"dependencies": {
}
"dependencies": {}
}

@@ -10,8 +10,13 @@ # 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)

### api (with Node or in the Browser with Browserify)
### api (node and browser)
For Node and Browserify:
1. `$ npm install --save(-dev) gerber-to-svg`
2. Add `var gerberToSvg = require(gerber-to-svg);` to your JavaScript
If you'd rather not manage your packages:
1. Download the standalone [library]() or [minified library]()
2. Add `<script src="path/to/gerber-to-svg.js"></script>` to your HTML before your application
Use in your app with:
``` javascript
var gerberToSvg = require(gerber-to-svg);
var svgString = gerberToSvg(gerberString);

@@ -18,0 +23,0 @@ ```

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

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