Socket
Socket
Sign inDemoInstall

text-to-svg

Package Overview
Dependencies
3
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

2

build/src/index.js

@@ -146,3 +146,3 @@ 'use strict';

var attributes = Object.keys(options.attributes || {}).map(function (key) {
return key + '="' + attributes[key] + '"';
return key + '="' + options.attributes[key] + '"';
}).join(' ');

@@ -149,0 +149,0 @@ var d = this.getD(text, options);

# CHANGELOG
## 3.0.1
- Fix #10
## 3.0.0

@@ -4,0 +8,0 @@

{
"name": "text-to-svg",
"version": "3.0.0",
"version": "3.0.1",
"description": "Convert text to SVG path.",

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

@@ -159,2 +159,11 @@ # text-to-svg

## Thanks
text-to-svg depends on the following softwares. I thank great authors a lot.
- [opentype.js](https://github.com/nodebox/opentype.js): Copyright (c) 2015 Frederik De Bleser
- [commander](https://github.com/tj/commander.js): Copyright (c) 2011 TJ Holowaychuk <tj@vision-media.ca>
These are released under the [MIT license](https://opensource.org/licenses/MIT)
[npm-url]: https://npmjs.org/package/text-to-svg

@@ -161,0 +170,0 @@ [npm-image]: https://badge.fury.io/js/text-to-svg.svg

@@ -134,3 +134,3 @@ /**

const attributes = Object.keys(options.attributes || {})
.map(key => `${key}="${attributes[key]}"`)
.map(key => `${key}="${options.attributes[key]}"`)
.join(' ');

@@ -137,0 +137,0 @@ const d = this.getD(text, options);

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc