@iflyrpa/playwright 1.2.32 → 1.2.34
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/dist/index.cjs +5 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -44,7 +44,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
44
44
|
});
|
|
45
45
|
const actions_namespaceObject = require("@iflyrpa/actions");
|
|
46
46
|
var package_namespaceObject = {
|
|
47
|
-
i8: "1.2.
|
|
47
|
+
i8: "1.2.33"
|
|
48
48
|
};
|
|
49
49
|
const external_node_fs_namespaceObject = require("node:fs");
|
|
50
50
|
var external_node_fs_default = /*#__PURE__*/ __webpack_require__.n(external_node_fs_namespaceObject);
|
|
@@ -259,12 +259,12 @@ class Logger extends SentryInstance {
|
|
|
259
259
|
external_loglevel_default().warn(msg);
|
|
260
260
|
this.captureMessage(msg, "warning", extras);
|
|
261
261
|
}
|
|
262
|
-
error(prefix, error) {
|
|
262
|
+
error(prefix, error, extras) {
|
|
263
263
|
external_loglevel_default().error(prefix, error);
|
|
264
|
-
if (error) this.captureException(error, {
|
|
264
|
+
if (error) this.captureException(error, Object.assign({
|
|
265
265
|
message: prefix
|
|
266
|
-
});
|
|
267
|
-
else this.captureException(prefix);
|
|
266
|
+
}, extras));
|
|
267
|
+
else this.captureException(prefix, extras);
|
|
268
268
|
}
|
|
269
269
|
close() {
|
|
270
270
|
this.stream.end();
|
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ declare class Logger extends SentryInstance implements LoggerImplement {
|
|
|
16
16
|
debug(msg: string, extras?: Record<string, unknown>): void;
|
|
17
17
|
info(msg: string, extras?: Record<string, unknown>): void;
|
|
18
18
|
warn(msg: string, extras?: Record<string, unknown>): void;
|
|
19
|
-
error(prefix: string, error?: Error | unknown): void;
|
|
19
|
+
error(prefix: string, error?: Error | unknown, extras?: Record<string, unknown>): void;
|
|
20
20
|
close(): void;
|
|
21
21
|
}
|
|
22
22
|
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_loglevel__ from "loglevel";
|
|
|
10
10
|
import * as __WEBPACK_EXTERNAL_MODULE__sentry_node_4658624b__ from "@sentry/node";
|
|
11
11
|
import * as __WEBPACK_EXTERNAL_MODULE__iflyrpa_pacote_56da1cff__ from "@iflyrpa/pacote";
|
|
12
12
|
var package_namespaceObject = {
|
|
13
|
-
i8: "1.2.
|
|
13
|
+
i8: "1.2.33"
|
|
14
14
|
};
|
|
15
15
|
function _define_property(obj, key, value) {
|
|
16
16
|
if (key in obj) Object.defineProperty(obj, key, {
|
|
@@ -210,12 +210,12 @@ class Logger extends SentryInstance {
|
|
|
210
210
|
__WEBPACK_EXTERNAL_MODULE_loglevel__["default"].warn(msg);
|
|
211
211
|
this.captureMessage(msg, "warning", extras);
|
|
212
212
|
}
|
|
213
|
-
error(prefix, error) {
|
|
213
|
+
error(prefix, error, extras) {
|
|
214
214
|
__WEBPACK_EXTERNAL_MODULE_loglevel__["default"].error(prefix, error);
|
|
215
|
-
if (error) this.captureException(error, {
|
|
215
|
+
if (error) this.captureException(error, Object.assign({
|
|
216
216
|
message: prefix
|
|
217
|
-
});
|
|
218
|
-
else this.captureException(prefix);
|
|
217
|
+
}, extras));
|
|
218
|
+
else this.captureException(prefix, extras);
|
|
219
219
|
}
|
|
220
220
|
close() {
|
|
221
221
|
this.stream.end();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iflyrpa/playwright",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.34",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"extract-zip": "^2.0.1",
|
|
29
29
|
"loglevel": "^1.9.2",
|
|
30
30
|
"@iflyrpa/pacote": "1.0.0",
|
|
31
|
-
"@iflyrpa/actions": "1.1
|
|
32
|
-
"@iflyrpa/share": "0.0.
|
|
31
|
+
"@iflyrpa/actions": "1.2.1",
|
|
32
|
+
"@iflyrpa/share": "0.0.8"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "rslib build",
|