Accepting request 1225702 from devel:languages:javascript

- Update to version 2.1.1:
  * docs(cli/add): add clarification to add command
  * fix(node): regression where ts files were sometimes resolved instead of js
  * chore: update url + idna
  * fix(watch): don't panic if there's no path provided
  * fix: Buffer global in --unstable-node-globals
  * fix(cli): Fix typo in doc subcommand help output
  * fix(task): ensure root config always looks up dependencies in root
- Remove zeromq-update.patch
- Update to version 2.1.0:
  * docs: fix casing of Wasm
  * feat(init): add --npm flag to initialize npm projects
  * feat(task): workspace support with --filter and --recursive
  * feat(permission): support suffix wildcards in `--allow-env` flag
  * feat: subcommand to view and update outdated dependencies
  * chore: use forked sqlformat-rs
  * feat: permission stack traces in ops
  * feat(lint): Add checked files list to the JSON outpu
  * fix(fmt): formatting of .svelte files
  * feat(task): add --eval flag
  * fix(publish): improve error message when missing exports
  * feat(info): show location for Web Cache
  * fix(lockfile): track dependencies specified in TypeScript compiler options
  * feat(publish): add `--set-version <version>` flag
  * feat: Wasm module support
  * feat(compile): ability to embed directory in executable
  * feat(compile): ability to embed local data files
  * feat(fmt): support SQL
  * refactor: update deno_doc, use prismjs, remove internal reference html generation logic
  * fix(node): handle resolving ".//<something>" in npm packages
  * feat(task): dependencies
  * feat(ext/node): perf_hooks.monitorEventLoopDelay()
  * feat(ext/fetch): Make fetch client parameters configurable
  * feat(ext/http): Make http server parameters configurable
  * fix(node/crypto): support promisify on generateKeyPair
  * feat(runtime): remove public OTEL trace API
  * feat: fmt and lint respect .gitignore file
  * fix(lsp): ignore editor indent settings if deno.json is present
  * perf(windows): delay load webgpu and some other dlls
  * perf(compile): code cache
  * chore: temporarily disable dns tests for Node compat
  * feat(cli): support multiple env file argument
  * chore: Make ext/net/tcp.rs public
  * fix(ext/webgpu): Create GPUQuerySet converter before usage 
  * chore: reenable some tests disabled during Deno 1->2 migration
  * fix(ext/node): increase tolerance for interval test
  * feat(jupyter): Add `Deno.jupyter.image` API
  * fix(ext/node): New async setInterval function to improve the nodejs compatibility
  * feat(watch): log which file changed on HMR or watch change
  * fix(ext/cache): gracefully error when cache creation failed
  * fix(cli): show prefix hint when installing a package globally
  * feat(task): support object notation, remove support for JSDocs
  * refactor: use boxed_error in some places
  * fix: update message for unsupported schemes with npm and jsr
  * feat(fetch): accept async iterables for body
  * feat(lsp): auto-imports with @deno-types directives
  * feat(ext/fetch): allow embedders to use `hickory_dns_resolver` instead of default `GaiResolver`
  * perf: use available system memory for v8 isolate memory limit
  * chore: remove some unused tests
  * refactor(resolver): move more resolution code into deno_resolver
  * feat(cli): add `--unstable-node-globals` flag
  * fix: otel resiliency
  * chore: upgrade runtimelib (jupyter) to 0.19
  * fix(cli): preserve comments in doc tests
  * fix(fmt): error instead of panic on unstable format
  * feat(node): stabilize detecting if CJS via `"type": "commonjs"` in a package.json
  * fix(ext/node): zlib.crc32()
  * fix(ext/node): use ERR_NOT_IMPLEMENTED for notImplemented
  * chore: update denokv_*
  * feat: upgrade V8 to 13.0
  * feat: OpenTelemetry Tracing API and Exporting
  * feat(ext/fs): add ctime to Deno.stats and use it in node compat layer
  * fix(ext/node): process.getBuiltinModule
  * fix(permissions): say to use --allow-run instead of --allow-all
  * chore:  make fields public on `PermissionDeniedError` and `deno_kv::KvConfig`
  * fix(install): re-setup bin entries after running lifecycle scripts
  * chore: update zeromq to 0.4.1
  * fix(ext/node): handle `--allow-sys=inspector`
  * fix(lsp): skip code action edits that can't be converted
  * fix(ext/websocket): initialize `error` attribute of WebSocket ErrorEvent
  * fix(ext/node): add autoSelectFamily option to net.createConnection
  * fix(ext/http): prefer brotli for `accept-encoding: gzip, deflate, br, zstd`
  * test(ext/node): prevent running the same test cases twice
  * fix(ext/webstorage): use error class for sqlite error case
  * chore: forward v2.0.6 release commit to main
  * Revert "perf(upgrade): cache downloaded binaries in DENO_DIR"
  * perf(upgrade): cache downloaded binaries in DENO_DIR
  * fix: performance.timeOrigin
  * fix(install): cache jsr deps from all workspace config files
  * feat(ext/http): abort event when request is cancelled
  * fix(ext/cache): don't panic when creating cache
  * chore: make commandWithCwdIsAsync test less flaky
  * feat(ext/http): abort signal when request is cancelled
  * chore: serve node headers from a test server to fix flaky `node-gyp` test
  * refactor: use concrete error type for remaining ops
  * refactor(ext/net): Use hickory dns instead of unmaintained trust-dns
  * fix(node:zlib): gzip & gzipSync should accept ArrayBuffer
  * fix(ext/node): better inspector support
  * fix(fmt): don't use self-closing tags in HTML
  * feat(lsp): auto-import completions from byonm dependencies
  * chore: forward v2.0.5 release commit to main
  * chore: upgrade publish workflow to ubuntu 24
  * fix: panic_hook hangs without procfs
  * chore: deprecate run itests
  * fix(install): handle invalid function error, and fallback to junctions regardless of the error
  * fix: op_run_microtasks crash
  * fix(add): better error message when adding package that only has pre-release versions
  * chore: fix serve_watch_all test
  * ci: use self-hosted mac arm runner for building on tags
  * fix(workspace): support wildcard packages
  * fix(ext/node): add `findSourceMap` to the default export of `node:module`
  * fix(fmt): do not panic for jsx ignore container followed by jsx text
  * fix(lsp): scope attribution for lazily loaded assets
  * fix(types): missing `import` permission on `PermissionOptionsObject`
  * fix(fmt): ignore file directive for YAML files
  * refactor(runtime/permissions): use concrete error types
  * chore: update dlint to v0.68.0 for internal
  * perf(lsp): don't walk coverage directory
  * fix(add): only add npm deps to package.json if it's at least as close as deno.json
  * fix: improved support for cjs and cts modules
  * chore: upgrade to rust 1.82 and LLVM 19
  * fix(cli): set `npm_config_user_agent` when running npm packages or tasks
  * fix(node): Implement `os.userInfo` properly, add missing `toPrimitive`
  * fix(ext/node): resolve exports even if parent module filename isn't present
  * fix(ext/node): convert errors from `fs.readFile/fs.readFileSync` to node format
  * fix: surface package.json location on dep parse failure
  * fix(coverage): exclude comment lines from coverage reports
  * fix(fmt): fix several HTML and components issues
  * fix(lsp): include unstable features from editor settings
  * fix: clamp smi in fast calls by default
  * fix: remove permission check in op_require_node_module_paths
  * fix(ext/node): return `this` from `http.Server.ref/unref()`
  * fix(serve): support serve hmr
  * docs(console): Update docstrings for install and uninstall
  * chore: forward v2.0.4 release commit to main
  * fix(install): percent encodings in interactive progress bar
  * fix: support watch flag to enable watching other files than the main module on serve subcommand
  * Revert "fix(ext/node): fix dns.lookup result ordering"
  * fix(ext/napi): export dynamic symbols list for {Free,Open}BSD
  * fix(ext/node): compatibility with {Free,Open}BSD
  * refactor(init): inline routing in deno init --serve template
  * Revert "fix(ext/node): use primordials in `ext/node/polyfills/https.ts`"
  * fix: provide hints in terminal errors for Node.js globals
  * fix(check): expose more globals from @types/node
  * fix: report exceptions from nextTick
  * fix(compile): regression handling redirects
  * fix(npm): match npm bearer token generation
  * fix: do not panic when failing to write to http cache
  * fix(ext/node): add path to `fs.stat` and `fs.statSync` error
  * fix(watch): don't panic on invalid file specifiers
  * docs(readme): Add winget instructions
  * fix(cli): Make --watcher CLEAR_SCREEN clear scrollback buffer as well as visible screen
  * fix(ext/node): use primordials in ext\node\polyfills\internal\crypto\_randomInt.ts
  * perf: pass transpiled module to deno_core as known string
  * fix(lsp): make missing import action fix infallible
  * fix(install): cache json exports of JSR packages
  * fix(upgrade): stop running `deno lsp` processes on windows before attempting to replace executable
  * fix(check): ignore resolving `jsxImportSource` when jsx is not used in graph
  * fix(install): regression - do not panic when config file contains \r\n newlines
  * feat(lsp): "typescript.preferences.preferTypeOnlyAutoImports" setting
  * chore: forward v2.0.3 commit to main
  * build: use 'fs' feature of 'nix' crate in ext/fs
  * fix(install): don't cache json exports of JSR packages (for now)
  * chore: remove print debugging from test server
  * fix(ext/node): refactor http.ServerResponse into function class
  * bench: remove http benchmarks
  * fix: add 'fmt-component' to unstable features in schema file
  * perf(compile): pass module source data from binary directly to v8
  * fix(fmt): --ext flag requires to pass files
  * fix: `.npmrc` settings not being passed to install/add command
  * refactor(ext/node): use concrete error types
  * Revert "fix(runtime): send ws ping frames from inspector server (#263…
  * fix(config): schemas for lint rule and tag autocompletion
  * fix(node/util): support array formats in `styleText`
  * feat: support node-api in denort
  * fix(ext/node): cancel pending ipc writes on channel close
  * fix(ext/node): only set our end of child process pipe to nonblocking mode
  * fix(ext/ffi): return u64/i64 as bigints from nonblocking ffi calls
  * fix(install): cache all exports of JSR packages listed in `deno.json`
  * fix(install): cache type only module deps in `deno install`
  * fix(node:tls): set TLSSocket.alpnProtocol for client connections
  * fix: share inotify fd across watchers
  * fix(ext/node): map `ERROR_INVALID_NAME` to `ENOENT` on windows
  * fix(check): support `--frozen` on deno check
  * refactor: add 'docs' suggestion
  * fix(cli): increase size of blocking task threadpool on windows
  * fix: unpin tokio version
  * fix(fmt): upgrade formatters
  * fix(ext/console): ignore casing for named colors in css parsing
  * refactor(runtime/ops): use concrete error types
  * fix(install): update lockfile when using package.json
  * fix(lsp): import-map-remap quickfix for type imports
  * fix(npm): support version ranges with && or comma
  * fix(install): better json editing
  * feat(lsp): interactive inlay hints
  * fix(ext/node): use primordials in `ext/node/polyfills/https.ts`
  * chore: update nix crate
  * chore: update release doc template
  * perf: avoid multiple calls to runMicrotask
  * refactor(ext/webgpu): use concrete error type
  * refactor(ext/fetch): use concrete error types
  * Revert "ci: use self-hosted mac arm runner"
  * refactor(ext/http): use concrete error types
  * refactor(ext/crypto): use concrete error types
  * ci: use self-hosted mac arm runner
  * fix(ext/node): stub HTTPParser internal binding
  * fix(info): resolve workspace member mappings
  * refactor(ext/websocket): use concrete error type
  * fix(npm): ensure scoped package name is encoded in URLs
  * fix(ext/node): properly map reparse point error in readlink
  * refactor(ext/fs): use concrete error types
  * fix(help): missing package specifier
  * chore: forward v2.0.2 release commit to main
  * fix(ext/node): add null check for kStreamBaseField
  * fix(jupyter): fix panics for overslow subtraction
  * fix(install): don't attempt to cache specifiers that point to directories
  * chore: fix flaky COPYFILE_EXCL test
  * refactor(ext/napi): use concrete error types
  * fix(node/fs): copyFile with `COPYFILE_EXCL` should not throw if the destination doesn't exist
  * refactor(ext/web): use concrete error types
  * feat(permissions): expose PromptResponse
  * refactor(ext/kv): use concrete error type
  * refactor(ext/net): use concrete error type
  * feat(permissions): expose PermissionPrompter and set_prompter function
  * fix(runtime): send ws ping frames from inspector server
  * fix(jupyter): update to the new logo
  * refactor: use macros for signal table
  * fix(cli): set napi object property properly
  * fix(net): don't try to set nodelay on upgrade streams
  * fix: don't warn on ignored signals on windows
  * fix(node/http): normalize header names in `ServerResponse` (#26339)
- Update all dependencies
  * Seems not all deps have migrated to 1.82 of rust :)
