Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@turf/flatten

Package Overview
Dependencies
Maintainers
7
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/flatten - npm Package Compare versions

Comparing version 6.5.0 to 7.0.0-alpha.0

4

index.d.ts

@@ -10,4 +10,4 @@ import {

FeatureCollection,
AllGeoJSON,
} from "@turf/helpers";
} from "geojson";
import { AllGeoJSON } from "@turf/helpers";

@@ -14,0 +14,0 @@ /**

{
"name": "@turf/flatten",
"version": "6.5.0",
"version": "7.0.0-alpha.0",
"description": "turf flatten module",

@@ -51,3 +51,3 @@ "author": "Turf Authors",

"test:tape": "node -r esm test.js",
"test:types": "tsc --esModuleInterop --noEmit types.ts"
"test:types": "tsc --esModuleInterop --noEmit --strict types.ts"
},

@@ -63,6 +63,6 @@ "devDependencies": {

"dependencies": {
"@turf/helpers": "^6.5.0",
"@turf/meta": "^6.5.0"
"@turf/helpers": "^7.0.0-alpha.0",
"@turf/meta": "^7.0.0-alpha.0"
},
"gitHead": "5375941072b90d489389db22b43bfe809d5e451e"
"gitHead": "0edc4c491b999e5ace770a61e1cf549f7c004189"
}

@@ -9,7 +9,7 @@ # @turf/flatten

**Parameters**
### Parameters
- `geojson` **[GeoJSON][4]** any valid GeoJSON Object
* `geojson` **[GeoJSON][4]** any valid GeoJSON Object
**Examples**
### Examples

@@ -29,3 +29,3 @@ ```javascript

Returns **[FeatureCollection][5]<any>** all Multi-Geometries are flattened into single Features
Returns **[FeatureCollection][5]\<any>** all Multi-Geometries are flattened into single Features

@@ -32,0 +32,0 @@ [1]: https://tools.ietf.org/html/rfc7946#section-3

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc