Skip to content

Conversation

@okuryu
Copy link

@okuryu okuryu commented Jul 16, 2021

The collections package we are using seems to be an obsolete pollyfill, so depending on how you use this package, there is a problem that pollutes the global scope and breaks the runtime. For example, there seems to be
a bug in the Object.values() function of collections. These modern ECMAScript features are already available as standard in many browsers and Node.js, so it is better to use the native standard features rather than fixing collections package.

Instead of collections/fast-map, it will change it to use native JavaScript Maps. These work faster in current browsers and Node.js.

okuryu added 2 commits July 16, 2021 13:33
The collections package we are using seems to be an obsolete pollyfill,
so depending on how you use this package, there is a problem that pollutes
the global scope and breaks the runtime. For example, there seems to be
a bug in the Object.values() function of collections. These modern
ECMAScript features are already available as standard in many browsers
and Node.js, so it is better to use the native standard features rather
than fixing collections package.

Instead of collections/fast-map, it will change it to use native
JavaScript Maps. These work faster in current browsers and Node.js.
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.

1 participant