Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-965

Remove parcelRequire from REPL globals

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: