Accepting request 1112403 from devel:languages:javascript

upgrade to 1.37.0

OBS-URL: https://build.opensuse.org/request/show/1112403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deno?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2023-09-20 11:31:16 +00:00 committed by Git OBS Bridge
commit 3b1f2e76a4
7 changed files with 134 additions and 25 deletions

View File

@ -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.36.2</param>
<param name="version">1.36.2</param>
<param name="revision">v1.37.0</param>
<param name="version">1.37.0</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.75.0</param>
<param name="version">0.75.0</param>
<param name="revision">v0.76.0</param>
<param name="version">0.76.0</param>
<param name="exclude">.github</param>
<!--
@ -134,12 +134,12 @@
-->
</service>
<service name="tar" mode="disabled"/>
<service name="recompress" mode="disabled">
<service name="tar" mode="manual"/>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="cargo_audit" mode="disabled">
<service name="cargo_audit" mode="manual">
<param name="srcdir">deno</param>
</service>
</services>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2492fe22baba6542fb3931e4b9965ad60e74feac096958a7c617f5ef71717709
size 3718688

3
deno-1.37.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44f846068a7907f52834e409cd28a79abfa8371117f2684e2e1f78c69e3db4fb
size 3780340

View File

@ -16,7 +16,7 @@ diff --git a/cli/args/flags.rs.1 b/cli/args/flags.rs
index 72841df..1c93da1 100644
--- a/cli/args/flags.rs.1
+++ b/cli/args/flags.rs
@@ -262,7 +253,6 @@ pub enum DenoSubcommand {
@@ -292,7 +292,6 @@ pub enum DenoSubcommand {
Task(TaskFlags),
Test(TestFlags),
Types,
@ -24,16 +24,16 @@ index 72841df..1c93da1 100644
Vendor(VendorFlags),
}
@@ -579,7 +569,7 @@ impl Flags {
@@ -686,7 +685,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,
- | Uninstall(_) | Jupyter(_) | Lsp | Lint(_) | Types | Upgrade(_)
+ | Uninstall(_) | Jupyter(_) | Lsp | Lint(_) | Types
| Vendor(_) => None,
}
}
@@ -710,7 +700,6 @@ pub fn flags_from_vec(args: Vec<String>) -> clap::error::Result<Flags> {
@@ -836,7 +835,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,7 +41,7 @@ index 72841df..1c93da1 100644
"vendor" => vendor_parse(&mut flags, &mut m),
_ => unreachable!(),
}
@@ -810,7 +799,6 @@ fn clap_root() -> Command {
@@ -937,7 +935,6 @@ fn clap_root() -> Command {
.subcommand(task_subcommand())
.subcommand(test_subcommand())
.subcommand(types_subcommand())
@ -49,7 +49,7 @@ index 72841df..1c93da1 100644
.subcommand(vendor_subcommand())
})
.long_about(DENO_HELP)
@@ -1864,59 +1852,6 @@ The declaration file could be saved and used for typing information.",
@@ -2037,59 +2034,6 @@ The declaration file could be saved and used for typing information.",
)
}
@ -109,7 +109,7 @@ index 72841df..1c93da1 100644
fn vendor_subcommand() -> Command {
Command::new("vendor")
.about("Vendor remote modules into a local directory")
@@ -3054,23 +2989,6 @@ fn types_parse(flags: &mut Flags, _matches: &mut ArgMatches) {
@@ -3453,23 +3397,6 @@ fn types_parse(flags: &mut Flags, _matches: &mut ArgMatches) {
flags.subcommand = DenoSubcommand::Types;
}
@ -133,7 +133,7 @@ index 72841df..1c93da1 100644
fn vendor_parse(flags: &mut Flags, matches: &mut ArgMatches) {
ca_file_arg_parse(flags, matches);
config_args_parse(flags, matches);
@@ -3444,25 +3362,6 @@ mod tests {
@@ -3886,25 +3813,6 @@ mod tests {
assert_eq!(flags2, flags);
}
@ -159,7 +159,7 @@ index 72841df..1c93da1 100644
#[test]
fn version() {
let r = flags_from_vec(svec!["deno", "--version"]);
@@ -6186,25 +6085,6 @@ mod tests {
@@ -7086,25 +6994,6 @@ mod tests {
);
}

View File

@ -1,3 +1,110 @@
-------------------------------------------------------------------
Tue Sep 19 22:15:27 UTC 2023 - Avindra Goolcharan <avindra@opensuse.org>
- update to 1.37.0:
* feat: Add "deno jupyter" subcommand (#20337, #20552, #20530, #20537, #20546)
* feat(test): add TAP test reporter (#14390, #20073)
* feat(ext/node): http2.connect() API (#19671)
* feat(ext/web): Add name to Deno.customInspect of File objects (#20415)
* feat(lint): --rules print all rules (#20256)
* feat(lockfile): add redirects to the lockfile (#20262)
* feat(lsp): WorkspaceSettings::disablePaths (#20475)
* feat(lsp): enable via config file detection (#20334, #20349)
* feat(lsp): include source in auto import completion label (#20523)
* feat(lsp): npm specifier completions (#20121)
* feat(lsp): provide the deno.cache command server-side (#20111)
* feat(lsp): update imports on file rename (#20245)
* feat(test): Add Deno.test.ignore and Deno.test.only (#20365)
* feat(unstable): package manager (#20517)
* feat: TypeScript 5.2 (#20425)
* feat: explicit resource management in TypeScript (#20506)
* feat: lockfile v3 (#20424)
* feat: support import attributes (#20342)
* fix(cli): ensure that an exception in getOwnPropertyDescriptor
('constructor') doesn't break Deno.inspect (#20568)
* fix(cli): for main-module that exists in package.json, use
the version defined in package.json directly (#20328)
* fix(compile): support providing flags as args (#20422)
* fix(evt/kv): Add serde feature to uuid (#20350)
* fix(ext/crypto): remove EdDSA alg key checks and export (#20331)
* fix(ext/http): create a graceful shutdown API (#20387)
* fix(ext/http): ensure aborted bodies throw (#20503)
* fix(ext/kv): add a warning for listenQueue if used with remote KV (#20341)
* fix(ext/kv): same expireIn should generate same expireAt (#20396)
* fix(ext/node): implement AES GCM cipher (#20368)
* fix(ext/node): remove unnecessary and incorrect type priority_t (#20276)
* fix(ext/node/ops/zlib/brotli): Allow decompressing more than 4096 bytes (#20301)
* fix(fmt/markdown): improve ignore comment handling (#20421)
* fix(init): skip existing files instead of erroring (#20434)
* fix(lsp): always enable semantic tokens responses (#20440)
* fix(lsp): force correct media type detection from tsc (#20562)
* fix(lsp): include JSON modules in local import completions (#20536)
* fix(lsp): match enable_paths by whole path components (#20470)
* fix(lsp): pass quote preference to tsc (#20547)
* fix(lsp): prefer local auto-import specifiers (#20539)
* fix(lsp): properly handle disabled configuration requests (#20358)
* fix(lsp): recreate npm search cache when cache path changes (#20327)
* fix(lsp): refresh npm completions on each character (#20565)
* fix(lsp): respect configured exclusions for testing APIs (#20427)
* fix(lsp): restore tsc's quick fix ordering (#20545)
* fix(lsp): sort quickfix actions (#17221)
* fix(node): Bump hardcoded version to latest (#20366)
* fix(node/child_process): don't crash on undefined/null value
of an env var (#20378)
* fix(node/http): correctly send Content-length header instead
of Transfer-Encoding: chunked (#20127)
* fix(npm): properly handle legacy shasum of package (#20557)
* fix(runtime/permissions): Resolve executable specifiers in allowlists and queries (#14130)
* fix(test): apply filter before checking for "only" (#20389)
* fix(test): share fail fast tracker between threads (#20515)
* fix: Deno.Command - improve error message when cwd is not a directory (#20460)
* fix: don't show filtered test suites as running (#20385)
* fix: empty include in config file excludes all (#20404)
* fix: exclude internal JS files from coverage (#20448)
* fix: init v8 platform once on main thread (#20495)
* fix: output traces for op sanitizer in more cases (#20494)
* perf(ext/http): optimize set_response for small responses (#20527)
* perf(ext/node): Optimise Buffer string operations (#20158)
* perf(ext/streams): optimize async iterator (#20541)
* perf(node/net): optimize socket reads for 'npm:ws' package (#20449)
* perf: improve async op santizer speed and accuracy (#20501)
* perf: make deno test 10x faster (#20550)
Sat Sep 2 18:44:45 UTC 2023 - Avindra Goolcharan <avindra@opensuse.org>
- update to 1.36.4
* feat(ext/kv): connect to remote database (#20178)
* feat(node): use i32 for priority_t on MacOS and {Free,Open}BSD (#20286)
* fix(bench): explicit timers don't force high precision measurements (#20272)
* fix(ext/http): don't panic on stream responses in cancelled requests (#20316)
* fix(ext/kv): don't panic if listening on queues and KV is not closed (#20317)
* fix(ext/node): fix argv[1] in Worker (#20305)
* fix(ext/node): shared global buffer unlock correctness fix (#20314)
* fix(ext/tls): upgrade webpki version (#20285)
* fix(fmt/markdown): ignore trailing words in code block info
string for language detection (#20310)
* fix(kv) increase number of allowed mutations in atomic (#20126)
* fix(lsp): delete test modules with all tests deleted (#20321)
* fix(lsp): implement deno.suggest.completeFunctionCalls (#20214)
* fix(lsp): test explorer panic on step result (#20289)
* fix(lsp/testing): don't queue modules without tests (#20277)
* fix(lsp/testing): use full ancestry to compute static id of step (#20297)
* fix(napi): ignore tsfn recv error (#20324)
* fix(network): adjust Listener type params (#18642)
* fix(node): propagate create cipher errors (#20280)
* fix(node/http): don't leak resources on destroyed request (#20040)
* fix: unexpected lsp function arg comma completion (#20311)
- includes 1.36.3
* fix(build): socket2 compile error
* fix(cli): add timeout on inspector tests (#20225)
* fix(ext/node): simultaneous reads can leak into each other (#20223)
* fix(ext/web): add stream tests to detect v8slice split bug (#20253)
* fix(ext/web): better handling of errors in resourceForReadableStream (#20238)
* fix(lint): erroneous remove await in async (#20235)
* fix: add missing URL.canParse() types (#20244)
- include protoc dependency
* see https://github.com/denoland/deno/pull/20178
-------------------------------------------------------------------
Mon Aug 21 19:23:04 UTC 2023 - Avindra Goolcharan <avindra@opensuse.org>
@ -3072,3 +3179,4 @@ Sat Dec 19 08:57:04 UTC 2020 - Avindra Goolcharan <avindra@opensuse.org>
Fri Dec 4 02:20:19 UTC 2020 - Avindra Goolcharan <avindra@opensuse.org>
- init pkg at v1.5.4

View File

@ -19,7 +19,7 @@
Name: deno
Version: 1.36.2
Version: 1.37.0
Release: 0
Summary: A secure JavaScript and TypeScript runtime
License: MIT
@ -49,6 +49,7 @@ BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(protobuf)
# deno does not build on 32-bit archs
ExclusiveArch: x86_64 aarch64 ppc64 ppc64le s390x
# PATCH-FIX-OPENSUSE - Disable LTO (to reduce req memory)
@ -57,7 +58,7 @@ Patch10: deno-disable-lto.patch
%endif
%description
A JavaSript and TypeScript platform built on V8
A JavaScript and TypeScript platform built on V8
Deno has standard library and has features such as
a linter, a language server protocol, a code formatter and

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8abcf73783ef37c203ec1877242a7b27ccf7fdff32b66da2dfacf2fff04bd309
size 84600856
oid sha256:ba67a8b03e038134ed3e1a77cfa9acb8fd21c29744e766551dfb7ffa50753f9e
size 84807680