@turf/mask 7.0.0-alpha.111 → 7.0.0-alpha.114

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.
@@ -55,4 +55,4 @@ export {
55
55
  turf_mask_default as default,
56
56
  mask
57
57
  };
58
- //# sourceMappingURL=index.mjs.map
58
+ //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/mask",
3
- "version": "7.0.0-alpha.111+08576cb50",
3
+ "version": "7.0.0-alpha.114+e0bdd0add",
4
4
  "description": "turf mask module",
5
5
  "author": "Turf Authors",
6
6
  "license": "MIT",
@@ -21,27 +21,26 @@
21
21
  "mask",
22
22
  "polygon"
23
23
  ],
24
- "type": "commonjs",
24
+ "type": "module",
25
25
  "main": "dist/cjs/index.cjs",
26
- "module": "dist/esm/index.mjs",
27
- "types": "dist/cjs/index.d.ts",
26
+ "module": "dist/esm/index.js",
27
+ "types": "dist/esm/index.d.ts",
28
28
  "exports": {
29
29
  "./package.json": "./package.json",
30
30
  ".": {
31
31
  "import": {
32
- "types": "./dist/esm/index.d.mts",
33
- "default": "./dist/esm/index.mjs"
32
+ "types": "./dist/esm/index.d.ts",
33
+ "default": "./dist/esm/index.js"
34
34
  },
35
35
  "require": {
36
- "types": "./dist/cjs/index.d.ts",
36
+ "types": "./dist/cjs/index.d.cts",
37
37
  "default": "./dist/cjs/index.cjs"
38
38
  }
39
39
  }
40
40
  },
41
41
  "sideEffects": false,
42
42
  "files": [
43
- "dist",
44
- "index.d.ts"
43
+ "dist"
45
44
  ],
46
45
  "scripts": {
47
46
  "bench": "tsx bench.ts",
@@ -49,9 +48,11 @@
49
48
  "docs": "tsx ../../scripts/generate-readmes.ts",
50
49
  "test": "npm-run-all --npm-path npm test:*",
51
50
  "test:tape": "tsx test.ts",
52
- "test:types": "tsc --esModuleInterop --noEmit --strict types.ts"
51
+ "test:types": "tsc --esModuleInterop --module node16 --moduleResolution node16 --noEmit --strict types.ts"
53
52
  },
54
53
  "devDependencies": {
54
+ "@types/benchmark": "^2.1.5",
55
+ "@types/tape": "^4.2.32",
55
56
  "benchmark": "^2.1.4",
56
57
  "load-json-file": "^7.0.1",
57
58
  "mkdirp": "^3.0.1",
@@ -62,8 +63,8 @@
62
63
  "write-json-file": "^5.0.0"
63
64
  },
64
65
  "dependencies": {
65
- "@turf/helpers": "^7.0.0-alpha.111+08576cb50",
66
+ "@turf/helpers": "^7.0.0-alpha.114+e0bdd0add",
66
67
  "polygon-clipping": "^0.15.3"
67
68
  },
68
- "gitHead": "08576cb50376e0199aea02dbd887e3af83672246"
69
+ "gitHead": "e0bdd0add87f21a4430f8884736096d1ac6fe4cd"
69
70
  }
package/index.d.ts DELETED
@@ -1,12 +0,0 @@
1
- import { Feature, Polygon, MultiPolygon, FeatureCollection } from "geojson";
2
-
3
- /**
4
- * http://turfjs.org/docs/#mask
5
- */
6
- declare function mask<T extends Polygon | MultiPolygon>(
7
- poly: Feature<T> | FeatureCollection<T> | T,
8
- mask?: Feature<Polygon> | Polygon
9
- ): Feature<Polygon>;
10
-
11
- export { mask };
12
- export default mask;
File without changes
File without changes
File without changes