SHA256
1
0
forked from javascript/deno

25 Commits

Author SHA256 Message Date
Soc Virnyl Estela
522653c2b9 remove rust-src as build requirement
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 00:06:11 +08:00
Soc Virnyl Estela
5c677561f8 Remove gcc switch. Set clang minver to 19. Ensure we use the LLVM toolchain and not GCC for the C compiler. Only pp64 requires gcc-c++
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-16 00:01:22 +08:00
Soc Virnyl Estela
66ef1c8e16 add back bcond by cherry picking
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-15 22:34:33 +08:00
d267202678 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
2026-02-15 22:30:52 +08:00
Soc Virnyl Estela
602da0db7c Revert bcond cause it's not pretty useful 2026-02-15 08:18:26 +08:00
Soc Virnyl Estela
30dc0e678a Revert "use macro bcond to select BuildRequires clang/gcc"
This reverts commit 54ce3fda2f.
2026-02-15 08:18:04 +08:00
Soc Virnyl Estela
c20bd30a1c fix copy operation
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-15 00:53:28 +08:00
Soc Virnyl Estela
7a81a1b1dc bump to version 2.6.9
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2026-02-14 22:09:26 +08:00
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
2da68d4dc6 update: bump package to version 2.5.0
Signed-off-by: Soc Virnyl Estela <contact@uncomfyhalomacro.pl>
2025-09-24 21:13:04 +08: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
8 changed files with 429 additions and 53 deletions

View File

@@ -3,28 +3,17 @@
--> -->
<services> <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"> <service name="cargo_vendor" mode="manual">
<param name="update">false</param> <param name="update">false</param>
<param name="respect-lockfile">true</param> <param name="respect-lockfile">true</param>
<param name="method">registry</param> <param name="method">registry</param>
<param name="src">deno</param> <param name="url">https://github.com/denoland/deno</param>
</service> <param name="revision">v2.6.9</param>
<service name="roast" mode="manual"> <param name="versionrewriteregex">^v?(.*)</param>
<param name="target">deno</param> <param name="versionrewritepattern">$1</param>
<param name="outfile">deno-2.2.2.tar.zst</param> <param name="changesgenerate">true</param>
<param name="preserve-root">true</param> <param name="changesauthor">Soc Virnyl Estela</param>
<param name="reproducible">true</param> <param name="changesemail">uncomfyhalomacro@opensuse.org</param>
</service> </service>
</services> </services>

BIN
chromium-rust-toolchain.tar.xz LFS Normal file

Binary file not shown.

View File

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

BIN
deno-2.6.9.tar.zst 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 --- a/Cargo.toml.orig 2025-07-18 13:10:15.182788420 +0800
+++ deno-2.0.0/Cargo.toml 2024-10-11 10:48:41.196337140 +0200 +++ b/Cargo.toml 2025-07-18 13:11:10.652425382 +0800
@@ -231,7 +231,6 @@ winres = "=0.1.12" @@ -402,7 +402,6 @@
[profile.release] [profile.release]
codegen-units = 1 codegen-units = 1
incremental = true incremental = true
-lto = true -lto = true
opt-level = 'z' # Optimize for size opt-level = 'z' # Optimize for size
split-debuginfo = "packed"
# Build release with debug symbols: cargo build --profile=release-with-debug debug = "line-tables-only"
@@ -243,7 +242,6 @@ debug = true @@ -416,7 +415,6 @@
[profile.release-lite] [profile.release-lite]
inherits = "release" inherits = "release"
codegen-units = 128 codegen-units = 128

View File

