Affects Version/s: Master
When deploying a bundle containing npm packages with one or more modules that have any dependency which names contains the string "function", like for example:
The FlatNPMBundleProcessor gets fooled and stops parsing the dependencies at that point. So, in the above example, the processor would not detect the './is-object' dependency.
Steps to reproduce:
- Start portal
- Deploy attached OSGi bundle
- Open a browser and request "http://localhost:8080/o/js_loader_modules"
- Look for "
LPSfirstname.lastname@example.org/index" (it may appear more than once) until the following is found:
- Make sure that all "./_a-function", "./_is-object", and "./_invoke" dependencies appear (not just "module", "exports", and "require")
- Only "module", "exports", and "require" appear.