mirror of
https://github.com/denoland/deno.git
synced 2025-08-30 23:38:03 +00:00
feat(runtime): stabilize Deno.link and Deno.linkSync (#9417)
This commit makes "Deno.link" and "Deno.linkSync" stable. The permission required has been changed to read-write to ensure one cannot escape the sandbox.
This commit is contained in:
parent
cdae4423c2
commit
aa47f8186c
5 changed files with 27 additions and 29 deletions
|
@ -88,6 +88,8 @@
|
|||
fsync: __bootstrap.fs.fsync,
|
||||
fdatasyncSync: __bootstrap.fs.fdatasyncSync,
|
||||
fdatasync: __bootstrap.fs.fdatasync,
|
||||
link: __bootstrap.fs.link,
|
||||
linkSync: __bootstrap.fs.linkSync,
|
||||
permissions: __bootstrap.permissions.permissions,
|
||||
Permissions: __bootstrap.permissions.Permissions,
|
||||
PermissionStatus: __bootstrap.permissions.PermissionStatus,
|
||||
|
@ -122,8 +124,6 @@
|
|||
ftruncateSync: __bootstrap.fs.ftruncateSync,
|
||||
ftruncate: __bootstrap.fs.ftruncate,
|
||||
umask: __bootstrap.fs.umask,
|
||||
link: __bootstrap.fs.link,
|
||||
linkSync: __bootstrap.fs.linkSync,
|
||||
futime: __bootstrap.fs.futime,
|
||||
futimeSync: __bootstrap.fs.futimeSync,
|
||||
utime: __bootstrap.fs.utime,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue