@lvce-editor/test-with-playwright 14.0.0 → 14.1.0
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/main.js +8 -8
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -1193,14 +1193,14 @@ const execute = (command, ...args) => {
|
|
|
1193
1193
|
};
|
|
1194
1194
|
|
|
1195
1195
|
const Two = '2.0';
|
|
1196
|
-
const create$
|
|
1196
|
+
const create$t = (method, params) => {
|
|
1197
1197
|
return {
|
|
1198
1198
|
jsonrpc: Two,
|
|
1199
1199
|
method,
|
|
1200
1200
|
params
|
|
1201
1201
|
};
|
|
1202
1202
|
};
|
|
1203
|
-
const create$
|
|
1203
|
+
const create$s = (id, method, params) => {
|
|
1204
1204
|
const message = {
|
|
1205
1205
|
id,
|
|
1206
1206
|
jsonrpc: Two,
|
|
@@ -1210,14 +1210,14 @@ const create$r = (id, method, params) => {
|
|
|
1210
1210
|
return message;
|
|
1211
1211
|
};
|
|
1212
1212
|
let id = 0;
|
|
1213
|
-
const create$
|
|
1213
|
+
const create$r = () => {
|
|
1214
1214
|
return ++id;
|
|
1215
1215
|
};
|
|
1216
1216
|
|
|
1217
1217
|
/* eslint-disable n/no-unsupported-features/es-syntax */
|
|
1218
1218
|
|
|
1219
1219
|
const registerPromise = map => {
|
|
1220
|
-
const id = create$
|
|
1220
|
+
const id = create$r();
|
|
1221
1221
|
const {
|
|
1222
1222
|
promise,
|
|
1223
1223
|
resolve
|
|
@@ -1235,7 +1235,7 @@ const invokeHelper = async (callbacks, ipc, method, params, useSendAndTransfer)
|
|
|
1235
1235
|
id,
|
|
1236
1236
|
promise
|
|
1237
1237
|
} = registerPromise(callbacks);
|
|
1238
|
-
const message = create$
|
|
1238
|
+
const message = create$s(id, method, params);
|
|
1239
1239
|
if (useSendAndTransfer && ipc.sendAndTransfer) {
|
|
1240
1240
|
ipc.sendAndTransfer(message);
|
|
1241
1241
|
} else {
|
|
@@ -1271,7 +1271,7 @@ const createRpc = ipc => {
|
|
|
1271
1271
|
* @deprecated
|
|
1272
1272
|
*/
|
|
1273
1273
|
send(method, ...params) {
|
|
1274
|
-
const message = create$
|
|
1274
|
+
const message = create$t(method, params);
|
|
1275
1275
|
ipc.send(message);
|
|
1276
1276
|
}
|
|
1277
1277
|
};
|
|
@@ -1299,7 +1299,7 @@ const handleIpc = ipc => {
|
|
|
1299
1299
|
ipc.on('message', handleMessage);
|
|
1300
1300
|
}
|
|
1301
1301
|
};
|
|
1302
|
-
const create$
|
|
1302
|
+
const create$6 = async ({
|
|
1303
1303
|
argv,
|
|
1304
1304
|
commandMap,
|
|
1305
1305
|
env,
|
|
@@ -1328,7 +1328,7 @@ const create$5 = async ({
|
|
|
1328
1328
|
};
|
|
1329
1329
|
const NodeWorkerRpcParent = {
|
|
1330
1330
|
__proto__: null,
|
|
1331
|
-
create: create$
|
|
1331
|
+
create: create$6
|
|
1332
1332
|
};
|
|
1333
1333
|
|
|
1334
1334
|
const RunAllTests = 'RunAllTests';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/test-with-playwright",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.1.0",
|
|
4
4
|
"description": "CLI tool for running Playwright tests",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"main": "dist/main.js",
|
|
13
13
|
"bin": "bin/test-with-playwright.js",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@lvce-editor/test-with-playwright-worker": "14.
|
|
16
|
-
"@lvce-editor/test-worker": "^11.
|
|
15
|
+
"@lvce-editor/test-with-playwright-worker": "14.1.0",
|
|
16
|
+
"@lvce-editor/test-worker": "^11.11.0"
|
|
17
17
|
},
|
|
18
18
|
"engines": {
|
|
19
19
|
"node": ">=24"
|