3 Commits

Author SHA1 Message Date
David Hewitt
6030b2670d
fix: test for multiple caller entries (#1304)
* fix: test for multiple caller entries

* fix: Add test for thrown error

* fix: stick to original api
2022-01-20 18:00:05 +01:00
Frederic Espiau
561cb3e4cd
fix(caller): use calling file name for libraries calling Pino (#1276)
* fix(caller): use calling file name for libraries calling Pino

* fix(caller): handle case where stacktrace contains node:internal entries

* fix: add node_modules in fixtures to gitignore

* refactor(caller): merge two functions
2021-12-23 18:17:17 +01:00
Manuel Spigolon
0466fb222c
fix: improved caller detection (#1267)
* feat: Improve caller detection.

* fix: Use strict mode.

Co-authored-by: Matteo Collina <matteo.collina@gmail.com>

* fix: Removed unused dependency.

* wip: adding integration test

* add tests

* add eval test

Co-authored-by: Shogun <ShogunPanda@users.noreply.github.com>
Co-authored-by: Matteo Collina <matteo.collina@gmail.com>
2021-12-15 17:59:23 +01:00