SHA256
1
0
forked from javascript/deno

16 Commits

Author SHA256 Message Date
54ce3fda2f use macro bcond to select BuildRequires clang/gcc
use BuildRequires clang19 by default
* allow to select BuildRequires gcc only for tumbleweed since
  for leap build doesn't work
2025-11-18 09:46:28 -04:00
Soc Virnyl Estela
99b77c6f1b update: bump package to v2.4.5
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-09-15 23:49:49 +08:00
Soc Virnyl Estela
e8a7751d66 reupload registry.tar.zst
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-09-01 23:58:41 +08:00
Soc Virnyl Estela
7c0190f036 bump deno package to v2.4.4
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-09-01 19:06:48 +08:00
Soc Virnyl Estela
ba66683714 reupload registry.tar.zst and update deno.changes file
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-08-11 08:40:56 +08:00
Soc Virnyl Estela
e31b802c2c dep: specify to only update v8
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-08-10 08:10:38 +08:00
Soc Virnyl Estela
cd1e96e525 dep: force precise the keyring version
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-08-10 08:04:41 +08:00
Soc Virnyl Estela
490ce68e30 bump deno version to 2.4.3
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-08-09 22:03:07 +08:00
Soc Virnyl Estela
51c5cf8586 revert to an un-updated registry.tar.zst
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-07-18 15:32:54 +08:00
Soc Virnyl Estela
7d3b9b3bf4 run cargo update --offline first to regenerate lockfile from vendored registry tarball
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-07-18 13:50:46 +08:00
Soc Virnyl Estela
50507428e2 pass --frozen flag
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-07-18 13:43:30 +08:00
Soc Virnyl Estela
270d0150dc set update to true for this registry tarball
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-07-18 13:25:08 +08:00
Soc Virnyl Estela
d9ed097277 fix patch
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-07-18 13:18:26 +08:00
Soc Virnyl Estela
a54bf50d31 refresh deno-disable-lto.patch
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-07-18 13:11:53 +08:00
Soc Virnyl Estela
7e6192fa34 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 <contact@uncomfyhalomacro.pl>
2025-07-18 13:07:50 +08:00
Soc Virnyl Estela
3e02fa4602 update deno to version 2.4.2
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-07-18 12:47:23 +08:00
7 changed files with 222 additions and 35 deletions

View File

@@ -3,28 +3,17 @@
-->
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/denoland/deno</param>
<!-- param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@</param -->
<param name="versionformat">@PARENT_TAG@</param>
<param name="revision">v2.2.2</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
</service>
<service mode="manual" name="set_version"/>
<service name="cargo_vendor" mode="manual">
<param name="update">false</param>
<param name="respect-lockfile">true</param>
<param name="method">registry</param>
<param name="src">deno</param>
</service>
<service name="roast" mode="manual">
<param name="target">deno</param>
<param name="outfile">deno-2.2.2.tar.zst</param>
<param name="preserve-root">true</param>
<param name="reproducible">true</param>
<param name="url">https://github.com/denoland/deno</param>
<param name="revision">v2.4.5</param>
<param name="versionrewriteregex">^v?(.*)</param>
<param name="versionrewritepattern">$1</param>
<param name="changesgenerate">true</param>
<param name="changesauthor">Soc Virnyl Estela</param>
<param name="changesemail">uncomfyhalomacro@opensuse.org</param>
</service>
</services>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5b771fee1293b290caadb3a0df3fcebd5bbe5af327a76e37ee6293ced09461ee
size 103373741

