From 3e02fa4602547bc56af54b4c94253a60eaa516e05e2f068f882cb55b18a1cbf1 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Fri, 18 Jul 2025 12:43:59 +0800 Subject: [PATCH 1/8] update deno to version 2.4.2 Signed-off-by: Soc Virnyl Estela --- _service | 22 ++++------------------ deno-2.2.2.tar.zst | 3 --- deno-2.4.2.tar.zst | 3 +++ deno.changes | 21 +++++++++++++++++++++ deno.spec | 4 ++-- registry.tar.zst | 4 ++-- 6 files changed, 32 insertions(+), 25 deletions(-) delete mode 100644 deno-2.2.2.tar.zst create mode 100644 deno-2.4.2.tar.zst diff --git a/_service b/_service index 3a7ef7e..14c5c66 100644 --- a/_service +++ b/_service @@ -3,28 +3,14 @@ --> - - git - https://github.com/denoland/deno - - @PARENT_TAG@ - v2.2.2 - v(.*) - \1 - enable - - false true registry - deno - - - deno - deno-2.2.2.tar.zst - true - true + https://github.com/denoland/deno + v2.4.2 + ^v?(.*) + $1 diff --git a/deno-2.2.2.tar.zst b/deno-2.2.2.tar.zst deleted file mode 100644 index d335aa0..0000000 --- a/deno-2.2.2.tar.zst +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5b771fee1293b290caadb3a0df3fcebd5bbe5af327a76e37ee6293ced09461ee -size 103373741 diff --git a/deno-2.4.2.tar.zst b/deno-2.4.2.tar.zst new file mode 100644 index 0000000..0c3e3e7 --- /dev/null +++ b/deno-2.4.2.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30382d98a4a8249146d8ac53bb72d16c84602dc98072bc2a44ecbb113bd762c2 +size 106346733 diff --git a/deno.changes b/deno.changes index 6c089c9..3111f9a 100644 --- a/deno.changes +++ b/deno.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Fri Jul 18 04:42:52 UTC 2025 - Soc Virnyl Estela + +- Update to version 2.4.2: + * fix(bundle): default "jsxImportSource" to "react" (#30082) + * fix(check): temporarily ignore ERR_TYPES_NOT_FOUND (#29926) + * fix(ext/node): don't throw error on invalid path input on exists and + * existsSync (#29971) + * fix(ext/node): validate path parameters on link and linkSync (#30061) + * fix(lint): do not panic for many overlapping lint fixes (#30104) + * fix(lsp): tsconfig features for 'deno check' parity (#30007) + * fix(tsconfig): prioritize deno.json if it has compiler options (#30056) + * fix(tsconfig): use tsc defaults for 'strict' and 'noImplicitOverride' (#30045) + * fix(unstable): support importing files in npm packages as bytes and text + * (#30065) + * fix: global global should be writeable (#30032) + * fix: early init logging (#30034) + * fix: new signal handling (#30029) + * fix: upgrade deno_core to 0.352.1 (#30119) + * All other changes listed here: https://github.com/denoland/deno/compare/v2.2.2...v2.4.2 + ------------------------------------------------------------------- Sat Mar 8 03:08:09 UTC 2025 - Soc Virnyl Estela diff --git a/deno.spec b/deno.spec index 54be51b..608ae69 100644 --- a/deno.spec +++ b/deno.spec @@ -19,9 +19,9 @@ %global _lto_cflags %nil -%global _v8_version 134.4.0 +%global _v8_version 137.2.1 Name: deno -Version: 2.2.2 +Version: 2.4.2 Release: 0 Summary: A secure JavaScript and TypeScript runtime License: MIT diff --git a/registry.tar.zst b/registry.tar.zst index fdd6c51..77478e8 100644 --- a/registry.tar.zst +++ b/registry.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:db8a796acd975b325a6711e0ca0d5cf08ef7998f7511d80f602d4da7f28572f4 -size 160040115 +oid sha256:8af3ed9fedbb0285f16ac10d7977f5bfb4762758ddcd0dcc6e450e38cef803d2 +size 187336664 -- 2.49.0 From 7e6192fa34e0df6c8e997f95038052a09276cc7fe9521e4629b8a9bf3adc1916 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Fri, 18 Jul 2025 13:07:50 +0800 Subject: [PATCH 2/8] remove -n flag when doing autosetup the name and version is set now for the top-level directory using roast-scm Signed-off-by: Soc Virnyl Estela --- deno.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deno.spec b/deno.spec index 608ae69..5e5d0d3 100644 --- a/deno.spec +++ b/deno.spec @@ -104,7 +104,7 @@ Remote code is fetched and cached on first execution, and only updated with the --reload flag. %prep -%autosetup -a1 -p1 -n %{name} +%autosetup -a1 -p1 unlink rusty_v8 || true ln -sf %{_libdir}/crates/rusty_v8/ $PWD/rusty_v8 -- 2.49.0 From a54bf50d31a9627f2d0237aad95c01524acb9afef662241412d0441a7d123392 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Fri, 18 Jul 2025 13:11:53 +0800 Subject: [PATCH 3/8] refresh deno-disable-lto.patch Signed-off-by: Soc Virnyl Estela --- deno-disable-lto.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/deno-disable-lto.patch b/deno-disable-lto.patch index f7ace34..3c75ab0 100644 --- a/deno-disable-lto.patch +++ b/deno-disable-lto.patch @@ -1,14 +1,14 @@ ---- deno-2.0.0/Cargo.toml.orig 2024-10-11 10:48:05.784147338 +0200 -+++ deno-2.0.0/Cargo.toml 2024-10-11 10:48:41.196337140 +0200 -@@ -231,7 +231,6 @@ winres = "=0.1.12" +--- Cargo.toml.orig 2025-07-18 13:10:15.182788420 +0800 ++++ Cargo.toml 2025-07-18 13:11:10.652425382 +0800 +@@ -402,7 +402,6 @@ [profile.release] codegen-units = 1 incremental = true -lto = true opt-level = 'z' # Optimize for size - - # Build release with debug symbols: cargo build --profile=release-with-debug -@@ -243,7 +242,6 @@ debug = true + split-debuginfo = "packed" + debug = "line-tables-only" +@@ -416,7 +415,6 @@ [profile.release-lite] inherits = "release" codegen-units = 128 -- 2.49.0 From d9ed097277feb8c2e4de3dffad0401af0081b1d09af5f07467e8c49b615fc643 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Fri, 18 Jul 2025 13:18:26 +0800 Subject: [PATCH 4/8] fix patch Signed-off-by: Soc Virnyl Estela --- deno-disable-lto.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deno-disable-lto.patch b/deno-disable-lto.patch index 3c75ab0..df79732 100644 --- a/deno-disable-lto.patch +++ b/deno-disable-lto.patch @@ -1,5 +1,5 @@ ---- Cargo.toml.orig 2025-07-18 13:10:15.182788420 +0800 -+++ Cargo.toml 2025-07-18 13:11:10.652425382 +0800 +--- a/Cargo.toml.orig 2025-07-18 13:10:15.182788420 +0800 ++++ b/Cargo.toml 2025-07-18 13:11:10.652425382 +0800 @@ -402,7 +402,6 @@ [profile.release] codegen-units = 1 -- 2.49.0 From 270d0150dc9bb672b9cb993be16229071adc2ec81c5ec943b7257174e2233fbe Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Fri, 18 Jul 2025 13:25:08 +0800 Subject: [PATCH 5/8] set update to true for this registry tarball Signed-off-by: Soc Virnyl Estela --- registry.tar.zst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/registry.tar.zst b/registry.tar.zst index 77478e8..a38578e 100644 --- a/registry.tar.zst +++ b/registry.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8af3ed9fedbb0285f16ac10d7977f5bfb4762758ddcd0dcc6e450e38cef803d2 -size 187336664 +oid sha256:6c36cf346aa5bdc6a3aa5ee8c9f8f53edcdf5b998a80f0400d6eb9d9abbd0f5b +size 207635733 -- 2.49.0 From 50507428e237b40271694a19a9d1f505b3645e93506b47ced7ba62fb8469aeae Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Fri, 18 Jul 2025 13:43:30 +0800 Subject: [PATCH 6/8] pass --frozen flag Signed-off-by: Soc Virnyl Estela --- deno.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deno.spec b/deno.spec index 5e5d0d3..391d2fa 100644 --- a/deno.spec +++ b/deno.spec @@ -128,7 +128,7 @@ export CXXFLAGS="%{optflags}" # https://www.chromium.org/developers/gn-build-configuration export GN_ARGS="clang_version=${CLANG_VERSION} use_lld=true enable_nacl = false blink_symbol_level = 0 v8_symbol_level = 0" -%{cargo_build} +%{cargo_build} --frozen %install # place deno cli manually (cannot cargo install) -- 2.49.0 From 7d3b9b3bf42752d4f58f55e8b4e0be698f0512cde4ae40802e8c7385f43a37cd Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Fri, 18 Jul 2025 13:50:46 +0800 Subject: [PATCH 7/8] run cargo update --offline first to regenerate lockfile from vendored registry tarball Signed-off-by: Soc Virnyl Estela --- deno.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deno.spec b/deno.spec index 391d2fa..abfc2b7 100644 --- a/deno.spec +++ b/deno.spec @@ -128,7 +128,8 @@ export CXXFLAGS="%{optflags}" # https://www.chromium.org/developers/gn-build-configuration export GN_ARGS="clang_version=${CLANG_VERSION} use_lld=true enable_nacl = false blink_symbol_level = 0 v8_symbol_level = 0" -%{cargo_build} --frozen +%{__cargo} update --offline +%{cargo_build} %install # place deno cli manually (cannot cargo install) -- 2.49.0 From 51c5cf8586983d48f6fdc16ecc857fe7318d11fcf72753b4a2be6d97485cdf2c Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Fri, 18 Jul 2025 15:32:54 +0800 Subject: [PATCH 8/8] revert to an un-updated registry.tar.zst Signed-off-by: Soc Virnyl Estela --- registry.tar.zst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/registry.tar.zst b/registry.tar.zst index a38578e..2c222aa 100644 --- a/registry.tar.zst +++ b/registry.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6c36cf346aa5bdc6a3aa5ee8c9f8f53edcdf5b998a80f0400d6eb9d9abbd0f5b -size 207635733 +oid sha256:8d719a1a447281346ba9ce7547d235625937b330c15d2323475f0da9b0e6a4b8 +size 187336642 -- 2.49.0