errorreporter 1.0.268 → 1.0.269
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/type.d.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "errorreporter",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.269",
|
|
4
4
|
"description": "Error reporter for client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"client",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
"engines": {
|
|
87
|
-
"node": ">=
|
|
88
|
-
"npm": ">=
|
|
87
|
+
"node": ">=19",
|
|
88
|
+
"npm": ">=8"
|
|
89
89
|
},
|
|
90
90
|
"resolutions": {
|
|
91
91
|
"@types/webpack": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.1.1.tgz",
|
package/type.d.ts
CHANGED
|
@@ -31,9 +31,9 @@ export interface BaseLocation {
|
|
|
31
31
|
port?: string;
|
|
32
32
|
protocol: string;
|
|
33
33
|
}
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
34
|
+
export type IssueSpecification<Type = null | RegExp | string> = RecursivePartial<Issue<Type>>;
|
|
35
|
+
export type NativeErrorHandler = (errorMessage: Event | string, url?: string, lineNumber?: number, columnNumber?: number, error?: Error, ...additionalParameter: Array<unknown>) => (false | void);
|
|
36
|
+
export type ErrorHandler = NativeErrorHandler & {
|
|
37
37
|
additionalIssuesToIgnore: Array<IssueSpecification>;
|
|
38
38
|
callbackBackup: NativeErrorHandler;
|
|
39
39
|
failedHandler: (error: Error) => void;
|