Bartek Iwańczuk
da23f7f876
feat: Stabilize Deno.Listener.ref/unref ( #17477 )
2023-01-20 16:32:55 +01:00
Leo Kettmeir
18e8ce4ca5
feat(runtime): add bigint to seek typings ( #17314 )
2023-01-19 05:30:56 +01:00
Asher Gomez
7683ba5e90
chore: update std submodule and its imports ( #17408 )
2023-01-15 21:09:26 +01:00
Leo Kettmeir
a6b3910bdf
feat: allow passing a ReadableStream to Deno.writeFile/Deno.writeTextFile ( #17329 )
...
Closes #13229
2023-01-12 03:37:23 +01:00
Leo Kettmeir
e6c49d14b1
feat(runtime/os): add Deno.env.has()
( #17315 )
2023-01-09 20:19:55 +01:00
Dj
ad82918f56
feat(ext/ffi): structs by value ( #15060 )
...
Adds support for passing and returning structs as buffers to FFI. This does not implement fastapi support for structs. Needed for certain system APIs such as AppKit on macOS.
2023-01-08 09:28:10 +05:30
David Sherret
421ec90a8e
fix(declaration): change Deno.open
example to not use Deno.close(rid)
( #17218 )
2023-01-03 10:48:03 -05:00
David Sherret
10e4b2e140
chore: update copyright year to 2023 ( #17247 )
...
Yearly tradition of creating extra noise in git.
2023-01-02 21:00:42 +00:00
Kamil Ogórek
7ce2b58bcf
feat(unstable): Add "Deno.osUptime()" API ( #17179 )
...
This PR adds support for `Deno.osUptime` which reports number of seconds
since os was booted. It will allow us to be compatible with Node's `os.uptime` -
https://nodejs.org/api/os.html#osuptime
Partially based on
https://docs.rs/uptime_lib/latest/src/uptime_lib/lib.rs.html
2022-12-27 00:16:12 +01:00
Leo Kettmeir
50c7526526
fix: re-add Response.json static method ( #17061 )
...
Same as #16040
2022-12-15 10:33:19 -05:00
Leo Kettmeir
76a9df1ed8
docs: use example & default tags ( #17032 )
2022-12-13 14:14:41 +01:00
Leo Kettmeir
5d9bb8b4b0
feat: support createNew
in Deno.writeFile
( #17023 )
2022-12-13 05:12:49 +01:00
Leo Kettmeir
a2ba573e77
fix: default to "inherit"
for Deno.Command#spawn()
's stdout
& stderr
( #17025 )
2022-12-13 05:12:19 +01:00
Bartek Iwańczuk
cb6700fa5a
unstable: remove Deno.spawn, Deno.spawnSync, Deno.spawnChild APIs ( #16893 )
...
This commit removes three unstable Deno APIs:
- "Deno.spawn()"
- "Deno.spawnSync()"
- "Deno.spawnChild()"
These APIs were replaced by a unified "Deno.Command" API.
2022-12-09 16:43:36 +01:00
David Sherret
f4385866f8
feat: upgrade to TypeScript 4.9.3 ( #16973 )
...
Updated from: https://github.com/denoland/TypeScript/pull/2
2022-12-07 12:59:59 -05:00
阿豪
8b5b327b18
feat(ext/ffi): better type hints for Deno.dlopen ( #16874 )
2022-12-03 17:45:35 +05:30
Leo Kettmeir
1dd4843b62
feat(unstable): rework Deno.Command ( #16812 )
...
Refactors the `Deno.Command` class to not handle any state, but only being an intermediary to calling its methods, and as such any methods and properties besides `output`, `outputSync` & `spawn` have been removed. Interracting with a `spawn`ed subprocess now works by using the methods and properties on the returned class of the `spawn` method.
2022-11-28 12:33:51 +01:00
David Sherret
dcb4ffb93a
refactor: move dts files, diagnostics.rs, and tsc.rs to tsc folder ( #16820 )
2022-11-25 18:29:48 -05:00