Remove parcelRequire from REPL globals

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.0.6
    • Affects Version/s: None
    • Component/s: CLI Module
    • None
    • 1
    • Iteration Kampala
    • Not Needed

      The bundled/compiled mongosh distribution currently exposes a global parcelRequire method that corresponds to the require() method injected by parcel when bundling.

      We should remove it so that:

      • Users do not use it to access mongosh internals
      • Users do not come to rely on packages that we may remove at any moment
      • Users do not come to rely on the fact that we use parcel, which might change in any release.

            Assignee:
            Anna Henningsen
            Reporter:
            Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: