@turf/sample 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 +4 -6
  2. package/package.json +4 -3
package/README.md CHANGED
@@ -8,8 +8,8 @@ Takes a [FeatureCollection][1] and returns a FeatureCollection with given number
8
8
 
9
9
  ### Parameters
10
10
 
11
- * `featurecollection` **[FeatureCollection][3]** set of input features
12
- * `num` **[number][4]** number of features to select
11
+ * `featurecollection` **[FeatureCollection][1]** set of input features
12
+ * `num` **[number][3]** number of features to select
13
13
 
14
14
  ### Examples
15
15
 
@@ -26,15 +26,13 @@ turf.featureEach(sample, function (currentFeature) {
26
26
  });
27
27
  ```
28
28
 
29
- Returns **[FeatureCollection][3]** a FeatureCollection with `n` features
29
+ Returns **[FeatureCollection][1]** a FeatureCollection with `n` features
30
30
 
31
31
  [1]: https://tools.ietf.org/html/rfc7946#section-3.3
32
32
 
33
33
  [2]: https://tools.ietf.org/html/rfc7946#section-3.2
34
34
 
35
- [3]: https://tools.ietf.org/html/rfc7946#section-3.3
36
-
37
- [4]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
35
+ [3]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
38
36
 
39
37
  <!-- 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. -->
40
38
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/sample",
3
- "version": "7.1.0-alpha.7+0ce6ecca0",
3
+ "version": "7.1.0-alpha.70+948cdafaf",
4
4
  "description": "turf sample module",
5
5
  "author": "Turf Authors",
6
6
  "license": "MIT",
@@ -61,8 +61,9 @@
61
61
  "typescript": "^5.2.2"
62
62
  },
63
63
  "dependencies": {
64
- "@turf/helpers": "^7.1.0-alpha.7+0ce6ecca0",
64
+ "@turf/helpers": "^7.1.0-alpha.70+948cdafaf",
65
+ "@types/geojson": "^7946.0.10",
65
66
  "tslib": "^2.6.2"
66
67
  },
67
- "gitHead": "0ce6ecca05829690270fec6d6bed2003495fe0ea"
68
+ "gitHead": "948cdafaf70606d2e27fcc79973fa48ee1182067"
68
69
  }