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