Jo Franchetti
177d5b1476
docs: add docs for some webgpu APIs ( #28548 )
2025-03-20 23:35:21 +00:00
snek
d4ee94962f
feat: upgrade deno_core and V8 ( #28562 )
...
includes V8 upgrade to 135
2025-03-21 00:19:44 +01:00
Yoshiya Hinosawa
6420e50cd0
fix(ext/node): add util.getCallSites ( #28546 )
...
This PR adds
[getCallSites](https://nodejs.org/api/util.html#utilgetcallsitesframecount-options )
API to "node:util".
This unblocks https://github.com/denoland/deno/issues/28318 . Currently
the task is blocked by the unavailability of `util.getCallSites` because
it's used in
[`test/common/index.js`](8846b5392f/test/common/index.js (L31)
)
2025-03-20 21:39:04 +00:00
Lach
7ac8130854
feat(otel): basic event recording ( #28552 )
2025-03-20 13:58:08 -07:00
David Sherret
60b502db80
fix(lsp): do not show import-map-remap diagnostic when referrer and target are within the entry base ( #28560 )
...
For example, if someone has `"$src/": "./src"` in their import map, this
will no longer show a diagnostic when someone imports `"./a.ts"` from
./src/b.ts`
2025-03-20 11:20:24 -04:00
letianpailove
eadcd729d2
docs: fix a numerical error in update_typescript.md ( #28556 )
...
Signed-off-by: letianpailove <113023596+letianpailove@users.noreply.github.com>
2025-03-20 14:21:49 +00:00
dependabot[bot]
3849ace1d6
chore(deps): bump zip from 2.1.6 to 2.4.1 ( #28535 )
2025-03-18 11:52:40 -07:00
Jo Franchetti
3e547da20b
docs: adding jsdocs for temporalAPI ( #28542 )
2025-03-18 11:49:15 -07:00
Kenta Moriuchi
50f1bbd44c
fix(otel): replace ArrayPrototypeSplit
with StringPrototypeSplit
( #28538 )
2025-03-18 17:19:10 +00:00
Divy Srivastava
fb3df15fc8
fix(ext/node): restrict ATTACH DATABASE statement ( #28513 )
...
Disable `ATTACH DATABASE` statement in `node:sqlite` since it is not
supervised by Deno's permission system
2025-03-18 22:03:35 +05:30
Jake Champion
5aeb04f443
fix: add stackTraceLimit to ErrorConstructor interface and removed ErrorWithStackTraceLimit interface ( #28539 )
...
Signed-off-by: Jake Champion <me@jakechampion.name>
2025-03-18 09:56:39 -04:00
Jo Franchetti
1eaac23af8
docs: adding jsdocs for url and workers ( #28528 )
2025-03-18 06:33:46 -07:00
Yoshiya Hinosawa
8f7d56cf40
chore: upgrade node test to v23.9.0 ( #28458 )
2025-03-18 21:57:04 +09:00
David Sherret
e95938122e
fix(doc): do not stack overflow for namespace that exports self or ancestor ( #28533 )
2025-03-17 21:07:55 +00:00
Paolo Barbolini
1516e3ef58
refactor: reduce dependency on futures
crate ( #28515 )
...
Over time many `futures` APIs have been stabilized in `std`. This
migrates most uses to the std variants.
2025-03-17 14:14:19 +00:00
Paolo Barbolini
bb4c662660
refactor: replace memmem
with memchr
( #28516 )
2025-03-17 09:33:51 -04:00
letianpailove
aee38ab6e3
docs: fix a typo in specs README.md ( #28524 )
2025-03-17 17:46:22 +09:00
Divy Srivastava
c638f9ade1
fix(ext/node): reset statement immidiately in run() ( #28506 )
...
Fixes https://github.com/denoland/deno/issues/28492
2025-03-15 20:14:24 +05:30
denobot
5f00b9700f
chore: forward v2.2.4 release commit to main ( #28500 )
2025-03-14 15:40:38 -07:00
Ryan Dahl
6d53bb9c9e
docs: randomUUID and getRandomValues ( #28496 )
2025-03-14 18:06:06 +00:00
David Sherret
ed2fac89eb
refactor: handle deno_media_type having Html
and Sql
variants ( #28495 )
2025-03-15 00:19:08 +09:00
Ryan Dahl
4f738660b9
feat: support FORCE_COLOR ( #28490 )
...
fixes https://github.com/denoland/deno/issues/17229
2025-03-14 07:15:29 -07:00
Nayeem Rahman
30aa94010a
fix(lsp): auto-import from npm package exports with manual node_modules ( #28414 )
2025-03-13 20:29:17 +00:00
Jo Franchetti
ea982cba78
docs: making copy a little clearer ( #28481 )
...
Updating compile help text copy to make it a little clearer
Reported in https://github.com/denoland/docs/issues/1500
2025-03-13 14:21:21 -04:00
Luke Edwards
424a2f3b57
fix(ext/node): correct STATUS_CODES
strings ( #28489 )
...
Matches Node.js `http.STATUS_CODES` values now. Deno is currently
exporting an enum directly, which 1) adds keys like `BadRequest` and 2)
ships the status-text strings as non-space-delimited values (eg,
`'BadRequest`` instead of `'Bad Request'`)
Signed-off-by: Luke Edwards <luke.edwards05@gmail.com>
2025-03-13 14:21:08 -04:00
Max
c892cd88c8
chore(ext/fetch): re-export FsError to implement FetchPermissions ( #28485 )
...
Currently, there is no way to implement `FetchPermissions` without
importing `FsError` from `deno_fs` directly. This PR aims to re-export
the `FsError` from `deno_fetch` itself to allow it.
2025-03-13 11:34:56 -04:00
Leo Kettmeir
28e5c388b4
feat(otel): span context propagators ( #28460 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev>
2025-03-13 16:32:45 +01:00
Luca Casonato
b204cdc512
chore: fix build on main ( #28487 )
2025-03-13 11:58:52 +00:00
Yoshiya Hinosawa
dcfaba0f3a
fix(otel/unstable): trace error cases of fetch ( #28480 )
2025-03-13 17:47:00 +09:00
Yoshiya Hinosawa
c9930c591a
feat(unstable/otel): add otel tracing to node:http.request ( #28463 )
2025-03-13 17:43:37 +09:00
letianpailove
fd49050330
docs: fixed a typo in update_typescript.md ( #28486 )
...
Asynciterable as singular means it adds the concept of AsyncIterable to
DOM instead of providing multiple AsyncIterable instances.
Signed-off-by: letianpailove <113023596+letianpailove@users.noreply.github.com>
2025-03-13 09:42:56 +01:00
Ryan Dahl
f3e9325a91
docs: ignore absent window global variable in d.ts ( #28456 )
2025-03-12 06:10:15 -07:00
Luca Casonato
5c8d894aa3
fix(otel): don't print otel warning when variable is not set ( #28475 )
2025-03-12 06:37:08 +01:00
David Sherret
348900b8b7
fix(check): support typesVersions
in npm dependencies ( #28468 )
2025-03-11 11:23:30 -04:00
Jo Franchetti
fa51d5de44
docs: adding a missing full stop to context help text ( #28465 )
...
Full top missing from help text of config
2025-03-11 14:36:55 +00:00
Yoshiya Hinosawa
6ddf0f2f5f
test(otel): add test of otel integration of node http server ( #28461 )
2025-03-11 23:11:19 +09:00
snek
e88366aece
fix: unhandled rejection from quic ( #28448 )
...
Fixes: https://github.com/denoland/deno/issues/28406
2025-03-11 07:23:42 +01:00
David Sherret
ff28ecd91a
fix(bench): lower bench time budget when n
is specified ( #28454 )
...
Closes #28430
2025-03-10 16:17:19 -04:00
David Sherret
9ea4f82643
fix(check): support types@
export conditions ( #28450 )
2025-03-10 13:20:48 -04:00
Toma
64f810d45c
fix(ext/node): use primordials in ext/node/polyfills/path/_util.ts
( #28432 )
...
Towards https://github.com/denoland/deno/issues/24236
2025-03-10 06:37:20 -07:00
Nayeem Rahman
0ef3f6ba88
perf(lsp): lazily start the ts server ( #28392 )
2025-03-06 18:05:25 +00:00
Nayeem Rahman
e579440170
fix(lsp): silence errors from "codeAction/resolve" ( #28400 )
2025-03-06 18:00:44 +00:00
Bartek Iwańczuk
e6637ab6f1
chore(internal): reland eszip changes ( #28294 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2025-03-05 22:25:56 +00:00
David Sherret
2292eb1c92
fix(node): support re-exported esm modules in cjs export analysis ( #28379 )
...
Adds support for re-exporting an ES module from a CJS one and then
importing the CJS module from ESM. Also fixes a bug where require esm
wasn't working in deno compile.
2025-03-05 16:37:46 -05:00
Nathan Whitaker
0c0757fe66
fix(install): exclude npm workspace packages from graph roots in install
( #28401 )
...
Fixes #28374 .
2025-03-05 20:41:05 +00:00
Marvin Hagemeister
be73f11f83
fix(unstable): lint plugin !==
wrongly parsed as !=
( #28403 )
...
That's an emberassing typo. The `!==` operator was wrongly converted to
`!=`.
Fixes https://github.com/denoland/deno/issues/28397
2025-03-05 20:14:50 +00:00
Marvin Hagemeister
7f7b51c414
fix(unstable): wrong node with shorthand ObjectPattern + AssignPattern ( #28402 )
...
We did not serialize the `AssignmentPattern` node inside `ObjectPattern`
properties.
```ts
({ a = b } = {})
```
This is a bit different in SWC and looks like I got confused with the
different AST formats.
Fixes https://github.com/denoland/deno/issues/28399
2025-03-05 20:12:19 +00:00
David Sherret
731a238d34
fix(install): support "file:" dependencies in local package.json ( #28396 )
...
This adds support for installing `file:` dependencies in a local
package.json.
In order to use these, you must not set `--node-modules-dir=...` when
using a package.json and it should use the default of
`--node-modules-dir=manual`.
Closes https://github.com/denoland/deno/issues/18701
2025-03-05 14:08:05 -05:00
Mohammad Sulaiman
865ec7c4f4
fix(run): skip the cjs suggestion for mjs/mts modules ( #26698 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2025-03-05 17:29:41 +00:00
Luca Casonato
abfd45f8d2
fix(cli): warn when an otel env var has an invalid value ( #28394 )
2025-03-05 12:05:40 +00:00