@turf/boolean-equal
Advanced tools
Comparing version 7.0.0-alpha.0 to 7.0.0-alpha.1
{ | ||
"name": "@turf/boolean-equal", | ||
"version": "7.0.0-alpha.0", | ||
"version": "7.0.0-alpha.1", | ||
"description": "turf boolean-equal module", | ||
@@ -37,2 +37,3 @@ "author": "Turf Authors", | ||
".": { | ||
"types": "./dist/js/index.d.ts", | ||
"import": "./dist/es/index.js", | ||
@@ -48,9 +49,9 @@ "require": "./dist/js/index.js" | ||
"scripts": { | ||
"bench": "ts-node bench.js", | ||
"bench": "tsx bench.js", | ||
"build": "npm-run-all build:*", | ||
"build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json", | ||
"build:js": "tsc", | ||
"docs": "node ../../scripts/generate-readmes", | ||
"docs": "tsx ../../scripts/generate-readmes", | ||
"test": "npm-run-all test:*", | ||
"test:tape": "ts-node -r esm test.js" | ||
"test:tape": "tsx test.js" | ||
}, | ||
@@ -66,14 +67,14 @@ "devDependencies": { | ||
"tape": "*", | ||
"ts-node": "*", | ||
"tslint": "*", | ||
"tsx": "*", | ||
"typescript": "*" | ||
}, | ||
"dependencies": { | ||
"@turf/clean-coords": "^7.0.0-alpha.0", | ||
"@turf/helpers": "^7.0.0-alpha.0", | ||
"@turf/invariant": "^7.0.0-alpha.0", | ||
"@turf/clean-coords": "^7.0.0-alpha.1", | ||
"@turf/helpers": "^7.0.0-alpha.1", | ||
"@turf/invariant": "^7.0.0-alpha.1", | ||
"geojson-equality": "0.1.6", | ||
"tslib": "^2.3.0" | ||
}, | ||
"gitHead": "0edc4c491b999e5ace770a61e1cf549f7c004189" | ||
"gitHead": "cf7a0c507b017ca066acffd0ce23bda5b393fb5a" | ||
} |
@@ -7,3 +7,3 @@ # @turf/boolean-equal | ||
Determine whether two geometries of the same type have identical X,Y coordinate values. | ||
Determines whether two geometries or features of the same type have identical X,Y coordinate values and properties. | ||
See [http://edndoc.esri.com/arcsde/9.0/general_topics/understand_spatial_relations.htm][1] | ||
@@ -25,2 +25,4 @@ | ||
var pt3 = turf.point([1, 1]); | ||
var pt4 = turf.point([0, 0], {prop: 'A'}); | ||
var pt5 = turf.point([0, 0], {prop: 'B'}); | ||
@@ -31,2 +33,6 @@ turf.booleanEqual(pt1, pt2); | ||
//= false | ||
turf.booleanEqual(pt4, pt5); | ||
//= false | ||
turf.booleanEqual(pt4.geometry, pt5.geometry); | ||
//= true | ||
``` | ||
@@ -76,2 +82,2 @@ | ||
![esri-equals](diagrams/esri-equals.gif) | ||
![esri-equals](diagrams/esri-equals.gif) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9594
80