montagejs / collections

This package contains JavaScript implementations of common data structures with idiomatic interfaces.
http://www.collectionsjs.com
Other
2.09k stars 185 forks source link

collections/map breaks node-red #215

Open biancode opened 5 years ago

biancode commented 5 years ago

Hi,

I'm sorry, I've been looking for a problem in my lib and found out that your lib is causing the problem.

https://github.com/biancode/node-red-contrib-iiot-opcua/issues/71

require('collections/map') breaks node-red context.global object

TotallyInformation commented 5 years ago

It looks like Array.prototype.find has been altered? This is breaking other code as referenced above.

codebling commented 5 years ago

See also issues #36 #70 #94 #95 #116 #139 #145 #162 #165 #169 #178 #182 #185 #197 #215 #220 and PRs #94 #95 #116 #173 #189 #212. Branch v2 fixes these issues by avoiding global object modification.