New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

path-intersection

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

path-intersection - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

4

CHANGELOG.md

@@ -9,2 +9,6 @@ # Changelog

## 2.0.2
* `FIX`: safely clone things
## 2.0.1

@@ -11,0 +15,0 @@

23

intersect.js

@@ -11,4 +11,3 @@ 'use strict';

var has = 'hasOwnProperty',
p2s = /,?([a-z]),?/gi,
var p2s = /,?([a-z]),?/gi,
toFloat = parseFloat,

@@ -24,2 +23,6 @@ math = Math,

function hasProperty(obj, property) {
return Object.prototype.hasOwnProperty.call(obj, property);
}
function is(o, type) {

@@ -50,4 +53,6 @@ type = String.prototype.toLowerCase.call(type);

for (var key in obj) if (obj[has](key)) {
res[key] = clone(obj[key]);
for (var key in obj) {
if (hasProperty(obj, key)) {
res[key] = clone(obj[key]);
}
}

@@ -73,3 +78,3 @@

if (cache[has](args)) {
if (hasProperty(cache, args)) {
repush(count, args);

@@ -150,5 +155,7 @@ return postprocessor ? postprocessor(cache[args]) : cache[args];

setTimeout(function() {
for (var key in p) if (p[has](key) && key != ps) {
p[key].sleep--;
!p[key].sleep && delete p[key];
for (var key in p) {
if (hasProperty(p, key) && key != ps) {
p[key].sleep--;
!p[key].sleep && delete p[key];
}
}

@@ -155,0 +162,0 @@ });

{
"name": "path-intersection",
"version": "2.0.1",
"version": "2.0.2",
"description": "Computes the intersection between two SVG paths",

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

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