Accepting request 1186723 from devel:languages:javascript
- update to 1.45.0 * BREAKING(unstable/ffi): remove callback reentrant flag (#24367) * feat(cli): Add --frozen flag to error out if lockfile is out of date (#24355) * feat(cli): deno init --lib (#22499) * feat(compile): support --env (#24166) * feat(ext/crypto): make deriveBits length parameter optional and nullable (#24426) * feat(ext/web): add Blob.prototype.bytes() (#24148) * feat(jsr): support publishing jsr packages in npm workspaces (#24507) * feat(jupyter): support confirm and prompt in notebooks (#23592) * feat(lsp): ts language service scopes (#24345) * feat(node): Support executing npm package lifecycle scripts (preinstall/install/postinstall) (#24487) * feat(workspace): support object config (#24483) * feat: Deprecate --lock-write flag (#24436) * feat: Upgrade to TypeScript 5.5.2 (#24326) * feat: add __tests__ to test file detection defaults (#24443) * feat: deprecate deno vendor (#22183) * feat: npm workspace and better Deno workspace support (#24334) * feat: support wildcards in npm workspaces (#24471) * feat: upgrade deno_core (#24364) * feat: upgrade deno_core to 0.293.0 (#24482) * fix(check): CJS types importing dual ESM/CJS package should prefer CJS types (#24492) * fix(compile): atomically write compile output (#24378) * fix(compile): prevent setting unstable feature twice (#24381) * fix(ext/node): Add fs.lutimes / fs.lutimesSync (#23172) * fix(ext/node): add Module.parent (#24333) * fix(ext/node): add ServerResponse#appendHeader (#24216) * fix(ext/node): add Symbol.toStringTag to KeyObject instances (#24377) * fix(ext/node): discover .npmrc in user's homedir (#24021) * fix(ext/node): don't panic on invalid utf-8 in pem (#24303) * fix(ext/node): don't wait for end() call to send http client request (#24390) * fix(ext/node): http chunked writes hangs (#24428) * fix(ext/node): ignore stream error during enqueue (#24243) * fix(ext/node): make next tick queue resilient to Array.prototype tampering (#24361) * fix(ext/node): rewrite crypto.Hash (#24302) * fix(ext/node): rewrite digest handling (#24392) * fix(ext/node): use cppgc for node:zlib (#24267) * fix(ext/webgpu): fix GPUUncapturedErrorEvent parent type (#24369) * fix(ext/websocket): drop connection when close frame not ack (#24301) * fix(lsp): correct scope attribution for injected @types/node (#24404) * fix(lsp): do sloppy resolution for node-to-node imports in byonm (#24481) * fix(lsp): don't use global cache paths for scope allocation (#24353) * fix(lsp): inherit workspace-root-only fields in members (#24440) * fix(lsp): respect lockfile redirects entries for resolution (#24365) * fix(lsp): use CliLockfile (#24387) * fix(net): set correct max size for Datagram (#21611) * fix(node): Implement fs.lchown (and process.getegid) (#24418) * fix(node): add missing readline/promises module (#24336) * fix(node/assert): throws not checking error instance (#24466) * fix(node/http): don't error if request destroyed before send (#24497) * fix(node/http): don't send destroyed requests (#24498) * fix(node/http): don't throw on .address() before .listen() (#24432) * fix(node/http): support all .writeHead() signatures (#24469) * fix(node/perf_hooks): stub eventLoopUtilization (#24501) * fix(node/v8): stub serializer methods (#24502) * fix(permissions): handle ipv6 addresses correctly (#24397) * fix(publish): unfurling should always be done with the package json (#24435) * fix(task): do not propagate env changes outside subshells (#24279) * fix(workspace): better cli file argument handling (#24447) * fix: Add sys permission kinds for node compat (#24242) * fix: add warning for invalid unstable feature use in deno.json/jsonc (#24120) * fix: do not download compilerOptions -> types when not type checking (#24473) * fix: do not return undefined for missing global properties (#24474) * fix: make .setup-cache.bin in node_modules more reproducible (#24480) * fix: memory leak when transpiling (#24490) * fix: node-api get_value_string_utf8 should use utf8_length (#24193) * fix: panic when piping "deno help" or "deno --version" (#22917) * fix: test in presence of .npmrc (#24486) * fix: upgrade deno_core to 0.291.0 (#24297) * perf(ext/node): improve Buffer.from(buffer) (#24352) * perf(ext/websocket): avoid global interceptor overhead (#24284) * perf(ws): optimize fastwebsockets in release profile (#24277) * perf: optimize Buffer.from("base64") for forgiving-base64 conforming input (#24346) - rebase deno-rm-upgrade.patch OBS-URL: https://build.opensuse.org/request/show/1186723 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deno?expand=0&rev=46
This commit is contained in:
commit
43fd922ce3
8
_service
8
_service
@ -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.44.4</param>
|
||||
<param name="version">1.44.4</param>
|
||||
<param name="revision">v1.45.0</param>
|
||||
<param name="version">1.45.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.94.0</param>
|
||||
<param name="version">0.94.0</param>
|
||||
<param name="revision">v0.97.0</param>
|
||||
<param name="version">0.97.0</param>
|
||||
<param name="exclude">.github</param>
|
||||
|
||||
<!--
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6ab2aacd0fe42b4ff6d177a75638c620df963109492613896c0895932e8941ec
|
||||
size 102007712
|
3
deno-1.45.0.tar.xz
Normal file
3
deno-1.45.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ceaff4e42f323923ae76cf1c6336394d564e112fefa99415e75233776acd0231
|
||||
size 105075132
|
@ -38,10 +38,26 @@ index 031ab07..4f3b05c 100644
|
||||
tools::vendor::vendor(flags, vendor_flags).await
|
||||
}),
|
||||
diff --git a/cli/args/flags.rs.1 b/cli/args/flags.rs
|
||||
index 72841df..1c93da1 100644
|
||||
index 48cfb92..eb31bf6 100644
|
||||
--- a/cli/args/flags.rs.1
|
||||
+++ b/cli/args/flags.rs
|
||||
@@ -397,7 +397,6 @@ pub enum DenoSubcommand {
|
||||
@@ -377,15 +377,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<String>,
|
||||
-}
|
||||
-
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
pub struct VendorFlags {
|
||||
pub specifiers: Vec<String>,
|
||||
@@ -428,7 +419,6 @@ pub enum DenoSubcommand {
|
||||
Task(TaskFlags),
|
||||
Test(TestFlags),
|
||||
Types,
|
||||
@ -49,16 +65,7 @@ index 72841df..1c93da1 100644
|
||||
Vendor(VendorFlags),
|
||||
Publish(PublishFlags),
|
||||
}
|
||||
@@ -917,7 +917,7 @@ impl Flags {
|
||||
Some(current_dir.to_path_buf())
|
||||
}
|
||||
Add(_) | Bundle(_) | Completions(_) | Doc(_) | Fmt(_) | Init(_)
|
||||
- | Uninstall(_) | Jupyter(_) | Lsp | Lint(_) | Types | Upgrade(_)
|
||||
+ | Uninstall(_) | Jupyter(_) | Lsp | Lint(_) | Types
|
||||
| Vendor(_) => None,
|
||||
Install(_) => {
|
||||
if *DENO_FUTURE {
|
||||
@@ -1062,9 +1061,6 @@ static ENV_VARIABLES_HELP: &str = color_print::cstr!(
|
||||
@@ -1097,9 +1087,6 @@ static ENV_VARIABLES_HELP: &str = color_print::cstr!(
|
||||
<g>DENO_NO_PROMPT</> Set to disable permission prompts on access
|
||||
(alternative to passing --no-prompt on invocation)
|
||||
|
||||
@ -68,7 +75,7 @@ index 72841df..1c93da1 100644
|
||||
<g>DENO_TLS_CA_STORE</> Comma-separated list of order dependent certificate
|
||||
stores. Possible values: "system", "mozilla".
|
||||
Defaults to "mozilla".
|
||||
@@ -944,7 +934,6 @@ pub fn flags_from_vec(args: Vec<String>) -> clap::error::Result<Flags> {
|
||||
@@ -1209,7 +1196,6 @@ pub fn flags_from_vec(args: Vec<OsString>) -> 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),
|
||||
@ -76,7 +83,7 @@ index 72841df..1c93da1 100644
|
||||
"vendor" => vendor_parse(&mut flags, &mut m),
|
||||
"publish" => publish_parse(&mut flags, &mut m),
|
||||
_ => unreachable!(),
|
||||
@@ -1099,7 +1088,6 @@ fn clap_root() -> Command {
|
||||
@@ -1379,7 +1365,6 @@ fn clap_root() -> Command {
|
||||
.subcommand(task_subcommand())
|
||||
.subcommand(test_subcommand())
|
||||
.subcommand(types_subcommand())
|
||||
@ -84,7 +91,7 @@ index 72841df..1c93da1 100644
|
||||
.subcommand(vendor_subcommand())
|
||||
})
|
||||
.long_about(DENO_HELP)
|
||||
@@ -2413,60 +2404,6 @@ The declaration file could be saved and used for typing information.",
|
||||
@@ -2776,60 +2761,6 @@ The declaration file could be saved and used for typing information.",
|
||||
)
|
||||
}
|
||||
|
||||
@ -142,10 +149,10 @@ index 72841df..1c93da1 100644
|
||||
- })
|
||||
-}
|
||||
-
|
||||
// TODO(bartlomieju): this subcommand is now deprecated, remove it in Deno 2.
|
||||
fn vendor_subcommand() -> Command {
|
||||
Command::new("vendor")
|
||||
.about("Vendor remote modules into a local directory")
|
||||
@@ -3965,23 +3902,6 @@ fn types_parse(flags: &mut Flags, _matches: &mut ArgMatches) {
|
||||
@@ -4488,23 +4419,6 @@ fn types_parse(flags: &mut Flags, _matches: &mut ArgMatches) {
|
||||
flags.subcommand = DenoSubcommand::Types;
|
||||
}
|
||||
|
||||
@ -169,7 +176,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);
|
||||
@@ -4442,25 +4362,6 @@ mod tests {
|
||||
@@ -4974,43 +4888,6 @@ mod tests {
|
||||
assert_eq!(flags2, flags);
|
||||
}
|
||||
|
||||
@ -191,11 +198,29 @@ index 72841df..1c93da1 100644
|
||||
- }
|
||||
- );
|
||||
- }
|
||||
-
|
||||
- #[test]
|
||||
- fn upgrade_with_output_flag() {
|
||||
- let r = flags_from_vec(svec!["deno", "upgrade", "--output", "example.txt"]);
|
||||
- assert_eq!(
|
||||
- r.unwrap(),
|
||||
- Flags {
|
||||
- subcommand: DenoSubcommand::Upgrade(UpgradeFlags {
|
||||
- force: false,
|
||||
- dry_run: false,
|
||||
- canary: false,
|
||||
- version: None,
|
||||
- output: Some(String::from("example.txt")),
|
||||
- }),
|
||||
- ..Flags::default()
|
||||
- }
|
||||
- );
|
||||
- }
|
||||
-
|
||||
#[test]
|
||||
fn upgrade_with_output_flag() {
|
||||
let r = flags_from_vec(svec!["deno", "upgrade", "--output", "example.txt"]);
|
||||
@@ -7509,25 +7406,6 @@ mod tests {
|
||||
fn version() {
|
||||
let r = flags_from_vec(svec!["deno", "--version"]);
|
||||
@@ -8832,25 +8709,6 @@ mod tests {
|
||||
);
|
||||
}
|
||||
|
||||
|
80
deno.changes
80
deno.changes
@ -1,3 +1,81 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 10 23:19:03 UTC 2024 - Avindra Goolcharan <avindra@opensuse.org>
|
||||
|
||||
- update to 1.45.0
|
||||
* BREAKING(unstable/ffi): remove callback reentrant flag (#24367)
|
||||
* feat(cli): Add --frozen flag to error out if lockfile is out of date (#24355)
|
||||
* feat(cli): deno init --lib (#22499)
|
||||
* feat(compile): support --env (#24166)
|
||||
* feat(ext/crypto): make deriveBits length parameter optional and nullable (#24426)
|
||||
* feat(ext/web): add Blob.prototype.bytes() (#24148)
|
||||
* feat(jsr): support publishing jsr packages in npm workspaces (#24507)
|
||||
* feat(jupyter): support confirm and prompt in notebooks (#23592)
|
||||
* feat(lsp): ts language service scopes (#24345)
|
||||
* feat(node): Support executing npm package lifecycle scripts
|
||||
(preinstall/install/postinstall) (#24487)
|
||||
* feat(workspace): support object config (#24483)
|
||||
* feat: Deprecate --lock-write flag (#24436)
|
||||
* feat: Upgrade to TypeScript 5.5.2 (#24326)
|
||||
* feat: add __tests__ to test file detection defaults (#24443)
|
||||
* feat: deprecate deno vendor (#22183)
|
||||
* feat: npm workspace and better Deno workspace support (#24334)
|
||||
* feat: support wildcards in npm workspaces (#24471)
|
||||
* feat: upgrade deno_core (#24364)
|
||||
* feat: upgrade deno_core to 0.293.0 (#24482)
|
||||
* fix(check): CJS types importing dual ESM/CJS package should prefer CJS types (#24492)
|
||||
* fix(compile): atomically write compile output (#24378)
|
||||
* fix(compile): prevent setting unstable feature twice (#24381)
|
||||
* fix(ext/node): Add fs.lutimes / fs.lutimesSync (#23172)
|
||||
* fix(ext/node): add Module.parent (#24333)
|
||||
* fix(ext/node): add ServerResponse#appendHeader (#24216)
|
||||
* fix(ext/node): add Symbol.toStringTag to KeyObject instances (#24377)
|
||||
* fix(ext/node): discover .npmrc in user's homedir (#24021)
|
||||
* fix(ext/node): don't panic on invalid utf-8 in pem (#24303)
|
||||
* fix(ext/node): don't wait for end() call to send http client request (#24390)
|
||||
* fix(ext/node): http chunked writes hangs (#24428)
|
||||
* fix(ext/node): ignore stream error during enqueue (#24243)
|
||||
* fix(ext/node): make next tick queue resilient to Array.prototype tampering (#24361)
|
||||
* fix(ext/node): rewrite crypto.Hash (#24302)
|
||||
* fix(ext/node): rewrite digest handling (#24392)
|
||||
* fix(ext/node): use cppgc for node:zlib (#24267)
|
||||
* fix(ext/webgpu): fix GPUUncapturedErrorEvent parent type (#24369)
|
||||
* fix(ext/websocket): drop connection when close frame not ack (#24301)
|
||||
* fix(lsp): correct scope attribution for injected @types/node (#24404)
|
||||
* fix(lsp): do sloppy resolution for node-to-node imports in byonm (#24481)
|
||||
* fix(lsp): don't use global cache paths for scope allocation (#24353)
|
||||
* fix(lsp): inherit workspace-root-only fields in members (#24440)
|
||||
* fix(lsp): respect lockfile redirects entries for resolution (#24365)
|
||||
* fix(lsp): use CliLockfile (#24387)
|
||||
* fix(net): set correct max size for Datagram (#21611)
|
||||
* fix(node): Implement fs.lchown (and process.getegid) (#24418)
|
||||
* fix(node): add missing readline/promises module (#24336)
|
||||
* fix(node/assert): throws not checking error instance (#24466)
|
||||
* fix(node/http): don't error if request destroyed before send (#24497)
|
||||
* fix(node/http): don't send destroyed requests (#24498)
|
||||
* fix(node/http): don't throw on .address() before .listen() (#24432)
|
||||
* fix(node/http): support all .writeHead() signatures (#24469)
|
||||
* fix(node/perf_hooks): stub eventLoopUtilization (#24501)
|
||||
* fix(node/v8): stub serializer methods (#24502)
|
||||
* fix(permissions): handle ipv6 addresses correctly (#24397)
|
||||
* fix(publish): unfurling should always be done with the package json (#24435)
|
||||
* fix(task): do not propagate env changes outside subshells (#24279)
|
||||
* fix(workspace): better cli file argument handling (#24447)
|
||||
* fix: Add sys permission kinds for node compat (#24242)
|
||||
* fix: add warning for invalid unstable feature use in deno.json/jsonc (#24120)
|
||||
* fix: do not download compilerOptions -> types when not type checking (#24473)
|
||||
* fix: do not return undefined for missing global properties (#24474)
|
||||
* fix: make .setup-cache.bin in node_modules more reproducible (#24480)
|
||||
* fix: memory leak when transpiling (#24490)
|
||||
* fix: node-api get_value_string_utf8 should use utf8_length (#24193)
|
||||
* fix: panic when piping "deno help" or "deno --version" (#22917)
|
||||
* fix: test in presence of .npmrc (#24486)
|
||||
* fix: upgrade deno_core to 0.291.0 (#24297)
|
||||
* perf(ext/node): improve Buffer.from(buffer) (#24352)
|
||||
* perf(ext/websocket): avoid global interceptor overhead (#24284)
|
||||
* perf(ws): optimize fastwebsockets in release profile (#24277)
|
||||
* perf: optimize Buffer.from("base64") for forgiving-base64 conforming input (#24346)
|
||||
- rebase deno-rm-upgrade.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 27 14:33:49 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
@ -179,10 +257,8 @@ Thu Mar 28 22:30:04 UTC 2024 - Avindra Goolcharan <avindra@opensuse.org>
|
||||
* 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)
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
Name: deno
|
||||
Version: 1.44.4
|
||||
Version: 1.45.0
|
||||
Release: 0
|
||||
Summary: A secure JavaScript and TypeScript runtime
|
||||
License: MIT
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0f8873707dfcb28db76c72ec7e410099c89815f3970fd0815f0ff4cd7c1f2905
|
||||
size 104803956
|
||||
oid sha256:eae4781e9f78ee31884eb31f6114974482d175a74b318824491e00e385adf780
|
||||
size 105619904
|
||||
|
Loading…
Reference in New Issue
Block a user