sentry-cli 3.3.4__tar.gz → 3.3.5__tar.gz
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.
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/Cargo.lock +3 -3
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/Cargo.toml +1 -1
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/PKG-INFO +1 -1
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/sentry_cli.egg-info/PKG-INFO +1 -1
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/build/snapshots.rs +12 -5
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/progress.rs +1 -8
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/sourcemaps.rs +6 -1
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/LICENSE +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/MANIFEST.in +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/README.md +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/apple-catalog-parsing/AGENTS.md +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/apple-catalog-parsing/CLAUDE.md +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/apple-catalog-parsing/Cargo.toml +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/apple-catalog-parsing/build.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/apple-catalog-parsing/native/swift/AssetCatalogParser/Package.swift +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/apple-catalog-parsing/native/swift/AssetCatalogParser/Sources/AssetCatalogParser/AssetCatalogReader.swift +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/apple-catalog-parsing/native/swift/AssetCatalogParser/Sources/ObjcSupport/include/safeValueForKey.h +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/apple-catalog-parsing/native/swift/AssetCatalogParser/Sources/ObjcSupport/safeValueForKey.m +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/apple-catalog-parsing/native/swift/AssetCatalogParser/Tests/AssetCatalogParserTests/AssetCatalogParserTests.swift +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/apple-catalog-parsing/native/swift/AssetCatalogParser/Tests/AssetCatalogParserTests/Resources/test.xcarchive/Info.plist +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/apple-catalog-parsing/native/swift/AssetCatalogParser/Tests/AssetCatalogParserTests/Resources/test.xcarchive/Products/Applications/DemoApp.app/Assets.car +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/apple-catalog-parsing/src/asset_catalog.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/apple-catalog-parsing/src/lib.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/build.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/pyproject.toml +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/sentry_cli.egg-info/SOURCES.txt +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/sentry_cli.egg-info/dependency_links.txt +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/sentry_cli.egg-info/top_level.txt +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/setup.cfg +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/setup.py +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/AGENTS.md +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/CLAUDE.md +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/connection_manager.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/data_types/chunking/artifact.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/data_types/chunking/build.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/data_types/chunking/compression.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/data_types/chunking/dif.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/data_types/chunking/file_state.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/data_types/chunking/hash_algorithm.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/data_types/chunking/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/data_types/chunking/upload/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/data_types/chunking/upload/options.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/data_types/code_mappings.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/data_types/deploy.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/data_types/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/data_types/snapshots.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/encoding.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/envelopes_api.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/errors/api_error.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/errors/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/errors/sentry_error.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/pagination.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/api/serialization.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/bashsupport.sh +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/bash_hook.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/build/download.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/build/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/build/upload.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/code_mappings/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/code_mappings/upload.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/dart_symbol_map/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/dart_symbol_map/upload.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/debug_files/bundle_jvm.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/debug_files/bundle_sources.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/debug_files/check.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/debug_files/find.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/debug_files/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/debug_files/print_sources.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/debug_files/upload.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/deploys/list.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/deploys/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/deploys/new.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/derive_parser.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/events/list.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/events/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/info.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/issues/list.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/issues/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/issues/mute.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/issues/resolve.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/issues/unresolve.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/login.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/logs/list.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/logs/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/monitors/list.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/monitors/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/monitors/run.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/organizations/list.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/organizations/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/proguard/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/proguard/upload.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/proguard/uuid.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/projects/list.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/projects/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/react_native/gradle.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/react_native/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/react_native/xcode.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/releases/archive.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/releases/delete.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/releases/finalize.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/releases/info.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/releases/list.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/releases/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/releases/new.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/releases/propose_version.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/releases/restore.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/releases/set_commits.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/repos/list.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/repos/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/send_envelope.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/send_event.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/send_metric/common_args.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/send_metric/increment.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/send_metric/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/send_metric/set.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/sourcemaps/inject.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/sourcemaps/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/sourcemaps/resolve.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/sourcemaps/upload.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/uninstall.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/update.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/upload_dif.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/upload_dsym.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/commands/upload_proguard.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/config.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/constants.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/main.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/android.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/args.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/auth_token/auth_token_impl.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/auth_token/error.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/auth_token/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/auth_token/org_auth_token.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/auth_token/redacting.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/auth_token/test.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/auth_token/user_auth_token.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/build/apple.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/build/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/build/normalize.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/build/validation.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/build_vcs.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/chunks/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/chunks/options.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/chunks/types.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/chunks/upload.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/ci.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/cordova.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/dif.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/dif_upload/error.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/dif_upload/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/event.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/file_search.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/file_upload.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/formatting.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/fs.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/http.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/logging.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/non_empty.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/proguard/mapping.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/proguard/mod.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/proguard/upload.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/releases.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/retry.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/snapshots/sentry_cli__utils__vcs__tests__generate_patch_default_twenty.snap +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/snapshots/sentry_cli__utils__vcs__tests__generate_patch_ignore_missing.snap +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/snapshots/sentry_cli__utils__vcs__tests__generate_patch_set_base.snap +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/snapshots/sentry_cli__utils__vcs__tests__generate_patch_set_previous_commit.snap +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/snapshots/sentry_cli__utils__vcs__tests__get_commits_from_git.snap +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/source_bundle.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/sourcemaps/inject.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/system.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/ui.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/update.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/value_parsers.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/vcs.rs +0 -0
- {sentry_cli-3.3.4 → sentry_cli-3.3.5}/src/utils/xcode.rs +0 -0
|
@@ -3230,9 +3230,9 @@ dependencies = [
|
|
|
3230
3230
|
|
|
3231
3231
|
[[package]]
|
|
3232
3232
|
name = "rustls-webpki"
|
|
3233
|
-
version = "0.103.
|
|
3233
|
+
version = "0.103.10"
|
|
3234
3234
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3235
|
-
checksum = "
|
|
3235
|
+
checksum = "df33b2b81ac578cabaf06b89b0631153a3f416b0a886e8a7a1707fb51abbd1ef"
|
|
3236
3236
|
dependencies = [
|
|
3237
3237
|
"ring",
|
|
3238
3238
|
"rustls-pki-types",
|
|
@@ -3414,7 +3414,7 @@ dependencies = [
|
|
|
3414
3414
|
|
|
3415
3415
|
[[package]]
|
|
3416
3416
|
name = "sentry-cli"
|
|
3417
|
-
version = "3.3.
|
|
3417
|
+
version = "3.3.5"
|
|
3418
3418
|
dependencies = [
|
|
3419
3419
|
"anyhow",
|
|
3420
3420
|
"anylog",
|
|
@@ -11,6 +11,7 @@ use console::style;
|
|
|
11
11
|
use itertools::Itertools as _;
|
|
12
12
|
use log::{debug, info, warn};
|
|
13
13
|
use objectstore_client::{ClientBuilder, ExpirationPolicy, Usecase};
|
|
14
|
+
use rayon::prelude::*;
|
|
14
15
|
use secrecy::ExposeSecret as _;
|
|
15
16
|
use serde_json::Value;
|
|
16
17
|
use sha2::{Digest as _, Sha256};
|
|
@@ -230,7 +231,7 @@ fn compute_sha256_hash(path: &Path) -> Result<String> {
|
|
|
230
231
|
let mut file = std::fs::File::open(path)
|
|
231
232
|
.with_context(|| format!("Failed to open image for hashing: {}", path.display()))?;
|
|
232
233
|
let mut hasher = Sha256::new();
|
|
233
|
-
let mut buffer = [0u8;
|
|
234
|
+
let mut buffer = [0u8; 65536];
|
|
234
235
|
loop {
|
|
235
236
|
let bytes_read = file
|
|
236
237
|
.read(&mut buffer)
|
|
@@ -332,10 +333,17 @@ fn upload_images(
|
|
|
332
333
|
let mut many_builder = session.many();
|
|
333
334
|
let mut manifest_entries = HashMap::new();
|
|
334
335
|
let mut collisions: HashMap<String, Vec<String>> = HashMap::new();
|
|
335
|
-
let mut kept_paths
|
|
336
|
-
for image in images {
|
|
337
|
-
debug!("Processing image: {}", image.path.display());
|
|
336
|
+
let mut kept_paths = HashMap::new();
|
|
338
337
|
|
|
338
|
+
let hashed_images: Vec<_> = images
|
|
339
|
+
.into_par_iter()
|
|
340
|
+
.map(|image| {
|
|
341
|
+
let hash = compute_sha256_hash(&image.path)?;
|
|
342
|
+
Ok((image, hash))
|
|
343
|
+
})
|
|
344
|
+
.collect::<Result<Vec<_>>>()?;
|
|
345
|
+
|
|
346
|
+
for (image, hash) in hashed_images {
|
|
339
347
|
let image_file_name = image
|
|
340
348
|
.relative_path
|
|
341
349
|
.file_name()
|
|
@@ -353,7 +361,6 @@ fn upload_images(
|
|
|
353
361
|
continue;
|
|
354
362
|
}
|
|
355
363
|
|
|
356
|
-
let hash = compute_sha256_hash(&image.path)?;
|
|
357
364
|
let file = runtime
|
|
358
365
|
.block_on(tokio::fs::File::open(&image.path))
|
|
359
366
|
.with_context(|| {
|
|
@@ -128,7 +128,6 @@ impl ProgressBar {
|
|
|
128
128
|
#[derive(Clone)]
|
|
129
129
|
pub enum ProgressBarMode {
|
|
130
130
|
Disabled,
|
|
131
|
-
#[cfg(not(feature = "managed"))]
|
|
132
131
|
Response,
|
|
133
132
|
Shared((Arc<ProgressBar>, u64, usize, Arc<RwLock<Vec<u64>>>)),
|
|
134
133
|
}
|
|
@@ -141,12 +140,6 @@ impl ProgressBarMode {
|
|
|
141
140
|
|
|
142
141
|
/// Returns whether a progress bar should be displayed during download.
|
|
143
142
|
pub fn response(&self) -> bool {
|
|
144
|
-
|
|
145
|
-
let rv = matches!(*self, ProgressBarMode::Response);
|
|
146
|
-
|
|
147
|
-
#[cfg(feature = "managed")]
|
|
148
|
-
let rv = false;
|
|
149
|
-
|
|
150
|
-
rv
|
|
143
|
+
matches!(*self, ProgressBarMode::Response)
|
|
151
144
|
}
|
|
152
145
|
}
|
|
@@ -790,7 +790,12 @@ impl SourceMapProcessor {
|
|
|
790
790
|
|
|
791
791
|
let Ok(mut decoded) = data_encoding::BASE64.decode(encoded.as_bytes())
|
|
792
792
|
else {
|
|
793
|
-
|
|
793
|
+
// The data URL isn't valid base64, so we can't use it.
|
|
794
|
+
// This commonly happens when minified bundles contain
|
|
795
|
+
// sourceMappingURL strings inside template literals
|
|
796
|
+
// (e.g from bundled terser or babel)
|
|
797
|
+
warn!("Skipping {source_url}: embedded sourcemap is not valid base64");
|
|
798
|
+
continue;
|
|
794
799
|
};
|
|
795
800
|
|
|
796
801
|
let mut sourcemap =
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|