Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1075

Circular require's in CommonJS modules

    XMLWordPrintableJSON

Details

    Description

      Having a CommonJS module A which requires B, when B also requires A causes the stack to fill up with require calls. A prerequisite for this fix is the caching of modules, even if it is only on a per-request basis.

      Patch incoming.

      Attachments

        1. module_cache.diff
          7 kB
          Caolan McMahon

        Activity

          People

            Unassigned Unassigned
            caolan Caolan McMahon
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: