mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
fix: Deno.fdata(), Deno.fdatasync() (#8193)
These APIs were stabilized in 1.5.0, but were never added to the "stable" Deno namespace. This commit fixes that.
This commit is contained in:
parent
4f57ca0daf
commit
ce75101e3e
1 changed files with 4 additions and 4 deletions
|
@ -81,6 +81,10 @@ __bootstrap.denoNs = {
|
||||||
connectTls: __bootstrap.tls.connectTls,
|
connectTls: __bootstrap.tls.connectTls,
|
||||||
listenTls: __bootstrap.tls.listenTls,
|
listenTls: __bootstrap.tls.listenTls,
|
||||||
sleepSync: __bootstrap.timers.sleepSync,
|
sleepSync: __bootstrap.timers.sleepSync,
|
||||||
|
fsyncSync: __bootstrap.fs.fsyncSync,
|
||||||
|
fsync: __bootstrap.fs.fsync,
|
||||||
|
fdatasyncSync: __bootstrap.fs.fdatasyncSync,
|
||||||
|
fdatasync: __bootstrap.fs.fdatasync,
|
||||||
};
|
};
|
||||||
|
|
||||||
__bootstrap.denoNsUnstable = {
|
__bootstrap.denoNsUnstable = {
|
||||||
|
@ -125,10 +129,6 @@ __bootstrap.denoNsUnstable = {
|
||||||
utimeSync: __bootstrap.fs.utimeSync,
|
utimeSync: __bootstrap.fs.utimeSync,
|
||||||
symlink: __bootstrap.fs.symlink,
|
symlink: __bootstrap.fs.symlink,
|
||||||
symlinkSync: __bootstrap.fs.symlinkSync,
|
symlinkSync: __bootstrap.fs.symlinkSync,
|
||||||
fdatasyncSync: __bootstrap.fs.fdatasyncSync,
|
|
||||||
fdatasync: __bootstrap.fs.fdatasync,
|
|
||||||
fsyncSync: __bootstrap.fs.fsyncSync,
|
|
||||||
fsync: __bootstrap.fs.fsync,
|
|
||||||
HttpClient: __bootstrap.fetch.HttpClient,
|
HttpClient: __bootstrap.fetch.HttpClient,
|
||||||
createHttpClient: __bootstrap.fetch.createHttpClient,
|
createHttpClient: __bootstrap.fetch.createHttpClient,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue