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

Deprecation warning for punycode because of node-fetch@2.x dependency

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.2.0
    • Affects Version/s: 2.0.0, 2.1.1
    • Component/s: CLI Module
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 3
    • Iteration Wendiceratops
    • Not Needed
    • Developer Tools

      We currently depend on node-fetch@2.x in the snippet-manager and cli-repl packages, which in turns depends on a very old version of whatwg-url (5.0.0), which leads to deprecation warnings being printed in the homebrew installation of mongosh (like NODE-5709, which also affected mongosh).

      Easy reproduction is snippet refresh on a homebrew installation of mongosh.

            Assignee:
            paula.stachova@mongodb.com Paula Stachova
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: