Bartek Iwańczuk
32db2db121
fix(ext/node): createInterface doesn't require env permission ( #29472 )
...
Closes https://github.com/denoland/deno/issues/29441
2025-05-28 11:59:26 +02:00
Cyan
5cd03feb0d
chore: optimize op_runtime_cpu_usage and op_runtime_memory_usage ( #29179 )
...
Ref https://github.com/denoland/deno/pull/27217
> `op_runtime_cpu_usage` can be optimized by accepting a `&mut [u32]`
instead of returning a serde tuple but it can be done as a follow up.
Accept a `&mut [u32]` instead of serde tuple for `op_runtime_cpu_usage`
and `op_runtime_memory_usage`
---------
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2025-05-09 16:00:35 +05:30
Bartek Iwańczuk
4d1f47a915
feat: Allow access to NO_COLOR env var without --allow-env ( #29090 )
...
Since `Deno.noColor` exists, it makes sense to allow accessing
`NO_COLOR` env var without `--allow-env` permission.
2025-04-29 10:12:48 -04:00
snek
2221cf3e7c
feat: deno_core 0.344.0 ( #29089 )
...
- new ops init api
- fix op order
- remove deno_os_worker since extensions must now match the snapshot
exactly
- isatty test change
2025-04-29 13:15:08 +02:00
Divy Srivastava
e0813f2255
fix(ext/node): throw NotCapable on process.env accessor ( #28280 )
...
Fixes https://github.com/denoland/deno/issues/28125
Additionally "FORCE_COLOR" env var can now be accessed
without `--allow-env` check.
---------
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2025-04-28 14:28:01 +00:00
Dan
e612d572f8
fix(deno_os): allow running WebWorker without snapshots ( #28975 )
...
This addresses [#28680 ](https://github.com/denoland/deno/issues/28680 )
where the esm modules are not found when instantiating a WebWorker with
snapshots disabled.
This is an alternative solution to another PR,
https://github.com/denoland/deno/pull/28693
2025-04-24 10:39:38 -07:00
snek
d4ee94962f
feat: upgrade deno_core and V8 ( #28562 )
...
includes V8 upgrade to 135
2025-03-21 00:19:44 +01:00
Cyan
e6dda60d5c
feat: implement process.cpuUsage
(Deno.cpuUsage
) ( #27217 )
2025-01-30 17:23:05 +05:30
Divy Srivastava
5c64146bea
fix(ext/node): clear tz cache when setting process.env.TZ ( #27826 )
2025-01-28 18:13:41 +05:30
Bartek Iwańczuk
395628026f
fix(ext/os): pass SignalState to web worker ( #27741 )
...
Closes https://github.com/denoland/deno/issues/27717
Made a mistake in https://github.com/denoland/deno/pull/27655 and
didn't add the `SignalStore` for web worker.
2025-01-20 19:43:15 +05:30
Bartek Iwańczuk
974e2f44b2
refactor: add 'deno_os' crate ( #27655 )
...
This commit creates "deno_os" extension crate and moves
numerous ops from "runtime/" crate to the new crate.
2025-01-14 17:29:36 +01:00