@turf/tesselate
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 earcut = _interopDefault(require('earcut')); | ||
var earcut = require('earcut'); | ||
var helpers = require('@turf/helpers'); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var earcut__default = /*#__PURE__*/_interopDefaultLegacy(earcut); | ||
/** | ||
@@ -46,3 +48,3 @@ * Tesselates a {@link Feature<Polygon>} into a {@link FeatureCollection<Polygon>} of triangles | ||
var dim = 2; | ||
var result = earcut(data.vertices, data.holes, dim); | ||
var result = earcut__default['default'](data.vertices, data.holes, dim); | ||
@@ -85,1 +87,2 @@ var features = []; | ||
module.exports = tesselate; | ||
module.exports.default = tesselate; |
{ | ||
"name": "@turf/tesselate", | ||
"version": "6.4.0", | ||
"version": "6.5.0", | ||
"description": "turf tesselate module", | ||
@@ -21,2 +21,3 @@ "author": "Turf Authors", | ||
}, | ||
"funding": "https://opencollective.com/turf", | ||
"publishConfig": { | ||
@@ -62,6 +63,6 @@ "access": "public" | ||
"dependencies": { | ||
"@turf/helpers": "^6.4.0", | ||
"@turf/helpers": "^6.5.0", | ||
"earcut": "^2.0.0" | ||
}, | ||
"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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
8879
141
0
Updated@turf/helpers@^6.5.0