Skip to content

Commit 4660ab1

Browse files
committed
refactor(core): put docs and file names in order
1 parent d0c0f58 commit 4660ab1

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

packages/core/src/utils/validation.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ export function validateContext(context: EventContext | undefined): boolean {
3939
}
4040

4141
/**
42-
* Returns true if value is a plain object (not null, array, Date, Map, etc.)
42+
* Checks if value is a plain object (not null, array, Date, Map, etc.)
4343
*
4444
* @param value - value to check
45+
* @returns `true` if value is a plain object, otherwise `false`
4546
*/
4647
export function isPlainObject(value: unknown): value is Record<string, unknown> {
4748
return Object.prototype.toString.call(value) === '[object Object]';

packages/javascript/src/catcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import './modules/sanitizer';
1+
import './modules/element-sanitizer';
22
import Socket from './modules/socket';
33
import type { BreadcrumbsAPI, CatcherMessage, HawkInitialSettings, HawkJavaScriptEvent, Transport } from './types';
44
import { VueIntegration } from './integrations/vue';
File renamed without changes.

0 commit comments

Comments
 (0)