@turf/transform-rotate 7.0.0-alpha.113 → 7.0.0-alpha.115

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.
@@ -42,4 +42,4 @@ export {
42
42
  turf_transform_rotate_default as default,
43
43
  transformRotate
44
44
  };
45
- //# sourceMappingURL=index.mjs.map
45
+ //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turf/transform-rotate",
3
- "version": "7.0.0-alpha.113+876702a45",
3
+ "version": "7.0.0-alpha.115+c76e6e96e",
4
4
  "description": "turf transform-rotate module",
5
5
  "author": "Turf Authors",
6
6
  "contributors": [
@@ -26,27 +26,26 @@
26
26
  "transformation",
27
27
  "rotate"
28
28
  ],
29
- "type": "commonjs",
29
+ "type": "module",
30
30
  "main": "dist/cjs/index.cjs",
31
- "module": "dist/esm/index.mjs",
32
- "types": "dist/cjs/index.d.ts",
31
+ "module": "dist/esm/index.js",
32
+ "types": "dist/esm/index.d.ts",
33
33
  "exports": {
34
34
  "./package.json": "./package.json",
35
35
  ".": {
36
36
  "import": {
37
- "types": "./dist/esm/index.d.mts",
38
- "default": "./dist/esm/index.mjs"
37
+ "types": "./dist/esm/index.d.ts",
38
+ "default": "./dist/esm/index.js"
39
39
  },
40
40
  "require": {
41
- "types": "./dist/cjs/index.d.ts",
41
+ "types": "./dist/cjs/index.d.cts",
42
42
  "default": "./dist/cjs/index.cjs"
43
43
  }
44
44
  }
45
45
  },
46
46
  "sideEffects": false,
47
47
  "files": [
48
- "dist",
49
- "index.d.ts"
48
+ "dist"
50
49
  ],
51
50
  "scripts": {
52
51
  "bench": "tsx bench.ts",
@@ -54,10 +53,12 @@
54
53
  "docs": "tsx ../../scripts/generate-readmes.ts",
55
54
  "test": "npm-run-all --npm-path npm test:*",
56
55
  "test:tape": "tsx test.ts",
57
- "test:types": "tsc --esModuleInterop --noEmit --strict types.ts"
56
+ "test:types": "tsc --esModuleInterop --module node16 --moduleResolution node16 --noEmit --strict types.ts"
58
57
  },
59
58
  "devDependencies": {
60
- "@turf/truncate": "^7.0.0-alpha.113+876702a45",
59
+ "@turf/truncate": "^7.0.0-alpha.115+c76e6e96e",
60
+ "@types/benchmark": "^2.1.5",
61
+ "@types/tape": "^4.2.32",
61
62
  "benchmark": "^2.1.4",
62
63
  "load-json-file": "^7.0.1",
63
64
  "npm-run-all": "^4.1.5",
@@ -67,14 +68,14 @@
67
68
  "write-json-file": "^5.0.0"
68
69
  },
69
70
  "dependencies": {
70
- "@turf/centroid": "^7.0.0-alpha.113+876702a45",
71
- "@turf/clone": "^7.0.0-alpha.113+876702a45",
72
- "@turf/helpers": "^7.0.0-alpha.113+876702a45",
73
- "@turf/invariant": "^7.0.0-alpha.113+876702a45",
74
- "@turf/meta": "^7.0.0-alpha.113+876702a45",
75
- "@turf/rhumb-bearing": "^7.0.0-alpha.113+876702a45",
76
- "@turf/rhumb-destination": "^7.0.0-alpha.113+876702a45",
77
- "@turf/rhumb-distance": "^7.0.0-alpha.113+876702a45"
71
+ "@turf/centroid": "^7.0.0-alpha.115+c76e6e96e",
72
+ "@turf/clone": "^7.0.0-alpha.115+c76e6e96e",
73
+ "@turf/helpers": "^7.0.0-alpha.115+c76e6e96e",
74
+ "@turf/invariant": "^7.0.0-alpha.115+c76e6e96e",
75
+ "@turf/meta": "^7.0.0-alpha.115+c76e6e96e",
76
+ "@turf/rhumb-bearing": "^7.0.0-alpha.115+c76e6e96e",
77
+ "@turf/rhumb-destination": "^7.0.0-alpha.115+c76e6e96e",
78
+ "@turf/rhumb-distance": "^7.0.0-alpha.115+c76e6e96e"
78
79
  },
79
- "gitHead": "876702a454d5d085d6e1e54ae286c2b5bc08f584"
80
+ "gitHead": "c76e6e96eea2a08d55f670333a085535da5371ce"
80
81
  }
package/index.d.ts DELETED
@@ -1,16 +0,0 @@
1
- import { AllGeoJSON, Coord } from "@turf/helpers";
2
-
3
- /**
4
- * http://turfjs.org/docs/#transformrotate
5
- */
6
- declare function transformRotate<T extends AllGeoJSON>(
7
- geojson: T,
8
- angle: number,
9
- options?: {
10
- pivot?: Coord;
11
- mutate?: boolean;
12
- }
13
- ): T;
14
-
15
- export { transformRotate };
16
- export default transformRotate;
File without changes
File without changes
File without changes