diff options
author | Casper Beyer <caspervonb@pm.me> | 2021-02-26 01:35:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-25 18:35:10 +0100 |
commit | aa47f8186cbc068232e23b92a6966be9bd23e4bb (patch) | |
tree | 0c9c2e455e0700d2a674aa24b0e14f9a5860b83f /runtime/js | |
parent | cdae4423c27443e0085d59f45eda1c978f186a1c (diff) |
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.
Diffstat (limited to 'runtime/js')
-rw-r--r-- | runtime/js/90_deno_ns.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js index 84c6b7ade..bd56538d1 100644 --- a/runtime/js/90_deno_ns.js +++ b/runtime/js/90_deno_ns.js @@ -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, |