Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed collections.js dependency from number-allocator.
Since number-allocator https://www.npmjs.com/package/number-allocator 1.0.9, js-sdsl https://www.npmjs.com/package/js-sdsl is used insteaad of collections https://www.npmjs.com/package/collections. collections modify intrinsic type such as Array, it has unexpected side effect for users. So I removed the dependency of collections. It is a partial fix for mqttjs#1392. Replacement for LRU map is still needed to remove collections dependency.
- Loading branch information