Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Commit

Permalink
change layout
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed Sep 10, 2023
1 parent ebd204f commit 794288c
Showing 1 changed file with 129 additions and 66 deletions.
195 changes: 129 additions & 66 deletions node/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,146 +2,203 @@

// TODO: verify all links are correct

-[assert](https://nodejs.org/api/assert.html)
# [`node:assert`](https://nodejs.org/api/assert.html)

- ℹ️ [assert/strict](https://nodejs.org/api/assert.html)

- ℹ️ [async_hooks](https://nodejs.org/api/async_hooks.html)
# [`node:assert/strict`](https://nodejs.org/api/assert.html)

ℹ️ Partially polyfilled

# [`node:async_hooks`](https://nodejs.org/api/async_hooks.html)

ℹ️ Partially polyfilled

`AsyncLocalStorage` is supported. `AsyncResource`, `executionAsyncId`, and
`createHook` are stubs that do nothing. // TODO: add an issue link if users need
this API

-[buffer](https://nodejs.org/api/buffer.html)
# [`node:buffer`](https://nodejs.org/api/buffer.html)

✅ Fully polyfilled

# [`node:child_process`](https://nodejs.org/api/child_process.html)

ℹ️ Partially polyfilled

# [`node:cluster`](https://nodejs.org/api/cluster.html)

ℹ️ Partially polyfilled

Fully polyfilled
# [`node:console`](https://nodejs.org/api/console.html)

- ℹ️ [child_process](https://nodejs.org/api/child_process.html)
ℹ️ Partially polyfilled

- ℹ️ [cluster](https://nodejs.org/api/cluster.html)
# [`node:constants`](https://nodejs.org/api/constants.html)

- ℹ️ [console](https://nodejs.org/api/console.html)
✅ Fully polyfilled

-[constants](https://nodejs.org/api/constants.html)
# [`node:crypto`](https://nodejs.org/api/crypto.html)

Fully polyfilled
ℹ️ Partially polyfilled

- ℹ️ [crypto](https://nodejs.org/api/crypto.html)
# [`node:dgram`](https://nodejs.org/api/dgram.html)

- ℹ️ [dgram](https://nodejs.org/api/dgram.html)
ℹ️ Partially polyfilled

-[diagnostics_channel](https://nodejs.org/api/diagnostics_channel.html)
# [`node:diagnostics_channel`](https://nodejs.org/api/diagnostics_channel.html)

- ℹ️ [dns](https://nodejs.org/api/dns.html)

-[events](https://nodejs.org/api/events.html)
# [`node:dns`](https://nodejs.org/api/dns.html)

- ℹ️ [fs](https://nodejs.org/api/fs.html)
ℹ️ Partially polyfilled

- ℹ️ [fs/promises](https://nodejs.org/api/fs.html)
# [`node:events`](https://nodejs.org/api/events.html)

- ✅ / ℹ️ [http](https://nodejs.org/api/http.html)

# [`node:fs`](https://nodejs.org/api/fs.html)

ℹ️ Partially polyfilled

# [`node:fs/promises`](https://nodejs.org/api/fs.html)

ℹ️ Partially polyfilled

# `node:/ ℹ️ [http`](https://nodejs.org/api/http.html)

`createConnection` option is currently not supported. // TODO: add an issue link
if users need this API

- ℹ️ [http2](https://nodejs.org/api/http2.html)
# [`node:http2`](https://nodejs.org/api/http2.html)

ℹ️ Partially polyfilled

Partially polyfilled, major work in progress to enable `grpc-js`.

- ℹ️ [https](https://nodejs.org/api/https.html) // TODO: add an issue link if
users need this API
# [`node:https`](https://nodejs.org/api/https.html) // TODO: add an issue link if

ℹ️ users need this API

# [`node:inspector`](https://nodejs.org/api/inspector.html)

- ℹ️ [inspector](https://nodejs.org/api/inspector.html)
ℹ️ Partially polyfilled

`console` is supported.

Other APIs are stubs and will throw an error. Due to security implications the
Deno team does not plan to polyfill these APIs. // TODO: add an issue link if
users need this API

-[module](https://nodejs.org/api/module.html)
# [`node:module`](https://nodejs.org/api/module.html)

Fully polyfilled
Fully polyfilled

-[net](https://nodejs.org/api/net.html)
# [`node:net`](https://nodejs.org/api/net.html)

-[os](https://nodejs.org/api/os.html)

Fully polyfilled
# [`node:os`](https://nodejs.org/api/os.html)

-[path](https://nodejs.org/api/path.html)
✅ Fully polyfilled

Fully polyfilled
# [`node:path`](https://nodejs.org/api/path.html)

-[path/posix](https://nodejs.org/api/path.html)
✅ Fully polyfilled

Fully polyfilled
# [`node:path/posix`](https://nodejs.org/api/path.html)

-[path/win32](https://nodejs.org/api/path.html)
✅ Fully polyfilled

Fully polyfilled
# [`node:path/win32`](https://nodejs.org/api/path.html)

-[perf_hooks](https://nodejs.org/api/perf_hooks.html)
✅ Fully polyfilled

Fully polyfilled
# [`node:perf_hooks`](https://nodejs.org/api/perf_hooks.html)

- ✅ / ℹ️ [process](https://nodejs.org/api/process.html)
✅ Fully polyfilled

# `node:/ ℹ️ [process`](https://nodejs.org/api/process.html)

// TODO: Some APIs are stubs, check which...

-[punycode](https://nodejs.org/api/punycode.html)
# [`node:punycode`](https://nodejs.org/api/punycode.html)

✅ Fully polyfilled

Fully polyfilled
# [`node:querystring`](https://nodejs.org/api/querystring.html)

-[querystring](https://nodejs.org/api/querystring.html)
✅ Fully polyfilled

Fully polyfilled
# [`node:readline`](https://nodejs.org/api/readline.html)

-[readline](https://nodejs.org/api/readline.html)
✅ Fully polyfilled

Fully polyfilled
# [`node:repl`](https://nodejs.org/api/repl.html)

- ℹ️ [repl](https://nodejs.org/api/repl.html)
ℹ️ Partially polyfilled

`builtinModules` and `_builtinLibs` are supported.

Other APIs are stubs and will throw an error. // TODO: add an issue link if
users need this API

-[stream](https://nodejs.org/api/stream.html)
# [`node:stream`](https://nodejs.org/api/stream.html)


# [`node:stream/promises`](https://nodejs.org/api/stream.html)


# [`node:stream/web`](https://nodejs.org/api/stream.html)

ℹ️ Partially polyfilled

# [`node:string_decoder`](https://nodejs.org/api/string_decoder.html)

-[stream/promises](https://nodejs.org/api/stream.html)

- ℹ️ [stream/web](https://nodejs.org/api/stream.html)
# [`node:sys`](https://nodejs.org/api/sys.html)

-[string_decoder](https://nodejs.org/api/string_decoder.html)

-[sys](https://nodejs.org/api/sys.html)
# [`node:timers`](https://nodejs.org/api/timers.html)

-[timers](https://nodejs.org/api/timers.html)
✅ Fully polyfilled

Fully polyfilled
# [`node:timers/promises`](https://nodejs.org/api/timers.html)

-[timers/promises](https://nodejs.org/api/timers.html)
✅ Fully polyfilled

Fully polyfilled
# [`node:tls`](https://nodejs.org/api/tls.html)

-[tls](https://nodejs.org/api/tls.html)

-[trace_events](https://nodejs.org/api/trace_events.html)
# [`node:trace_events`](https://nodejs.org/api/trace_events.html)

- ℹ️ [tty](https://nodejs.org/api/tty.html)

-[url](https://nodejs.org/api/url.html)
# [`node:tty`](https://nodejs.org/api/tty.html)

Fully polyfilled
ℹ️ Partially polyfilled

- ℹ️ [util](https://nodejs.org/api/util.html)
# [`node:url`](https://nodejs.org/api/url.html)

- ℹ️ [util/types](https://nodejs.org/api/util.html)
✅ Fully polyfilled

- ℹ️ [v8](https://nodejs.org/api/v8.html)
# [`node:util`](https://nodejs.org/api/util.html)

ℹ️ Partially polyfilled

# [`node:util/types`](https://nodejs.org/api/util.html)

ℹ️ Partially polyfilled

# [`node:v8`](https://nodejs.org/api/v8.html)

ℹ️ Partially polyfilled

`cachedDataVersionTag` and `getHeapStatistics` are supported.

Expand All @@ -152,19 +209,25 @@ be polyfilled, but due inherent lack of format stability between the V8
versions, the Deno team is considering requiring a special flag to use them. //
TODO: add an issue link if users need this API

- ℹ️ [vm](https://nodejs.org/api/vm.html)
# [`node:vm`](https://nodejs.org/api/vm.html)

ℹ️ Partially polyfilled

`runInThisContext` is supported.

Other APIs are not polyfilled and will throw and error. // TODO: add an issue
link if users need this API

-[wasi](https://nodejs.org/api/wasi.html)
# [`node:wasi`](https://nodejs.org/api/wasi.html)


# [`node:webcrypto`](https://nodejs.org/api/webcrypto.html)

-[webcrypto](https://nodejs.org/api/webcrypto.html)

- ✅ / ℹ️ [worker_threads](https://nodejs.org/api/worker_threads.html)
# `node:/ ℹ️ [worker_threads`](https://nodejs.org/api/worker_threads.html)

-[zlib](https://nodejs.org/api/zlib.html)
# [`node:zlib`](https://nodejs.org/api/zlib.html)

Fully polyfilled
Fully polyfilled

0 comments on commit 794288c

Please sign in to comment.