@@ -1,3 +1,379 @@
-------------------------------------------------------------------
Sun Feb 15 16:05:45 UTC 2026 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Remove requirement `rust-src`
-------------------------------------------------------------------
Sun Feb 15 15:49:38 UTC 2026 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Remove gcc switch. Set clang minver to 19. Ensure we use the LLVM toolchain
and not GCC for the C compiler. Only pp64 requires gcc-c++
-------------------------------------------------------------------
Sun Feb 15 14:33:34 UTC 2026 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Add back bcond with clang but set it to clang21. rusty_v8 requires
clang20 and above
-------------------------------------------------------------------
Sat Feb 14 14:07:00 UTC 2026 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Update to version 2.6.9:
* 2.6.9 (#32110)
* ci: use code blocks for test lists in Node compat Slack messages (#32103)
* fix(repl): handle EOF gracefully in JSON REPL mode (#32108)
* fix(compile): use a temporary directory with a node_modules folder when compiling npm specifiers (#32084)
* fix(ext/node): serialize workerData before resolving worker filename (#32091)
* fix(ext/node): `fs.writeFile` and `FileHandle.writeFile` compatibility (#32077)
* fix(ext/node): emit close on both paired MessagePorts (#32092)
* fix(ext/webgpu): GPUQuene writeBuffer size given in elements of TA (#32031)
* fix(ext/node): read from stdin when spawns node with no args (#32088)
* fix(ext/node): unref stdin on pause to allow process exit (#32086)
* fix(test): user input clearing test runner output (#32082)
* fix(ext/node): add `threadName` to worker_threads module (#32072)
* fix(ext/node): set exitCode/signalCode correctly for killed child processes (#32081)
* fix(ext/node): emit error event for worker with missing main module (#32062)
* ci: add detailed Node compat test insights as Slack thread reply (#32080)
* fix(ext/node): unref child_process stdio streams by default (#32071)
* test: disable test-worker-fshandles-open-close-on-termination.js (#32079)
* fix: support loading `npm:` and `jsr:` specifiers in required ES modules (#31974)
* fix(ext/node): fix 'test-worker-process-{argv,env}.js' tests (#32065)
* fix(ext/otel): use correct severity for `console.trace` (#32068)
* fix(ext/node): validate execArgv and NODE_OPTIONS in worker_threads (#32066)
* fix(ext/node): emit error event for worker_threads terminal errors (#32052)
* fix(ext/node): add `worker.cpuUsage([prev])` API (#32050)
* fix(ext/node): propagate worker exit code from process.exit() (#32061)
* fix(ext/node): Fix `.only` tests compatibilty (#32043)
* chore: make approve_scripts tests less flaky (#32059)
* feat(upgrade): ability to verify zip archive against checksum (#31804)
* fix(ext/node): handle raw fd instead rid in isatty (#31912)
* feat(upgrade): add context to error messages for better troubleshooting (#32018)
* fix(ext/node): implement Symbol.asyncDispose for node Worker (#32051)
* feat(doc): support markdown files (#32024)
* fix: `deno info` npm subpath import (#32056)
* fix(node/crypto): randomBytes returns buffer with dedicated ArrayBuffer (#32048)
* fix: unstable_cron_socket_serve_reject flakiness caused by control socket coordination (#32053)
* fix(audit): make 'Path' property more readable (#32049)
* fix(ext/node): fix multiple node:zlib compatibility issues (#32039)
* fix(ext/node): add hasColors() to process.stdout and process.stderr (#31985)
* fix(ext/node): implement Node worker BroadcastChannel ref/unref (#32036)
* fix(ext/node): implement `DatabaseSync.setAuthorizer()` (#32009)
* fix(flags): extra trailing space in zsh directory completions (#32042)
* feat: Send reject-ack message through cron socket (#32035)
* fix(ext/node): add stub for ServerResponse.writeEarlyHints (#32029)
* fix(cli): pull in tunnel fix for windows (#32033)
* fix(ext/node): add zstd compression support to node:zlib (#32025)
* fix: add raw.esm.sh to default `--allow-import` list (#32030)
* chore: remove some top level entries from repo (#32022)
* fix: flaky cron socket tests (#32023)
* fix(ext/node): make `child_process` stdio streams Socket instances (#31975)
* fix: support DENO_SERVE_ADDRESS not being applied to the first server (#31982)
* fix: run on pre-Windows 10 version 1709 (#32002)
-------------------------------------------------------------------
Sat Feb 14 13:31:06 UTC 2026 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Add chromium-rust-toolchain.tar.xz. This was based from the python script
located at `tools/rust-toolchain.py` in rusty_v8.
-------------------------------------------------------------------
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
-------------------------------------------------------------------
Wed Sep 24 12:50:55 UTC 2025 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Update to version 2.5.0:
* chore: release deno_bundle_runtime (#30674)
* 2.5.0 (#30673)
* fix(lsp): auto-import dep entries from workspace member import maps (#30667)
* feat(bundle): support html entrypoint (#29856)
* fix(publish): unfurl import.meta.resolve calls (#30663)
* fix(dts): align crypto.getRandomValues in lib.deno_crypto.d.ts with lib.dom.d.ts and lib.webworker.d.ts (#30647)
* ci: disable symcache generation on Windows, part 4 (#30661)
* test: disable test-dgram-send-empty-buffer.js on mac (#30660)
* ci: disable symcache generation on Windows, part 3 (#30654)
* bench: disable type-checking std submodule (#30653)
* ci: disable symcache generation on Windows, part 2 (#30651)
* test: de-flake specs tests in `deno install` (#30645)
* chore: remove flake in permissions_audit_with_traces test (#30649)
* feat(ext/node): add sqlite-type symbol for DatabaseSync (#30511)
* feat(unstable): use Node.js `setTimeout` and `setInterval` (#29993)
* ci: disable symcache generation on Windows (#30646)
* chore: upgrade hickory-dns to 0.25.2 (#30582)
* feat(install): update warning for npm package build scripts (#30527)
* fix(ext/node): set socket.authorized to true for https request (#30641)
* feat: V8 14.0.0 (#30629)
* feat(BREAKING/fmt): prompt or require `deno fmt .` when providing no files and no config files discovered (#30623)
* fix(dts): specify the underlying buffer type in more places (#30640)
* feat: permission audit log (#30575)
* feat(install): refresh install report (#30615)
* fix(tests): Switch from --nocapture to --no-capture (#30638)
* fix(ext/node): readline line separators (#30630)
* fix(ext/node): `fs.mkdtemp` and `fs.mkdtempSync` compatibility (#30602)
* fix(lsp): import rewrites in moved file (#30628)
* fix(bundle): avoid cloning parsed source, restore owned transpile assertion (#30624)
* fix(unstable): make QuicListener yield QuicIncoming (#30150)
* fix(ext/node): fix hang induced by maxSockets bounds (#30622)
* fix(bundle): properly display error on invalid config in watch mode (#30621)
* fix(node): improve directory import error suggestion (#30619)
* fix(cache): cache and uninstall are package manager subcommands (#30613)
* feat(bundle): runtime API for deno bundle (#29949)
* fix(check): support "moduleResolution": "bundler" in compiler options (#30603)
* feat(cli): reload environment variables with `--watch` and `--env-file` (#30197)
* fix(ext/node): ignore Node.js' `--experimental-*` flags when spawning child process (#26351)
* fix(cli/run): resolve conflict when dir has same name as a task (#29538)
* feat(lint): no-unversioned-import rule (#30609)
* fix(ext/node): fs.symlink and fs.symlinkSync compatibility (#30555)
* fix(install/cache): better discovery for config file based on entrypoint (#30608)
* refactor(webgpu): make cppgc arguments safer (#30563)
* feat: `deno run` with no arguments prints list of available tasks (#30592)
* feat: TypeScript 5.9.2 (#30601)
* fix(ext/fetch): only uppercase known methods (#30290)
* feat(node): implement async hooks for nextTick TickObject tracking (#30578)
* feat(lint): no-import-prefix workspace rule (#30598)
* fix(types): specify `ArrayBuffer` as a backing buffer type for `Response.body` and `Response.bytes` (#30435)
* fix(types): specify `ArrayBuffer` as a backing buffer type for `TextEncoder.encode()` (#30434)
* feat(ext/fetch): Parse unix socket and vsock proxies from env var (#30377)
* fix(check): support "compilerOptions.rootDirs" in tsconfig (#30495)
* chore(deps): bump tracing-subscriber from 0.3.19 to 0.3.20 (#30565)
* feat(test): Add setup and teardown APIs to `Deno.test` API (#30504)
* feat: permissions in the config file (#30330)
* fix(check): don't ignore ambient declarations for existent files (#30591)
* feat(ext/process): add collector utilities to `ChildProcess.stdout` & `ChildProcess.stderr` (#30552)
* chore(test): add `reason` field to node compat test config (#30469)
* refactor: reorganize `tools/test` module (#30590)
* fix(ext/node): implement http.res.setHeaders (#30586)
* fix(ext/webgpu): add illegal constructor errors (#30500)
* fix(ext/node): path.relative compatibility (#30566)
* fix(ext/node): Readable adapter cancel semantics (#30526)
* fix(lsp): goto-type-definition for builtin on startup (#30499)
* fix(cli): support data urls in preload by not splitting on comma. (#30544)
* fix(init): use temp `node_modules` folders for `deno init --npm ...` (#30492)
* fix: upgrade to swc_ecma_parser 23 (#30564)
* feat(fmt): apply object spacing to import/export lines (#30371)
* refactor(permissions): remove `all` state in permissions (#30548)
* fix(ext/node): support JS underlying stream in TLS (#30465)
* feat(unstable): WebSocket headers field (#30321)
* fix(install): print install report on `add`, `cache`, and all `install` variants, move scripts and deprecation warnings after the report (#30549)
* feat: add `tcpBacklog` arg to `Deno.listen{Tls}` and `Deno.serve` (#30541)
* fix(install): don't try to re-symlink binaries in node_modules if the symlink is correct (#30546)
* fix(bundle): do not error on fallible dynamic imports/requires (#30522)
* fix(node): regression where Node fs APIs required elevated permissions on Windows (#30535)
* fix(ext/node): path.normalize compatibility (#30537)
* feat(npm): support `bundleDependencies` in npm dependencies (#30521)
* fix: add another space after warning symbol (#30482)
* fix(bundle): don't error when using npm package without bin as entrypoint (#30523)
* fix(unstable): support unstable-raw-imports when prewarmed (#30530)
* fix(ext/node): `fs.exists` and `fs.existsSync` compatibility (#30507)
* refactor: rename internal flag to --trace-ops (#30520)
* fix(node_resolver): incorrect resolution of `require("..")` (#30524)
* fix(install): force refresh if cannot find version (#30483)
* fix(ext/node): handle `null` keypair in tls connect (#30516)
* fix(ext/node): http.server.listen to handle signal option (#30515)
* chore: fix wpt_epoch CI (#30501)
* fix(napi): buffer finalizer is nullable (#30514)
* fix(ext/node): `fs.path`' `makelong` and `resolve` compatibility (#30503)
* fix(ext/node): `crypto.hkdfSync` returns wrong result for non-Uint8Array TypedArray inputs (#30463)
* feat: allow disable hostname verification in TLS (#30409)
* fix: pass npm process state when spawning script in npm package via Node APIs (#30490)
* fix(init): eliminate flickering progress bar (#30496)
* chore: mark inspector_does_not_hang test as flaky (#30493)
* fix: do not have duplicate progress bars for post install scripts (#30489)
* chore: make deprecation_warnings_no_repeat as flaky (#30491)
* chore(test): preserve node test fixtures line endings (#30488)
* chore: add test for top level return statement with unstable-detect-cjs (#30480)
* fix(npm): do not error on failure to write warned script file (#30479)
* refactor: remove WorkspaceDirectoryProvider (#30467)
-------------------------------------------------------------------
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> Sat Mar 8 03:08:09 UTC 2025 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
@@ -6043,4 +6419,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> Fri Dec 4 02:20:19 UTC 2020 - Avindra Goolcharan <avindra@opensuse.org>
- init pkg at v1.5.4 - init pkg at v1.5.4

View File

@@ -17,11 +17,11 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%global _lto_cflags %nil %global _lto_cflags %nil
%global _v8_version 134.4.0 %global _v8_version 145.0.0
%global _min_clang_version 19
Name: deno Name: deno
Version: 2.2.2 Version: 2.6.9
Release: 0 Release: 0
Summary: A secure JavaScript and TypeScript runtime Summary: A secure JavaScript and TypeScript runtime
License: MIT License: MIT
@@ -29,26 +29,27 @@ Group: Productivity/Other
URL: https://github.com/denoland/deno URL: https://github.com/denoland/deno
Source0: %{name}-%{version}.tar.zst Source0: %{name}-%{version}.tar.zst
Source1: registry.tar.zst Source1: registry.tar.zst
Source2: https://storage.googleapis.com/chromium-browser-clang/Linux_x64/rust-toolchain-a4cfac7093a1c1c7fbdb6bc75d6b6dc4d385fc69-2-llvmorg-22-init-17020-gbd1bd178.tar.xz#/chromium-rust-toolchain.tar.xz
BuildRequires: cargo-packaging BuildRequires: cargo-packaging
%if 0%{?suse_version} > 1600
BuildRequires: clang19
%else
BuildRequires: gcc
BuildRequires: gcc-c++
%endif
# needed by `libz-ng-sys` after 1.36.1 # needed by `libz-ng-sys` after 1.36.1
# see: https://build.opensuse.org/package/show/devel:languages:javascript/deno#comment-1808174 # see: https://build.opensuse.org/package/show/devel:languages:javascript/deno#comment-1808174
BuildRequires: cmake BuildRequires: cmake
BuildRequires: cargo >= 1.80 BuildRequires: cargo
BuildRequires: cargo-packaging
BuildRequires: fdupes
BuildRequires: gn BuildRequires: gn
BuildRequires: lld BuildRequires: rust-bindgen
BuildRequires: llvm BuildRequires: clang >= %{_min_clang_version}
BuildRequires: llvm-gold BuildRequires: clang-devel >= %{_min_clang_version}
BuildRequires: llvm >= %{_min_clang_version}
BuildRequires: llvm-devel >= %{_min_clang_version}
BuildRequires: lld >= %{_min_clang_version}
BuildRequires: ninja BuildRequires: ninja
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python3-base BuildRequires: python3-base
BuildRequires: zstd
BuildRequires: python3-base
BuildRequires: rusty_v8 = %{_v8_version} BuildRequires: rusty_v8 = %{_v8_version}
BuildRequires: zstd BuildRequires: zstd
BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glib-2.0)
@@ -57,6 +58,9 @@ BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(protobuf) BuildRequires: pkgconfig(protobuf)
ExclusiveArch: %{rust_tier1_arches} ExclusiveArch: %{rust_tier1_arches}
%ifarch ppc64 # wants g++ for some reason
BuildRequires: gcc-c++
%endif
# PATCH-FIX-OPENSUSE - Disable LTO (to reduce req memory) # PATCH-FIX-OPENSUSE - Disable LTO (to reduce req memory)
Patch10: deno-disable-lto.patch Patch10: deno-disable-lto.patch
@@ -104,30 +108,35 @@ Remote code is fetched and cached on first execution, and only
updated with the --reload flag. updated with the --reload flag.
%prep %prep
%autosetup -a1 -p1 -n %{name} %autosetup -a1 -p1
unlink rusty_v8 || true unlink rusty_v8 || true
ln -sf %{_libdir}/crates/rusty_v8/ $PWD/rusty_v8 mkdir -p $PWD/rusty_v8
cp -a %{_libdir}/crates/rusty_v8/. $PWD/rusty_v8/
mkdir -p $PWD/rusty_v8/third_party/rust-toolchain
tar xf %{SOURCE2} \
-C $PWD/rusty_v8/third_party/rust-toolchain
echo -e "\n[patch.crates-io]\nv8 = { path = './rusty_v8' }" >> Cargo.toml echo -e "\n[patch.crates-io]\nv8 = { path = './rusty_v8' }" >> Cargo.toml
%build %build
export CARGO_HOME="$PWD/.cargo" export CARGO_HOME="$PWD/.cargo"
# Ensure that the clang version matches. This command came from Archlinux. Thanks. # Ensure that the clang version matches. This command came from Archlinux. Thanks.
export CLANG_VERSION=$(clang --version | grep -m1 version | sed 's/.* \([0-9]\+\).*/\1/') export CLANG_VERSION=$(clang --version | grep -m1 version | sed 's/.* \([0-9]\+\).*/\1/')
export LIBCLANG_PATH=%{_libdir}
export V8_FROM_SOURCE=1 export V8_FROM_SOURCE=1
export CLANG_BASE_PATH=%{_prefix} export CLANG_BASE_PATH=%{_prefix}
%if 0%{?suse_version} > 1600
export CC=clang export CC=clang
export CXX=clang++ export CXX=clang++
export CFLAGS="%{optflags} -Wno-unknown-warning-option" export CFLAGS="%{optflags} -Wno-unknown-warning-option"
export CXXFLAGS="%{optflags} -Wno-unknown-warning-option" export CXXFLAGS="%{optflags} -Wno-unknown-warning-option"
%else
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
%endif
# https://www.chromium.org/developers/gn-build-configuration # 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" export RUSTC_SYSROOT=$(rustc --print sysroot)
export RUSTC_VERSION=$(rustc -V | cut -d' ' -f2)
export GN="/usr/bin/gn"
export NINJA="/usr/bin/ninja"
export RUSTC="/usr/bin/rustc"
export GN_ARGS="clang_version=${CLANG_VERSION} use_lld=true v8_symbol_level=0"
%{__cargo} update v8 --offline
%{cargo_build} %{cargo_build}
%install %install

Binary file not shown.