Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

svg-intersections

Package Overview
Dependencies
2
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc