@iflyrpa/playwright 1.1.2-beta.3 → 1.1.2-beta.4

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
@@ -43,7 +43,7 @@ __webpack_require__.d(__webpack_exports__, {
43
43
  RpaTask: ()=>RpaTask
44
44
  });
45
45
  const actions_namespaceObject = require("@iflyrpa/actions");
46
- var package_namespaceObject = JSON.parse('{"i8":"1.1.2-beta.3"}');
46
+ var package_namespaceObject = JSON.parse('{"i8":"1.1.2-beta.4"}');
47
47
  const external_node_fs_namespaceObject = require("node:fs");
48
48
  var external_node_fs_default = /*#__PURE__*/ __webpack_require__.n(external_node_fs_namespaceObject);
49
49
  const external_node_path_namespaceObject = require("node:path");
@@ -308,7 +308,11 @@ class PackageManager {
308
308
  const manifest = await this.getManifest(`${name}@latest`);
309
309
  const version = manifest.version;
310
310
  const plugin = this.require(`${name}@${version}`);
311
- if (!plugin) await this.extract(name, version);
311
+ if (plugin) this.task.logger.info(`${name}@${version} 已是最新版本`);
312
+ else {
313
+ await this.extract(name, version);
314
+ this.task.logger.info(`${name}@${version} 安装成功`);
315
+ }
312
316
  return version;
313
317
  }
314
318
  constructor(task){
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import * as __WEBPACK_EXTERNAL_MODULE__iflyrpa_share_f7afdc8c__ from "@iflyrpa/s
9
9
  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
- var package_namespaceObject = JSON.parse('{"i8":"1.1.2-beta.3"}');
12
+ var package_namespaceObject = JSON.parse('{"i8":"1.1.2-beta.4"}');
13
13
  function _define_property(obj, key, value) {
14
14
  if (key in obj) Object.defineProperty(obj, key, {
15
15
  value: value,
@@ -257,7 +257,11 @@ class PackageManager {
257
257
  const manifest = await this.getManifest(`${name}@latest`);
258
258
  const version = manifest.version;
259
259
  const plugin = this.require(`${name}@${version}`);
260
- if (!plugin) await this.extract(name, version);
260
+ if (plugin) this.task.logger.info(`${name}@${version} 已是最新版本`);
261
+ else {
262
+ await this.extract(name, version);
263
+ this.task.logger.info(`${name}@${version} 安装成功`);
264
+ }
261
265
  return version;
262
266
  }
263
267
  constructor(task){
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iflyrpa/playwright",
3
3
  "type": "module",
4
- "version": "1.1.2-beta.3",
4
+ "version": "1.1.2-beta.4",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "extract-zip": "^2.0.1",
29
29
  "loglevel": "^1.9.2",
30
30
  "@iflyrpa/pacote": "1.0.0",
31
- "@iflyrpa/actions": "1.0.2",
31
+ "@iflyrpa/actions": "1.0.3",
32
32
  "@iflyrpa/share": "0.0.2"
33
33
  },
34
34
  "scripts": {