@turf/boolean-equal
Advanced tools
Comparing version 7.0.0-alpha.2 to 7.0.0-alpha.110
{ | ||
"name": "@turf/boolean-equal", | ||
"version": "7.0.0-alpha.2", | ||
"version": "7.0.0-alpha.110+1411d63a7", | ||
"description": "turf boolean-equal module", | ||
@@ -32,13 +32,19 @@ "author": "Turf Authors", | ||
], | ||
"main": "dist/js/index.js", | ||
"module": "dist/es/index.js", | ||
"type": "commonjs", | ||
"main": "dist/cjs/index.cjs", | ||
"module": "dist/esm/index.mjs", | ||
"types": "dist/cjs/index.d.ts", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"types": "./dist/js/index.d.ts", | ||
"import": "./dist/es/index.js", | ||
"require": "./dist/js/index.js" | ||
"import": { | ||
"types": "./dist/esm/index.d.mts", | ||
"default": "./dist/esm/index.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/cjs/index.d.ts", | ||
"default": "./dist/cjs/index.cjs" | ||
} | ||
} | ||
}, | ||
"types": "dist/js/index.d.ts", | ||
"sideEffects": false, | ||
@@ -49,31 +55,28 @@ "files": [ | ||
"scripts": { | ||
"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": "tsx ../../scripts/generate-readmes", | ||
"test": "npm-run-all test:*", | ||
"test:tape": "tsx test.js" | ||
"bench": "tsx bench.ts", | ||
"build": "tsup --config ../../tsup.config.ts", | ||
"docs": "tsx ../../scripts/generate-readmes.ts", | ||
"test": "npm-run-all --npm-path npm test:*", | ||
"test:tape": "tsx test.ts" | ||
}, | ||
"devDependencies": { | ||
"@types/geojson-equality": "^0.2.0", | ||
"@types/tape": "*", | ||
"benchmark": "*", | ||
"@types/benchmark": "^2.1.5", | ||
"@types/tape": "^4.2.32", | ||
"benchmark": "^2.1.4", | ||
"boolean-shapely": "*", | ||
"glob": "*", | ||
"load-json-file": "*", | ||
"npm-run-all": "*", | ||
"tape": "*", | ||
"tslint": "*", | ||
"tsx": "*", | ||
"typescript": "*" | ||
"glob": "^10.3.10", | ||
"load-json-file": "^7.0.1", | ||
"npm-run-all": "^4.1.5", | ||
"tape": "^5.7.2", | ||
"tsup": "^8.0.1", | ||
"tsx": "^4.6.2", | ||
"typescript": "^5.2.2" | ||
}, | ||
"dependencies": { | ||
"@turf/clean-coords": "^7.0.0-alpha.2", | ||
"@turf/helpers": "^7.0.0-alpha.2", | ||
"@turf/invariant": "^7.0.0-alpha.2", | ||
"geojson-equality": "0.1.6", | ||
"tslib": "^2.3.0" | ||
"@turf/clean-coords": "^7.0.0-alpha.110+1411d63a7", | ||
"@turf/helpers": "^7.0.0-alpha.110+1411d63a7", | ||
"@turf/invariant": "^7.0.0-alpha.110+1411d63a7", | ||
"tslib": "^2.6.2" | ||
}, | ||
"gitHead": "dd35b52725945b4fa29a98d9a550733e06cc222e" | ||
"gitHead": "1411d63a74c275c9216fe48e9d3cb2d48a359068" | ||
} |
@@ -7,3 +7,3 @@ # @turf/boolean-equal | ||
Determines whether two geometries or features of the same type have identical X,Y coordinate values and properties. | ||
Determine whether two geometries of the same type have identical X,Y coordinate values. | ||
See [http://edndoc.esri.com/arcsde/9.0/general_topics/understand_spatial_relations.htm][1] | ||
@@ -25,4 +25,2 @@ | ||
var pt3 = turf.point([1, 1]); | ||
var pt4 = turf.point([0, 0], {prop: 'A'}); | ||
var pt5 = turf.point([0, 0], {prop: 'B'}); | ||
@@ -33,6 +31,2 @@ turf.booleanEqual(pt1, pt2); | ||
//= false | ||
turf.booleanEqual(pt4, pt5); | ||
//= false | ||
turf.booleanEqual(pt4.geometry, pt5.geometry); | ||
//= true | ||
``` | ||
@@ -54,16 +48,11 @@ | ||
<!-- This file is automatically generated. Please don't edit it directly: | ||
if you find an error, edit the source file (likely index.js), and re-run | ||
./scripts/generate-readmes in the turf project. --> | ||
<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run "yarn docs" from the root of the turf project. --> | ||
--- | ||
This module is part of the [Turfjs project](http://turfjs.org/), an open source | ||
module collection dedicated to geographic algorithms. It is maintained in the | ||
[Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create | ||
PRs and issues. | ||
This module is part of the [Turfjs project](https://turfjs.org/), an open source module collection dedicated to geographic algorithms. It is maintained in the [Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create PRs and issues. | ||
### Installation | ||
Install this module individually: | ||
Install this single module individually: | ||
@@ -74,3 +63,3 @@ ```sh | ||
Or install the Turf module that includes it as a function: | ||
Or install the all-encompassing @turf/turf module that includes all modules as functions: | ||
@@ -84,2 +73,2 @@ ```sh | ||
![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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
14031
4
9
72
68
2
- Removedgeojson-equality@0.1.6
- Removedcall-bind@1.0.8(transitive)
- Removedcall-bind-apply-helpers@1.0.1(transitive)
- Removedcall-bound@1.0.3(transitive)
- Removeddeep-equal@1.1.2(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removeddefine-properties@1.2.1(transitive)
- Removeddunder-proto@1.0.1(transitive)
- Removedes-define-property@1.0.1(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedes-object-atoms@1.0.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedfunctions-have-names@1.2.3(transitive)
- Removedgeojson-equality@0.1.6(transitive)
- Removedget-intrinsic@1.2.6(transitive)
- Removedgopd@1.2.0(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-symbols@1.1.0(transitive)
- Removedhas-tostringtag@1.0.2(transitive)
- Removedhasown@2.0.2(transitive)
- Removedis-arguments@1.2.0(transitive)
- Removedis-date-object@1.1.0(transitive)
- Removedis-regex@1.2.1(transitive)
- Removedmath-intrinsics@1.1.0(transitive)
- Removedobject-is@1.1.6(transitive)
- Removedobject-keys@1.1.1(transitive)
- Removedregexp.prototype.flags@1.5.3(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedset-function-name@2.0.2(transitive)
Updatedtslib@^2.6.2