@turf/difference
Advanced tools
Comparing version 6.4.0 to 6.5.0
'use strict'; | ||
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var polygonClipping = _interopDefault(require('polygon-clipping')); | ||
var polygonClipping = require('polygon-clipping'); | ||
var helpers = require('@turf/helpers'); | ||
var invariant = require('@turf/invariant'); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var polygonClipping__default = /*#__PURE__*/_interopDefaultLegacy(polygonClipping); | ||
/** | ||
@@ -48,3 +50,3 @@ * Finds the difference between two {@link Polygon|polygons} by clipping the second polygon from the first. | ||
var differenced = polygonClipping.difference( | ||
var differenced = polygonClipping__default['default'].difference( | ||
geom1.coordinates, | ||
@@ -59,1 +61,2 @@ geom2.coordinates | ||
module.exports = difference; | ||
module.exports.default = difference; |
{ | ||
"name": "@turf/difference", | ||
"version": "6.4.0", | ||
"version": "6.5.0", | ||
"description": "turf difference module", | ||
@@ -15,2 +15,3 @@ "author": "Turf Authors", | ||
}, | ||
"funding": "https://opencollective.com/turf", | ||
"publishConfig": { | ||
@@ -55,7 +56,7 @@ "access": "public" | ||
"dependencies": { | ||
"@turf/helpers": "^6.4.0", | ||
"@turf/invariant": "^6.4.0", | ||
"polygon-clipping": "^0.15.2" | ||
"@turf/helpers": "^6.5.0", | ||
"@turf/invariant": "^6.5.0", | ||
"polygon-clipping": "^0.15.3" | ||
}, | ||
"gitHead": "1e62773cfc88c627cca8effcb5c14cfb65a905ac" | ||
"gitHead": "5375941072b90d489389db22b43bfe809d5e451e" | ||
} |
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
8299
112
Updated@turf/helpers@^6.5.0
Updated@turf/invariant@^6.5.0
Updatedpolygon-clipping@^0.15.3