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

svg-intersections

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svg-intersections - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

19

lib/IntersectionParams.js

@@ -456,2 +456,5 @@ var Point2D = require('kld-affine').Point2D;

break;
case "V":
segment = new AbsoluteVLineto(params, previous);
break;
case "L":

@@ -620,3 +623,19 @@ segment = new AbsoluteLineto(params, previous);

function AbsoluteVLineto(params, previous) {
if (arguments.length > 0) {
this.init("V", params, previous);
}
}
AbsoluteVLineto.prototype = new AbsolutePathSegment();
AbsoluteVLineto.prototype.constructor = AbsoluteVLineto;
AbsoluteVLineto.superclass = AbsolutePathSegment.prototype;
AbsoluteVLineto.prototype.init = function(command, params, previous) {
var prevPoint = previous.getLastPoint();
var point = new Array();
point.push(prevPoint.x, params.pop());
AbsoluteVLineto.superclass.init.call(this, command, point, previous);
};
function AbsoluteLineto(params, previous) {

@@ -623,0 +642,0 @@ if (arguments.length > 0) {

2

package.json
{
"name": "svg-intersections",
"version": "0.3.1",
"version": "0.3.2",
"description": "A library of intersection algorithms covering all SVG shape types",

@@ -5,0 +5,0 @@ "author": {

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