Try   HackMD

Node.js Tooling Group Meeting 2020-04-17

Present

  • Tooling team: @nodejs/tooling
  • Christopher Hiller (@boneskull)
  • Darcy Clarke (@darcyclarke)
  • Ruy Adorno (@ruyadorno)
  • Vladimir de Turckheim (@vdeturckheim)
  • Ian Sutherland (@iansu)
  • Stephen Belanger (@qard)
  • Wes Todd (@wesleytodd)
  • Corey Farrell (@coreyfarrell)
  • Bryan English (@bengl)
  • Ben Coe (@bcoe)

Agenda

Announcements

nodejs/tooling

Extracted from tooling-agenda labelled issues and pull requests from the nodejs org prior to the meeting.

  • audit hooks and fs hooks
    • "audit hooks": https://github.com/nodejs/security-wg/issues/626
      • Vladimir: MS wanted auditing hooks in Node.js
      • ability to register "hooks" for particular events
      • syscalls (fs access, etc)
      • hooks for some JS primitives including eval and Function (security-related)
      • working on PoC
      • many "hooks" are being added to Node.js, or want to be added
      • should we have a unified interface for instrumenting Node.js? whether for security or an fs-hooks-like API? can we make fs "lie" or otherwise (this is just one use case)?
      • akin to Java's javaagent (?) flag
      • hope to avoid multiple libraries doing their own instrumentation/monkeypatching/etc
      • similar efforts: @bengl with the fs hooks, stephen belanger with diagnostic "metadata" channel
      • we need some way to control the behavior of the hook (read-only?) and sync/async hooks
      • Twitch stream https://www.twitch.tv/ecares
    • fs hooks #63
      • if async hooks can do what this can do, then we can drop this impl
      • we need a way of blocking calls, mutating arguments, and providing completely different return values
  • chmod -R #59
    • Darcy still may get involved
    • Ben offers assistance
    • Darcy appreciates it
    • Follow up actions added to issue
  • tracking "hot module reloading" for ESM in core #51
    • Corey: in v14.0.0, experimental modules warning is squelched
    • Ruy: let's rename this issue to "unloading modules in ESM"
    • Loader hooks presentation from Vlad at NJSI2019
    • action item for Chris, talk to @theKashey of rewiremock and proxyquire about needs
  • Support for hooking spawn / spawnSync without patching. #48
    • falls into "audit hooks" bucket, but needs to manipulate arguments.
    • action item for somebody: link this issue to @ecares
  • A better way to detect a process is exiting #42
  • Source Map V3 Support in Node.js #40
  • argument parsing #19

Q&A, Other

Upcoming Meetings

Click +GoogleCalendar at the bottom right to add to your own Google calendar.