Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. client.mjs:
  2. import "fs";
  3. [A]:
  4. parentResolve()
  5. [B]:
  6. parentResolve()
  7. [native]:
  8. 'fs' -> 'node:fs'
  9. 'fs' -> $BWRAP = 'data:import "node:fs";'
  10. 'fs' -> $AWRAP = 'data:import "$BWRAP";'
  11.  
  12. $AWRAP:
  13. import "$BWRAP";
  14. [A]:
  15. identifies itself, skips all mapping
  16. "$BWRAP" -> "$BWRAP"
  17.  
  18. $BWRAP:
  19. import "node:fs"
  20. [A]:
  21. parentResolve()
  22. [B]:
  23. identifies itself, skips all mapping
  24. "node:fs" -> "node:fs"
  25. 'node:fs' -> $AREWRAP = 'data:import "node:fs";'
  26.  
  27. $AREWRAP:
  28. import "node:fs";
  29. [A]:
  30. identifies itself, skips all mapping
  31. 'node:fs' -> 'node:fs'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement