diff --git a/CHANGELOG.md b/CHANGELOG.md index 2952f6ff188..d6d8c474303 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,9 @@ As a minor extension, we have adopted a slightly different versioning convention ## Mithril Distribution [XXXX] - UNRELEASED - Client library, CLI and WASM: - - **DEPRECATED**: The `cardano_db` function have been deprecated and the `snapshot` function was removed in the `Client` struct of the library. + - Support for stable cardano database v2 methods in the client WASM library. + + - **DEPRECATED**: The `cardano_db` function have been deprecated and the `snapshot` function was removed in the `Client` struct of the library, there WASM counterparts were deprecated too. - **DEPRECATED**: The flag `--backend v1` of the `cardano-db` command has been deprecated CLI, use the `--backend v2` instead. @@ -32,7 +34,7 @@ As a minor extension, we have adopted a slightly different versioning convention - Client library, CLI and WASM: - **DEPRECATED**: The `with_aggregator_client` and `new` functions have been deprecated in the `ClientBuilder` struct of the library. - - Support for default incremental backend (`v2`) for Cardano database restoration in the client library, CLI and WASM. + - Support for default incremental backend (`v2`) for Cardano database restoration in the client library and CLI. - Enhanced verification of a Cardano database which now provides a list of tampered and missing files in case of failure. diff --git a/Cargo.lock b/Cargo.lock index e41d565b5fa..db5e6f145bc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3978,7 +3978,7 @@ dependencies = [ [[package]] name = "mithril-client-wasm" -version = "0.9.7" +version = "0.9.8" dependencies = [ "anyhow", "async-trait", diff --git a/examples/client-wasm-nodejs/package-lock.json b/examples/client-wasm-nodejs/package-lock.json index f81aa6b4624..e1f56d580e8 100644 --- a/examples/client-wasm-nodejs/package-lock.json +++ b/examples/client-wasm-nodejs/package-lock.json @@ -16,7 +16,7 @@ }, "../../mithril-client-wasm": { "name": "@mithril-dev/mithril-client-wasm", - "version": "0.9.7", + "version": "0.9.8", "license": "Apache-2.0" }, "node_modules/@mithril-dev/mithril-client-wasm": { diff --git a/examples/client-wasm-web/package-lock.json b/examples/client-wasm-web/package-lock.json index cf76e5e1fa0..08e9d1cd56d 100644 --- a/examples/client-wasm-web/package-lock.json +++ b/examples/client-wasm-web/package-lock.json @@ -20,7 +20,7 @@ }, "../../mithril-client-wasm": { "name": "@mithril-dev/mithril-client-wasm", - "version": "0.9.7", + "version": "0.9.8", "license": "Apache-2.0" }, "node_modules/@discoveryjs/json-ext": { @@ -536,7 +536,6 @@ "version": "8.15.0", "dev": true, "license": "MIT", - "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -559,7 +558,6 @@ "version": "8.17.1", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -715,7 +713,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "baseline-browser-mapping": "^2.8.9", "caniuse-lite": "^1.0.30001746", @@ -1380,6 +1377,21 @@ "node": ">= 0.6" } }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/function-bind": { "version": "1.1.2", "dev": true, @@ -1989,7 +2001,9 @@ "license": "MIT" }, "node_modules/node-forge": { - "version": "1.3.1", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.2.tgz", + "integrity": "sha512-6xKiQ+cph9KImrRh0VsjH2d8/GXA4FIMlgU4B757iI1ApvcyA9VlouP0yZJha01V+huImO+kKMU7ih+2+E14fw==", "dev": true, "license": "(BSD-3-Clause OR GPL-2.0)", "engines": { @@ -2902,7 +2916,6 @@ "version": "4.0.2", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -2947,8 +2960,7 @@ "node_modules/tslib": { "version": "2.8.1", "dev": true, - "license": "0BSD", - "peer": true + "license": "0BSD" }, "node_modules/type-is": { "version": "1.6.18", @@ -3063,7 +3075,6 @@ "integrity": "sha512-7h/weGm9d/ywQ6qzJ+Xy+r9n/3qgp/thalBbpOi5i223dPXKi04IBtqPN9nTd+jBc7QKfvDbaBnFipYp4sJAUQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@types/eslint-scope": "^3.7.7", "@types/estree": "^1.0.8", @@ -3113,7 +3124,6 @@ "integrity": "sha512-MfwFQ6SfwinsUVi0rNJm7rHZ31GyTcpVE5pgVA3hwFRb7COD4TzjUUwhGWKfO50+xdc2MQPuEBBJoqIMGt3JDw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@discoveryjs/json-ext": "^0.6.1", "@webpack-cli/configtest": "^3.0.1", diff --git a/mithril-client-wasm/Cargo.toml b/mithril-client-wasm/Cargo.toml index 951457efbde..bd1540dfe36 100644 --- a/mithril-client-wasm/Cargo.toml +++ b/mithril-client-wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mithril-client-wasm" -version = "0.9.7" +version = "0.9.8" description = "Mithril client WASM" authors = { workspace = true } edition = { workspace = true } diff --git a/mithril-client-wasm/ci-test/package-lock.json b/mithril-client-wasm/ci-test/package-lock.json index 2d26c06e590..53cdf76b112 100644 --- a/mithril-client-wasm/ci-test/package-lock.json +++ b/mithril-client-wasm/ci-test/package-lock.json @@ -21,7 +21,7 @@ }, "..": { "name": "@mithril-dev/mithril-client-wasm", - "version": "0.9.7", + "version": "0.9.8", "license": "Apache-2.0" }, "node_modules/@discoveryjs/json-ext": { @@ -555,7 +555,6 @@ "version": "8.17.1", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -699,7 +698,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "caniuse-lite": "^1.0.30001669", "electron-to-chromium": "^1.5.41", @@ -1389,6 +1387,21 @@ "node": ">= 0.6" } }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/function-bind": { "version": "1.1.2", "dev": true, @@ -1988,7 +2001,9 @@ "license": "MIT" }, "node_modules/node-forge": { - "version": "1.3.1", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.2.tgz", + "integrity": "sha512-6xKiQ+cph9KImrRh0VsjH2d8/GXA4FIMlgU4B757iI1ApvcyA9VlouP0yZJha01V+huImO+kKMU7ih+2+E14fw==", "dev": true, "license": "(BSD-3-Clause OR GPL-2.0)", "engines": { @@ -2898,7 +2913,6 @@ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", "dev": true, - "peer": true, "engines": { "node": ">=12" }, @@ -2943,8 +2957,7 @@ "node_modules/tslib": { "version": "2.8.1", "dev": true, - "license": "0BSD", - "peer": true + "license": "0BSD" }, "node_modules/type-is": { "version": "1.6.18", @@ -3054,7 +3067,6 @@ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.99.7.tgz", "integrity": "sha512-CNqKBRMQjwcmKR0idID5va1qlhrqVUKpovi+Ec79ksW8ux7iS1+A6VqzfZXgVYCFRKl7XL5ap3ZoMpwBJxcg0w==", "dev": true, - "peer": true, "dependencies": { "@types/eslint-scope": "^3.7.7", "@types/estree": "^1.0.6", @@ -3102,7 +3114,6 @@ "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-6.0.1.tgz", "integrity": "sha512-MfwFQ6SfwinsUVi0rNJm7rHZ31GyTcpVE5pgVA3hwFRb7COD4TzjUUwhGWKfO50+xdc2MQPuEBBJoqIMGt3JDw==", "dev": true, - "peer": true, "dependencies": { "@discoveryjs/json-ext": "^0.6.1", "@webpack-cli/configtest": "^3.0.1", diff --git a/mithril-client-wasm/package.json b/mithril-client-wasm/package.json index a6ff644580a..738429b5748 100644 --- a/mithril-client-wasm/package.json +++ b/mithril-client-wasm/package.json @@ -1,6 +1,6 @@ { "name": "@mithril-dev/mithril-client-wasm", - "version": "0.9.7", + "version": "0.9.8", "description": "Mithril client WASM", "license": "Apache-2.0", "collaborators": [ diff --git a/mithril-client-wasm/src/client_wasm.rs b/mithril-client-wasm/src/client_wasm.rs index e423499a624..e6dfcd88b1e 100644 --- a/mithril-client-wasm/src/client_wasm.rs +++ b/mithril-client-wasm/src/client_wasm.rs @@ -158,16 +158,12 @@ impl MithrilClient { ))) } - #[deprecated(since = "0.8.4", note = "supersede by `get_cardano_database_snapshot`")] - /// Call the client to get a snapshot from a digest - #[wasm_bindgen] - pub async fn get_snapshot(&self, digest: &str) -> WasmResult { - self.get_cardano_database_snapshot(digest).await - } - /// Call the client to get a snapshot from a digest + /// + /// @deprecated supersede by `get_cardano_database_v2_snapshot` #[wasm_bindgen] pub async fn get_cardano_database_snapshot(&self, digest: &str) -> WasmResult { + #[allow(deprecated)] let result = self .client .cardano_database() @@ -181,22 +177,44 @@ impl MithrilClient { Ok(serde_wasm_bindgen::to_value(&result)?) } - #[deprecated( - since = "0.8.4", - note = "supersede by `list_cardano_database_snapshots`" - )] /// Call the client to get the list of available snapshots + /// + /// @deprecated supersede by `list_cardano_database_v2` #[wasm_bindgen] - pub async fn list_snapshots(&self) -> WasmResult { - self.list_cardano_database_snapshots().await + pub async fn list_cardano_database_snapshots(&self) -> WasmResult { + #[allow(deprecated)] + let result = self + .client + .cardano_database() + .list() + .await + .map_err(|err| format!("{err:?}"))?; + + Ok(serde_wasm_bindgen::to_value(&result)?) } - /// Call the client to get the list of available snapshots + /// Call the client to get a cardano database snapshot from a hash #[wasm_bindgen] - pub async fn list_cardano_database_snapshots(&self) -> WasmResult { + pub async fn get_cardano_database_v2(&self, hash: &str) -> WasmResult { let result = self .client - .cardano_database() + .cardano_database_v2() + .get(hash) + .await + .map_err(|err| format!("{err:?}"))? + .ok_or(JsValue::from_str(&format!( + "No cardano database snapshot found for hash: '{hash}'" + )))?; + + Ok(serde_wasm_bindgen::to_value(&result)?) + } + + /// Call the client for the list of available cardano database snapshots + #[wasm_bindgen] + pub async fn list_cardano_database_v2(&self) -> WasmResult { + let result = self + .client + .cardano_database_v2() .list() .await .map_err(|err| format!("{err:?}"))?; @@ -204,6 +222,36 @@ impl MithrilClient { Ok(serde_wasm_bindgen::to_value(&result)?) } + /// Call the client for the list of available cardano database snapshots for a given epoch + #[wasm_bindgen] + pub async fn list_cardano_database_v2_per_epoch(&self, epoch: u64) -> WasmResult { + let result = self + .client + .cardano_database_v2() + .list_by_epoch(Epoch(epoch)) + .await + .map_err(|err| format!("{err:?}"))?; + + Ok(serde_wasm_bindgen::to_value(&result)?) + } + + /// Call the client for the list of available cardano database snapshots for the latest epoch + /// + /// An optional offset can be provided + #[wasm_bindgen] + pub async fn list_cardano_database_v2_for_latest_epoch(&self, param: JsValue) -> WasmResult { + let options = LatestEpochOptions::parse_from_js_value(param)?; + let client = self.client.cardano_database_v2(); + + let result = match options.offset { + None => client.list_for_latest_epoch().await, + Some(offset) => client.list_for_latest_epoch_with_offset(offset).await, + } + .map_err(|err| format!("{err:?}"))?; + + Ok(serde_wasm_bindgen::to_value(&result)?) + } + /// Call the client to get a mithril stake distribution from a hash #[wasm_bindgen] pub async fn get_mithril_stake_distribution(&self, hash: &str) -> WasmResult { @@ -493,80 +541,6 @@ impl MithrilClient { Ok(()) } - /// Call the client to get a cardano database snapshot from a hash - /// - /// Warning: this function is unstable and may be modified in the future - #[wasm_bindgen] - pub async fn get_cardano_database_v2(&self, hash: &str) -> WasmResult { - self.guard_unstable()?; - - let result = self - .client - .cardano_database_v2() - .get(hash) - .await - .map_err(|err| format!("{err:?}"))? - .ok_or(JsValue::from_str(&format!( - "No cardano database snapshot found for hash: '{hash}'" - )))?; - - Ok(serde_wasm_bindgen::to_value(&result)?) - } - - /// Call the client for the list of available cardano database snapshots - /// - /// Warning: this function is unstable and may be modified in the future - #[wasm_bindgen] - pub async fn list_cardano_database_v2(&self) -> WasmResult { - self.guard_unstable()?; - - let result = self - .client - .cardano_database_v2() - .list() - .await - .map_err(|err| format!("{err:?}"))?; - - Ok(serde_wasm_bindgen::to_value(&result)?) - } - - /// Call the client for the list of available cardano database snapshots for a given epoch - /// - /// Warning: this function is unstable and may be modified in the future - #[wasm_bindgen] - pub async fn list_cardano_database_v2_per_epoch(&self, epoch: u64) -> WasmResult { - self.guard_unstable()?; - - let result = self - .client - .cardano_database_v2() - .list_by_epoch(Epoch(epoch)) - .await - .map_err(|err| format!("{err:?}"))?; - - Ok(serde_wasm_bindgen::to_value(&result)?) - } - - /// Call the client for the list of available cardano database snapshots for the latest epoch - /// - /// An optionnal offset can be provided - /// - /// Warning: this function is unstable and may be modified in the future - #[wasm_bindgen] - pub async fn list_cardano_database_v2_for_latest_epoch(&self, param: JsValue) -> WasmResult { - self.guard_unstable()?; - let options = LatestEpochOptions::parse_from_js_value(param)?; - let client = self.client.cardano_database_v2(); - - let result = match options.offset { - None => client.list_for_latest_epoch().await, - Some(offset) => client.list_for_latest_epoch_with_offset(offset).await, - } - .map_err(|err| format!("{err:?}"))?; - - Ok(serde_wasm_bindgen::to_value(&result)?) - } - /// `unstable` Reset the certificate verifier cache if enabled #[wasm_bindgen] pub async fn reset_certificate_verifier_cache(&self) -> Result<(), JsValue> { @@ -693,11 +667,11 @@ mod tests { } #[wasm_bindgen_test] - async fn list_snapshots_should_return_value_convertible_in_rust_type() { + async fn list_cardano_database_snapshots_should_return_value_convertible_in_rust_type() { let snapshots_list_js_value = get_mithril_client_stable() - .list_snapshots() + .list_cardano_database_snapshots() .await - .expect("list_snapshots should not fail"); + .expect("list_cardano_database_snapshots should not fail"); let snapshots_list = serde_wasm_bindgen::from_value::>(snapshots_list_js_value) .expect("conversion should not fail"); @@ -710,11 +684,11 @@ mod tests { } #[wasm_bindgen_test] - async fn get_snapshot_should_return_value_convertible_in_rust_type() { + async fn get_cardano_database_snapshot_should_return_value_convertible_in_rust_type() { let snapshot_js_value = get_mithril_client_stable() - .get_snapshot(test_data::snapshot_digests()[0]) + .get_cardano_database_snapshot(test_data::snapshot_digests()[0]) .await - .expect("get_snapshot should not fail"); + .expect("get_cardano_database_snapshot should not fail"); let snapshot = serde_wasm_bindgen::from_value::(snapshot_js_value) .expect("conversion should not fail"); @@ -722,11 +696,11 @@ mod tests { } #[wasm_bindgen_test] - async fn get_snapshot_should_fail_with_unknown_digest() { + async fn get_cardano_database_snapshot_should_fail_with_unknown_digest() { get_mithril_client_stable() - .get_snapshot("whatever") + .get_cardano_database_snapshot("whatever") .await - .expect_err("get_snapshot should fail"); + .expect_err("get_cardano_database_snapshot should fail"); } #[wasm_bindgen_test] diff --git a/mithril-explorer/package-lock.json b/mithril-explorer/package-lock.json index adacd6c22fa..3853d846dce 100644 --- a/mithril-explorer/package-lock.json +++ b/mithril-explorer/package-lock.json @@ -1,12 +1,12 @@ { "name": "mithril-explorer", - "version": "0.7.40", + "version": "0.7.41", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mithril-explorer", - "version": "0.7.40", + "version": "0.7.41", "dependencies": { "@mithril-dev/mithril-client-wasm": "file:../mithril-client-wasm", "@popperjs/core": "^2.11.8", @@ -36,7 +36,7 @@ }, "../mithril-client-wasm": { "name": "@mithril-dev/mithril-client-wasm", - "version": "0.9.7", + "version": "0.9.8", "license": "Apache-2.0" }, "node_modules/@adobe/css-tools": { @@ -615,6 +615,18 @@ "node": ">=18" } }, + "node_modules/@emnapi/core": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.7.1.tgz", + "integrity": "sha512-o1uhUASyo921r2XtHYOHy7gdkGLge8ghBEQHMWmyJFoXlpU58kIrhhN3w26lpQb6dspetweapMn2CSNwQ8I4wg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/wasi-threads": "1.1.0", + "tslib": "^2.4.0" + } + }, "node_modules/@emnapi/runtime": { "version": "1.7.1", "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.7.1.tgz", @@ -625,6 +637,17 @@ "tslib": "^2.4.0" } }, + "node_modules/@emnapi/wasi-threads": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.1.0.tgz", + "integrity": "sha512-WI0DdZ8xFSbgMjR1sFsKABJ/C5OnRrjT06JXbZKexJGrDuPTzZdDYfFlsgcCXCyf+suG5QU2e/y1Wo2V/OapLQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, "node_modules/@eslint-community/eslint-utils": { "version": "4.9.0", "dev": true, @@ -1919,6 +1942,19 @@ "resolved": "../mithril-client-wasm", "link": true }, + "node_modules/@napi-rs/wasm-runtime": { + "version": "0.2.12", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.12.tgz", + "integrity": "sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "^1.4.3", + "@emnapi/runtime": "^1.4.3", + "@tybys/wasm-util": "^0.10.0" + } + }, "node_modules/@next/env": { "version": "16.0.3", "resolved": "https://registry.npmjs.org/@next/env/-/env-16.0.3.tgz", @@ -2363,6 +2399,17 @@ "node": ">= 10" } }, + "node_modules/@tybys/wasm-util": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.1.tgz", + "integrity": "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, "node_modules/@types/aria-query": { "version": "5.0.4", "dev": true, @@ -2804,6 +2851,188 @@ "dev": true, "license": "ISC" }, + "node_modules/@unrs/resolver-binding-android-arm-eabi": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm-eabi/-/resolver-binding-android-arm-eabi-1.11.1.tgz", + "integrity": "sha512-ppLRUgHVaGRWUx0R0Ut06Mjo9gBaBkg3v/8AxusGLhsIotbBLuRk51rAzqLC8gq6NyyAojEXglNjzf6R948DNw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@unrs/resolver-binding-android-arm64": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm64/-/resolver-binding-android-arm64-1.11.1.tgz", + "integrity": "sha512-lCxkVtb4wp1v+EoN+HjIG9cIIzPkX5OtM03pQYkG+U5O/wL53LC4QbIeazgiKqluGeVEeBlZahHalCaBvU1a2g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@unrs/resolver-binding-darwin-arm64": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.11.1.tgz", + "integrity": "sha512-gPVA1UjRu1Y/IsB/dQEsp2V1pm44Of6+LWvbLc9SDk1c2KhhDRDBUkQCYVWe6f26uJb3fOK8saWMgtX8IrMk3g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@unrs/resolver-binding-darwin-x64": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.11.1.tgz", + "integrity": "sha512-cFzP7rWKd3lZaCsDze07QX1SC24lO8mPty9vdP+YVa3MGdVgPmFc59317b2ioXtgCMKGiCLxJ4HQs62oz6GfRQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@unrs/resolver-binding-freebsd-x64": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.11.1.tgz", + "integrity": "sha512-fqtGgak3zX4DCB6PFpsH5+Kmt/8CIi4Bry4rb1ho6Av2QHTREM+47y282Uqiu3ZRF5IQioJQ5qWRV6jduA+iGw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm-gnueabihf": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.11.1.tgz", + "integrity": "sha512-u92mvlcYtp9MRKmP+ZvMmtPN34+/3lMHlyMj7wXJDeXxuM0Vgzz0+PPJNsro1m3IZPYChIkn944wW8TYgGKFHw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm-musleabihf": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.11.1.tgz", + "integrity": "sha512-cINaoY2z7LVCrfHkIcmvj7osTOtm6VVT16b5oQdS4beibX2SYBwgYLmqhBjA1t51CarSaBuX5YNsWLjsqfW5Cw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm64-gnu": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.11.1.tgz", + "integrity": "sha512-34gw7PjDGB9JgePJEmhEqBhWvCiiWCuXsL9hYphDF7crW7UgI05gyBAi6MF58uGcMOiOqSJ2ybEeCvHcq0BCmQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm64-musl": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.11.1.tgz", + "integrity": "sha512-RyMIx6Uf53hhOtJDIamSbTskA99sPHS96wxVE/bJtePJJtpdKGXO1wY90oRdXuYOGOTuqjT8ACccMc4K6QmT3w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-ppc64-gnu": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.11.1.tgz", + "integrity": "sha512-D8Vae74A4/a+mZH0FbOkFJL9DSK2R6TFPC9M+jCWYia/q2einCubX10pecpDiTmkJVUH+y8K3BZClycD8nCShA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-riscv64-gnu": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-gnu/-/resolver-binding-linux-riscv64-gnu-1.11.1.tgz", + "integrity": "sha512-frxL4OrzOWVVsOc96+V3aqTIQl1O2TjgExV4EKgRY09AJ9leZpEg8Ak9phadbuX0BA4k8U5qtvMSQQGGmaJqcQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-riscv64-musl": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-musl/-/resolver-binding-linux-riscv64-musl-1.11.1.tgz", + "integrity": "sha512-mJ5vuDaIZ+l/acv01sHoXfpnyrNKOk/3aDoEdLO/Xtn9HuZlDD6jKxHlkN8ZhWyLJsRBxfv9GYM2utQ1SChKew==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-s390x-gnu": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.11.1.tgz", + "integrity": "sha512-kELo8ebBVtb9sA7rMe1Cph4QHreByhaZ2QEADd9NzIQsYNQpt9UkM9iqr2lhGr5afh885d/cB5QeTXSbZHTYPg==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, "node_modules/@unrs/resolver-binding-linux-x64-gnu": { "version": "1.11.1", "cpu": [ @@ -2816,6 +3045,79 @@ "linux" ] }, + "node_modules/@unrs/resolver-binding-linux-x64-musl": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.11.1.tgz", + "integrity": "sha512-rV0YSoyhK2nZ4vEswT/QwqzqQXw5I6CjoaYMOX0TqBlWhojUf8P94mvI7nuJTeaCkkds3QE4+zS8Ko+GdXuZtA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-wasm32-wasi": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.11.1.tgz", + "integrity": "sha512-5u4RkfxJm+Ng7IWgkzi3qrFOvLvQYnPBmjmZQ8+szTK/b31fQCnleNl1GgEt7nIsZRIf5PLhPwT0WM+q45x/UQ==", + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@napi-rs/wasm-runtime": "^0.2.11" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@unrs/resolver-binding-win32-arm64-msvc": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.11.1.tgz", + "integrity": "sha512-nRcz5Il4ln0kMhfL8S3hLkxI85BXs3o8EYoattsJNdsX4YUU89iOkVn7g0VHSRxFuVMdM4Q1jEpIId1Ihim/Uw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@unrs/resolver-binding-win32-ia32-msvc": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.11.1.tgz", + "integrity": "sha512-DCEI6t5i1NmAZp6pFonpD5m7i6aFrpofcp4LA2i8IIq60Jyo28hamKBxNrZcyOwVOZkgsRp9O2sXWBWP8MnvIQ==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@unrs/resolver-binding-win32-x64-msvc": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-x64-msvc/-/resolver-binding-win32-x64-msvc-1.11.1.tgz", + "integrity": "sha512-lrW200hZdbfRtztbygyaq/6jP6AKE8qQN2KvPcJ+x7wiD038YtnYtZ82IMNJ69GJibV7bwL3y9FgK+5w/pYt6g==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, "node_modules/@xmldom/xmldom": { "version": "0.7.13", "dev": true, @@ -5136,6 +5438,21 @@ "dev": true, "license": "ISC" }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/function-bind": { "version": "1.1.2", "dev": true,