question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Drop usage of collections, it breaks globals

See original GitHub issue

I landed here, because of a recursive dependency. The gist is that the mere requiring of the module collections randomly breaks code in unrelated modules because it modifies globals. It is documented that this breaks things like crypto from node core but there does not seem to be a fix coming: https://github.com/montagejs/collections/issues/162

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
kahluageniecommented, Dec 15, 2016

Just ran into an issue with Array.prototype.find() being overwritten by collections/shim-array.js as well.

2reactions
nitecommented, May 3, 2017

So - in reference to your last comment @kriskowal: ‘q-io@v2 depends on q@v2 and collections@v2, which does not have shims’ - why is q-io v2 not latest on npm?

Read more comments on GitHub >

github_iconTop Results From Across the Web

c++ - Global variables (again) - Stack Overflow
Global variables (again) · I just wanted to comment that I greatly share your point of view when it comes to the term...
Read more >
Using variables | Postman Learning Center
Global variables enable you to access data between collections, requests, test scripts, and environments. Global variables are available ...
Read more >
Memory management - JavaScript - MDN Web Docs
... JavaScript automatically allocates memory when objects are created and frees it when they are not used anymore (garbage collection).
Read more >
Python Collections Module - GeeksforGeeks
The collection Module in Python provides different types of containers. A Container is an object that is used to store different objects and ......
Read more >
GroupBy and Ungroup functions in Power Apps
This function returns a table, breaking into separate records any records that ... Use the DropColumns function to drop the group table.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found