convert-svg

Node.js packages for converting SVG into other formats using headless Chromium

MIT License

Downloads
130.9K
Stars
189
Committers
3

Bot releases are hidden (Show)

convert-svg - 0.6.4 Latest Release

Published by neocotic over 2 years ago

  • Retain only allowed attributes from SVG input #84 a43dffa
convert-svg - 0.6.3

Published by neocotic over 2 years ago

  • Retain only allowed attributes from SVG input #84 a43dffa
convert-svg - 0.6.2

Published by neocotic over 2 years ago

  • Add convert-svg-to-webp package 812ea66
  • Strip onload attribute from SVG input #81 7e6031a
convert-svg - 0.6.1

Published by neocotic over 2 years ago

  • Bump cheerio dependency to latest v1 RC avoid vulnerable dependency
convert-svg - 0.6.0

Published by neocotic over 2 years ago

  • Breaking Change: All packages now require Node.js version 12.20.0 or newer
  • Support UTF-8 characters in SVG
  • Support SVG dimensions (width, height) that use pt units
  • Add rounding API and CLI option to control how dimensions are rounded (defaults to "round")
  • Fix CVE-2021-23631 by improving input validation
  • quality CLI option for JPEG not passed correctly #65
  • Bump dependencies (incl. major for Puppeteer)
  • Bump devDependencies
  • Skip inconsistent tests
convert-svg - 0.5.0

Published by neocotic almost 6 years ago

  • moved from !ninja to neocotic ad5aa55
  • modified CI to now target Node.js 8, 10, and 11 63fcb27
  • bump dependencies 6daedb1
  • bumped devDependenices 3a8ae85
  • fixed linting errors 96e7e06
  • fixed broken tests by regenerating expected fixtures bf34770
  • preventing lerna breaking build when calling "npm ci" on bootstrap 1391071
convert-svg - 0.4.0

Published by neocotic over 6 years ago

  • Bump Puppeteer to v1 #32
  • Replace chai with assert #34
convert-svg - 0.3.3

Published by neocotic almost 7 years ago

  • Add puppeteer.launch options available into CLI #29
convert-svg - 0.3.2

Published by neocotic almost 7 years ago

  • Error being thrown caused by lost context for CLI #24
  • Pass custom arguments to puppeteer #25 #27
  • Bump puppeteer to v0.13.0 #26
convert-svg - 0.3.1

Published by neocotic almost 7 years ago

  • Error thrown as context is lost for API methods when using destructuring imports #22
convert-svg - 0.3.0

Published by neocotic almost 7 years ago

  • Add option to control background color #14
  • Remove all controllable short options for CLI #15 (breaking change)
  • Split package up into multiple packages to be more modular #17 (breaking change)
  • Add convert-svg-to-jpeg package to convert SVG to JPEG #18
convert-svg - 0.2.0

Published by neocotic almost 7 years ago

  • Add CLI & convertFile method to API #2 #8
  • Add scale option #3 #11
  • Throw error when baseFile & baseUrl options are both specified #4 (breaking change)
  • Change source/target terminology to input/output #6
  • Expose Converter class as primary export #9 (breaking change)
convert-svg - 0.1.0

Published by neocotic about 7 years ago

Initial release