VENDOR 939 B

123456789101112131415161718192021
  1. MuJS 1.3.8 (upstream master)
  2. ============================
  3. Upstream: https://codeberg.org/ccxvii/mujs
  4. Commit: 01a75ff4324ae8a54cae91a26edd38029424edaa
  5. License: ISC (see COPYING)
  6. Only the embeddable library sources are vendored: mujs.h/jsi.h and the
  7. js*.c, regexp.c and utf.c files, aggregated by one.c. main.c, pp.c, the
  8. docs, the Unicode data files and the tools are not part of this copy.
  9. Build: one.c is compiled as a single object with the same freestanding flags
  10. as the browser (see MUJS_CFLAGS in the top-level Makefile), with
  11. JS_ENVLIMIT=256 and JS_ASTLIMIT=200 to bound recursion on the ring-3 stack.
  12. Local patches:
  13. - jslex.c/jsi.h track whether the last ')' closed an if/for/while/with/
  14. switch/catch head, so a regex literal can start the body statement
  15. (`for (...) /re/.test(x)`) as browsers allow.
  16. - regexp.c accepts Annex B identity escapes such as `\_` and `\a` instead
  17. of rejecting identifier-character escapes.