- Precisely update only one crate dependency for registry.tar.zst
- Remove deno-v8-arm.patch
- Update specfile and sources
  * remove compiler-rt-adjust-paths.patch
  * remove rusty_v8-0.106.0.tar.zst
  * revert back to old build logic we have before in deno.spec
  * revert back _service to old service file
- Use gcc for non-tumbleweed images. This will not work all the time.
- Remove command to remove config.toml in specfile

OBS-URL: https://build.opensuse.org/request/show/1225702
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deno?expand=0&rev=56
This commit is contained in:
Ana Guerrero 2024-11-24 10:04:10 +00:00 committed by Git OBS Bridge
commit 01aa69c85f
12 changed files with 308 additions and 122 deletions

View File

@ -8,40 +8,24 @@
<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.0.6</param>
<param name="revision">v2.1.1</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="obs_scm" mode="manual">
<param name="url">https://github.com/denoland/rusty_v8</param>
<param name="scm">git</param>
<param name="revision">v0.106.0</param>
<param name="version">0.106.0</param>
<param name="exclude">.git</param>
<param name="exclude">.github</param>
<param name="exclude">.gitignore</param>
<param name="exclude">.prettierrc.json</param>
<param name="exclude">.rustfmt.toml</param>
</service>
<service name="cargo_vendor" mode="manual">
<param name="update">true</param>
<param name="respect-lockfile">false</param>
<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.0.6.tar.zst</param>
<param name="preserve-root">true</param>
<param name="reproducible">true</param>
</service>
<service name="roast" mode="manual">
<param name="target">rusty_v8</param>
<param name="outfile">rusty_v8-0.106.0.tar.zst</param>
<param name="outfile">deno-2.1.1.tar.zst</param>
<param name="preserve-root">true</param>
<param name="reproducible">true</param>
</service>
</services>

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/denoland/deno</param>
<param name="changesrevision">8f59d18202e94e5c54ad7e5a79ec1383159e4a20</param></service></servicedata>
<param name="changesrevision">5d71b461530f7c374c08701cef5678a5a4ac5484</param></service></servicedata>

