@turf/combine
Advanced tools
Comparing version 6.2.0-alpha.2 to 6.2.0-alpha.3
@@ -1,3 +0,3 @@ | ||
import { feature, featureCollection } from '@turf/helpers'; | ||
import { featureEach } from '@turf/meta'; | ||
import { feature, featureCollection } from "@turf/helpers"; | ||
import { featureEach } from "@turf/meta"; | ||
/** | ||
@@ -25,6 +25,6 @@ * Combines a {@link FeatureCollection} of {@link Point}, {@link LineString}, or {@link Polygon} features | ||
MultiLineString: { coordinates: [], properties: [] }, | ||
MultiPolygon: { coordinates: [], properties: [] } | ||
MultiPolygon: { coordinates: [], properties: [] }, | ||
}; | ||
var multiMapping = Object.keys(groups).reduce(function (memo, item) { | ||
memo[item.replace('Multi', '')] = item; | ||
memo[item.replace("Multi", "")] = item; | ||
return memo; | ||
@@ -31,0 +31,0 @@ }, {}); |
@@ -1,2 +0,2 @@ | ||
import { Point, LineString, Polygon, FeatureCollection } from '@turf/helpers'; | ||
import { Point, LineString, Polygon, FeatureCollection } from "@turf/helpers"; | ||
/** | ||
@@ -3,0 +3,0 @@ * Combines a {@link FeatureCollection} of {@link Point}, {@link LineString}, or {@link Polygon} features |
@@ -27,6 +27,6 @@ "use strict"; | ||
MultiLineString: { coordinates: [], properties: [] }, | ||
MultiPolygon: { coordinates: [], properties: [] } | ||
MultiPolygon: { coordinates: [], properties: [] }, | ||
}; | ||
var multiMapping = Object.keys(groups).reduce(function (memo, item) { | ||
memo[item.replace('Multi', '')] = item; | ||
memo[item.replace("Multi", "")] = item; | ||
return memo; | ||
@@ -33,0 +33,0 @@ }, {}); |
{ | ||
"name": "@turf/combine", | ||
"version": "6.2.0-alpha.2", | ||
"version": "6.2.0-alpha.3", | ||
"description": "turf combine module", | ||
@@ -27,2 +27,6 @@ "author": "Turf Authors", | ||
"module": "dist/es/index.js", | ||
"exports": { | ||
"import": "./dist/es/index.js", | ||
"require": "./dist/js/index.js" | ||
}, | ||
"types": "dist/js/index.d.ts", | ||
@@ -34,10 +38,9 @@ "sideEffects": false, | ||
"scripts": { | ||
"bench": "npm-run-all prepare bench:run", | ||
"bench:run": "node bench.js", | ||
"bench": "ts-node 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", | ||
"prepare": "npm-run-all prepare:*", | ||
"prepare:es": "tsc --outDir dist/es --module esnext --declaration false", | ||
"prepare:js": "tsc", | ||
"test": "npm-run-all prepare test:*", | ||
"test:tape": "node -r esm test.js" | ||
"test": "npm-run-all test:*", | ||
"test:tape": "ts-node -r esm test.js" | ||
}, | ||
@@ -49,2 +52,3 @@ "devDependencies": { | ||
"tape": "*", | ||
"ts-node": "*", | ||
"tslint": "*", | ||
@@ -54,6 +58,6 @@ "typescript": "*" | ||
"dependencies": { | ||
"@turf/helpers": "^6.2.0-alpha.2", | ||
"@turf/meta": "^6.2.0-alpha.2" | ||
"@turf/helpers": "^6.2.0-alpha.3", | ||
"@turf/meta": "^6.2.0-alpha.3" | ||
}, | ||
"gitHead": "23d5cb91d77e0c1e2e903a2252f525797f1d0d09" | ||
"gitHead": "dce9edfc705352e8cb9e0083c9330ba0e8d77409" | ||
} |
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
10297
7
7
Updated@turf/helpers@^6.2.0-alpha.3
Updated@turf/meta@^6.2.0-alpha.3