Accepting request 1087713 from devel:languages:javascript
Privacy and integration fix: disable update check. - add deno-disable-update-check.patch * this stops deno from automatically checking for an update whenever a script is run OBS-URL: https://build.opensuse.org/request/show/1087713 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deno?expand=0&rev=18
This commit is contained in:
commit
577af26d4d
18
deno-disable-update-check.patch
Normal file
18
deno-disable-update-check.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
diff --git a/cli/tools/run.rs.1 b/cli/tools/run.rs
|
||||||
|
index 99312d5..e733306 100644
|
||||||
|
--- a/cli/tools/run.rs.1
|
||||||
|
+++ b/cli/tools/run.rs
|
||||||
|
@@ -38,13 +38,6 @@ To grant permissions, set them before the script argument. For example:
|
||||||
|
let http_client = factory.http_client();
|
||||||
|
let cli_options = factory.cli_options();
|
||||||
|
|
||||||
|
- // Run a background task that checks for available upgrades. If an earlier
|
||||||
|
- // run of this background task found a new version of Deno.
|
||||||
|
- super::upgrade::check_for_upgrades(
|
||||||
|
- http_client.clone(),
|
||||||
|
- deno_dir.upgrade_check_file_path(),
|
||||||
|
- );
|
||||||
|
-
|
||||||
|
let main_module = cli_options.resolve_main_module()?;
|
||||||
|
|
||||||
|
let permissions = PermissionsContainer::new(Permissions::from_options(
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 17 19:57:07 UTC 2023 - Avindra Goolcharan <avindra@opensuse.org>
|
||||||
|
|
||||||
|
- add deno-disable-update-check.patch
|
||||||
|
* this stops deno from automatically checking for an update
|
||||||
|
whenever a script is run
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 12 17:08:12 UTC 2023 - Avindra Goolcharan <avindra@opensuse.org>
|
Fri May 12 17:08:12 UTC 2023 - Avindra Goolcharan <avindra@opensuse.org>
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ Source0: %{name}-%{version}.tar.xz
|
|||||||
Source1: vendor.tar.xz
|
Source1: vendor.tar.xz
|
||||||
Source2: cargo_config
|
Source2: cargo_config
|
||||||
Source99: revendor_source.sh
|
Source99: revendor_source.sh
|
||||||
|
Patch0: deno-disable-update-check.patch
|
||||||
# PATCH-FIX-OPENSUSE - Disable LTO (to reduce req memory)
|
# PATCH-FIX-OPENSUSE - Disable LTO (to reduce req memory)
|
||||||
%ifarch %{arm} aarch64
|
%ifarch %{arm} aarch64
|
||||||
Patch1: deno-disable-lto.patch
|
Patch1: deno-disable-lto.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user