@iflyrpa/playwright 4.0.9-beta.0 → 4.0.9-beta.2
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 +28 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +99 -0
- package/dist/index.js +22 -6
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e5fc078e-008e-509f-a37b-7290d61e794b")}catch(e){}}();
|
|
3
1
|
var __webpack_modules__ = {
|
|
4
2
|
"../../node_modules/.pnpm/cross-fetch@4.1.0_encoding@0.1.13/node_modules/cross-fetch/dist/node-ponyfill.js": function(module, exports1, __webpack_require__) {
|
|
5
3
|
const nodeFetch = __webpack_require__("../../node_modules/.pnpm/node-fetch@2.7.0_encoding@0.1.13/node_modules/node-fetch/lib/index.mjs");
|
|
@@ -2555,12 +2553,17 @@ var __webpack_exports__ = {};
|
|
|
2555
2553
|
"use strict";
|
|
2556
2554
|
__webpack_require__.r(__webpack_exports__);
|
|
2557
2555
|
__webpack_require__.d(__webpack_exports__, {
|
|
2558
|
-
|
|
2556
|
+
getLatestVersionRecord: ()=>getLatestVersionRecord,
|
|
2557
|
+
getMaxUpdateLevel: ()=>getMaxUpdateLevel,
|
|
2558
|
+
getVersionRecord: ()=>getVersionRecord,
|
|
2559
|
+
RpaTask: ()=>RpaTask,
|
|
2559
2560
|
version: ()=>src_version,
|
|
2560
|
-
|
|
2561
|
+
compareVersion: ()=>compareVersion,
|
|
2562
|
+
getVersionRecordsSince: ()=>getVersionRecordsSince,
|
|
2563
|
+
getVersionHistory: ()=>getVersionHistory
|
|
2561
2564
|
});
|
|
2562
2565
|
const actions_namespaceObject = require("@iflyrpa/actions");
|
|
2563
|
-
var package_namespaceObject = JSON.parse('{"i8":"4.0.9-beta.
|
|
2566
|
+
var package_namespaceObject = JSON.parse('{"i8":"4.0.9-beta.2"}');
|
|
2564
2567
|
const external_node_fs_namespaceObject = require("node:fs");
|
|
2565
2568
|
var external_node_fs_default = /*#__PURE__*/ __webpack_require__.n(external_node_fs_namespaceObject);
|
|
2566
2569
|
const external_node_path_namespaceObject = require("node:path");
|
|
@@ -5689,6 +5692,25 @@ app.on("window-all-closed", (e) => e.preventDefault());
|
|
|
5689
5692
|
this.electronPackage = this.installElectron();
|
|
5690
5693
|
}
|
|
5691
5694
|
}
|
|
5695
|
+
var version_history_namespaceObject = JSON.parse('{"name":"@iflyrpa/playwright","currentVersion":"4.0.9-beta.2","lastUpdate":"2026-08-13","maxVersions":10,"versions":[{"version":"4.0.9-beta.2","releaseDate":"2026-08-13","releaseNote":["1.增加版本更新记录","2.优化错误提示"],"updateLevel":1,"updateStrategy":"建议更新","changeType":"patch"},{"version":"4.0.9-beta.1","releaseDate":"2024-08-10","releaseNote":["改进多个 action 的用户错误提示信息"],"updateLevel":1,"updateStrategy":"建议更新","changeType":"patch"}]}');
|
|
5696
|
+
function getVersionHistory() {
|
|
5697
|
+
return version_history_namespaceObject;
|
|
5698
|
+
}
|
|
5699
|
+
function getLatestVersionRecord() {
|
|
5700
|
+
return getVersionHistory().versions[0] ?? null;
|
|
5701
|
+
}
|
|
5702
|
+
function getVersionRecord(version) {
|
|
5703
|
+
return getVersionHistory().versions.find((v)=>v.version === version) ?? null;
|
|
5704
|
+
}
|
|
5705
|
+
function getVersionRecordsSince(fromVersion) {
|
|
5706
|
+
const { versions } = getVersionHistory();
|
|
5707
|
+
const index = versions.findIndex((v)=>v.version === fromVersion);
|
|
5708
|
+
return -1 === index ? versions : versions.slice(0, index);
|
|
5709
|
+
}
|
|
5710
|
+
function getMaxUpdateLevel(records) {
|
|
5711
|
+
if (0 === records.length) return null;
|
|
5712
|
+
return records.reduce((max, r)=>r.updateLevel > max ? r.updateLevel : max, 0);
|
|
5713
|
+
}
|
|
5692
5714
|
function src_define_property(obj, key, value) {
|
|
5693
5715
|
if (key in obj) Object.defineProperty(obj, key, {
|
|
5694
5716
|
value: value,
|
|
@@ -5775,5 +5797,4 @@ if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_targe
|
|
|
5775
5797
|
value: true
|
|
5776
5798
|
});
|
|
5777
5799
|
|
|
5778
|
-
//# sourceMappingURL=index.cjs.map
|
|
5779
|
-
//# debugId=e5fc078e-008e-509f-a37b-7290d61e794b
|
|
5800
|
+
//# sourceMappingURL=index.cjs.map
|