@weapp-vite/miniprogram-automator 1.5.2 → 1.5.3-dev.20261112.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.mjs CHANGED
@@ -1402,7 +1402,7 @@ var Connection = class Connection extends EventEmitter {
1402
1402
  };
1403
1403
  // src/headless.ts
1404
1404
  async function launchHeadlessAutomator(options) {
1405
- return await (await import("./launch-f8nEl-FE.mjs")).launch({ projectPath: options.projectPath });
1405
+ return await (await import("./launch-B07RJf-D.mjs")).launch({ projectPath: options.projectPath });
1406
1406
  }
1407
1407
  // src/launcher/diagnostics.ts
1408
1408
  /** 将本次 CLI 的有界输出附到原始错误,避免泄露登录票据及账号参数。 */
@@ -1658,7 +1658,7 @@ function spawnWechatCli(cliPath, args, cwd, scope) {
1658
1658
  return Object.assign(state, { release });
1659
1659
  }
1660
1660
  // package.json
1661
- var version = "1.5.2";
1661
+ var version = "1.5.3-dev.20261112.2";
1662
1662
  // src/appServiceHeap.ts
1663
1663
  function isRecord$1(value) {
1664
1664
  return value !== null && typeof value === "object" && !Array.isArray(value);
@@ -42876,7 +42876,8 @@ function createWorkerHost(options) {
42876
42876
  setTimeout: scheduler.setTimeout.bind(scheduler),
42877
42877
  clearTimeout: scheduler.clearTimeout.bind(scheduler),
42878
42878
  setInterval: scheduler.setInterval.bind(scheduler),
42879
- clearInterval: scheduler.clearInterval.bind(scheduler)
42879
+ clearInterval: scheduler.clearInterval.bind(scheduler),
42880
+ ...options.globals
42880
42881
  };
42881
42882
  globals.globalThis = globals;
42882
42883
  const execute = options.createExecutor(globals);
@@ -43409,6 +43410,7 @@ function createModuleLoader(registries, getCurrentPages, getApp, wxDriver, optio
43409
43410
  const workers = createWorkerHost({
43410
43411
  root: options.miniprogramRootPath,
43411
43412
  read: (file) => options.artifactSource.readText(file),
43413
+ globals: { WXWebAssembly: createPackageWebAssembly((file) => options.artifactSource.readBinary?.(path.join(options.miniprogramRootPath, file))) },
43412
43414
  console: options.kernel.diagnostics.createConsole(console, options.onConsole),
43413
43415
  createExecutor(globals) {
43414
43416
  const realm = vm.createContext(globals);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@weapp-vite/miniprogram-automator",
3
3
  "type": "module",
4
- "version": "1.5.2",
4
+ "version": "1.5.3-dev.20261112.2",
5
5
  "description": "完全兼容微信 miniprogram-automator 的现代化替代实现",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -49,13 +49,14 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@types/ws": "^8.18.2",
52
- "@weapp-vite/qr": "1.2.2",
52
+ "@weapp-vite/qr": "1.2.3-dev.20261112.2",
53
53
  "obug": "^3.0.0",
54
- "ws": "^8.22.1"
54
+ "ws": "^8.22.2"
55
55
  },
56
56
  "publishConfig": {
57
57
  "access": "public",
58
- "registry": "https://registry.npmjs.org"
58
+ "registry": "https://registry.npmjs.org/",
59
+ "tag": "snapshot-nightly"
59
60
  },
60
61
  "devDependencies": {
61
62
  "sharp": "^0.35.5"
@@ -66,6 +67,13 @@
66
67
  "moduleResolution": "NodeNext"
67
68
  }
68
69
  },
70
+ "repoctlSnapshot": {
71
+ "kind": "nightly",
72
+ "commit": "6afc0a3330727030b70967aed33c48b9d59c43b2",
73
+ "buildId": "43276575545-1",
74
+ "identityKey": "d3975aba57991f18ac18c4cffd098ec0e315d194662db4d34ca05ce566d4ef15",
75
+ "tag": "snapshot-nightly"
76
+ },
69
77
  "scripts": {
70
78
  "dev": "tsdown -w --sourcemap",
71
79
  "build": "tsdown",
@@ -77,4 +85,4 @@
77
85
  "lint": "eslint .",
78
86
  "lint:fix": "eslint . --fix"
79
87
  }
80
- }
88
+ }