If somebody sets Error.stackTraceLimit to 0, because there are some performance improvements, then getPluginName would not work properly. We set the stackTraceLimit to 10, which is default by node, so we ensure that getPluginName will still work properly.
If somebody sets Error.stackTraceLimit to 0, because there are some performance improvements, then getPluginName would not work properly. We set the stackTraceLimit to 10, which is default by node, so we ensure that getPluginName will still work properly.
Checklist
npm run test
andnpm run benchmark