@turf/rewind 6.5.0 → 7.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,14 +6,15 @@
6
6
 
7
7
  Rewind [(Multi)LineString][1] or [(Multi)Polygon][2] outer ring counterclockwise and inner rings clockwise (Uses [Shoelace Formula][3]).
8
8
 
9
- **Parameters**
9
+ ### Parameters
10
10
 
11
- - `geojson` **[GeoJSON][4]** input GeoJSON Polygon
12
- - `options` **[Object][5]** Optional parameters (optional, default `{}`)
13
- - `options.reverse` **[boolean][6]** enable reverse winding (optional, default `false`)
14
- - `options.mutate` **[boolean][6]** allows GeoJSON input to be mutated (significant performance increase if true) (optional, default `false`)
11
+ * `geojson` **[GeoJSON][4]** input GeoJSON Polygon
12
+ * `options` **[Object][5]** Optional parameters (optional, default `{}`)
15
13
 
16
- **Examples**
14
+ * `options.reverse` **[boolean][6]** enable reverse winding (optional, default `false`)
15
+ * `options.mutate` **[boolean][6]** allows GeoJSON input to be mutated (significant performance increase if true) (optional, default `false`)
16
+
17
+ ### Examples
17
18
 
18
19
  ```javascript
19
20
  var polygon = turf.polygon([[[121, -29], [138, -29], [138, -18], [121, -18], [121, -29]]]);
package/dist/es/index.js CHANGED
File without changes
package/dist/js/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/rewind",
3
- "version": "6.5.0",
3
+ "version": "7.0.0-alpha.0",
4
4
  "description": "turf rewind module",
5
5
  "author": "Turf Authors",
6
6
  "contributors": [
@@ -49,7 +49,7 @@
49
49
  "docs": "node ../../scripts/generate-readmes",
50
50
  "test": "npm-run-all test:*",
51
51
  "test:tape": "node -r esm test.js",
52
- "test:types": "tsc --esModuleInterop --noEmit types.ts"
52
+ "test:types": "tsc --esModuleInterop --noEmit --strict types.ts"
53
53
  },
54
54
  "devDependencies": {
55
55
  "benchmark": "*",
@@ -60,11 +60,11 @@
60
60
  "write-json-file": "*"
61
61
  },
62
62
  "dependencies": {
63
- "@turf/boolean-clockwise": "^6.5.0",
64
- "@turf/clone": "^6.5.0",
65
- "@turf/helpers": "^6.5.0",
66
- "@turf/invariant": "^6.5.0",
67
- "@turf/meta": "^6.5.0"
63
+ "@turf/boolean-clockwise": "^7.0.0-alpha.0",
64
+ "@turf/clone": "^7.0.0-alpha.0",
65
+ "@turf/helpers": "^7.0.0-alpha.0",
66
+ "@turf/invariant": "^7.0.0-alpha.0",
67
+ "@turf/meta": "^7.0.0-alpha.0"
68
68
  },
69
- "gitHead": "5375941072b90d489389db22b43bfe809d5e451e"
69
+ "gitHead": "0edc4c491b999e5ace770a61e1cf549f7c004189"
70
70
  }