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

flatten-svg

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flatten-svg - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

14

dist/svg-to-paths.js

@@ -76,8 +76,10 @@ "use strict";

const ctm = path.getCTM();
const xf = ([x, y]) => {
svgPoint.x = x;
svgPoint.y = y;
const xfd = svgPoint.matrixTransform(ctm);
return [xfd.x, xfd.y];
};
const xf = ctm == null
? ([x, y]) => { return [x, y]; }
: ([x, y]) => {
svgPoint.x = x;
svgPoint.y = y;
const xfd = svgPoint.matrixTransform(ctm);
return [xfd.x, xfd.y];
};
const pathData = path_data_polyfill_1.getPathData(path, { normalize: true });

@@ -84,0 +86,0 @@ let cur = null;

{
"name": "flatten-svg",
"version": "0.1.1",
"version": "0.1.2",
"description": "",

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

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