Commit Graph

38 Commits

Author SHA1 Message Date
Sergei Zharinov 53263bbfda feat: Clone objects via wrapper (#22970) 2023-06-27 13:09:59 +00:00
Sergei Zharinov 115ed870ab fix(logger): Represent Zod errors in friendlier format (#22238) 2023-05-16 14:18:46 +00:00
Jamie Magee a6dfa70c1d chore: migrate to structuredClone (#20885)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-04-27 05:06:22 +00:00
Dominik Steinbinder 18d0fbc3af fix: sanitize special characters in URLs (#21575) 2023-04-19 14:47:12 +00:00
Jamie Magee 176282e65f chore: use node: protocol imports (#21181) 2023-03-28 21:05:36 +00:00
Rhys Arkins be10c29d17 fix(http): improve error handling (#17587)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-10-19 04:27:07 +00:00
Gabriel-Ladzaretti 7ac91e452c docs(config): Don't show [template] for long strings (#16224) 2022-06-28 13:49:42 +00:00
Michael Kriese 6ef2b8cb44 fix(logger): sanitize urls in strings (#15102) 2022-04-14 11:24:28 +02:00
MaronHatoum b121deb969 refactor(util/http): move interfaces from index.ts to types.ts (#14335)
* refactor:util/http move interfaces and types from index.ts to types.ts

* refactor:reorder imports

* refactor:move HttpError from type.ts to index.ts

* refactor:change imports after moving HttpError from type.ts to index.ts

* refactor:revert white spaces

* refactor:revert moving httpError from types.ts to index.ts

* refactor: moving httpError from types.ts to index.ts

* refactor: change import

* refactor: change import

* refactor: change import

* refactor: fix circular dependencies (lint build)

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-02-24 08:50:17 +00:00
Hasan Awad 85cf82e79d fix(logging): Added check for log level value (#13941) 2022-02-07 08:44:44 +00:00
RahulGautamSingh ee2e155f1f fix: modify regex to be re2 compatbile (#12778)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-29 19:16:05 +00:00
Sergei Zharinov e7a969016d refactor(logger): Update logger internals (#12842)
* refactor(logger): Update logger internals

* Check the entire logger directory

* Refactor sanitizeValue function

* Backport changes

* Backport test too
2021-11-27 10:22:58 +01:00
Sergei Zharinov fb8715c921 refactor(logger): Simplify sanitizeValue function (#12859)
* refactor(logger): Simplify sanitizeValue function

* Return older test

* One more test for functions
2021-11-27 09:40:44 +01:00
Rhys Arkins e95fcb17d8 fix(logger): skip response body for timeouts (#12704) 2021-11-17 09:55:57 +01:00
Rhys Arkins bf09337076 fix: enable eslint eqeqeq (#12574)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-11-09 07:02:59 +00:00
Rhys Arkins c3ad246a99 fix: no-param-reassign (#12571) 2021-11-09 07:04:34 +01:00
HonkingGoose ab018191fa chore: report and fix unused ESLint disable directives (#12548) 2021-11-08 20:20:03 +01:00
RahulGautamSingh 4b16903ff1 fix: modified regex to use RE2 (#12025)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-19 14:53:34 +02:00
Michael Kriese 0eb5c6d2cd fix(core/changelogs): pass though known project info (#11515) 2021-09-01 13:07:55 +02:00
Michael Kriese 7daa93a78d refactor: extract types to new files (#9951) 2021-05-11 12:51:21 +02:00
Rhys Arkins af1e4ee1a7 feat: secrets (#8070) 2021-03-22 15:51:38 +01:00
Rhys Arkins 116693be64 fix: Revert "feat: secrets" (#8069)
This reverts commit ec1b3c386b.
2020-12-18 15:33:21 +01:00
Rhys Arkins ec1b3c386b feat: secrets (#6664) 2020-12-18 13:38:28 +01:00
Michael Kriese 739a561c63 fix(logger): fix logging (#7585) 2020-10-28 11:38:28 +01:00
Michael Kriese e4c1e042b8 fix(logger): handle errors (#7554)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-10-26 13:58:28 +01:00
Florian Greinacher 71cf56eaf9 feat(dependency-dashboard): display logged repository problems (#6952)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-09-21 22:04:11 +02:00
Rhys Arkins bc90949c44 feat(logger): clearErrors 2020-09-18 09:26:38 +02:00
Rhys Arkins 462351f9b1 feat(logger): serialize got request error (#7181)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-09-07 08:34:17 +02:00
Sergio Zharinov f411dde51a refactor(logger): Fix lint warnings (#7109) 2020-08-27 09:12:37 +02:00
Jamie Magee b45502cd28 chore: fix more eslint warnings (#7001) 2020-08-17 12:32:23 +02:00
Jamie Magee 456245aabe chore(eslint): enable typescript 3.7 rules (#6765) 2020-07-18 08:42:32 +02:00
Michael Kriese 2515a89dab fix(logging): sanitize known token (#5917) 2020-05-16 12:35:41 +02:00
Rhys Arkins 53ca91301f chore: import linting (#6105) 2020-05-01 18:03:48 +02:00
Jamie Magee 5ce5ef39c1 chore(internal): disallow implicit braces (#5730) 2020-03-17 12:15:22 +01:00
Michael Kriese f0d4995fda fix(eslint): '@typescript-eslint/explicit-function-return-… (#4872) 2019-11-26 16:13:07 +01:00
Carlin St Pierre a20ca3c8a5 fix: Allow Date objects to pass through sanitizeValue without all of the fields being removed (#4809)
This fixes an issue where timestamps were not being logged because `Object.entries<any>(value)` for a Date object would return `{}`.
2019-11-15 07:04:58 -08:00
Sergio Zharinov c95ae29179 feat(logger): Integrate logger with sanitizing (#4474) 2019-09-27 11:28:09 +02:00
Michael Kriese f650b851c5 feat(logger): store and print errors on exit (#4257) 2019-08-15 12:43:13 +02:00