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

@turf/dissolve

Package Overview
Dependencies
Maintainers
4
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/dissolve - npm Package Compare versions

Comparing version 5.1.1 to 5.1.5

main.es.js

12

main.js

@@ -141,3 +141,3 @@ 'use strict';

options = options || {};
if (!helpers.isObject(options)) { throw new Error('options is invalid'); }
if (!helpers.isObject(options)) throw new Error('options is invalid');
var propertyName = options.propertyName;

@@ -181,11 +181,11 @@

if (matchFeaturePosition === +i) { return; }
if (matchFeaturePosition === +i) return;
var matchFeature = features[matchFeaturePosition];
if (!matchFeature || !polygon) { return; }
if (!matchFeature || !polygon) return;
if (propertyName !== undefined &&
matchFeature.properties[propertyName] !== polygon.properties[propertyName]) { return; }
matchFeature.properties[propertyName] !== polygon.properties[propertyName]) return;
if (!overlap(polygon, matchFeature) || !ringsIntersect(polygon, matchFeature)) { return; }
if (!overlap(polygon, matchFeature) || !ringsIntersect(polygon, matchFeature)) return;

@@ -209,3 +209,3 @@ features[i] = turfUnion(polygon, matchFeature);

if (featureChanged) {
if (!polygon) { continue; }
if (!polygon) continue;
polygon.properties.origIndexPosition = i;

@@ -212,0 +212,0 @@ tree.insert(polygon);

{
"name": "@turf/dissolve",
"version": "5.1.1",
"version": "5.1.5",
"description": "turf dissolve module",
"main": "main.js",
"module": "main.mjs",
"module": "main.es.js",
"types": "index.d.ts",

@@ -13,3 +13,3 @@ "files": [

"lib",
"main.mjs"
"main.es.js"
],

@@ -19,2 +19,3 @@ "scripts": {

"test": "node -r @std/esm test.js",
"posttest": "node -r @std/esm ../../scripts/validate-es5-dependencies.js",
"bench": "node -r @std/esm bench.js",

@@ -45,3 +46,2 @@ "docs": "node ../../scripts/generate-readmes"

"rollup": "*",
"rollup-plugin-buble": "*",
"tape": "*",

@@ -51,9 +51,9 @@ "write-json-file": "*"

"dependencies": {
"@turf/boolean-overlap": "^5.1.1",
"@turf/clone": "^5.1.0",
"@turf/helpers": "^5.1.0",
"@turf/invariant": "^5.1.0",
"@turf/line-intersect": "^5.1.0",
"@turf/meta": "^5.1.0",
"@turf/union": "^5.1.0",
"@turf/boolean-overlap": "^5.1.5",
"@turf/clone": "^5.1.5",
"@turf/helpers": "^5.1.5",
"@turf/invariant": "^5.1.5",
"@turf/line-intersect": "^5.1.5",
"@turf/meta": "^5.1.5",
"@turf/union": "^5.1.5",
"geojson-rbush": "2.1.0",

@@ -60,0 +60,0 @@ "get-closest": "*"

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