commit deno for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package deno for openSUSE:Factory checked in at 2024-06-10 17:37:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/deno (Old) and /work/SRC/openSUSE:Factory/.deno.new.19518 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "deno" Mon Jun 10 17:37:18 2024 rev:42 rq:1179595 version:1.44.1 Changes: -------- --- /work/SRC/openSUSE:Factory/deno/deno.changes 2024-03-10 20:24:24.865548377 +0100 +++ /work/SRC/openSUSE:Factory/.deno.new.19518/deno.changes 2024-06-10 17:37:28.870612217 +0200 @@ -1,0 +2,139 @@ +Sun Jun 9 20:33:44 UTC 2024 - Avindra Goolcharan <avindra@opensuse.org> + +- update to 1.44.1 + * many changes since April 4, see GitHub releases for info +- add deno-rm-upgrade.patch (merged 2 patches) +- remove deno-disable-update-check.patch +- remove deno-rm-upgrade-cmd.patch + +------------------------------------------------------------------- +Thu Apr 4 19:01:31 UTC 2024 - Avindra Goolcharan <avindra@opensuse.org> + +- update to 1.42.1: + * fix(check): ignore certain diagnostics in remote modules and + when publishing (#23119) + * fix(ext/node): support stdin: "inherit" in node:child_process (#23110) + * fix(ext/node): use tty stdin from ext/io (#23044) + * fix(jsr): exclude yanked versions from 'deno add' and completions (#23113) + * fix(lsp): don't apply preload limit to workspace walk (#23123) + * fix(lsp): implement missing ts server host apis (#23131) + * fix(node): handle empty 'main' entry in pkg json (#23155) + * fix(node): remove unwrap in op_require_node_module_paths (#23114) + * fix: deno_graph 0.69.10 (#23147) + +------------------------------------------------------------------- +Thu Mar 28 22:30:04 UTC 2024 - Avindra Goolcharan <avindra@opensuse.org> + +- update to 1.42.0: + * feat(add): always produce multiline config file (#23077) + * feat(ext/node): add riscv64 in process.arch (#23016) + * feat(init): use jsr specifier for @std/assert (#23073) + * feat(install): require -g / --global flag (#23060) + * feat(lint): deno lint --fix and lsp quick fixes (#22615) + * feat(lint): automatically opt-in packages to jsr lint tag (#23072) + * feat(node): load ES modules defined as CJS (#22945) + * feat(publish): check for uncommitted files in + deno publish --dry-run (#22981) + * feat(task): Task description in the form of comments (#23101) + * feat(task): cross-platform shebang support (#23091) + * feat(unstable/publish): error when a package's module is excluded from + publishing (#22948) + * feat: TypeScript 5.4 (#23086) + * feat: add --watch-exclude flag (#21935) + * feat: deno_task_shell 0.15 (#23019) + * feat: remove deprecated methods from namespace with DENO_FUTURE=1 (#23075) + * feat: type declarations for new Set methods (#23090) + * fix(bench): Fix group header printing logic + don't filter + out the warmup benchmark (#23083) + * fix(check): do not suggest running with --unstable (#23092) + * fix(cli): output more detailed information for steps when + using JUnit reporter (#22797) + * fix(cli): sanitizer should ignore count of ops started before + tests begin (#22932) + * fix(coverage): Error if no files are included in the report (#22952) + * fix(ext/fetch): do not truncate field value in EventSource (#22368) + * fix(ext/fetch): make EventSource more robust (#22493) + * fix(ext/node): ECDH.publicKey() point encoding (#23013) + * fix(ext/node): FsWatcher ref and unref (#22987) + * fix(ext/node): Reimplement StringDecoder to match node's behavior (#22933) + * fix(ext/node): add crypto.getRandomValues (#23028) + * fix(ext/node): add crypto.subtle (#23027) + * fix(ext/node): add process.setSourceMapsEnabled noop (#22993) + * fix(ext/node): handle KeyObject in prepareAsymmetricKey (#23026) + * fix(ext/node): handle null in stdio array (#23048) + * fix(ext/node): implement EventEmitterAsyncResource (#22994) + * fix(ext/node): implement v8 serialize and deserialize (#22975) + * fix(ext/node): panic in op_node_ecdh_generate_keys (#23011) + * fix(ext/node): pass normalized watchFile handler to StatWatcher (#22940) + * fix(ext/node): spread args in setImmediate (#22998) + * fix(ext/node): support Diffie-Hellman key type in + crypto.createPrivateKey() (#22984) + * fix(ext/node): support MessagePort in WorkerOptions.workerData (#22950) + * fix(ext/node): support public key point encoding in ECDH. + generateKeys() (#22976) + * fix(ext/node): worker_threads ESM handling (#22841) + * fix(ext/node): worker_threads doesn't exit if there are + message listeners (#22944) + * fix(ext/web): Fix structuredClone Web API type declaration + (any -> generic) (#22968) + * fix(jupyter): Do not increase counter if store_history=false (#20848) + * fix(lsp): decoding percent-encoding(non-ASCII) file path correctly (#22582) + * fix(lsp): prefer cache over tsc quick fixes (#23093) + * fix(lsp): use registry cache for completion search (#23094) + * fix(runtime): use FQDN in NetDescriptor (#23084) + * fix: do not memoize Deno.ppid (#23006) + * fix: don't panic in test and bench if ops not available (#23055) + * fix: handle cache body file not existing when using etag (#22931) + * fix: less aggressive vendor folder ignoring (#23100) + * perf: warm expensive init code at snapshot time (#22714) +- includes 1.41.3: + * fix(cli): occasional panics on progress bar (#22809) + * fix(cli): show asserts before leaks (#22904) + * fix(cli): unbreak extension example and fix __runtime_js_sources (#22906) + * fix(cli): use Instant for test times (#22853) + * fix(config): add unstable features as examples to config schema (#22814) + * fix(config): remove pkg name example and add pattern to schema (#22813) + * fix(ext/node): add more named curves in + crypto.generateKeyPair[Sync]() (#22882) + * fix(ext/node) implement receiveMessageOnPort for node:worker_threads (#22766) + * fix(ext/node): DH (dhKeyAgreement) support for createPrivateKey (#22891) + * fix(ext/node): Add Immediate class to mirror NodeJS.Immediate (#22808) + * fix(ext/node): Implement isBuiltin in node:module (#22817) + * fix(ext/node): Match punycode module behavior to node (#22847) + * fix(ext/node): Support private EC key signing (#22914) + * fix(ext/node): allow automatic worker_thread termination (#22647) + * fix(ext/node): crypto.getCipherInfo() (#22916) + * fix(ext/node): flush brotli decompression stream (#22856) + * fix(ext/node): initial crypto.createPublicKey() support (#22509) + * fix(ext/node): make worker ids sequential (#22884) + * fix(ext/node): make worker setup synchronous (#22815) + * fix(ext/node): support spki format in createPublicKey (#22918) + * fix(ext/node): support junction symlinks on Windows (#22762) + * fix(ext/node): worker_threads.parentPort is updated on startup (#20794) + * fix(ext/websocket): do not continue reading if socket rid closes (#21849) + * fix(node): add nul byte to statfs path on windows (#22905) + * fix(node): implement fs.statfs() (#22862) + * fix(node): require of pkg json imports was broken (#22821) + * fix(node): resolve .css files in npm packages when type checking (#22804) + * fix(node): resolve types via package.json for directory import (#22878) + * fix(node:http) Export validateHeaderName and + validateHeaderValue functions (#22616) + * fix(publish): ability to un-exclude when .gitignore ignores + everything (#22805) + * fix(publish): regression - publishing with vendor folder (#22830) + * fix(publish): suggest using --allow-dirty on uncommitted changes (#22810) + * fix(publish): typo in --allow-dirty help text (#22799) + * fix(runtime): Restore default signal handler after user handlers are + unregistered (#22757) + * fix(runtime): negate partial condition for deny flags (#22866) + * fix(slow-types): improved exports tracing and infer type + literals in as exprs (#22849) + * fix: fix crate vulnerabilities (#22825) + * fix: stop type checking during runtime (#22854) + * fix: support sloppy resolution to file where directory exists (#22800) + * fix: typo in error from GPUBuffer.prototype.mapAsync (#22913) + * perf(permissions): Fast exit from checks when permission is + in "fully-granted" state (#22894) +- rebase deno-rm-upgrade-cmd.patch + +------------------------------------------------------------------- Old: ---- deno-1.41.2.tar.xz deno-disable-update-check.patch deno-rm-upgrade-cmd.patch New: ---- deno-1.44.1.tar.xz deno-rm-upgrade.patch BETA DEBUG BEGIN: Old:- add deno-rm-upgrade.patch (merged 2 patches) - remove deno-disable-update-check.patch - remove deno-rm-upgrade-cmd.patch Old:- remove deno-disable-update-check.patch - remove deno-rm-upgrade-cmd.patch BETA DEBUG END: BETA DEBUG BEGIN: New: * many changes since April 4, see GitHub releases for info - add deno-rm-upgrade.patch (merged 2 patches) - remove deno-disable-update-check.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ deno.spec ++++++ --- /var/tmp/diff_new_pack.Ii7ffX/_old 2024-06-10 17:37:32.426744773 +0200 +++ /var/tmp/diff_new_pack.Ii7ffX/_new 2024-06-10 17:37:32.426744773 +0200 @@ -19,7 +19,7 @@ Name: deno -Version: 1.41.2 +Version: 1.44.1 Release: 0 Summary: A secure JavaScript and TypeScript runtime License: MIT @@ -29,8 +29,7 @@ Source1: vendor.tar.xz Source2: cargo_config Source99: revendor_source.sh -Patch0: deno-disable-update-check.patch -Patch1: deno-rm-upgrade-cmd.patch +Patch1: deno-rm-upgrade.patch BuildRequires: cargo-packaging # gcc-c++ needed to build SPIRV-Cross BuildRequires: clang @@ -69,12 +68,13 @@ %prep %autosetup -a1 -p1 -cp %{SOURCE2} .cargo/config # Drop lock file due to revendor_source.sh breaking check rm Cargo.lock # drop checksum for ICU 72 -> 73 echo '{"files":{},"package":""}' > vendor/deno_core/.cargo-checksum.json +cp %{SOURCE2} .cargo/config + %build export V8_FROM_SOURCE=1 export CLANG_BASE_PATH=%{_prefix} ++++++ _service ++++++ --- /var/tmp/diff_new_pack.Ii7ffX/_old 2024-06-10 17:37:32.498747457 +0200 +++ /var/tmp/diff_new_pack.Ii7ffX/_new 2024-06-10 17:37:32.502747606 +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.41.2</param> - <param name="version">1.41.2</param> + <param name="revision">v1.44.1</param> + <param name="version">1.44.1</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">v0.84.0</param> - <param name="version">0.84.0</param> + <param name="revision">v0.92.0</param> + <param name="version">0.92.0</param> <param name="exclude">.github</param> <!-- ++++++ deno-1.41.2.tar.xz -> deno-1.44.1.tar.xz ++++++ /work/SRC/openSUSE:Factory/deno/deno-1.41.2.tar.xz /work/SRC/openSUSE:Factory/.deno.new.19518/deno-1.44.1.tar.xz differ: char 15, line 1 ++++++ deno-rm-upgrade-cmd.patch -> deno-rm-upgrade.patch ++++++ --- /work/SRC/openSUSE:Factory/deno/deno-rm-upgrade-cmd.patch 2024-03-10 20:24:24.841547496 +0100 +++ /work/SRC/openSUSE:Factory/.deno.new.19518/deno-rm-upgrade.patch 2024-06-10 17:37:28.862611919 +0200 @@ -1,3 +1,22 @@ +diff --git a/cli/tools/run/mod.rs.1 b/cli/tools/run/mod.rs +index 4805ea7..57bb752 100644 +--- a/cli/tools/run/mod.rs.1 ++++ b/cli/tools/run/mod.rs +@@ -51,14 +51,6 @@ To grant permissions, set them before the script argument. For example: + ); + } + +- // Run a background task that checks for available upgrades or output +- // if an earlier run of this background task found a new version of Deno. +- #[cfg(feature = "upgrade")] +- super::upgrade::check_for_upgrades( +- http_client.clone(), +- deno_dir.upgrade_check_file_path(), +- ); +- + let main_module = cli_options.resolve_main_module()?; + + maybe_npm_install(&factory).await?; diff --git a/cli/main.rs.1 b/cli/main.rs index 031ab07..4f3b05c 100644 --- a/cli/main.rs.1 @@ -22,23 +41,7 @@ index 72841df..1c93da1 100644 --- a/cli/args/flags.rs.1 +++ b/cli/args/flags.rs -@@ -281,15 +281,6 @@ pub struct TestFlags { - pub junit_path: Option<String>, - } - --#[derive(Clone, Debug, Eq, PartialEq)] --pub struct UpgradeFlags { -- pub dry_run: bool, -- pub force: bool, -- pub canary: bool, -- pub version: Option<String>, -- pub output: Option<PathBuf>, --} -- - #[derive(Clone, Debug, Eq, PartialEq)] - pub struct VendorFlags { - pub specifiers: Vec<String>, -@@ -328,7 +319,6 @@ pub enum DenoSubcommand { +@@ -397,7 +397,6 @@ pub enum DenoSubcommand { Task(TaskFlags), Test(TestFlags), Types, @@ -46,15 +49,15 @@ Vendor(VendorFlags), Publish(PublishFlags), } -@@ -768,7 +768,7 @@ impl Flags { +@@ -917,7 +917,7 @@ impl Flags { + Some(current_dir.to_path_buf()) } Add(_) | Bundle(_) | Completions(_) | Doc(_) | Fmt(_) | Init(_) - | Install(_) | Uninstall(_) | Jupyter(_) | Lsp | Lint(_) | Types -- | Upgrade(_) | Vendor(_) => None, -+ | Vendor(_) => None, - } - } - +- | Uninstall(_) | Jupyter(_) | Lsp | Lint(_) | Types | Upgrade(_) ++ | Uninstall(_) | Jupyter(_) | Lsp | Lint(_) | Types + | Vendor(_) => None, + Install(_) => { + if *DENO_FUTURE { @@ -944,7 +934,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), @@ -71,7 +74,7 @@ .subcommand(vendor_subcommand()) }) .long_about(DENO_HELP) -@@ -2262,61 +2250,6 @@ The declaration file could be saved and used for typing information.", +@@ -2413,60 +2404,6 @@ The declaration file could be saved and used for typing information.", ) } @@ -103,8 +106,7 @@ - Arg::new("output") - .long("output") - .help("The path to output the updated version to") -- // todo(dsherret): remove value_parser!(PathBuf) and instead parse as string -- .value_parser(value_parser!(PathBuf)) +- .value_parser(value_parser!(String)) - .value_hint(ValueHint::FilePath), - ) - .arg( @@ -133,7 +135,7 @@ fn vendor_subcommand() -> Command { Command::new("vendor") .about("Vendor remote modules into a local directory") -@@ -3785,23 +3718,6 @@ fn types_parse(flags: &mut Flags, _matches: &mut ArgMatches) { +@@ -3965,23 +3902,6 @@ fn types_parse(flags: &mut Flags, _matches: &mut ArgMatches) { flags.subcommand = DenoSubcommand::Types; } @@ -144,7 +146,7 @@ - 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"); +- let output = matches.remove_one::<String>("output"); - flags.subcommand = DenoSubcommand::Upgrade(UpgradeFlags { - dry_run, - force, @@ -157,7 +159,7 @@ fn vendor_parse(flags: &mut Flags, matches: &mut ArgMatches) { ca_file_arg_parse(flags, matches); config_args_parse(flags, matches); -@@ -4251,25 +4167,6 @@ mod tests { +@@ -4442,25 +4362,6 @@ mod tests { assert_eq!(flags2, flags); } @@ -181,8 +183,8 @@ - } - #[test] - fn version() { - let r = flags_from_vec(svec!["deno", "--version"]); + fn upgrade_with_output_flag() { + let r = flags_from_vec(svec!["deno", "upgrade", "--output", "example.txt"]); @@ -7509,25 +7406,6 @@ mod tests { ); } @@ -242,18 +244,18 @@ index 573fb1e..158c136 100644 --- a/cli/lsp/language_server.rs.1 +++ b/cli/lsp/language_server.rs -@@ -124,8 +124,6 @@ use crate::npm::CliNpmResolverManagedSnapshotOption; - use crate::resolver::CliNodeResolver; +@@ -99,8 +99,6 @@ use crate::lsp::tsc::file_text_changes_to_workspace_edit; + use crate::lsp::urls::LspUrlKind; use crate::tools::fmt::format_file; use crate::tools::fmt::format_parsed_source; -use crate::tools::upgrade::check_for_upgrades_for_lsp; -use crate::tools::upgrade::upgrade_check_enabled; use crate::util::fs::remove_dir_all_if_exists; use crate::util::path::is_importable_ext; - use crate::util::path::specifier_to_file_path; -@@ -3335,28 +3333,6 @@ impl tower_lsp::LanguageServer for LanguageServer { - ls.task_queue.start(self.clone()); - }; + use crate::util::path::to_percent_decoded_str; +@@ -2982,28 +2980,6 @@ impl tower_lsp::LanguageServer for LanguageServer { + } + } - if upgrade_check_enabled() { - // spawn to avoid lsp send/sync requirement, but also just ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/deno/vendor.tar.xz /work/SRC/openSUSE:Factory/.deno.new.19518/vendor.tar.xz differ: char 15, line 1
participants (1)
-
Source-Sync