mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 18:07:49 +00:00
Add maxPoolSize to limit array and object pools.
Former-commit-id: 677cdb053c7ef60274d71d9ecf4d6f866ef6a8eb
This commit is contained in:
3
build.js
3
build.js
@@ -3231,6 +3231,9 @@
|
||||
if (isRemoved(source, 'getObject', 'releaseObject')) {
|
||||
source = removeVar(source, 'objectPool');
|
||||
}
|
||||
if (isRemoved(source, 'releaseArray', 'releaseObject')) {
|
||||
source = removeVar(source, 'maxPoolSize');
|
||||
}
|
||||
if (isRemoved(source, 'invert')) {
|
||||
source = replaceVar(source, 'htmlUnescapes', "{'&':'&','<':'<','>':'>','"':'\"',''':\"'\"}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user