@turf/invariant 7.1.0-alpha.7 → 7.1.0-alpha.70

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.
Files changed (2) hide show
  1. package/README.md +8 -12
  2. package/package.json +4 -3
package/README.md CHANGED
@@ -66,8 +66,8 @@ Enforce expectations about types of GeoJSON objects for Turf.
66
66
 
67
67
  ## featureOf
68
68
 
69
- Enforce expectations about types of [Feature][10] inputs for Turf.
70
- Internally this uses [geojsonType][11] to judge geometry types.
69
+ Enforce expectations about types of [Feature][5] inputs for Turf.
70
+ Internally this uses [geojsonType][10] to judge geometry types.
71
71
 
72
72
  ### Parameters
73
73
 
@@ -81,12 +81,12 @@ Internally this uses [geojsonType][11] to judge geometry types.
81
81
 
82
82
  ## collectionOf
83
83
 
84
- Enforce expectations about types of [FeatureCollection][12] inputs for Turf.
85
- Internally this uses [geojsonType][11] to judge geometry types.
84
+ Enforce expectations about types of [FeatureCollection][11] inputs for Turf.
85
+ Internally this uses [geojsonType][10] to judge geometry types.
86
86
 
87
87
  ### Parameters
88
88
 
89
- * `featureCollection` **[FeatureCollection][13]** a FeatureCollection for which features will be judged
89
+ * `featureCollection` **[FeatureCollection][11]** a FeatureCollection for which features will be judged
90
90
  * `type` **[string][8]** expected GeoJSON type
91
91
  * `name` **[string][8]** name of calling function
92
92
 
@@ -128,7 +128,7 @@ Get GeoJSON object's type, Geometry type is prioritize.
128
128
  ### Parameters
129
129
 
130
130
  * `geojson` **[GeoJSON][7]** GeoJSON object
131
- * `_name` **[string][8]?**
131
+ * `_name` **[string][8]?** 
132
132
  * `name` **[string][8]** name of the variable to display in error message (unused) (optional, default `"geojson"`)
133
133
 
134
134
  ### Examples
@@ -166,13 +166,9 @@ Returns **[string][8]** GeoJSON type
166
166
 
167
167
  [9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error
168
168
 
169
- [10]: https://tools.ietf.org/html/rfc7946#section-3.2
169
+ [10]: #geojsontype
170
170
 
171
- [11]: #geojsontype
172
-
173
- [12]: https://tools.ietf.org/html/rfc7946#section-3.3
174
-
175
- [13]: https://tools.ietf.org/html/rfc7946#section-3.3
171
+ [11]: https://tools.ietf.org/html/rfc7946#section-3.3
176
172
 
177
173
  <!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run "yarn docs" from the root of the turf project. -->
178
174
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/invariant",
3
- "version": "7.1.0-alpha.7+0ce6ecca0",
3
+ "version": "7.1.0-alpha.70+948cdafaf",
4
4
  "description": "turf invariant module",
5
5
  "author": "Turf Authors",
6
6
  "contributors": [
@@ -65,8 +65,9 @@
65
65
  "typescript": "^5.2.2"
66
66
  },
67
67
  "dependencies": {
68
- "@turf/helpers": "^7.1.0-alpha.7+0ce6ecca0",
68
+ "@turf/helpers": "^7.1.0-alpha.70+948cdafaf",
69
+ "@types/geojson": "^7946.0.10",
69
70
  "tslib": "^2.6.2"
70
71
  },
71
- "gitHead": "0ce6ecca05829690270fec6d6bed2003495fe0ea"
72
+ "gitHead": "948cdafaf70606d2e27fcc79973fa48ee1182067"
72
73
  }