Skip to content

Commit 623d832

Browse files
committed
Update compatibility table
1 parent c06ccf9 commit 623d832

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,16 @@
1919
"fontawesome",
2020
"fuckingnode",
2121
"gigachad",
22+
"gluefix",
2223
"googlecloudstorage",
24+
"HKCU",
2325
"linenums",
2426
"lockfiles",
2527
"personaplus",
2628
"pkgs",
2729
"preapp",
2830
"pymdownx",
31+
"SETTINGCHANGE",
2932
"sokora",
3033
"therf",
3134
"vuelto",

docs/learn/cross-runtime-support.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,28 @@
77

88
While FuckingNode can be a very powerful automation tool if properly used, in the end it's just an executable that _automates_ tasks; it doesn't do much on its own. Thus, **features that aren't supported by a runtime itself, won't work with us**. (Adding "polyfills" or "glue fixes" is not discarded as an idea, but not planned short-term anyway).
99

10-
You can run `compat` anytime from the CLI to see a table showing what works and what doesn't. **NodeJS is the only environment with 100% platform support.** As of version 3.0.0, that table looks like this:
10+
You can run `compat` anytime from the CLI to see a table showing what works and what doesn't. **NodeJS is the only environment with 100% platform support.** As of version 3.3.0, that table looks like this:
1111

1212
| Feature | NodeJS | Deno | Bun | Go | Cargo |
1313
|------------|--------|----------|----------|----------|----------|
1414
| Cleanup | Yes | Partial | Partial | Partial | Partial |
1515
| Kickstart | Yes | Yes | Yes | Yes | Yes |
1616
| Commit | Yes | Yes | Yes | Partial | Partial |
1717
| Release | npm | jsr | npm | No | No |
18-
| Stats | Yes | Yes | Yes | Partial | Partial |
18+
| Stats | Yes | Yes | Yes | Partial | Yes |
1919
| Surrender | Yes | Yes | Yes | Yes | Yes |
2020
| Setup | Yes | Yes | Yes | Yes | Yes |
21+
| Audit | Yes | No | No | No | No |
2122

2223
Reasons for not supporting a feature are the following.
2324

2425
## Partial Deno, Bun, Cargo & Go support for cleanup
2526

26-
In both runtimes, the kind of cleanup commands we'd use (`prune`, `dedupe`...) aren't available, so the _cleanup itself_ isn't available. `clean` will still work with them, as lintage, prettification, or updates may work. Run `fuckingnode compat cleaner`.
27+
In both runtimes, the kind of cleanup commands we'd use (`prune`, `dedupe`...) aren't available, so the _cleanup itself_ isn't available. `clean` will still work with them, as linting, prettification, or updates may work. Run `fuckingnode compat cleaner`.
2728

2829
## No Deno support for hard cleanup
2930

30-
(While a "gluefix" exists, it doesn't work most of the time). Simple: FuckingNode itself is written in Deno, thus we're disallowed by the runtime from cleaning its cache.
31+
FuckingNode itself is written in Deno, thus we're disallowed by the runtime from cleaning its cache. While a "gluefix" exists, it doesn't work most of the time.
3132

3233
## No Cargo & Go support for release
3334

@@ -48,3 +49,7 @@ These platforms _do_ support it but don't support the Recommended Community Stan
4849
## No Cargo & Go support for migrate
4950

5051
There's a single package manager for these platforms, `migrate` is useless.
52+
53+
## No audit support anywhere non NodeJS
54+
55+
Deno and Bun do not offer an `audit` command, neither does Go.

0 commit comments

Comments
 (0)