Skip to content

Update dependency denoland/deno to v1.26.2

Kenichi Kamiya requested to merge renovate/denoland-deno-1.x into main

This MR contains the following updates:

Package Update Change
denoland/deno minor 1.25.0 -> 1.26.2

Release Notes

denoland/deno

v1.26.2

Compare Source

  • feat(core): Reorder extension initialization (#​16136)
  • feat(core): add Deno.core.writeAll(rid, chunk) (#​16228)
  • feat(core): improve resource read & write traits (#​16115)
  • feat(unstable): add windowsRawArguments to SpawnOptions (#​16319)
  • feat(unstable/npm): support providing npm dist-tag in npm package specifier (#​16293)
  • feat(unstable/task): add INIT_CWD env var (#​16110)
  • fix sparse array inspection (#​16204)
  • fix(build) fix linux symbols export list format (#​16313)
  • fix(cli): allow importMap to be an absolute URL within the deno config file (#​16234)
  • fix(cli): skip removing the latter part if @ appears at the beginning (#​16244)
  • fix(cli/bench): skip strace table border (#​16310)
  • fix(docs): Documentation improvements related to JsRealm. (#​16247)
  • fix(ext/cache): illegal constructor (#​16205)
  • fix(ext/crypto): correct HMAC get key length op (#​16201)
  • fix(ext/fetch): fix illegal header regex (#​16236)
  • fix(ext/fetch): reject immediately on aborted signal (#​16190)
  • fix(ext/fetch): set accept-encoding: identity if range header is present (#​16197)
  • fix(ext/fetch): support empty formdata (#​16165)
  • fix(ext/fetch): throw TypeError on non-Uint8Array chunk (#​16262)
  • fix(ext/fetch): throw TypeError on read failure (#​16219)
  • fix(ext/ffi): Fix UnsafeCallback ref'ing making Deno enter a live-loop (#​16216)
  • fix(ext/ffi): Fix usize and isize FFI callback parameters missing match arm (#​16172)
  • fix(ext/ffi): Invalid 'function' return type check logic, remove U32x2 as unnecessary (#​16259)
  • fix(ext/web/streams): enqueue to second branch before closing (#​16269)
  • fix(ext/web/streams): resolve cancelPromise in ReadableStreamTee (#​16266)
  • fix(ext/websocket): panic on no next ws message from an already closed stream (#​16004)
  • fix(lsp): properly handle snippets on completions (#​16274)
  • fix(lsp): treat empty import map value config as none (#​16224)
  • fix(napi): move napi symbols file (#​16179)
  • fix(npm): disable loading native module for "fsevents" package (#​16273)
  • fix(npm): support compiling on linux/aarch64 (#​16208)
  • fix(serde_v8): avoid creating unsound slice reference (#​16189)
  • fix: add error cause in recursive cause tail (#​16306)
  • perf(ext/cache): set journal_mode=wal (#​16231)
  • perf(ext/crypto): optimize getRandomValues (#​16212)
  • perf(ext/web): optimize op_cancel_handle (#​16318)
  • perf(ext/web): optimize timer cancellation (#​16316)
  • perf(napi): optimize primitive napi functions (#​16163)
  • perf(npm): parallelize caching of npm specifier package infos (#​16323)

v1.26.1

Compare Source

  • feat(npm): implement Node API (#​13633)
  • feat(unstable): add support for npm specifier cli arguments for 'deno cache' (#​16141)
  • fix(build): don't export all symbols to dynamic symbol table (#​16171)
  • fix(ext/cache): acquire reader lock before async op (#​16126)
  • fix(ext/cache): close resource on error (#​16129)
  • fix(ext/cache): prevent cache insert if body is not fully written (#​16138)
  • fix(ext/crypto): ECDH and X25519 non byte length and 0 length fixes (#​16146)
  • fix(ext/crypto): curve25519 import export (#​16140)
  • fix(ext/crypto): deriveBits for ECDH not taking length into account (#​16128)
  • fix(ext/crypto): ecdh spki key import/export roundtrip (#​16152)
  • fix(ext/crypto): fix importKey error when leading zeroes (#​16009)
  • fix(ext/crypto): interoperable import/export (#​16153)
  • fix(ext/crypto): use correct handle for public keys (#​16099)
  • fix(ext/fetch): Body#bodyUsed for static body (#​16080)
  • fix(ext/flash): Avoid sending Content-Length when status code is 204 (#​15901)
  • fix(node): add dns/promises and stream/consumers (#​16169)
  • fix(npm): better error is version is specified after subpath (#​16131)
  • fix(npm): handle json files in require (#​16125)
  • fix(npm): panic on invalid package name (#​16123)
  • fix(runtime): no FastStream for unrefable streams (#​16095)
  • fix(serde_v8): Implement MapAccess for StructAccess (#​15962)
  • fix(serde_v8): serialize objects with numeric keys correctly (#​15946)
  • fix: move Deno.hostname() from denoNsUnstable to denoNs (#​16086)
  • lsp: use deno:/asset instead of deno:asset (#​16023)
  • perf(ext/fetch): consume body using ops (#​16038)
  • perf: node cjs & esm analysis cache (#​16097)

v1.26.0

Compare Source

  • feat: add --allow-sys permission flag (#​16028)
  • feat: add --no-npm flag to disable npm: imports (#​15673)
  • feat: Add requesting API name to permission prompt (#​15936)
  • feat: allow exiting on two consecutive ctrl+c presses (#​15981)
  • feat: download progress bar (#​15814)
  • feat: implement Web Cache API (#​15829)
  • feat: Refresh interactive permission prompt (#​15907)
  • feat: Stabilize Deno.hostname() API (#​15932)
  • feat: Stabilize Deno.refTimer() and Deno.unrefTimer() APIs (#​16036)
  • feat: TypeScript 4.8 update (#​16040)
  • feat(cli): update to TypeScript 4.8 (#​15064)
  • feat(core): add Deno.core.setPromiseHooks (#​15475)
  • feat(ext/crypto): add x25519 and Ed25519 CFRG curves (#​14119)
  • feat(ext/flash): add reuseport option on Linux (#​16022)
  • feat(info): add information about npm modules cache (#​15750)
  • feat(lint): add --compact flag for terse output (#​15926)
  • feat(npm): functionality to support child_process.fork (#​15891)
  • feat(ops): Fallible fast ops (#​15989)
  • feat(unstable): Deno.setRaw -> Deno.stdin.setRaw (#​15797)
  • fix(cli/bench): strace numeric format (#​16055)
  • fix(cli/vendor): handle assert type json during vendoring (#​16059)
  • fix(ext/console): fix error when logging a proxied Date (#​16018)
  • fix(ext/fetch): blob url (#​16057)
  • fix(ext/flash): reregister socket on partial read on Windows (#​16076)
  • fix(fmt): keep type args in type queries and keep empty array expr element's trailing comma (#​16034)
  • fix(npm): use ntfs junctions in node_modules folder on Windows (#​16061)
  • fix(require): tryPackage uses optional chaining (#​16020)
  • fix(runtime): refresh perm prompt 3 lines instead of 4 (#​16049)
  • perf: don't re-download package tarball to global cache if local node_modules folder exists for package (#​16005)
  • perf: use fast ops for tty (#​15976)
  • perf(ext/console): break on iterableLimit & better sparse array handling (#​15935)
  • perf(ext/fetch): use content-length in InnerBody.consume (#​15925)

v1.25.4

Compare Source

  • feat(unstable/npm): add flag for creating and resolving npm packages to a local node_modules folder (#​15971)
  • feat(unstable/npm): add support for --reload=npm: and --reload=npm: (#​15972)
  • feat(internal/ops): Automatic fast ops creation (#​15527)
  • fix(compile): keep non-exe extension in output name on Windows (#​15994)
  • fix(doc): deno doc should parse modules if they haven't been parsed before (#​15941)
  • fix(ext/node): fix builtin module module (#​15904)
  • fix(ext/webgpu): make GPUDevice.features SetLike (#​15853)
  • fix(flash): panic if response if undefined (#​15964)
  • fix(runtime): better error message with Deno.env.get/set (#​15966)
  • fix(runtime): fix permission status cache keys (#​15899)
  • perf(cli): avoid canonicalize_path if config file does not exist (#​15957)
  • perf(cli): avoid clap::App::clone (#​15951)
  • perf(cli): use -O3 instead of -Oz (#​15952)
  • perf(core): use single ObjectTemplate for ops in initialize_ops (#​15959)
  • perf(ext/console): avoid wrapConsole when not inspecting (#​15931)
  • perf(web): optimize encodeInto() (#​15922)
  • perf: fs optimizations - part 1 (#​15873)

v1.25.3

Compare Source

  • doc(unstable): mention that signal input isn't supported in spawnSync (#​15889)
  • fix(ext/flash): don't block requests (#​15852)
  • fix(npm): align Deno importing Node cjs with Node esm importing cjs (#​15879)
  • fix(npm): align Node esm code importing cjs with Node (#​15838)
  • fix(npm): binary entrypoint for .js or no extension (#​15900)
  • fix(npm): remove export binding to match node (#​15837)
  • fix(npm): support cjs resolution of package subpath with package.json (#​15855)
  • fix(npm): use shim from deno_node crate for 'module' built-in module (#​15881)
  • fix(ops): add node.js env variable allowlist (#​15893)
  • perf(ext/flash): remove string->buffer cache (#​15850)
  • perf(serde_v8): remove Mutex from ZeroCopyBuf (#​15888)
  • perf(url): return early if url has no query string (#​15856)
  • perf: optimize URL serialization (#​15663)

v1.25.2

Compare Source

  • BREAKING(unstable): remove --compat mode (#​15678)
  • feat(ext/ffi): Implement FFI fast-call trampoline with Dynasmrt (#​15305)
  • feat(ext/ffi): Support bool FFI type (#​15754)
  • feat(serde_v8): Support StringObject as unit enum variant (#​15715)
  • fix(bench): make sure bytes/response is equal (#​15763)
  • fix(cli): Fix panic when providing invalid urls to --reload (#​15784)
  • fix(cli): allow using file resource synchronously while being used async (#​15747)
  • fix(cli/repl): await Promise.any([])... (#​15623)
  • fix(core): Register external references for imports to the SnapshotCreator (#​15621)
  • fix(core): make errors more resistant to tampering (#​15789)
  • fix(core): opAsync leaks a promise on type error (#​15795)
  • fix(docs): add missing categories for unstable (#​15807)
  • fix(docs): change category for Deno.Process to "Sub Process" (#​15812)
  • fix(ext/flash): use utf8 length as Content-Length (#​15793)
  • fix(ext/timers): create primordial eval (#​15110)
  • fix(init): suppress info logs when using quiet mode (#​15741)
  • fix(npm): add more context to errors when file doesn't exist (#​15749)
  • fix(npm): conditional exports in npm: specifiers (#​15778)
  • fix(npm): correct exact matching of pre-release versions (#​15745)
  • fix(npm): recursive translation of reexports, remove window global in node code (#​15806)
  • fix(npm): respect latest dist tag for getting current version (#​15746)
  • fix(ops): use qualified borrow in op macro (#​15769)
  • fix(repl): don't terminate on unhandled error events (#​15548)
  • fix(test): unflake wasm_unreachable test (#​15794)
  • fix(watch): ignore unload errors on drop (#​15782)
  • fix: upgrade deno_ast to 0.19 (#​15808)
  • perf(ops): inline &[u8] arguments and enable fast API (#​15731)
  • perf(runtime): flatten arguments for write_file ops (#​15776)
  • perf(runtime): short-circuit queue_async_op for Poll::Ready (#​15773)

v1.25.1

Compare Source

  • feat(ops): support v8::FastApiCallbackOptions (#​15721)
  • feat(serde_v8): Serialize integers as BigInt (#​15692)
  • fix(check): --remote and --no-remote should be mutually exclusive (#​14964)
  • fix(cli): deno upgrade --canary always downloaded latest version even if it was already latest (#​15639)
  • fix(compile): panic when running with a populated dep analysis cache (#​15672)
  • fix(docs): add missing categories (#​15684)
  • fix(ext/ffi): Fix pointer types (#​15730)
  • fix(ext/flash): add missing backticks in server docs (#​15644)
  • fix(ext/flash): panic on AddrInUse (#​15607)
  • fix(ext/flash): retry write failures (#​15591)
  • fix(ext/node): add missing primordial (#​15595)
  • fix(ext/node): better error for importing ES module via require() call (#​15671)
  • fix(ext/node): fix global in node env (#​15622)
  • fix(ext/websocket): fix closing of WebSocketStream with unread messages (#​15632)
  • fix(fmt): add the file path to the panic messages when formatting is unstable (#​15693)
  • fix(npm): better node version and version requirement compatibility (#​15714)
  • fix(npm): conditional exports with wildcards (#​15652)
  • fix(npm): handle cjs re-exports with the same name as an export (#​15626)
  • fix(npm): ignore npm cache directory creation errors (#​15728)
  • fix(npm): ignore the unstable error in the lsp (#​15727)
  • fix(npm): prefer importing esm from esm (#​15676)
  • fix(npm): skip extracting pax_global_header from tarballs (#​15677)
  • fix(npm): translate CJS to ESM with name clashes for files and dirs (#​15697)
  • fix(serde_v8): no panic on reading large text file (#​15494)
  • fix(serde_v8): update bytes::Bytes layout assumptions (#​15718)
  • fix: avoid global declaration collisions in cjs (#​15608)
  • fix: config file errors should not print specifier with debug formatting (#​15648)
  • fix: typo in deno_ops README (#​15606)
  • perf(ext/web): flatten op arguments for text_encoding (#​15723)
  • perf(ops): inline String args (#​15681)
  • perf(runtime): optimize allocations in read/write checks (#​15631)
  • perf: use fast api for core.isProxy (#​15682)
  • perf: use fast api for op_now (#​15643)
  • serde_v8: fix pointer size assumptions (#​15613)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled due to failing status checks.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Edited by Kenichi Kamiya

Merge request reports