Skip to content

Commit 9685a10

Browse files
authored
Merge pull request #662 from mapswipe/feature/geojson-validator-new
Use a different geojson validator
2 parents 2a49096 + 1ca0904 commit 9685a10

File tree

3 files changed

+35
-237
lines changed

3 files changed

+35
-237
lines changed

manager-dashboard/app/components/GeoJsonFileInput/index.tsx

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,31 @@
11
import React from 'react';
2-
import booleanValid from '@turf/boolean-valid';
2+
import { check, HintError } from '@placemarkio/check-geojson';
33

44
import FileInput, { Props as FileInputProps } from '#components/FileInput';
55
import useMountedRef from '#hooks/useMountedRef';
66
import GeoJsonPreview from '#components/GeoJsonPreview';
77

8-
function validateGeoJSON(value: GeoJSON.GeoJSON): boolean {
8+
type ParseGeoJSONResponse = {
9+
errored?: false,
10+
value: GeoJSON.GeoJSON,
11+
} | {
12+
errored: true,
13+
errors: HintError['issues'],
14+
};
15+
16+
// FIXME: Move to utils
17+
function parseGeoJSON(value: string): ParseGeoJSONResponse {
918
try {
10-
if (value.type === 'FeatureCollection') {
11-
return value.features.every(
12-
(item) => validateGeoJSON(item),
13-
);
14-
}
15-
16-
if (value.type === 'Feature') {
17-
return validateGeoJSON(value.geometry);
18-
}
19-
20-
if (value.type === 'GeometryCollection') {
21-
return value.geometries.every(
22-
(item) => validateGeoJSON(item),
23-
);
24-
}
25-
// NOTE: booleanValid does not support FeatureCollection and GeometryCollection
26-
// NOTE: booleanValid does seem to support Feature but it does not
27-
return booleanValid(value);
28-
} catch {
29-
return false;
19+
const parsedValues = check(value);
20+
return {
21+
value: parsedValues,
22+
};
23+
} catch (ex: unknown) {
24+
const err = ex as HintError;
25+
return {
26+
errored: true,
27+
errors: err.issues,
28+
};
3029
}
3130
}
3231

@@ -108,11 +107,12 @@ function GeoJsonFileInput<N>(props: Props<N>) {
108107
onChange(undefined, name);
109108
return;
110109
}
111-
fileAsJson = JSON.parse(text) as GeoJSON.GeoJSON;
112110

113-
const isValidGeoJson = validateGeoJSON(fileAsJson);
114-
if (!isValidGeoJson) {
115-
setInternalErrorMessage('The geojson is not valid.');
111+
const parsedGeoJSON = parseGeoJSON(text);
112+
if (!parsedGeoJSON.errored) {
113+
fileAsJson = parsedGeoJSON.value;
114+
} else {
115+
setInternalErrorMessage(parsedGeoJSON.errors.map((err) => err.message).join('\n'));
116116
setTempValue(newValue);
117117
onChange(undefined, name);
118118
return;

manager-dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@
3535
"dependencies": {
3636
"@apollo/client": "^3.3.21",
3737
"@babel/runtime": "^7.11.2",
38+
"@placemarkio/check-geojson": "^0.1.12",
3839
"@sentry/react": "^6.9.0",
3940
"@sentry/tracing": "^6.9.0",
4041
"@togglecorp/fujs": "^1.9.2",
4142
"@togglecorp/toggle-form": "^1.2.1",
4243
"@turf/area": "^6.5.0",
43-
"@turf/boolean-valid": "^6.5.0",
4444
"@turf/invariant": "^6.5.0",
4545
"apollo-link": "^1.2.14",
4646
"apollo-link-batch-http": "^1.2.14",

manager-dashboard/yarn.lock

Lines changed: 8 additions & 210 deletions
Original file line numberDiff line numberDiff line change
@@ -2798,6 +2798,11 @@
27982798
"@nodelib/fs.scandir" "2.1.5"
27992799
fastq "^1.6.0"
28002800

2801+
"@placemarkio/check-geojson@^0.1.12":
2802+
version "0.1.12"
2803+
resolved "https://registry.yarnpkg.com/@placemarkio/check-geojson/-/check-geojson-0.1.12.tgz#ec4901b0c6b561154351604d4c5c3f894f549bd7"
2804+
integrity sha512-sSNPtPDVB0oKwImi4NYg1LVE2QSCIqs/jIRmu8U4fQVWdRjlGy+C/n7AbNO2FycE9rVWtz256f33aMGzvKC7gg==
2805+
28012806
"@pmmmwh/react-refresh-webpack-plugin@^0.4.3":
28022807
version "0.4.3"
28032808
resolved "https://registry.yarnpkg.com/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.4.3.tgz#1eec460596d200c0236bf195b078a5d1df89b766"
@@ -3241,105 +3246,7 @@
32413246
"@turf/helpers" "^6.5.0"
32423247
"@turf/meta" "^6.5.0"
32433248

3244-
"@turf/bbox@*", "@turf/bbox@^6.5.0":
3245-
version "6.5.0"
3246-
resolved "https://registry.yarnpkg.com/@turf/bbox/-/bbox-6.5.0.tgz#bec30a744019eae420dac9ea46fb75caa44d8dc5"
3247-
integrity sha512-RBbLaao5hXTYyyg577iuMtDB8ehxMlUqHEJiMs8jT1GHkFhr6sYre3lmLsPeYEi/ZKj5TP5tt7fkzNdJ4GIVyw==
3248-
dependencies:
3249-
"@turf/helpers" "^6.5.0"
3250-
"@turf/meta" "^6.5.0"
3251-
3252-
"@turf/bearing@^6.5.0":
3253-
version "6.5.0"
3254-
resolved "https://registry.yarnpkg.com/@turf/bearing/-/bearing-6.5.0.tgz#462a053c6c644434bdb636b39f8f43fb0cd857b0"
3255-
integrity sha512-dxINYhIEMzgDOztyMZc20I7ssYVNEpSv04VbMo5YPQsqa80KO3TFvbuCahMsCAW5z8Tncc8dwBlEFrmRjJG33A==
3256-
dependencies:
3257-
"@turf/helpers" "^6.5.0"
3258-
"@turf/invariant" "^6.5.0"
3259-
3260-
"@turf/boolean-crosses@^6.5.0":
3261-
version "6.5.0"
3262-
resolved "https://registry.yarnpkg.com/@turf/boolean-crosses/-/boolean-crosses-6.5.0.tgz#4a1981475b9d6e23b25721f9fb8ef20696ff1648"
3263-
integrity sha512-gvshbTPhAHporTlQwBJqyfW+2yV8q/mOTxG6PzRVl6ARsqNoqYQWkd4MLug7OmAqVyBzLK3201uAeBjxbGw0Ng==
3264-
dependencies:
3265-
"@turf/boolean-point-in-polygon" "^6.5.0"
3266-
"@turf/helpers" "^6.5.0"
3267-
"@turf/invariant" "^6.5.0"
3268-
"@turf/line-intersect" "^6.5.0"
3269-
"@turf/polygon-to-line" "^6.5.0"
3270-
3271-
"@turf/boolean-disjoint@^6.5.0":
3272-
version "6.5.0"
3273-
resolved "https://registry.yarnpkg.com/@turf/boolean-disjoint/-/boolean-disjoint-6.5.0.tgz#e291d8f8f8cce7f7bb3c11e23059156a49afc5e4"
3274-
integrity sha512-rZ2ozlrRLIAGo2bjQ/ZUu4oZ/+ZjGvLkN5CKXSKBcu6xFO6k2bgqeM8a1836tAW+Pqp/ZFsTA5fZHsJZvP2D5g==
3275-
dependencies:
3276-
"@turf/boolean-point-in-polygon" "^6.5.0"
3277-
"@turf/helpers" "^6.5.0"
3278-
"@turf/line-intersect" "^6.5.0"
3279-
"@turf/meta" "^6.5.0"
3280-
"@turf/polygon-to-line" "^6.5.0"
3281-
3282-
"@turf/boolean-overlap@^6.5.0":
3283-
version "6.5.0"
3284-
resolved "https://registry.yarnpkg.com/@turf/boolean-overlap/-/boolean-overlap-6.5.0.tgz#f27c85888c3665d42d613a91a83adf1657cd1385"
3285-
integrity sha512-8btMIdnbXVWUa1M7D4shyaSGxLRw6NjMcqKBcsTXcZdnaixl22k7ar7BvIzkaRYN3SFECk9VGXfLncNS3ckQUw==
3286-
dependencies:
3287-
"@turf/helpers" "^6.5.0"
3288-
"@turf/invariant" "^6.5.0"
3289-
"@turf/line-intersect" "^6.5.0"
3290-
"@turf/line-overlap" "^6.5.0"
3291-
"@turf/meta" "^6.5.0"
3292-
geojson-equality "0.1.6"
3293-
3294-
"@turf/boolean-point-in-polygon@^6.5.0":
3295-
version "6.5.0"
3296-
resolved "https://registry.yarnpkg.com/@turf/boolean-point-in-polygon/-/boolean-point-in-polygon-6.5.0.tgz#6d2e9c89de4cd2e4365004c1e51490b7795a63cf"
3297-
integrity sha512-DtSuVFB26SI+hj0SjrvXowGTUCHlgevPAIsukssW6BG5MlNSBQAo70wpICBNJL6RjukXg8d2eXaAWuD/CqL00A==
3298-
dependencies:
3299-
"@turf/helpers" "^6.5.0"
3300-
"@turf/invariant" "^6.5.0"
3301-
3302-
"@turf/boolean-point-on-line@^6.5.0":
3303-
version "6.5.0"
3304-
resolved "https://registry.yarnpkg.com/@turf/boolean-point-on-line/-/boolean-point-on-line-6.5.0.tgz#a8efa7bad88760676f395afb9980746bc5b376e9"
3305-
integrity sha512-A1BbuQ0LceLHvq7F/P7w3QvfpmZqbmViIUPHdNLvZimFNLo4e6IQunmzbe+8aSStH9QRZm3VOflyvNeXvvpZEQ==
3306-
dependencies:
3307-
"@turf/helpers" "^6.5.0"
3308-
"@turf/invariant" "^6.5.0"
3309-
3310-
"@turf/boolean-valid@^6.5.0":
3311-
version "6.5.0"
3312-
resolved "https://registry.yarnpkg.com/@turf/boolean-valid/-/boolean-valid-6.5.0.tgz#20feee0a1187ba8944dd7b1e38fbf6594a20e59e"
3313-
integrity sha512-v1ineelL5l/S/9D38dL55oThyrLf49a4hnjnoKx2Udp0NbJ5JxCleVFVMSkdq7ArVkPHwW6WkNGdOm2IYyBBMw==
3314-
dependencies:
3315-
"@turf/bbox" "^6.5.0"
3316-
"@turf/boolean-crosses" "^6.5.0"
3317-
"@turf/boolean-disjoint" "^6.5.0"
3318-
"@turf/boolean-overlap" "^6.5.0"
3319-
"@turf/boolean-point-in-polygon" "^6.5.0"
3320-
"@turf/boolean-point-on-line" "^6.5.0"
3321-
"@turf/helpers" "^6.5.0"
3322-
"@turf/invariant" "^6.5.0"
3323-
"@turf/line-intersect" "^6.5.0"
3324-
geojson-polygon-self-intersections "1.2.x"
3325-
3326-
"@turf/destination@^6.5.0":
3327-
version "6.5.0"
3328-
resolved "https://registry.yarnpkg.com/@turf/destination/-/destination-6.5.0.tgz#30a84702f9677d076130e0440d3223ae503fdae1"
3329-
integrity sha512-4cnWQlNC8d1tItOz9B4pmJdWpXqS0vEvv65bI/Pj/genJnsL7evI0/Xw42RvEGROS481MPiU80xzvwxEvhQiMQ==
3330-
dependencies:
3331-
"@turf/helpers" "^6.5.0"
3332-
"@turf/invariant" "^6.5.0"
3333-
3334-
"@turf/distance@^6.5.0":
3335-
version "6.5.0"
3336-
resolved "https://registry.yarnpkg.com/@turf/distance/-/distance-6.5.0.tgz#21f04d5f86e864d54e2abde16f35c15b4f36149a"
3337-
integrity sha512-xzykSLfoURec5qvQJcfifw/1mJa+5UwByZZ5TZ8iaqjGYN0vomhV9aiSLeYdUGtYRESZ+DYC/OzY+4RclZYgMg==
3338-
dependencies:
3339-
"@turf/helpers" "^6.5.0"
3340-
"@turf/invariant" "^6.5.0"
3341-
3342-
"@turf/[email protected]", "@turf/helpers@^6.5.0":
3249+
"@turf/helpers@^6.5.0":
33433250
version "6.5.0"
33443251
resolved "https://registry.yarnpkg.com/@turf/helpers/-/helpers-6.5.0.tgz#f79af094bd6b8ce7ed2bd3e089a8493ee6cae82e"
33453252
integrity sha512-VbI1dV5bLFzohYYdgqwikdMVpe7pJ9X3E+dlr425wa2/sMJqYDhTO++ec38/pcPvPE6oD9WEEeU3Xu3gza+VPw==
@@ -3351,68 +3258,13 @@
33513258
dependencies:
33523259
"@turf/helpers" "^6.5.0"
33533260

3354-
"@turf/line-intersect@^6.5.0":
3355-
version "6.5.0"
3356-
resolved "https://registry.yarnpkg.com/@turf/line-intersect/-/line-intersect-6.5.0.tgz#dea48348b30c093715d2195d2dd7524aee4cf020"
3357-
integrity sha512-CS6R1tZvVQD390G9Ea4pmpM6mJGPWoL82jD46y0q1KSor9s6HupMIo1kY4Ny+AEYQl9jd21V3Scz20eldpbTVA==
3358-
dependencies:
3359-
"@turf/helpers" "^6.5.0"
3360-
"@turf/invariant" "^6.5.0"
3361-
"@turf/line-segment" "^6.5.0"
3362-
"@turf/meta" "^6.5.0"
3363-
geojson-rbush "3.x"
3364-
3365-
"@turf/line-overlap@^6.5.0":
3366-
version "6.5.0"
3367-
resolved "https://registry.yarnpkg.com/@turf/line-overlap/-/line-overlap-6.5.0.tgz#10ebb805c2d047463379fc1f997785fa8f3f4cc1"
3368-
integrity sha512-xHOaWLd0hkaC/1OLcStCpfq55lPHpPNadZySDXYiYjEz5HXr1oKmtMYpn0wGizsLwrOixRdEp+j7bL8dPt4ojQ==
3369-
dependencies:
3370-
"@turf/boolean-point-on-line" "^6.5.0"
3371-
"@turf/helpers" "^6.5.0"
3372-
"@turf/invariant" "^6.5.0"
3373-
"@turf/line-segment" "^6.5.0"
3374-
"@turf/meta" "^6.5.0"
3375-
"@turf/nearest-point-on-line" "^6.5.0"
3376-
deep-equal "1.x"
3377-
geojson-rbush "3.x"
3378-
3379-
"@turf/line-segment@^6.5.0":
3380-
version "6.5.0"
3381-
resolved "https://registry.yarnpkg.com/@turf/line-segment/-/line-segment-6.5.0.tgz#ee73f3ffcb7c956203b64ed966d96af380a4dd65"
3382-
integrity sha512-jI625Ho4jSuJESNq66Mmi290ZJ5pPZiQZruPVpmHkUw257Pew0alMmb6YrqYNnLUuiVVONxAAKXUVeeUGtycfw==
3383-
dependencies:
3384-
"@turf/helpers" "^6.5.0"
3385-
"@turf/invariant" "^6.5.0"
3386-
"@turf/meta" "^6.5.0"
3387-
3388-
"@turf/[email protected]", "@turf/meta@^6.5.0":
3261+
"@turf/meta@^6.5.0":
33893262
version "6.5.0"
33903263
resolved "https://registry.yarnpkg.com/@turf/meta/-/meta-6.5.0.tgz#b725c3653c9f432133eaa04d3421f7e51e0418ca"
33913264
integrity sha512-RrArvtsV0vdsCBegoBtOalgdSOfkBrTJ07VkpiCnq/491W67hnMWmDu7e6Ztw0C3WldRYTXkg3SumfdzZxLBHA==
33923265
dependencies:
33933266
"@turf/helpers" "^6.5.0"
33943267

3395-
"@turf/nearest-point-on-line@^6.5.0":
3396-
version "6.5.0"
3397-
resolved "https://registry.yarnpkg.com/@turf/nearest-point-on-line/-/nearest-point-on-line-6.5.0.tgz#8e1cd2cdc0b5acaf4c8d8b3b33bb008d3cb99e7b"
3398-
integrity sha512-WthrvddddvmymnC+Vf7BrkHGbDOUu6Z3/6bFYUGv1kxw8tiZ6n83/VG6kHz4poHOfS0RaNflzXSkmCi64fLBlg==
3399-
dependencies:
3400-
"@turf/bearing" "^6.5.0"
3401-
"@turf/destination" "^6.5.0"
3402-
"@turf/distance" "^6.5.0"
3403-
"@turf/helpers" "^6.5.0"
3404-
"@turf/invariant" "^6.5.0"
3405-
"@turf/line-intersect" "^6.5.0"
3406-
"@turf/meta" "^6.5.0"
3407-
3408-
"@turf/polygon-to-line@^6.5.0":
3409-
version "6.5.0"
3410-
resolved "https://registry.yarnpkg.com/@turf/polygon-to-line/-/polygon-to-line-6.5.0.tgz#4dc86db66168b32bb83ce448cf966208a447d952"
3411-
integrity sha512-5p4n/ij97EIttAq+ewSnKt0ruvuM+LIDzuczSzuHTpq4oS7Oq8yqg5TQ4nzMVuK41r/tALCk7nAoBuw3Su4Gcw==
3412-
dependencies:
3413-
"@turf/helpers" "^6.5.0"
3414-
"@turf/invariant" "^6.5.0"
3415-
34163268
"@types/apollo-upload-client@^14.1.0":
34173269
version "14.1.0"
34183270
resolved "https://registry.yarnpkg.com/@types/apollo-upload-client/-/apollo-upload-client-14.1.0.tgz#21a57d7e3f29ff946ba51a53b3d7da46ddd21fbc"
@@ -3499,11 +3351,6 @@
34993351
resolved "https://registry.yarnpkg.com/@types/geojson/-/geojson-7946.0.10.tgz#6dfbf5ea17142f7f9a043809f1cd4c448cb68249"
35003352
integrity sha512-Nmh0K3iWQJzniTuPRcJn5hxXkfB1T1pgB89SBig5PlJQU5yocazeu4jATJlaA0GYFKWMqDdvYemoSnF2pXgLVA==
35013353

3502-
3503-
version "7946.0.8"
3504-
resolved "https://registry.yarnpkg.com/@types/geojson/-/geojson-7946.0.8.tgz#30744afdb385e2945e22f3b033f897f76b1f12ca"
3505-
integrity sha512-1rkryxURpr6aWP7R786/UQOkJ3PcpQiWkAXBmdWc7ryFWqN6a4xfK7BtjXvFBKO9LjQ+MWQSWxYeZX1OApnArA==
3506-
35073354
"@types/glob@^7.1.1":
35083355
version "7.2.0"
35093356
resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb"
@@ -5831,7 +5678,7 @@ dedent@^0.7.0:
58315678
resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c"
58325679
integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=
58335680

5834-
deep-equal@1.x, deep-equal@^1.0.0, deep-equal@^1.0.1:
5681+
deep-equal@^1.0.1:
58355682
version "1.1.1"
58365683
resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.1.1.tgz#b5c98c942ceffaf7cb051e24e1434a25a2e6076a"
58375684
integrity sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==
@@ -7140,31 +6987,6 @@ gensync@^1.0.0-beta.2:
71406987
resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0"
71416988
integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==
71426989

7143-
7144-
version "0.1.6"
7145-
resolved "https://registry.yarnpkg.com/geojson-equality/-/geojson-equality-0.1.6.tgz#a171374ef043e5d4797995840bae4648e0752d72"
7146-
integrity sha512-TqG8YbqizP3EfwP5Uw4aLu6pKkg6JQK9uq/XZ1lXQntvTHD1BBKJWhNpJ2M0ax6TuWMP3oyx6Oq7FCIfznrgpQ==
7147-
dependencies:
7148-
deep-equal "^1.0.0"
7149-
7150-
7151-
version "1.2.1"
7152-
resolved "https://registry.yarnpkg.com/geojson-polygon-self-intersections/-/geojson-polygon-self-intersections-1.2.1.tgz#7018edabe58e9262f20821a7334953708c78bbb7"
7153-
integrity sha512-/QM1b5u2d172qQVO//9CGRa49jEmclKEsYOQmWP9ooEjj63tBM51m2805xsbxkzlEELQ2REgTf700gUhhlegxA==
7154-
dependencies:
7155-
rbush "^2.0.1"
7156-
7157-
7158-
version "3.2.0"
7159-
resolved "https://registry.yarnpkg.com/geojson-rbush/-/geojson-rbush-3.2.0.tgz#8b543cf0d56f99b78faf1da52bb66acad6dfc290"
7160-
integrity sha512-oVltQTXolxvsz1sZnutlSuLDEcQAKYC/uXt9zDzJJ6bu0W+baTI8LZBaTup5afzibEH4N3jlq2p+a152wlBJ7w==
7161-
dependencies:
7162-
"@turf/bbox" "*"
7163-
"@turf/helpers" "6.x"
7164-
"@turf/meta" "6.x"
7165-
"@types/geojson" "7946.0.8"
7166-
rbush "^3.0.1"
7167-
71686990
get-caller-file@^2.0.1, get-caller-file@^2.0.5:
71696991
version "2.0.5"
71706992
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
@@ -11322,16 +11144,6 @@ quick-lru@^4.0.1:
1132211144
resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f"
1132311145
integrity sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==
1132411146

11325-
quickselect@^1.0.1:
11326-
version "1.1.1"
11327-
resolved "https://registry.yarnpkg.com/quickselect/-/quickselect-1.1.1.tgz#852e412ce418f237ad5b660d70cffac647ae94c2"
11328-
integrity sha512-qN0Gqdw4c4KGPsBOQafj6yj/PA6c/L63f6CaZ/DCF/xF4Esu3jVmKLUDYxghFx8Kb/O7y9tI7x2RjTSXwdK1iQ==
11329-
11330-
quickselect@^2.0.0:
11331-
version "2.0.0"
11332-
resolved "https://registry.yarnpkg.com/quickselect/-/quickselect-2.0.0.tgz#f19680a486a5eefb581303e023e98faaf25dd018"
11333-
integrity sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==
11334-
1133511147
randombytes@^2.1.0:
1133611148
version "2.1.0"
1133711149
resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a"
@@ -11354,20 +11166,6 @@ [email protected]:
1135411166
iconv-lite "0.4.24"
1135511167
unpipe "1.0.0"
1135611168

11357-
rbush@^2.0.1:
11358-
version "2.0.2"
11359-
resolved "https://registry.yarnpkg.com/rbush/-/rbush-2.0.2.tgz#bb6005c2731b7ba1d5a9a035772927d16a614605"
11360-
integrity sha512-XBOuALcTm+O/H8G90b6pzu6nX6v2zCKiFG4BJho8a+bY6AER6t8uQUZdi5bomQc0AprCWhEGa7ncAbbRap0bRA==
11361-
dependencies:
11362-
quickselect "^1.0.1"
11363-
11364-
rbush@^3.0.1:
11365-
version "3.0.1"
11366-
resolved "https://registry.yarnpkg.com/rbush/-/rbush-3.0.1.tgz#5fafa8a79b3b9afdfe5008403a720cc1de882ecf"
11367-
integrity sha512-XRaVO0YecOpEuIvbhbpTrZgoiI6xBlz6hnlr6EHhd+0x9ase6EmeN+hdwwUaJvLcsFFQ8iWVF1GAK1yB0BWi0w==
11368-
dependencies:
11369-
quickselect "^2.0.0"
11370-
1137111169
rc@^1.2.8:
1137211170
version "1.2.8"
1137311171
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"

0 commit comments

Comments
 (0)