Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed collections.js dependency from number-allocator. #1394

Merged
merged 1 commit into from Jan 5, 2022

Conversation

redboltz
Copy link
Contributor

@redboltz redboltz commented Jan 5, 2022

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 #1392.

Replacement for LRU map is still needed to remove collections dependency.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants