Socket
Socket
Sign inDemoInstall

svgpath

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svgpath - npm Package Compare versions

Comparing version 2.5.0 to 2.6.0

7

lib/path_parse.js

@@ -245,2 +245,3 @@ 'use strict';

if (state.err.length) {
finalizeSegment(state);
return;

@@ -295,7 +296,3 @@ }

if (state.err.length) {
state.result = [];
} else if (state.result.length) {
if (state.result.length) {
if ('mM'.indexOf(state.result[0][0]) < 0) {

@@ -302,0 +299,0 @@ state.err = 'SvgPath: string should start with `M` or `m`';

{
"name": "svgpath",
"version": "2.5.0",
"version": "2.6.0",
"description": "Low level toolkit for SVG paths transformations.",

@@ -15,2 +15,3 @@ "keywords": [

"license": "MIT",
"funding": "https://github.com/fontello/svg2ttf?sponsor=1",
"repository": "fontello/svgpath",

@@ -32,5 +33,5 @@ "scripts": {

"eslint": "^8.5.0",
"mocha": "^9.1.0",
"mocha": "^10.1.0",
"nyc": "^15.0.1"
}
}
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