Skip to content

tools,lib: recommend using safe primordials

Make the linter recommend replacing globalThis.Map by primordials.SafeMap, and similar for Set, WeakMap and WeakSet.

Note that the use of primordials.Map is still allowed (same for primordials.Set and weak classes).

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading