Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-5119

Import process from 'process' instead of relying on global

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      What is the feature/improvement you would like?

      Use

      import * as process from 'process'
      

      everywhere process is needed. Use the same lint rule set for 'timers'

      What use case would this feature/improvement enable?

      Throughout the driver instead of relying on the global. This improves the bundling and shimming experience since there is an entry point that can be replaced as opposed to a new global added.

            Assignee:
            Unassigned Unassigned
            Reporter:
            neal.beeken@mongodb.com Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: