Skip to content

Extract sanitizer module #452

Extract sanitizer module

Extract sanitizer module #452

Triggered via pull request March 16, 2026 14:22
Status Failure
Total duration 40s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 10 warnings
test
Process completed with exit code 1.
tests/modules/sanitizer.test.ts > Sanitizer > isObject > should return false for undefined: packages/core/tests/modules/sanitizer.test.ts#L27
TypeError: __vite_ssr_import_1__.Sanitizer.isObject is not a function ❯ tests/modules/sanitizer.test.ts:27:24
tests/modules/sanitizer.test.ts > Sanitizer > isObject > should return false for null: packages/core/tests/modules/sanitizer.test.ts#L23
TypeError: __vite_ssr_import_1__.Sanitizer.isObject is not a function ❯ tests/modules/sanitizer.test.ts:23:24
tests/modules/sanitizer.test.ts > Sanitizer > isObject > should return false for a boolean: packages/core/tests/modules/sanitizer.test.ts#L19
TypeError: __vite_ssr_import_1__.Sanitizer.isObject is not a function ❯ tests/modules/sanitizer.test.ts:19:24
tests/modules/sanitizer.test.ts > Sanitizer > isObject > should return false for a string: packages/core/tests/modules/sanitizer.test.ts#L15
TypeError: __vite_ssr_import_1__.Sanitizer.isObject is not a function ❯ tests/modules/sanitizer.test.ts:15:24
tests/modules/sanitizer.test.ts > Sanitizer > isObject > should return false for an array: packages/core/tests/modules/sanitizer.test.ts#L11
TypeError: __vite_ssr_import_1__.Sanitizer.isObject is not a function ❯ tests/modules/sanitizer.test.ts:11:24
tests/modules/sanitizer.test.ts > Sanitizer > isObject > should return true for a plain object: packages/core/tests/modules/sanitizer.test.ts#L7
TypeError: __vite_ssr_import_1__.Sanitizer.isObject is not a function ❯ tests/modules/sanitizer.test.ts:7:24
lint
Process completed with exit code 1.
lint: packages/core/src/utils/type-guards.ts#L55
Unexpected any. Specify a different type
lint: packages/core/src/utils/type-guards.ts#L46
Unexpected any. Specify a different type
lint: packages/core/src/utils/type-guards.ts#L25
Unexpected any. Specify a different type
lint: packages/core/src/utils/type-guards.ts#L16
Unexpected any. Specify a different type
lint: packages/core/src/utils/type-guards.ts#L16
Unexpected any. Specify a different type
lint: packages/javascript/src/utils/random.ts#L12
Invalid JSDoc tag name "remarks"
lint: packages/javascript/src/utils/random.ts#L11
Missing JSDoc @returns type
lint: packages/core/src/utils/type-guards.ts#L5
Missing JSDoc @returns type
lint: packages/core/src/utils/id.ts#L6
Missing JSDoc @param "random" description
lint: packages/core/src/users/hawk-user-manager.ts#L25
The type 'clear' is undefined
lint: packages/core/src/users/hawk-user-manager.ts#L23
The type 'setUser' is undefined
lint: packages/core/src/users/hawk-user-manager.ts#L18
Invalid JSDoc tag name "remarks"
lint: packages/core/src/modules/sanitizer.ts#L52
The type 'sanitize' is undefined
lint: packages/core/src/modules/sanitizer.ts#L52
The type 'registerHandler' is undefined