diff --git a/packages/turf-random/index.ts b/packages/turf-random/index.ts index f64391d46..9a877b9c8 100644 --- a/packages/turf-random/index.ts +++ b/packages/turf-random/index.ts @@ -15,6 +15,7 @@ import { polygon, validateBBox, } from "@turf/helpers"; +import destination from "@turf/destination"; /** * Returns a random position within a {@link BBox|bounding box}. @@ -233,20 +234,18 @@ function randomLineString( for (let i = 0; i < count; i++) { const startingPoint = randomPositionUnchecked(bbox); const vertices = [startingPoint]; - for (let j = 0; j < num_vertices - 1; j++) { - const priorAngle = - j === 0 - ? Math.random() * 2 * Math.PI - : Math.tan( - (vertices[j][1] - vertices[j - 1][1]) / - (vertices[j][0] - vertices[j - 1][0]) - ); - const angle = priorAngle + (Math.random() - 0.5) * max_rotation * 2; - const distance = Math.random() * max_length; - vertices.push([ - vertices[j][0] + distance * Math.cos(angle), - vertices[j][1] + distance * Math.sin(angle), - ]); + var priorBearing = Math.random() * 360; + for (var j = 0; j < num_vertices - 1; j++) { + var newBearing = + priorBearing + + ((Math.random() - 0.5) * max_rotation * 2 * 180) / Math.PI; + if (newBearing > 180) newBearing -= 360; + var distance = Math.random() * max_length; + const vertex = destination(vertices[j], distance, newBearing, { + units: "degrees", + }); + priorBearing = newBearing; + vertices.push(vertex.geometry.coordinates); } features.push(lineString(vertices)); } diff --git a/packages/turf-random/package.json b/packages/turf-random/package.json index 14f5d5115..d1130ccb0 100644 --- a/packages/turf-random/package.json +++ b/packages/turf-random/package.json @@ -49,6 +49,8 @@ "test:tape": "tsx test.ts" }, "devDependencies": { + "@turf/bearing": "workspace:*", + "@turf/distance": "workspace:*", "@types/benchmark": "^2.1.5", "@types/tape": "^5.8.1", "benchmark": "^2.1.4", @@ -60,6 +62,7 @@ "typescript": "^5.8.3" }, "dependencies": { + "@turf/destination": "workspace:*", "@turf/helpers": "workspace:*", "@types/geojson": "^7946.0.10", "tslib": "^2.8.1" diff --git a/packages/turf-random/test.ts b/packages/turf-random/test.ts index d42294cf9..40741b47f 100644 --- a/packages/turf-random/test.ts +++ b/packages/turf-random/test.ts @@ -1,4 +1,6 @@ import test from "tape"; +import distance from "@turf/distance"; +import bearing from "@turf/bearing"; import { randomPoint, randomPolygon, @@ -30,7 +32,7 @@ test("random(polygons, 10)", (t) => { t.end(); }); -test("random(polygons, 1, {num_vertices})", (t) => { +test("random(polygons, 10, {num_vertices})", (t) => { var points = randomPolygon(10, { num_vertices: 23 }); t.equal(points.type, "FeatureCollection", "is a featurecollection"); t.equal(points.features.length, 10, "right number of features"); @@ -77,3 +79,106 @@ test("bbox input gets validated", (t) => { }, "randomPosition checks bbox validity"); t.end(); }); + +test("random(lines)", (t) => { + var lines = randomLineString(); + t.equal(lines.type, "FeatureCollection", "is a featurecollection"); + t.equal(lines.features.length, 1, "right number of features"); + t.equal( + lines.features[0].geometry.type, + "LineString", + "feature type correct" + ); + t.end(); +}); + +test("random(lines, 10)", (t) => { + var lines = randomLineString(10); + t.equal(lines.type, "FeatureCollection", "is a featurecollection"); + t.equal(lines.features.length, 10, "right number of features"); + t.equal( + lines.features[0].geometry.type, + "LineString", + "feature type correct" + ); + t.end(); +}); + +test("random(lines, 10, {num_vertices})", (t) => { + var lines = randomLineString(10, { num_vertices: 10 }); + t.equal(lines.type, "FeatureCollection", "is a featurecollection"); + t.equal(lines.features.length, 10, "right number of features"); + t.equal(lines.features[0].geometry.coordinates.length, 10, "num vertices"); + t.end(); +}); + +test("random(lines, 10, {bbox})", (t) => { + var lines = randomLineString(10, { bbox: [0, 0, 0, 0] }); + t.equal(lines.type, "FeatureCollection", "is a featurecollection"); + t.equal(lines.features.length, 10, "right number of features"); + t.equal( + lines.features[0].geometry.type, + "LineString", + "feature type correct" + ); + t.deepEqual( + lines.features[0].geometry.coordinates[0], + [0, 0], + "feature type correct" + ); + t.end(); +}); + +test("random(lines, 10, {max_length})", (t) => { + var lines = randomLineString(10, { max_length: 0.1 }); + t.equal(lines.type, "FeatureCollection", "is a featurecollection"); + t.equal(lines.features.length, 10, "right number of features"); + t.equal( + lines.features[0].geometry.type, + "LineString", + "feature type correct" + ); + let ok = true; + for (let i = 1; i < lines.features[0].geometry.coordinates.length; i++) { + const length = distance( + lines.features[0].geometry.coordinates[i - 1], + lines.features[0].geometry.coordinates[i], + { units: "degrees" } + ); + if (length > 0.1) ok = false; + } + t.ok(ok, "randomLineString ensures max_length"); + t.end(); +}); + +test("random(lines, 10, {max_rotation})", (t) => { + var lines = randomLineString(10, { max_rotation: Math.PI / 10 }); + t.equal(lines.type, "FeatureCollection", "is a featurecollection"); + t.equal(lines.features.length, 10, "right number of features"); + t.equal( + lines.features[0].geometry.type, + "LineString", + "feature type correct" + ); + let ok = true; + for (let i = 2; i < lines.features[0].geometry.coordinates.length; i++) { + // Compute the differential angle with the previous segment + let bearing1 = bearing( + lines.features[0].geometry.coordinates[i - 2], + lines.features[0].geometry.coordinates[i - 1] + ); + //if (bearing1 < 0) bearing1 += 360; + let bearing2 = bearing( + lines.features[0].geometry.coordinates[i - 1], + lines.features[0].geometry.coordinates[i] + ); + //if (bearing2 < 0) bearing2 += 360; + const difference = + bearing1 * bearing2 < 0 + ? bearing2 + bearing1 + : Math.abs(bearing2 - bearing1); + if (difference > 18) ok = false; + } + t.ok(ok, "randomLineString ensures max_rotation"); + t.end(); +}); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9cfe067c4..fa62227f0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -58,7 +58,7 @@ importers: version: 10.1.2(eslint@9.25.1) eslint-plugin-prettier: specifier: ^5.2.6 - version: 5.2.6(eslint-config-prettier@10.1.2)(eslint@9.25.1)(prettier@3.5.3) + version: 5.2.6(eslint-config-prettier@10.1.2(eslint@9.25.1))(eslint@9.25.1)(prettier@3.5.3) esm: specifier: ^3.2.25 version: 3.2.25 @@ -76,7 +76,7 @@ importers: version: 9.1.7 lerna: specifier: ^8.2.2 - version: 8.2.2 + version: 8.2.2(encoding@0.1.13) lint-staged: specifier: ^15.5.1 version: 15.5.1 @@ -97,7 +97,7 @@ importers: version: 2.0.3 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -500,7 +500,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -552,7 +552,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -613,7 +613,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -659,7 +659,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -702,7 +702,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -748,7 +748,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -788,7 +788,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -831,7 +831,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -877,7 +877,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -926,7 +926,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -972,7 +972,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1033,7 +1033,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1091,7 +1091,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1146,7 +1146,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1201,7 +1201,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1250,7 +1250,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1311,7 +1311,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1360,7 +1360,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1406,7 +1406,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1452,7 +1452,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1513,7 +1513,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1589,7 +1589,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1650,7 +1650,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1708,7 +1708,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1760,7 +1760,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1818,7 +1818,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1885,7 +1885,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1943,7 +1943,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -1992,7 +1992,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2044,7 +2044,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2099,7 +2099,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2142,7 +2142,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2182,7 +2182,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2249,7 +2249,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2322,7 +2322,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2374,7 +2374,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2414,7 +2414,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2481,7 +2481,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2536,7 +2536,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2588,7 +2588,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2640,7 +2640,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2701,7 +2701,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2756,7 +2756,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2802,7 +2802,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2854,7 +2854,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2930,7 +2930,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -2979,7 +2979,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3022,7 +3022,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3068,7 +3068,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3117,7 +3117,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3172,7 +3172,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3218,7 +3218,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3252,7 +3252,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3307,7 +3307,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3383,7 +3383,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3432,7 +3432,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3472,7 +3472,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3548,7 +3548,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3618,7 +3618,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3664,7 +3664,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3713,7 +3713,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3765,7 +3765,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3817,7 +3817,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3863,7 +3863,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3912,7 +3912,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -3973,7 +3973,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4022,7 +4022,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4071,7 +4071,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4123,7 +4123,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4230,7 +4230,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4282,7 +4282,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4319,7 +4319,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4362,7 +4362,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4408,7 +4408,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4475,7 +4475,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4527,7 +4527,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4588,7 +4588,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4649,7 +4649,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4692,7 +4692,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4747,7 +4747,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4805,7 +4805,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4875,7 +4875,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4933,7 +4933,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -4979,7 +4979,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5025,7 +5025,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5083,7 +5083,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5129,7 +5129,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5184,7 +5184,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5239,7 +5239,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5309,7 +5309,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5322,6 +5322,9 @@ importers: packages/turf-random: dependencies: + '@turf/destination': + specifier: workspace:* + version: link:../turf-destination '@turf/helpers': specifier: workspace:* version: link:../turf-helpers @@ -5332,6 +5335,12 @@ importers: specifier: ^2.8.1 version: 2.8.1 devDependencies: + '@turf/bearing': + specifier: workspace:* + version: link:../turf-bearing + '@turf/distance': + specifier: workspace:* + version: link:../turf-distance '@types/benchmark': specifier: ^2.1.5 version: 2.1.5 @@ -5352,7 +5361,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5404,7 +5413,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5459,7 +5468,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5505,7 +5514,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5554,7 +5563,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5603,7 +5612,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5643,7 +5652,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5698,7 +5707,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5768,7 +5777,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5823,7 +5832,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5866,7 +5875,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5912,7 +5921,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -5976,7 +5985,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -6028,7 +6037,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -6068,7 +6077,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -6105,7 +6114,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -6169,7 +6178,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -6248,7 +6257,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -6306,7 +6315,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -6361,7 +6370,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -6407,7 +6416,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -6459,7 +6468,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -6517,7 +6526,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -6575,7 +6584,7 @@ importers: version: 5.9.0 tsup: specifier: ^8.4.0 - version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3) + version: 8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1) tsx: specifier: ^4.19.4 version: 4.19.4 @@ -12037,7 +12046,7 @@ snapshots: '@babel/core': 7.26.0 '@babel/helper-module-imports': 7.25.9 '@babel/helper-validator-identifier': 7.25.9 - '@babel/traverse': 7.25.9 + '@babel/traverse': 7.27.0 transitivePeerDependencies: - supports-color @@ -12805,7 +12814,7 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.0 - '@lerna/create@8.2.2(typescript@5.8.3)': + '@lerna/create@8.2.2(encoding@0.1.13)(typescript@5.8.3)': dependencies: '@npmcli/arborist': 7.5.4 '@npmcli/package-json': 5.2.0 @@ -12845,7 +12854,7 @@ snapshots: make-dir: 4.0.0 minimatch: 3.0.5 multimatch: 5.0.0 - node-fetch: 2.6.7 + node-fetch: 2.6.7(encoding@0.1.13) npm-package-arg: 11.0.2 npm-packlist: 8.0.2 npm-registry-fetch: 17.1.0 @@ -13261,6 +13270,7 @@ snapshots: '@babel/core': 7.26.10 '@babel/helper-module-imports': 7.25.9 '@rollup/pluginutils': 5.1.3(rollup@4.40.1) + optionalDependencies: rollup: 4.40.1 transitivePeerDependencies: - supports-color @@ -13274,6 +13284,7 @@ snapshots: is-reference: 1.2.1 magic-string: 0.30.17 picomatch: 4.0.2 + optionalDependencies: rollup: 4.40.1 '@rollup/plugin-inject@5.0.5(rollup@4.40.1)': @@ -13281,6 +13292,7 @@ snapshots: '@rollup/pluginutils': 5.1.3(rollup@4.40.1) estree-walker: 2.0.2 magic-string: 0.30.14 + optionalDependencies: rollup: 4.40.1 '@rollup/plugin-node-resolve@16.0.1(rollup@4.40.1)': @@ -13290,20 +13302,23 @@ snapshots: deepmerge: 4.3.1 is-module: 1.0.0 resolve: 1.22.10 + optionalDependencies: rollup: 4.40.1 '@rollup/plugin-terser@0.4.4(rollup@4.40.1)': dependencies: - rollup: 4.40.1 serialize-javascript: 6.0.1 smob: 1.4.1 terser: 5.26.0 + optionalDependencies: + rollup: 4.40.1 '@rollup/pluginutils@5.1.3(rollup@4.40.1)': dependencies: '@types/estree': 1.0.6 estree-walker: 2.0.2 picomatch: 4.0.2 + optionalDependencies: rollup: 4.40.1 '@rollup/pluginutils@5.1.4(rollup@4.40.1)': @@ -13311,6 +13326,7 @@ snapshots: '@types/estree': 1.0.7 estree-walker: 2.0.2 picomatch: 4.0.2 + optionalDependencies: rollup: 4.40.1 '@rollup/rollup-android-arm-eabi@4.40.1': @@ -13496,7 +13512,7 @@ snapshots: '@types/unist@2.0.10': {} - '@typescript-eslint/eslint-plugin@8.31.1(@typescript-eslint/parser@8.31.1)(eslint@9.25.1)(typescript@5.8.3)': + '@typescript-eslint/eslint-plugin@8.31.1(@typescript-eslint/parser@8.31.1(eslint@9.25.1)(typescript@5.8.3))(eslint@9.25.1)(typescript@5.8.3)': dependencies: '@eslint-community/regexpp': 4.12.1 '@typescript-eslint/parser': 8.31.1(eslint@9.25.1)(typescript@5.8.3) @@ -14137,6 +14153,7 @@ snapshots: import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 + optionalDependencies: typescript: 5.8.3 cross-spawn@6.0.5: @@ -14608,13 +14625,14 @@ snapshots: dependencies: eslint: 9.25.1 - eslint-plugin-prettier@5.2.6(eslint-config-prettier@10.1.2)(eslint@9.25.1)(prettier@3.5.3): + eslint-plugin-prettier@5.2.6(eslint-config-prettier@10.1.2(eslint@9.25.1))(eslint@9.25.1)(prettier@3.5.3): dependencies: eslint: 9.25.1 - eslint-config-prettier: 10.1.2(eslint@9.25.1) prettier: 3.5.3 prettier-linter-helpers: 1.0.0 synckit: 0.11.4 + optionalDependencies: + eslint-config-prettier: 10.1.2(eslint@9.25.1) eslint-scope@8.3.0: dependencies: @@ -15616,9 +15634,9 @@ snapshots: kuler@2.0.0: {} - lerna@8.2.2: + lerna@8.2.2(encoding@0.1.13): dependencies: - '@lerna/create': 8.2.2(typescript@5.8.3) + '@lerna/create': 8.2.2(encoding@0.1.13)(typescript@5.8.3) '@npmcli/arborist': 7.5.4 '@npmcli/package-json': 5.2.0 '@npmcli/run-script': 8.1.0 @@ -15663,7 +15681,7 @@ snapshots: make-dir: 4.0.0 minimatch: 3.0.5 multimatch: 5.0.0 - node-fetch: 2.6.7 + node-fetch: 2.6.7(encoding@0.1.13) npm-package-arg: 11.0.2 npm-packlist: 8.0.2 npm-registry-fetch: 17.1.0 @@ -16381,9 +16399,11 @@ snapshots: nice-try@1.0.5: {} - node-fetch@2.6.7: + node-fetch@2.6.7(encoding@0.1.13): dependencies: whatwg-url: 5.0.0 + optionalDependencies: + encoding: 0.1.13 node-gyp@10.1.0: dependencies: @@ -16832,12 +16852,6 @@ snapshots: possible-typed-array-names@1.0.0: {} - postcss-load-config@6.0.1(postcss@8.5.3)(tsx@4.19.4): - dependencies: - lilconfig: 3.1.3 - postcss: 8.5.3 - tsx: 4.19.4 - postcss-load-config@6.0.1(postcss@8.5.3)(tsx@4.19.4)(yaml@2.7.1): dependencies: lilconfig: 3.1.3 @@ -17728,32 +17742,6 @@ snapshots: tslib@2.8.1: {} - tsup@8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3): - dependencies: - bundle-require: 5.1.0(esbuild@0.25.3) - cac: 6.7.14 - chokidar: 4.0.3 - consola: 3.4.2 - debug: 4.4.0 - esbuild: 0.25.3 - joycon: 3.1.1 - picocolors: 1.1.1 - postcss: 8.5.3 - postcss-load-config: 6.0.1(postcss@8.5.3)(tsx@4.19.4) - resolve-from: 5.0.0 - rollup: 4.40.1 - source-map: 0.8.0-beta.0 - sucrase: 3.35.0 - tinyexec: 0.3.2 - tinyglobby: 0.2.13 - tree-kill: 1.2.2 - typescript: 5.8.3 - transitivePeerDependencies: - - jiti - - supports-color - - tsx - - yaml - tsup@8.4.0(postcss@8.5.3)(tsx@4.19.4)(typescript@5.8.3)(yaml@2.7.1): dependencies: bundle-require: 5.1.0(esbuild@0.25.3) @@ -17853,7 +17841,7 @@ snapshots: typescript-eslint@8.31.1(eslint@9.25.1)(typescript@5.8.3): dependencies: - '@typescript-eslint/eslint-plugin': 8.31.1(@typescript-eslint/parser@8.31.1)(eslint@9.25.1)(typescript@5.8.3) + '@typescript-eslint/eslint-plugin': 8.31.1(@typescript-eslint/parser@8.31.1(eslint@9.25.1)(typescript@5.8.3))(eslint@9.25.1)(typescript@5.8.3) '@typescript-eslint/parser': 8.31.1(eslint@9.25.1)(typescript@5.8.3) '@typescript-eslint/utils': 8.31.1(eslint@9.25.1)(typescript@5.8.3) eslint: 9.25.1