summaryrefslogtreecommitdiff
path: root/runtime/js/90_deno_ns.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-09-09 22:44:29 +0100
committerGitHub <noreply@github.com>2024-09-09 23:44:29 +0200
commit064a73f7a08eb12d99fcdf8844e9ce5db62be78b (patch)
treea1672b2151d3e7c5db490dad9fc3917064ee64aa /runtime/js/90_deno_ns.js
parent560ad0331bf99a2564f53201cd086ff902901bfe (diff)
BREAKING: Remove `--unstable` flag (#25522)
This commit effectively removes the --unstable flag. It's still being parsed, but it only prints a warning that a granular flag should be used instead and doesn't actually enable any unstable feature. Closes https://github.com/denoland/deno/issues/25485 Closes https://github.com/denoland/deno/issues/23237
Diffstat (limited to 'runtime/js/90_deno_ns.js')
-rw-r--r--runtime/js/90_deno_ns.js25
1 files changed, 1 insertions, 24 deletions
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js
index e14dc506e..23f7da95c 100644
--- a/runtime/js/90_deno_ns.js
+++ b/runtime/js/90_deno_ns.js
@@ -194,27 +194,4 @@ denoNsUnstableById[unstableIds.webgpu] = {
// denoNsUnstableById[unstableIds.workerOptions] = { __proto__: null }
-// when editing this list, also update unstableDenoProps in cli/tsc/99_main_compiler.js
-const denoNsUnstable = {
- listenDatagram: net.createListenDatagram(
- op_net_listen_udp,
- op_net_listen_unixpacket,
- ),
- umask: fs.umask,
- HttpClient: httpClient.HttpClient,
- createHttpClient: httpClient.createHttpClient,
- dlopen: ffi.dlopen,
- UnsafeCallback: ffi.UnsafeCallback,
- UnsafePointer: ffi.UnsafePointer,
- UnsafePointerView: ffi.UnsafePointerView,
- UnsafeFnPointer: ffi.UnsafeFnPointer,
- UnsafeWindowSurface: webgpuSurface.UnsafeWindowSurface,
- openKv: kv.openKv,
- AtomicOperation: kv.AtomicOperation,
- Kv: kv.Kv,
- KvU64: kv.KvU64,
- KvListIterator: kv.KvListIterator,
- cron: cron.cron,
-};
-
-export { denoNs, denoNsUnstable, denoNsUnstableById, unstableIds };
+export { denoNs, denoNsUnstableById, unstableIds };