BIN
deno-2.4.5.tar.zst (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -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"
--- 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
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

View File

@@ -1,3 +1,195 @@
-------------------------------------------------------------------
Tue Nov 18 13:12:51 UTC 2025 - Giacomo Comes <gcomes.obs@gmail.com>
- use macro bcond to select BuildRequires clang/gcc
- use BuildRequires clang19 by default
* allow to select BuildRequires gcc only for tumbleweed since
for leap build doesn't work
-------------------------------------------------------------------
Mon Sep 15 14:53:43 UTC 2025 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Update to version 2.4.5:
* 2.4.5 (#30476)
* feat(install): more informative deno install output (#30387)
* perf(ext/net): change the default TCP backlog to 512 (#30471)
* feat(unstable/install): `DENO_INSTALL_ARCH` env var (#30473)
* fix(lsp): silence tsc debug failures for inlay hints (#30456)
* chore: make `specs::outdated::pre_release_latest_tag` less flaky (#30474)
* fix: enable keyring features and dont clear token when config is missing (#30468)
* fix(publish): handle precompile in jsx publishing (#30466)
* fix(ext/node): validate callback on `fs.mkdtemp` and `fs.stat` (#30454)
* refactor: add deno_maybe_sync crate (#30459)
* fix(unstable): parsing regex in selector with character class (#30462)
* fix(lsp): fix import specifiers in file rename changes (#30458)
* fix(fmt): do not remove parens for jsdoc with `@satisfies` (#30453)
* fix(ext/node): TLS emit close event on parent socket (#30451)
* test: add ability to ignore Node compat tests (#30439)
* fix(cache): cache excluded modules explicitly provided on the command line (#30442)
* fix(resolver): update "with --unstable-sloppy-imports" message to use "--sloppy-imports" (#30421)
* fix(ext/node): bad compression caused by invalid brotli params (#30437)
* fix(ext/node): `os.setPriority` and `os.getPriority` compatibility (#30383)
* fix(std/fs): implement `chmod` on windows (#30436)
* feat(lsp): pull-based diagnostics (#30325)
* fix(ext/node): export `promises` from stream (#30427)
* fix(ext/node): mTLS support for `node:tls` (#30426)
* fix(node/fs): cp should not create subfolder when both source and target are directories (#30408)
* fix(unstable): fix json repl bugs (#30415)
* fix(test): set cwd when running node compatibility tests (#30422)
* fix(ext/node): tls upgrades for used sockets (#30418)
* chore: update keyring to v3.6.3 (#30390)
* refactor(ext/node): rewrite net.Socket and net.Server to use ES5 class (#30419)
* fix(bundle): allow json imports without attribute in deno bundle, support require of json (#30413)
* refactor: make it easier to get closest package.json files (#30420)
* fix(outdated): use version tagged as latest if it satisfies the version req (#30412)
* refactor: rename deploy env vars (#30393)
* refactor(resolver): improve and expose details of CouldNotResolveError (#30410)
* fix: support cjs, cts, mjs, and mts for the `--ext` flag (#30398)
* chore: fix lint warnings (#30399)
* fix: add missing cargo feature to 'deno_npm_cache' crate (#30397)
-------------------------------------------------------------------
Mon Sep 01 15:18:49 UTC 2025 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Update to version 2.4.4:
* 2.4.4 (#30396)
* fix(unstable): lint node properties should be enumerable (#30391)
* chore: update lint PR title name and job name (#30370)
* feat(kv): implement custom inspect for AtomicOperation (#30077)
* fix(tests): use correct path separator on unix for code_cache cleanup.ts (#30378)
* fix: android build (#30360)
* fix(unstable): update deno_tunnel for better reconnect errors (#30381)
* fix(ext/node): make some `os` exported properties read only (#30374)
* fix: upgrade deno_core to 0.355.0 (#30352)
* chore: improve pr title verification (#30367)
* fix(ext/node): accept `base64url` encoding on StringDecoder (#30366)
* fix(ext/node): handle large buffer correctly (#30369)
* chore: Rust 1.89.0 (#30364)
* fix: upgrade @node/types to 24 (#30343)
* fix: reduce progress bar flickering (#30349)
* chore: cleanup unused dependencies (#30059)
* fix(io): do not autoClose stdin readable stream (#30345)
* chore: remove zlib feature from flate2 dep in npm_cache (#30348)
* perf: reduce heap allocations and memory creating cjs wrapper module (#30344)
* fix(publish): remove incorrect `relative-package-import` diagnostic when root of workspace is package (#30333)
* refactor: improve getting WatchFlags/WatchFlagsWithPaths (#30337)
* refactor: move fill_graph into deno_resolver (#30338)
* fix(compile): ensure `Deno.build.standalone` is set in workers (#30335)
* fix(ext/node): avoid panic when `crypto.randomInt` has no arguments (#30314)
* fix(lsp): use referrer compiler options for node_modules files (#30275)
* feat(ext/kv): allow specifying default path and path prefix (#30320)
* fix(ext/node): use primordials in `ext/node/polyfills/internal_binding/buffer.ts` (#30287)
* feat(unstable): add json repl (#30307)
* fix(ext/node): use custom allocator for brotli (#30277)
* fix: make unmet peer dep error message less verbose (#30312)
* fix(ext/node): parse fs open options correctly (#30300)
* chore: rewrite tls_wrap internals to JS (#30303)
* fix(check): do not surface code resolution errors in declaration file dependencies (#30296)
* fix(ext/node): assign 'ERR_BUFFER_TOO_LARGE' to codes (#30311)
* fix(ext/node): incorrect `ERR_INVALID_ARG_VALUE` constructor arguments position (#30309)
* fix: improve handling of linked jsr packages in lockfile (#30289)
* feat(ci): migrate to Cirrus medium runners (#30070)
* perf(napi): misc napi optimizations (#30291)
* fix(ext/node): worker_threads handles basic `require` calls (#30279)
* Revert "fix(ext/node): support TLS for unix sockets" (#30284)
* chore(node): resolution mode for cjs export analysis should be require (#30252)
* feat(unstable): allow setting headers on EventSource (#30278)
* fix(ext/node): support TLS for unix sockets (#30169)
* perf: Use more efficient structuredClone API (#30258)
* fix(bundle): support importing directories with a package.json from an es module when bundling (#30273)
* fix(ext/node): define fs constants correctly across platforms (#30113)
* chore(ci): mark some tests flaky (#30268)
* fix(update): update version reqs even if locked to latest version (#30249)
* chore: remove wait dependency in scripts (#30267)
* fix(ext/node): `fs.open` and `fs.openSync` compatibility (#30191)
* fix(bundle): require of sub directory in npm package should consult package.json (#30253)
* fix(ext/node): use primordials in `ext/node/polyfills/internal_binding/node_file.ts` (#30066)
* fix(ext/node): `fs.rename` and `fs.renameSync` compatibility (#30245)
* fix(ext/node): fs readv promisify compatibility (#30149)
* refactor: remove some url to string clones (#30247)
* fix(bundle): use non-node conditions for --platform=browser (#30250)
* fix(ext/node): `fs.unlink` and `fs.unlinkSync` compatibility (#30257)
-------------------------------------------------------------------
Mon Aug 11 00:36:41 UTC 2025 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Update to version 2.4.3:
* 2.4.3 (#30251)
* fix(tsconfig): don't use tsc-compatible defaults for deno.json compiler options (#30242)
* perf(buffer): optimize Buffer.subarray and Buffer.prototype.utf8Slice (#30213)
* fix(ext/node): use primordials in `ext/node/polyfills/internal_binding/pipe_wrap.ts` (#30241)
* fix: reduce change of corrupt lockfile error when updating dependencies in the config file (#30239)
* chore: regression where excluded path stopped being excluded (#30238)
* fix(http): catch more tunnel close errors (#30236)
* refactor: remove more allocations querying for permissions (#30237)
* fix: ensure coverage dir is stored absolute to prevent issues when cwd changes (#30225)
* fix: use 'deno_signals' crate for signal handling (#30204)
* fix: don't invoke `Proxy` getter trap on `console.log` (#30230)
* refactor: use Cow<Path> more in permissions (#30227)
* fix(publish): improve diagnostic when importing from another package using a relative import (#30203)
* refactor: remove usages of to_string_lossy().to_string() (#30224)
* chore: remove redundant operations from README.md (#30228)
* refactor: remove some allocations in op_require_x ops (#30212)
* fix(ext/node): validate `fd` is integer on `fsync` and `fdatasync` (#30215)
* fix(ext/node): use Zlib base for brotli handles (#30112)
* refactor(node): remove some duplicate code and unnecessary allocations in node_resolver (#30209)
* refactor: update to deno_path_util 0.5.2 (#30211)
* fix: update setTimeout and setInterval callback type to support strin… (#30183)
* fix(lib/node): change ERR_INVALID_PACKAGE_TARGET to ERR_PACKAGE_PATH_NOT_EXPORTED when no package.json#exports condition matches (#29841)
* chore(bench): add missing commas in Extension struct literal (#30206)
* fix(regression): do not error when specifying `--config` flag with `../` component (#30208)
* fix(ext/node): fix segmentation fault when spkac is empty (#30207)
* fix(bundle): don't force managed npm resolution (#30200)
* fix: support package.json imports in a Deno workspace (#30198)
* docs: Fix broken Getting Started link in CONTRIBUTING.md (#30194)
* test: avoid race condition on node compat test runner (#30201)
* Revert "fix(unstable): always require --allow-read permissions for raw imports (#30184)" (#30196)
* fix(compile): do not include managed npm deps when graph does not have any npm pkgs (#30189)
* fix(compile): do not error including npm packages that don't match current system (#30188)
* fix: tunnels in processes that don't listen (#30178)
* chore: mark some node compat tests as flaky (#30190)
* fix(unstable): always require --allow-read permissions for raw imports (#30184)
* fix(check): ensure module not found errors are surfaced (#30181)
* fix(ext/node): implement tls.checkServerIdentitiy (#30148)
* fix(ext/node): implement TLSSocket.getPeerCertificate (#30146)
* fix: do not panic deserializing config with invalid number value (#30171)
* refactor: upgrade to deno_core 0.353.0 (#30164)
* fix(ext/node): `fs.read` and `fs.write` promisify compatibility (#30152)
* chore: fix flaky dynamic_npm_resolution_failure (#30165)
* fix(task): improve parsing of quotes in command substitution (#30162)
* feat(unstable): add useful metadata to tunnel (#30161)
* test: add ability to mark Node compat tests as flaky (#30158)
* test: de-flake 'wasm_unreachable' test (#30157)
* fix(lsp): improve renaming a file with bytes or text imports (#30142)
* fix(ext/node): use primordials in `ext/node/polyfills/internal_binding/_listen.ts` (#30100)
* chore: update deno_tunnel (#30154)
* fix(ext/node): add process._rawDebug (#30141)
* fix(lsp): do not error for bytes or text import of json module (#30137)
* fix(task): show package name of task when --recursive (#30136)
* fix(task): `--recursive` - order tasks by package dependencies (#30129)
* refactor(lsp): move workspace_resolver to LspResolver (#30127)
-------------------------------------------------------------------
Fri Jul 18 04:42:52 UTC 2025 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- 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 <uncomfyhalomacro@opensuse.org>
@@ -6043,4 +6235,3 @@ 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

@@ -18,10 +18,16 @@
#
%bcond_without clang
%if 0%{?suse_version} > 1600
#uncomment next line to select gcc for tumbleweed
#%%bcond_with clang
%endif
%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.5
Release: 0
Summary: A secure JavaScript and TypeScript runtime
License: MIT
@@ -31,7 +37,7 @@ Source0: %{name}-%{version}.tar.zst
Source1: registry.tar.zst
BuildRequires: cargo-packaging
%if 0%{?suse_version} > 1600
%if %{with clang}
BuildRequires: clang19
%else
BuildRequires: gcc
@@ -104,7 +110,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
@@ -116,7 +122,7 @@ export CARGO_HOME="$PWD/.cargo"
export CLANG_VERSION=$(clang --version | grep -m1 version | sed 's/.* \([0-9]\+\).*/\1/')
export V8_FROM_SOURCE=1
export CLANG_BASE_PATH=%{_prefix}
%if 0%{?suse_version} > 1600
%if %{with clang}
export CC=clang
export CXX=clang++
export CFLAGS="%{optflags} -Wno-unknown-warning-option"
@@ -128,6 +134,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} update v8 --offline
%{cargo_build}
%install

BIN
registry.tar.zst (Stored with Git LFS)

Binary file not shown.