Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package deno for openSUSE:Factory checked in at 2023-06-20 16:48:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/deno (Old) and /work/SRC/openSUSE:Factory/.deno.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "deno" Tue Jun 20 16:48:36 2023 rev:23 rq:1093816 version:1.34.3 Changes: -------- --- /work/SRC/openSUSE:Factory/deno/deno.changes 2023-06-16 16:54:22.773540682 +0200 +++ /work/SRC/openSUSE:Factory/.deno.new.15902/deno.changes 2023-06-20 16:48:44.487499563 +0200 @@ -1,0 +2,35 @@ +Sun Jun 18 20:19:32 UTC 2023 - Avindra Goolcharan <avin...@opensuse.org> + +- update to 1.34.3: + * feat(UNSTABLE) kv queue implementation (#19459) + * fix(cli): avoid crash on import of invalid module names (#19523) + * fix(compile): some npm dependencies were missing in compiled output (#19503) + * fix(config): do not canonicalize config file path before loading (#19436) + * fix(ext/http): Include hostname in onListen argument (#19497) + * fix(ext/http): replace await Deno.serve with await + Deno.serve().finished (#19485) + * fix(ext/node): HTTPS server (#19362) + * fix(ext/node): handle 'upgrade' responses (#19412) + * fix(ext/node): make Buffer.slice be the same as subarray (#19481) + * fix(ext/websockets): ensure we fully send frames before close (#19484) + * fix(fmt): do not panic formatting json with multiple values (#19442) + * fix(lsp): don't pre-load documents matched in the config + file's "exclude" (#19431) + * fix(lsp): update import map config when deno.json changes (#19476) + * fix(ext/node): Worker constructor doesn't check type: module + of package.json (#19480) + * fix(npm): warn when tarball contains hardlink or symlink (#19474) + * fix: reload config files on watcher restarts (#19487) + * perf(ext/http): from_maybe_shared_unchecked for header values (#19478) + * perf(http): cache verified headers (#19465) + * perf(node): cache realpath_sync calls in read permission check (#19379) + * perf(serve): hoist promise error callback (#19456) + * perf(serve): hoist repeated condition (#19449) + * perf(web): optimize timer resolution (#19493) + * perf: don't run microtask checkpoint if macrotask callback + did no work (#19492) + * perf: optimize ByteString checks, hoist server rid getter (#19452) +- rebase deno-rm-upgrade-cmd.patch +- add deno-pull-19537.patch to build unsafe tokio features + +------------------------------------------------------------------- Old: ---- deno-1.34.2.tar.xz New: ---- deno-1.34.3.tar.xz deno-pull-19537.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ deno.spec ++++++ --- /var/tmp/diff_new_pack.PPtVgq/_old 2023-06-20 16:48:48.015520766 +0200 +++ /var/tmp/diff_new_pack.PPtVgq/_new 2023-06-20 16:48:48.055521006 +0200 @@ -19,7 +19,7 @@ Name: deno -Version: 1.34.2 +Version: 1.34.3 Release: 0 Summary: A secure JavaScript and TypeScript runtime License: MIT @@ -31,6 +31,7 @@ Source99: revendor_source.sh Patch0: deno-disable-update-check.patch Patch1: deno-rm-upgrade-cmd.patch +Patch2: https://github.com/denoland/deno/pull/19537.patch#/deno-pull-19537.patch BuildRequires: cargo-packaging # gcc-c++ needed to build SPIRV-Cross BuildRequires: clang ++++++ _service ++++++ --- /var/tmp/diff_new_pack.PPtVgq/_old 2023-06-20 16:48:48.391523026 +0200 +++ /var/tmp/diff_new_pack.PPtVgq/_new 2023-06-20 16:48:48.395523049 +0200 @@ -13,8 +13,8 @@ <service name="tar_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://github.com/denoland/deno</param> - <param name="revision">v1.34.2</param> - <param name="version">1.34.2</param> + <param name="revision">v1.34.3</param> + <param name="version">1.34.3</param> <!-- remove large docs --> <param name="exclude">docs</param> ++++++ deno-1.34.2.tar.xz -> deno-1.34.3.tar.xz ++++++ /work/SRC/openSUSE:Factory/deno/deno-1.34.2.tar.xz /work/SRC/openSUSE:Factory/.deno.new.15902/deno-1.34.3.tar.xz differ: char 15, line 1 ++++++ deno-pull-19537.patch ++++++ >From 85825efdaf2ed1f0dbc937994967d428651d8c61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= <biwanc...@gmail.com> Date: Fri, 16 Jun 2023 17:02:32 +0200 Subject: [PATCH] chore: add conditional compilation for tokio_unstable feature --- runtime/tokio_util.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/runtime/tokio_util.rs b/runtime/tokio_util.rs index 204b928f43dee..4dbaabf442a81 100644 --- a/runtime/tokio_util.rs +++ b/runtime/tokio_util.rs @@ -3,6 +3,7 @@ use std::fmt::Debug; use std::str::FromStr; use deno_core::task::MaskFutureAsSend; +#[cfg(tokio_unstable)] use tokio_metrics::RuntimeMonitor; /// Default configuration for tokio. In the future, this method may have different defaults @@ -70,6 +71,7 @@ where // SAFETY: this this is guaranteed to be running on a current-thread executor let future = unsafe { MaskFutureAsSend::new(future) }; + #[cfg(tokio_unstable)] let join_handle = if metrics_enabled { rt.spawn(async move { let metrics_interval: u64 = std::env::var("DENO_TOKIO_METRICS_INTERVAL") @@ -93,6 +95,10 @@ where } else { rt.spawn(future) }; + + #[cfg(not(tokio_unstable))] + let join_handle = rt.spawn(future); + rt.block_on(join_handle).unwrap().into_inner() } ++++++ deno-rm-upgrade-cmd.patch ++++++ --- /var/tmp/diff_new_pack.PPtVgq/_old 2023-06-20 16:48:48.455523410 +0200 +++ /var/tmp/diff_new_pack.PPtVgq/_new 2023-06-20 16:48:48.459523434 +0200 @@ -16,7 +16,7 @@ index fa28241..5ef386a 100644 --- a/cli/args/flags.rs.1 +++ b/cli/args/flags.rs -@@ -229,7 +220,6 @@ pub enum DenoSubcommand { +@@ -262,7 +262,6 @@ pub enum DenoSubcommand { Task(TaskFlags), Test(TestFlags), Types, @@ -24,7 +24,7 @@ Vendor(VendorFlags), } -@@ -531,7 +521,7 @@ impl Flags { +@@ -579,7 +578,7 @@ impl Flags { std::env::current_dir().ok() } Bundle(_) | Completions(_) | Doc(_) | Fmt(_) | Init(_) | Install(_) @@ -33,7 +33,7 @@ } } -@@ -662,7 +652,6 @@ pub fn flags_from_vec(args: Vec<String>) -> clap::error::Result<Flags> { +@@ -710,7 +709,6 @@ pub fn flags_from_vec(args: Vec<String>) -> clap::error::Result<Flags> { "test" => test_parse(&mut flags, &mut m), "types" => types_parse(&mut flags, &mut m), "uninstall" => uninstall_parse(&mut flags, &mut m), @@ -41,23 +41,24 @@ "vendor" => vendor_parse(&mut flags, &mut m), _ => unreachable!(), } -@@ -760,7 +749,6 @@ fn clap_root() -> Command { - .subcommand(task_subcommand()) - .subcommand(test_subcommand()) - .subcommand(types_subcommand()) -- .subcommand(upgrade_subcommand()) - .subcommand(vendor_subcommand()) +@@ -810,7 +808,6 @@ fn clap_root() -> Command { + .subcommand(task_subcommand()) + .subcommand(test_subcommand()) + .subcommand(types_subcommand()) +- .subcommand(upgrade_subcommand()) + .subcommand(vendor_subcommand()) + }) .long_about(DENO_HELP) - .after_help(ENV_VARIABLES_HELP) -@@ -1769,56 +1757,6 @@ The declaration file could be saved and used for typing information.", - ) +@@ -1847,58 +1844,6 @@ The declaration file could be saved and used for typing information.", + }) } -fn upgrade_subcommand() -> Command { -- Command::new("upgrade") -- .about("Upgrade deno executable to given version") -- .long_about( -- "Upgrade deno executable to the given version. +- Command::new("upgrade").defer(|cmd| { +- cmd +- .about("Upgrade deno executable to given version") +- .long_about( +- "Upgrade deno executable to the given version. -Defaults to latest. - -The version is downloaded from @@ -68,45 +69,46 @@ -update to a different location, use the --output flag - - deno upgrade --output $HOME/my_deno", -- ) -- .arg( -- Arg::new("version") -- .long("version") -- .help("The version to upgrade to"), -- ) -- .arg( -- Arg::new("output") -- .long("output") -- .help("The path to output the updated version to") -- .value_parser(value_parser!(PathBuf)) -- .value_hint(ValueHint::FilePath), -- ) -- .arg( -- Arg::new("dry-run") -- .long("dry-run") -- .help("Perform all checks without replacing old exe") -- .action(ArgAction::SetTrue), -- ) -- .arg( -- Arg::new("force") -- .long("force") -- .short('f') -- .help("Replace current exe even if not out-of-date") -- .action(ArgAction::SetTrue), -- ) -- .arg( -- Arg::new("canary") -- .long("canary") -- .help("Upgrade to canary builds") -- .action(ArgAction::SetTrue), -- ) -- .arg(ca_file_arg()) +- ) +- .arg( +- Arg::new("version") +- .long("version") +- .help("The version to upgrade to"), +- ) +- .arg( +- Arg::new("output") +- .long("output") +- .help("The path to output the updated version to") +- .value_parser(value_parser!(PathBuf)) +- .value_hint(ValueHint::FilePath), +- ) +- .arg( +- Arg::new("dry-run") +- .long("dry-run") +- .help("Perform all checks without replacing old exe") +- .action(ArgAction::SetTrue), +- ) +- .arg( +- Arg::new("force") +- .long("force") +- .short('f') +- .help("Replace current exe even if not out-of-date") +- .action(ArgAction::SetTrue), +- ) +- .arg( +- Arg::new("canary") +- .long("canary") +- .help("Upgrade to canary builds") +- .action(ArgAction::SetTrue), +- ) +- .arg(ca_file_arg()) +- }) -} - fn vendor_subcommand() -> Command { Command::new("vendor") - .about("Vendor remote modules into a local directory") -@@ -2953,23 +2891,6 @@ fn types_parse(flags: &mut Flags, _matches: &mut ArgMatches) { + .defer(|cmd| cmd.about("Vendor remote modules into a local directory") +@@ -3035,23 +2980,6 @@ fn types_parse(flags: &mut Flags, _matches: &mut ArgMatches) { flags.subcommand = DenoSubcommand::Types; } @@ -130,7 +132,7 @@ fn vendor_parse(flags: &mut Flags, matches: &mut ArgMatches) { ca_file_arg_parse(flags, matches); config_args_parse(flags, matches); -@@ -3338,25 +3259,6 @@ mod tests { +@@ -3425,25 +3353,6 @@ mod tests { assert_eq!(flags2, flags); } @@ -156,7 +158,7 @@ #[test] fn version() { let r = flags_from_vec(svec!["deno", "--version"]); -@@ -5977,25 +5879,6 @@ mod tests { +@@ -6167,25 +6076,6 @@ mod tests { ); } ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/deno/vendor.tar.xz /work/SRC/openSUSE:Factory/.deno.new.15902/vendor.tar.xz differ: char 15, line 1