View File

@ -1,33 +0,0 @@
diff --git a/build/config/clang/BUILD.gn b/build/config/clang/BUILD.gn
index fcca59b0f..fdf14f306 100644
--- a/rusty_v8/build/config/clang/BUILD.gn
+++ b/rusty_v8/build/config/clang/BUILD.gn
@@ -192,12 +192,15 @@ template("clang_lib") {
} else if (is_linux || is_chromeos) {
if (current_cpu == "x64") {
_dir = "x86_64-unknown-linux-gnu"
+ _suffix = "-x86_64"
} else if (current_cpu == "x86") {
_dir = "i386-unknown-linux-gnu"
+ _suffix = "-i386"
} else if (current_cpu == "arm") {
_dir = "armv7-unknown-linux-gnueabihf"
} else if (current_cpu == "arm64") {
_dir = "aarch64-unknown-linux-gnu"
+ _suffix = "-aarch64"
} else {
assert(false) # Unhandled cpu type
}
@@ -228,6 +231,11 @@ template("clang_lib") {
assert(false) # Unhandled target platform
}
+ # Bit of a hack to make this find builtins from compiler-rt >= 16
+ if (is_linux || is_chromeos) {
+ _dir = "linux"
+ }
+
_clang_lib_dir = "$clang_base_path/lib/clang/$clang_version/lib"
_lib_file = "${_prefix}clang_rt.${_libname}${_suffix}.${_ext}"
libs = [ "$_clang_lib_dir/$_dir/$_lib_file" ]

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:53e51c081706056cf849454d618c6593e3306e77cc578cf6818194510be19d65
size 99521336

3
deno-2.1.1.tar.zst Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:490dcd680e56762d60d1a8cd013c640d05d358e10324f4d7d6e47d0be92669eb
size 100020797

View File

@ -1,23 +0,0 @@
--- a/rusty_v8/build.rs.orig 2024-06-27 14:26:40.281226961 +0200
+++ b/rusty_v8/build.rs 2024-06-27 14:28:10.388618455 +0200
@@ -200,16 +200,12 @@ fn build_v8(is_asan: bool) {
// cross-compilation setup
if target_arch == "aarch64" {
gn_args.push(r#"target_cpu="arm64""#.to_string());
- gn_args.push("use_sysroot=true".to_string());
- maybe_install_sysroot("arm64");
- maybe_install_sysroot("amd64");
+ gn_args.push("use_sysroot=false".to_string());
}
if target_arch == "arm" {
gn_args.push(r#"target_cpu="arm""#.to_string());
gn_args.push(r#"v8_target_cpu="arm""#.to_string());
- gn_args.push("use_sysroot=true".to_string());
- maybe_install_sysroot("i386");
- maybe_install_sysroot("arm");
+ gn_args.push("use_sysroot=false".to_string());
}
let target_triple = env::var("TARGET").unwrap();

View File

@ -1,3 +1,277 @@
-------------------------------------------------------------------
Fri Nov 22 02:36:21 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Update to version 2.1.1:
* docs(cli/add): add clarification to add command
* fix(node): regression where ts files were sometimes resolved instead of js
* chore: update url + idna
* fix(watch): don't panic if there's no path provided
* fix: Buffer global in --unstable-node-globals
* fix(cli): Fix typo in doc subcommand help output
* fix(task): ensure root config always looks up dependencies in root
-------------------------------------------------------------------
Fri Nov 22 02:00:51 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Remove zeromq-update.patch
-------------------------------------------------------------------
Fri Nov 22 00:48:35 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Update to version 2.1.0:
* docs: fix casing of Wasm
* feat(init): add --npm flag to initialize npm projects
* feat(task): workspace support with --filter and --recursive
* feat(permission): support suffix wildcards in `--allow-env` flag
* feat: subcommand to view and update outdated dependencies
* chore: use forked sqlformat-rs
* feat: permission stack traces in ops
* feat(lint): Add checked files list to the JSON outpu
* fix(fmt): formatting of .svelte files
* feat(task): add --eval flag
* fix(publish): improve error message when missing exports
* feat(info): show location for Web Cache
* fix(lockfile): track dependencies specified in TypeScript compiler options
* feat(publish): add `--set-version <version>` flag
* feat: Wasm module support
* feat(compile): ability to embed directory in executable
* feat(compile): ability to embed local data files
* feat(fmt): support SQL
* refactor: update deno_doc, use prismjs, remove internal reference html generation logic
* fix(node): handle resolving ".//<something>" in npm packages
* feat(task): dependencies
* feat(ext/node): perf_hooks.monitorEventLoopDelay()
* feat(ext/fetch): Make fetch client parameters configurable
* feat(ext/http): Make http server parameters configurable
* fix(node/crypto): support promisify on generateKeyPair
* feat(runtime): remove public OTEL trace API
* feat: fmt and lint respect .gitignore file
* fix(lsp): ignore editor indent settings if deno.json is present
* perf(windows): delay load webgpu and some other dlls
* perf(compile): code cache
* chore: temporarily disable dns tests for Node compat
* feat(cli): support multiple env file argument
* chore: Make ext/net/tcp.rs public
* fix(ext/webgpu): Create GPUQuerySet converter before usage
* chore: reenable some tests disabled during Deno 1->2 migration
* fix(ext/node): increase tolerance for interval test
* feat(jupyter): Add `Deno.jupyter.image` API
* fix(ext/node): New async setInterval function to improve the nodejs compatibility
* feat(watch): log which file changed on HMR or watch change
* fix(ext/cache): gracefully error when cache creation failed
* fix(cli): show prefix hint when installing a package globally
* feat(task): support object notation, remove support for JSDocs
* refactor: use boxed_error in some places
* fix: update message for unsupported schemes with npm and jsr
* feat(fetch): accept async iterables for body
* feat(lsp): auto-imports with @deno-types directives
* feat(ext/fetch): allow embedders to use `hickory_dns_resolver` instead of default `GaiResolver`
* perf: use available system memory for v8 isolate memory limit
* chore: remove some unused tests
* refactor(resolver): move more resolution code into deno_resolver
* feat(cli): add `--unstable-node-globals` flag
* fix: otel resiliency
* chore: upgrade runtimelib (jupyter) to 0.19
* fix(cli): preserve comments in doc tests
* fix(fmt): error instead of panic on unstable format
* feat(node): stabilize detecting if CJS via `"type": "commonjs"` in a package.json
* fix(ext/node): zlib.crc32()
* fix(ext/node): use ERR_NOT_IMPLEMENTED for notImplemented
* chore: update denokv_*
* feat: upgrade V8 to 13.0
* feat: OpenTelemetry Tracing API and Exporting
* feat(ext/fs): add ctime to Deno.stats and use it in node compat layer
* fix(ext/node): process.getBuiltinModule
* fix(permissions): say to use --allow-run instead of --allow-all
* chore: make fields public on `PermissionDeniedError` and `deno_kv::KvConfig`
* fix(install): re-setup bin entries after running lifecycle scripts
* chore: update zeromq to 0.4.1
* fix(ext/node): handle `--allow-sys=inspector`
* fix(lsp): skip code action edits that can't be converted
* fix(ext/websocket): initialize `error` attribute of WebSocket ErrorEvent
* fix(ext/node): add autoSelectFamily option to net.createConnection
* fix(ext/http): prefer brotli for `accept-encoding: gzip, deflate, br, zstd`
* test(ext/node): prevent running the same test cases twice
* fix(ext/webstorage): use error class for sqlite error case
* chore: forward v2.0.6 release commit to main
* Revert "perf(upgrade): cache downloaded binaries in DENO_DIR"
* perf(upgrade): cache downloaded binaries in DENO_DIR
* fix: performance.timeOrigin
* fix(install): cache jsr deps from all workspace config files
* feat(ext/http): abort event when request is cancelled
* fix(ext/cache): don't panic when creating cache
* chore: make commandWithCwdIsAsync test less flaky
* feat(ext/http): abort signal when request is cancelled
* chore: serve node headers from a test server to fix flaky `node-gyp` test
* refactor: use concrete error type for remaining ops
* refactor(ext/net): Use hickory dns instead of unmaintained trust-dns
* fix(node:zlib): gzip & gzipSync should accept ArrayBuffer
* fix(ext/node): better inspector support
* fix(fmt): don't use self-closing tags in HTML
* feat(lsp): auto-import completions from byonm dependencies
* chore: forward v2.0.5 release commit to main
* chore: upgrade publish workflow to ubuntu 24
* fix: panic_hook hangs without procfs
* chore: deprecate run itests
* fix(install): handle invalid function error, and fallback to junctions regardless of the error
* fix: op_run_microtasks crash
* fix(add): better error message when adding package that only has pre-release versions
* chore: fix serve_watch_all test
* ci: use self-hosted mac arm runner for building on tags
* fix(workspace): support wildcard packages
* fix(ext/node): add `findSourceMap` to the default export of `node:module`
* fix(fmt): do not panic for jsx ignore container followed by jsx text
* fix(lsp): scope attribution for lazily loaded assets
* fix(types): missing `import` permission on `PermissionOptionsObject`
* fix(fmt): ignore file directive for YAML files
* refactor(runtime/permissions): use concrete error types
* chore: update dlint to v0.68.0 for internal
* perf(lsp): don't walk coverage directory
* fix(add): only add npm deps to package.json if it's at least as close as deno.json
* fix: improved support for cjs and cts modules
* chore: upgrade to rust 1.82 and LLVM 19
* fix(cli): set `npm_config_user_agent` when running npm packages or tasks
* fix(node): Implement `os.userInfo` properly, add missing `toPrimitive`
* fix(ext/node): resolve exports even if parent module filename isn't present
* fix(ext/node): convert errors from `fs.readFile/fs.readFileSync` to node format
* fix: surface package.json location on dep parse failure
* fix(coverage): exclude comment lines from coverage reports
* fix(fmt): fix several HTML and components issues
* fix(lsp): include unstable features from editor settings
* fix: clamp smi in fast calls by default
* fix: remove permission check in op_require_node_module_paths
* fix(ext/node): return `this` from `http.Server.ref/unref()`
* fix(serve): support serve hmr
* docs(console): Update docstrings for install and uninstall
* chore: forward v2.0.4 release commit to main
* fix(install): percent encodings in interactive progress bar
* fix: support watch flag to enable watching other files than the main module on serve subcommand
* Revert "fix(ext/node): fix dns.lookup result ordering"
* fix(ext/napi): export dynamic symbols list for {Free,Open}BSD
* fix(ext/node): compatibility with {Free,Open}BSD
* refactor(init): inline routing in deno init --serve template
* Revert "fix(ext/node): use primordials in `ext/node/polyfills/https.ts`"
* fix: provide hints in terminal errors for Node.js globals
* fix(check): expose more globals from @types/node
* fix: report exceptions from nextTick
* fix(compile): regression handling redirects
* fix(npm): match npm bearer token generation
* fix: do not panic when failing to write to http cache
* fix(ext/node): add path to `fs.stat` and `fs.statSync` error
* fix(watch): don't panic on invalid file specifiers
* docs(readme): Add winget instructions
* fix(cli): Make --watcher CLEAR_SCREEN clear scrollback buffer as well as visible screen
* fix(ext/node): use primordials in ext\node\polyfills\internal\crypto\_randomInt.ts
* perf: pass transpiled module to deno_core as known string
* fix(lsp): make missing import action fix infallible
* fix(install): cache json exports of JSR packages
* fix(upgrade): stop running `deno lsp` processes on windows before attempting to replace executable
* fix(check): ignore resolving `jsxImportSource` when jsx is not used in graph
* fix(install): regression - do not panic when config file contains \r\n newlines
* feat(lsp): "typescript.preferences.preferTypeOnlyAutoImports" setting
* chore: forward v2.0.3 commit to main
* build: use 'fs' feature of 'nix' crate in ext/fs
* fix(install): don't cache json exports of JSR packages (for now)
* chore: remove print debugging from test server
* fix(ext/node): refactor http.ServerResponse into function class
* bench: remove http benchmarks
* fix: add 'fmt-component' to unstable features in schema file
* perf(compile): pass module source data from binary directly to v8
* fix(fmt): --ext flag requires to pass files
* fix: `.npmrc` settings not being passed to install/add command
* refactor(ext/node): use concrete error types
* Revert "fix(runtime): send ws ping frames from inspector server (#263…
* fix(config): schemas for lint rule and tag autocompletion
* fix(node/util): support array formats in `styleText`
* feat: support node-api in denort
* fix(ext/node): cancel pending ipc writes on channel close
* fix(ext/node): only set our end of child process pipe to nonblocking mode
* fix(ext/ffi): return u64/i64 as bigints from nonblocking ffi calls
* fix(install): cache all exports of JSR packages listed in `deno.json`
* fix(install): cache type only module deps in `deno install`
* fix(node:tls): set TLSSocket.alpnProtocol for client connections
* fix: share inotify fd across watchers
* fix(ext/node): map `ERROR_INVALID_NAME` to `ENOENT` on windows
* fix(check): support `--frozen` on deno check
* refactor: add 'docs' suggestion
* fix(cli): increase size of blocking task threadpool on windows
* fix: unpin tokio version
* fix(fmt): upgrade formatters
* fix(ext/console): ignore casing for named colors in css parsing
* refactor(runtime/ops): use concrete error types
* fix(install): update lockfile when using package.json
* fix(lsp): import-map-remap quickfix for type imports
* fix(npm): support version ranges with && or comma
* fix(install): better json editing
* feat(lsp): interactive inlay hints
* fix(ext/node): use primordials in `ext/node/polyfills/https.ts`
* chore: update nix crate
* chore: update release doc template
* perf: avoid multiple calls to runMicrotask
* refactor(ext/webgpu): use concrete error type
* refactor(ext/fetch): use concrete error types
* Revert "ci: use self-hosted mac arm runner"
* refactor(ext/http): use concrete error types
* refactor(ext/crypto): use concrete error types
* ci: use self-hosted mac arm runner
* fix(ext/node): stub HTTPParser internal binding
* fix(info): resolve workspace member mappings
* refactor(ext/websocket): use concrete error type
* fix(npm): ensure scoped package name is encoded in URLs
* fix(ext/node): properly map reparse point error in readlink
* refactor(ext/fs): use concrete error types
* fix(help): missing package specifier
* chore: forward v2.0.2 release commit to main
* fix(ext/node): add null check for kStreamBaseField
* fix(jupyter): fix panics for overslow subtraction
* fix(install): don't attempt to cache specifiers that point to directories
* chore: fix flaky COPYFILE_EXCL test
* refactor(ext/napi): use concrete error types
* fix(node/fs): copyFile with `COPYFILE_EXCL` should not throw if the destination doesn't exist
* refactor(ext/web): use concrete error types
* feat(permissions): expose PromptResponse
* refactor(ext/kv): use concrete error type
* refactor(ext/net): use concrete error type
* feat(permissions): expose PermissionPrompter and set_prompter function
* fix(runtime): send ws ping frames from inspector server
* fix(jupyter): update to the new logo
* refactor: use macros for signal table
* fix(cli): set napi object property properly
* fix(net): don't try to set nodelay on upgrade streams
* fix: don't warn on ignored signals on windows
* fix(node/http): normalize header names in `ServerResponse` (#26339)
-------------------------------------------------------------------
Sat Nov 16 04:36:40 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Update all dependencies
* Seems not all deps have migrated to 1.82 of rust :)
-------------------------------------------------------------------
Sat Nov 16 02:25:38 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Precisely update only one crate dependency for registry.tar.zst
-------------------------------------------------------------------
Tue Nov 12 02:49:45 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Remove deno-v8-arm.patch
-------------------------------------------------------------------
Tue Nov 12 02:45:19 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Update specfile and sources
* remove compiler-rt-adjust-paths.patch
* remove rusty_v8-0.106.0.tar.zst
* revert back to old build logic we have before in deno.spec
* revert back _service to old service file
- Use gcc for non-tumbleweed images. This will not work all the time.
-------------------------------------------------------------------
Mon Nov 11 12:03:43 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>
- Remove command to remove config.toml in specfile
-------------------------------------------------------------------
Mon Nov 11 02:12:08 UTC 2024 - Soc Virnyl Estela <uncomfyhalomacro@opensuse.org>

View File

@ -1,4 +1,4 @@
name: deno
version: 2.0.6
mtime: 1731213491
commit: 8f59d18202e94e5c54ad7e5a79ec1383159e4a20
version: 2.1.1
mtime: 1732210100
commit: 5d71b461530f7c374c08701cef5678a5a4ac5484

View File

@ -19,9 +19,9 @@
%global _lto_cflags %nil
%global _v8_version 0.106.0
%global _v8_version 130.0.1
Name: deno
Version: 2.0.6
Version: 2.1.1
Release: 0
Summary: A secure JavaScript and TypeScript runtime
License: MIT
@ -29,12 +29,15 @@ Group: Productivity/Other
URL: https://github.com/denoland/deno
Source0: %{name}-%{version}.tar.zst
Source1: registry.tar.zst
Source2: rusty_v8-%{_v8_version}.tar.zst
Patch1: compiler-rt-adjust-paths.patch
Patch2: deno-v8-arm.patch
Patch3: zeromq-update.patch
BuildRequires: cargo-packaging
BuildRequires: clang
%if 0%{?suse_version} > 1600
BuildRequires: clang19
%else
BuildRequires: gcc
BuildRequires: gcc-c++
%endif
# needed by `libz-ng-sys` after 1.36.1
# see: https://build.opensuse.org/package/show/devel:languages:javascript/deno#comment-1808174
BuildRequires: cmake
@ -46,6 +49,7 @@ BuildRequires: llvm-gold
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: rusty_v8 = %{_v8_version}
BuildRequires: zstd
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gmodule-2.0)
@ -100,22 +104,11 @@ Remote code is fetched and cached on first execution, and only
updated with the --reload flag.
%prep
%autosetup -a2 -p1 -n %{name}
%autosetup -a1 -p1 -n %{name}
# Extract vendor source
tar xf %{SOURCE1}
# Now we patch V8 or %%{SOURCE2}
unlink rusty_v8 || true
ln -sf %{_libdir}/crates/rusty_v8/ $PWD/rusty_v8
echo -e "\n[patch.crates-io]\nv8 = { path = './rusty_v8' }" >> Cargo.toml
pushd rusty_v8
# Keeping this ifarch in case someone tries to build 32 bit
# which is not our problem
%ifarch x86_64 || x86_64_v3 || aarch64
# lib to lib64
sed -i 's|lib/clang|lib64/clang|g' build/config/clang/BUILD.gn
%endif
popd
# Seems this causes builds to break?
rm .cargo/config.toml
%build
export CARGO_HOME="$PWD/.cargo"
@ -123,10 +116,16 @@ 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
export CC=clang
export CXX=clang++
export CFLAGS="%{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
export GN_ARGS="clang_version=${CLANG_VERSION} use_lld=true enable_nacl = false blink_symbol_level = 0 v8_symbol_level = 0"
%{cargo_build}

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24a39a7e03dc6c7049371bb6b9a6fec546e2d506c69828300fb90df0859151d6
size 145061553
oid sha256:beefaf9fe6334eaab74d0be689ebe6c7d5e985bbd6f44ff2b192aba49c821320
size 140527785

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4bbdc154daf89cabfa796298714f20bf5df5ad8c238e774be0cd7f2979c2c79b
size 62136047

View File

@ -1,12 +0,0 @@
--- a/Cargo.toml.orig 2024-11-11 10:00:21.627172910 +0800
+++ b/Cargo.toml 2024-11-11 10:00:28.567190380 +0800
@@ -204,7 +204,7 @@
webpki-roots = "0.26"
which = "4.2.5"
yoke = { version = "0.7.4", features = ["derive"] }
-zeromq = { version = "=0.4.0", default-features = false, features = ["tcp-transport", "tokio-runtime"] }
+zeromq = { version = "=0.4.1", default-features = false, features = ["tcp-transport", "tokio-runtime"] }
zstd = "=0.12.4"
# crypto