@iflyrpa/playwright 1.2.9 → 1.2.11

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 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.9"
47
+ i8: "1.2.10"
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);
@@ -406,8 +406,9 @@ class Task {
406
406
  width: 1500,
407
407
  height: 800,
408
408
  webPreferences: {
409
- nodeIntegration: true,
410
- contextIsolation: false
409
+ nodeIntegration: false,
410
+ contextIsolation: true,
411
+ sandbox: true
411
412
  }
412
413
  });
413
414
  if (pageParams.cookies) await Promise.all(pageParams.cookies.map((cookie)=>electron.session.defaultSession.cookies.set(cookie)));
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.9"
13
+ i8: "1.2.10"
14
14
  };
15
15
  function _define_property(obj, key, value) {
16
16
  if (key in obj) Object.defineProperty(obj, key, {
@@ -355,8 +355,9 @@ class Task {
355
355
  width: 1500,
356
356
  height: 800,
357
357
  webPreferences: {
358
- nodeIntegration: true,
359
- contextIsolation: false
358
+ nodeIntegration: false,
359
+ contextIsolation: true,
360
+ sandbox: true
360
361
  }
361
362
  });
362
363
  if (pageParams.cookies) await Promise.all(pageParams.cookies.map((cookie)=>electron.session.defaultSession.cookies.set(cookie)));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iflyrpa/playwright",
3
3
  "type": "module",
4
- "version": "1.2.9",
4
+ "version": "1.2.11",
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.14",
32
- "@iflyrpa/share": "0.0.4"
31
+ "@iflyrpa/actions": "1.1.16",
32
+ "@iflyrpa/share": "0.0.5"
33
33
  },
34
34
  "scripts": {
35
35
  "build": "rslib build",