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-05-19 11:55:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/deno (Old)
 and      /work/SRC/openSUSE:Factory/.deno.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "deno"

Fri May 19 11:55:44 2023 rev:19 rq:1087858 version:1.33.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/deno/deno.changes        2023-05-18 
15:19:50.666045127 +0200
+++ /work/SRC/openSUSE:Factory/.deno.new.1533/deno.changes      2023-05-19 
11:56:14.291509153 +0200
@@ -1,0 +2,32 @@
+Thu May 18 20:19:52 UTC 2023 - Avindra Goolcharan <avin...@opensuse.org>
+
+- update to 1.33.4:
+  * fix(ext/web): Request higher-resolution timer on Windows if
+    user requests setTimeout w/short delay (#19149)
+  * feat(node/crypto): Builtin Diffie-Hellman Groups (#19137)
+  * feat(node/crypto): Diffie Hellman Support (#18943)
+  * fix(cli/napi): handle finalizers (#19168)
+  * fix(deno/upgrade): allow --version vX.Y.Z (#19139)
+  * fix(dts): move BroadcastChannel type to lib.deno.unstable.d.ts (#19108)
+  * fix(ext/http): Ensure cancelled requests don't crash Deno.serve (#19154)
+  * fix(ext/node): fix whatwg url formatting (#19146)
+  * fix(ext/node): make nodeGlobalThis configurable (#19163)
+  * fix(ext/webidl): change createPromiseConverter (#16367)
+  * fix(ext/websocket): order of ws writes (#19131)
+  * fix(fetch): Correctly decode multipart/form-data names
+    and filenames (#19145)
+  * fix(kv): kv.close() interrupts in-flight operations (#19076)
+  * fix(lsp): increase default max heap size to 3Gb (#19115)
+  * fix(napi): BigInt related APIs (#19174)
+  * fix(node): export diagnostics_channel module (#19167)
+  * fix(node): export punycode module (#19151)
+  * fix(node): support passing parent stdio streams (#19171)
+  * fix(npm): add performance.markResourceTiming sham (#19123)
+  * fix(npm): improved optional dependency support (#19135)
+  * fix(runtime): Box the main future to avoid blowing up the stack (#19155)
+  * fix(runtime): Example hello_runtime panic (#19125)
+  * fix: support "fetch" over HTTPS for IP addresses (#18499)
+- add deno-rm-upgrade-cmd.patch
+  * this removes the `deno upgrade` command
+
+-------------------------------------------------------------------

Old:
----
  deno-1.33.3.tar.xz

New:
----
  deno-1.33.4.tar.xz
  deno-rm-upgrade-cmd.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ deno.spec ++++++
--- /var/tmp/diff_new_pack.kDjdaM/_old  2023-05-19 11:56:16.839523720 +0200
+++ /var/tmp/diff_new_pack.kDjdaM/_new  2023-05-19 11:56:16.843523743 +0200
@@ -19,7 +19,7 @@
 
 
 Name:           deno
-Version:        1.33.3
+Version:        1.33.4
 Release:        0
 Summary:        A secure JavaScript and TypeScript runtime
 License:        MIT
@@ -30,9 +30,10 @@
 Source2:        cargo_config
 Source99:       revendor_source.sh
 Patch0:         deno-disable-update-check.patch
+Patch1:         deno-rm-upgrade-cmd.patch
 # PATCH-FIX-OPENSUSE - Disable LTO (to reduce req memory)
 %ifarch %{arm} aarch64
-Patch1:         deno-disable-lto.patch
+Patch2:         deno-disable-lto.patch
 %endif
 # gcc-c++ needed to build SPIRV-Cross
 BuildRequires:  clang

++++++ _service ++++++
--- /var/tmp/diff_new_pack.kDjdaM/_old  2023-05-19 11:56:16.903524086 +0200
+++ /var/tmp/diff_new_pack.kDjdaM/_new  2023-05-19 11:56:16.907524109 +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.33.3</param>
-    <param name="version">1.33.3</param>
+    <param name="revision">v1.33.4</param>
+    <param name="version">1.33.4</param>
 
     <!-- remove large docs -->
     <param name="exclude">docs</param>
@@ -37,8 +37,8 @@
   <service name="tar_scm" mode="manual">
     <param name="scm">git</param>
     <param name="url">https://github.com/denoland/rusty_v8</param>
-    <param name="revision">dec3aa2d0b299117190ccd2dd7ba0335a8b20d52</param>
-    <param name="version">0.71.1</param>
+    <param name="revision">v0.71.2</param>
+    <param name="version">0.71.2</param>
     <param name="exclude">.github</param>
 
     <!--

++++++ deno-1.33.3.tar.xz -> deno-1.33.4.tar.xz ++++++
/work/SRC/openSUSE:Factory/deno/deno-1.33.3.tar.xz 
/work/SRC/openSUSE:Factory/.deno.new.1533/deno-1.33.4.tar.xz differ: char 15, 
line 1

++++++ deno-rm-upgrade-cmd.patch ++++++
diff --git a/cli/main.rs.1 b/cli/main.rs
index 031ab07..4f3b05c 100644
--- a/cli/main.rs.1
+++ b/cli/main.rs
@@ -204,9 +204,6 @@ async fn run_subcommand(flags: Flags) -> Result<i32, 
AnyError> {
       let types = tsc::get_types_declaration_file_text(flags.unstable);
       display::write_to_stdout_ignore_sigpipe(types.as_bytes())
     }),
-    DenoSubcommand::Upgrade(upgrade_flags) => spawn_subcommand(async {
-      tools::upgrade::upgrade(flags, upgrade_flags).await
-    }),
     DenoSubcommand::Vendor(vendor_flags) => spawn_subcommand(async {
       tools::vendor::vendor(flags, vendor_flags).await
     }),
diff --git a/cli/args/flags.rs.1 b/cli/args/flags.rs
index fa28241..5ef386a 100644
--- a/cli/args/flags.rs.1
+++ b/cli/args/flags.rs
@@ -229,7 +220,6 @@ pub enum DenoSubcommand {
   Task(TaskFlags),
   Test(TestFlags),
   Types,
-  Upgrade(UpgradeFlags),
   Vendor(VendorFlags),
 }
 
@@ -531,7 +521,7 @@ impl Flags {
         std::env::current_dir().ok()
       }
       Bundle(_) | Completions(_) | Doc(_) | Fmt(_) | Init(_) | Install(_)
-      | Uninstall(_) | Lsp | Lint(_) | Types | Upgrade(_) | Vendor(_) => None,
+      | Uninstall(_) | Lsp | Lint(_) | Types | Vendor(_) => None,
     }
   }
 
@@ -662,7 +652,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),
-      "upgrade" => upgrade_parse(&mut flags, &mut m),
       "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())
     .long_about(DENO_HELP)
     .after_help(ENV_VARIABLES_HELP)
@@ -1769,56 +1757,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.
-Defaults to latest.
-
-The version is downloaded from
-https://github.com/denoland/deno/releases
-and is used to replace the current executable.
-
-If you want to not replace the current Deno executable but instead download an
-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())
-}
-
 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) {
   flags.subcommand = DenoSubcommand::Types;
 }
 
-fn upgrade_parse(flags: &mut Flags, matches: &mut ArgMatches) {
-  ca_file_arg_parse(flags, matches);
-
-  let dry_run = matches.get_flag("dry-run");
-  let force = matches.get_flag("force");
-  let canary = matches.get_flag("canary");
-  let version = matches.remove_one::<String>("version");
-  let output = matches.remove_one::<PathBuf>("output");
-  flags.subcommand = DenoSubcommand::Upgrade(UpgradeFlags {
-    dry_run,
-    force,
-    canary,
-    version,
-    output,
-  });
-}
-
 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 {
     assert_eq!(flags2, flags);
   }
 
-  #[test]
-  fn upgrade() {
-    let r = flags_from_vec(svec!["deno", "upgrade", "--dry-run", "--force"]);
-    let flags = r.unwrap();
-    assert_eq!(
-      flags,
-      Flags {
-        subcommand: DenoSubcommand::Upgrade(UpgradeFlags {
-          force: true,
-          dry_run: true,
-          canary: false,
-          version: None,
-          output: None,
-        }),
-        ..Flags::default()
-      }
-    );
-  }
-
   #[test]
   fn version() {
     let r = flags_from_vec(svec!["deno", "--version"]);
@@ -5977,25 +5879,6 @@ mod tests {
     );
   }
 
-  #[test]
-  fn upgrade_with_ca_file() {
-    let r = flags_from_vec(svec!["deno", "upgrade", "--cert", "example.crt"]);
-    assert_eq!(
-      r.unwrap(),
-      Flags {
-        subcommand: DenoSubcommand::Upgrade(UpgradeFlags {
-          force: false,
-          dry_run: false,
-          canary: false,
-          version: None,
-          output: None,
-        }),
-        ca_data: Some(CaData::File("example.crt".to_owned())),
-        ..Flags::default()
-      }
-    );
-  }
-
   #[test]
   fn cache_with_cafile() {
     let r = flags_from_vec(svec![

++++++ vendor.tar.xz ++++++
/work/SRC/openSUSE:Factory/deno/vendor.tar.xz 
/work/SRC/openSUSE:Factory/.deno.new.1533/vendor.tar.xz differ: char 15, line 1

Reply via email to