@liqngliz/browser-coding-agent 0.0.0-ci.8

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.
Files changed (133) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +131 -0
  3. package/app/.playwright/package/LICENSE +202 -0
  4. package/app/.playwright/package/NOTICE +5 -0
  5. package/app/.playwright/package/README.md +3 -0
  6. package/app/.playwright/package/ThirdPartyNotices.txt +13 -0
  7. package/app/.playwright/package/bin/install_media_pack.ps1 +5 -0
  8. package/app/.playwright/package/bin/install_webkit_wsl.ps1 +33 -0
  9. package/app/.playwright/package/bin/reinstall_chrome_beta_linux.sh +42 -0
  10. package/app/.playwright/package/bin/reinstall_chrome_beta_mac.sh +13 -0
  11. package/app/.playwright/package/bin/reinstall_chrome_beta_win.ps1 +24 -0
  12. package/app/.playwright/package/bin/reinstall_chrome_stable_linux.sh +42 -0
  13. package/app/.playwright/package/bin/reinstall_chrome_stable_mac.sh +12 -0
  14. package/app/.playwright/package/bin/reinstall_chrome_stable_win.ps1 +24 -0
  15. package/app/.playwright/package/bin/reinstall_msedge_beta_linux.sh +48 -0
  16. package/app/.playwright/package/bin/reinstall_msedge_beta_mac.sh +11 -0
  17. package/app/.playwright/package/bin/reinstall_msedge_beta_win.ps1 +23 -0
  18. package/app/.playwright/package/bin/reinstall_msedge_dev_linux.sh +48 -0
  19. package/app/.playwright/package/bin/reinstall_msedge_dev_mac.sh +11 -0
  20. package/app/.playwright/package/bin/reinstall_msedge_dev_win.ps1 +23 -0
  21. package/app/.playwright/package/bin/reinstall_msedge_stable_linux.sh +48 -0
  22. package/app/.playwright/package/bin/reinstall_msedge_stable_mac.sh +11 -0
  23. package/app/.playwright/package/bin/reinstall_msedge_stable_win.ps1 +24 -0
  24. package/app/.playwright/package/browsers.json +52 -0
  25. package/app/.playwright/package/cli.js +21 -0
  26. package/app/.playwright/package/index.d.ts +17 -0
  27. package/app/.playwright/package/index.js +17 -0
  28. package/app/.playwright/package/index.mjs +28 -0
  29. package/app/.playwright/package/lib/bootstrap.js +88 -0
  30. package/app/.playwright/package/lib/coreBundle.js +75813 -0
  31. package/app/.playwright/package/lib/entry/cliDaemon.js +5 -0
  32. package/app/.playwright/package/lib/entry/dashboardApp.js +3 -0
  33. package/app/.playwright/package/lib/entry/mcp.js +10 -0
  34. package/app/.playwright/package/lib/entry/oopBrowserDownload.js +3 -0
  35. package/app/.playwright/package/lib/package.js +50 -0
  36. package/app/.playwright/package/lib/server/chromium/appIcon.png +0 -0
  37. package/app/.playwright/package/lib/server/electron/loader.js +116 -0
  38. package/app/.playwright/package/lib/serverRegistry.js +1939 -0
  39. package/app/.playwright/package/lib/serverRegistry.js.LICENSE +65 -0
  40. package/app/.playwright/package/lib/tools/cli-client/channelSessions.js +141 -0
  41. package/app/.playwright/package/lib/tools/cli-client/cli.js +6 -0
  42. package/app/.playwright/package/lib/tools/cli-client/help.json +721 -0
  43. package/app/.playwright/package/lib/tools/cli-client/minimist.js +128 -0
  44. package/app/.playwright/package/lib/tools/cli-client/output.js +351 -0
  45. package/app/.playwright/package/lib/tools/cli-client/program.js +418 -0
  46. package/app/.playwright/package/lib/tools/cli-client/registry.js +180 -0
  47. package/app/.playwright/package/lib/tools/cli-client/session.js +259 -0
  48. package/app/.playwright/package/lib/tools/dashboard/appIcon.png +0 -0
  49. package/app/.playwright/package/lib/tools/skills/playwright-cli/SKILL.md +425 -0
  50. package/app/.playwright/package/lib/tools/skills/playwright-cli/references/element-attributes.md +23 -0
  51. package/app/.playwright/package/lib/tools/skills/playwright-cli/references/playwright-tests.md +39 -0
  52. package/app/.playwright/package/lib/tools/skills/playwright-cli/references/request-mocking.md +87 -0
  53. package/app/.playwright/package/lib/tools/skills/playwright-cli/references/running-code.md +241 -0
  54. package/app/.playwright/package/lib/tools/skills/playwright-cli/references/session-management.md +225 -0
  55. package/app/.playwright/package/lib/tools/skills/playwright-cli/references/storage-state.md +275 -0
  56. package/app/.playwright/package/lib/tools/skills/playwright-cli/references/test-generation.md +433 -0
  57. package/app/.playwright/package/lib/tools/skills/playwright-cli/references/tracing.md +139 -0
  58. package/app/.playwright/package/lib/tools/skills/playwright-cli/references/video-recording.md +143 -0
  59. package/app/.playwright/package/lib/tools/skills/playwright-component-testing/SKILL.md +136 -0
  60. package/app/.playwright/package/lib/tools/skills/playwright-component-testing/references/gallery-spec.md +144 -0
  61. package/app/.playwright/package/lib/tools/skills/playwright-component-testing/references/migration.md +89 -0
  62. package/app/.playwright/package/lib/tools/skills/playwright-component-testing/references/react.md +69 -0
  63. package/app/.playwright/package/lib/tools/skills/playwright-component-testing/references/typing.md +173 -0
  64. package/app/.playwright/package/lib/tools/skills/playwright-component-testing/references/vue.md +77 -0
  65. package/app/.playwright/package/lib/tools/skills/playwright-trace/SKILL.md +174 -0
  66. package/app/.playwright/package/lib/tools/utils/extension.js +112 -0
  67. package/app/.playwright/package/lib/tools/utils/socketConnection.js +108 -0
  68. package/app/.playwright/package/lib/utilsBundle.js +85357 -0
  69. package/app/.playwright/package/lib/utilsBundle.js.LICENSE +1890 -0
  70. package/app/.playwright/package/lib/vite/dashboard/assets/codeMirrorModule--QdMvsKi.css +1 -0
  71. package/app/.playwright/package/lib/vite/dashboard/assets/codeMirrorModule-CQ8RZGBm.js +32 -0
  72. package/app/.playwright/package/lib/vite/dashboard/assets/codicon-DCmgc-ay.ttf +0 -0
  73. package/app/.playwright/package/lib/vite/dashboard/assets/firefox-1bWoP6pv.svg +1 -0
  74. package/app/.playwright/package/lib/vite/dashboard/assets/firefox-beta-k3eOH_eK.svg +1 -0
  75. package/app/.playwright/package/lib/vite/dashboard/assets/firefox-nightly-Cp5nfeDT.svg +1 -0
  76. package/app/.playwright/package/lib/vite/dashboard/assets/index-AwgwcYie.css +1 -0
  77. package/app/.playwright/package/lib/vite/dashboard/assets/index-hRvO4yU2.js +12 -0
  78. package/app/.playwright/package/lib/vite/dashboard/assets/safari-na3_-uQk.svg +1 -0
  79. package/app/.playwright/package/lib/vite/dashboard/index.html +29 -0
  80. package/app/.playwright/package/lib/vite/dashboard/playwright-logo.svg +24 -0
  81. package/app/.playwright/package/lib/vite/htmlReport/index.html +16 -0
  82. package/app/.playwright/package/lib/vite/htmlReport/report.css +2 -0
  83. package/app/.playwright/package/lib/vite/htmlReport/report.js +32 -0
  84. package/app/.playwright/package/lib/vite/recorder/assets/codeMirrorModule--QdMvsKi.css +1 -0
  85. package/app/.playwright/package/lib/vite/recorder/assets/codeMirrorModule-CVQWJZAA.js +32 -0
  86. package/app/.playwright/package/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
  87. package/app/.playwright/package/lib/vite/recorder/assets/index-BZpYJZ-P.css +1 -0
  88. package/app/.playwright/package/lib/vite/recorder/assets/index-hrlLqLtq.js +129 -0
  89. package/app/.playwright/package/lib/vite/recorder/index.html +29 -0
  90. package/app/.playwright/package/lib/vite/recorder/playwright-logo.svg +9 -0
  91. package/app/.playwright/package/lib/vite/traceViewer/assets/codeMirrorModule-BbkfBe3n.js +32 -0
  92. package/app/.playwright/package/lib/vite/traceViewer/assets/defaultSettingsView-Ds6CBOo0.js +182 -0
  93. package/app/.playwright/package/lib/vite/traceViewer/assets/urlMatch-L3liM589.js +1 -0
  94. package/app/.playwright/package/lib/vite/traceViewer/assets/xtermModule-DywYcAf8.js +7 -0
  95. package/app/.playwright/package/lib/vite/traceViewer/codeMirrorModule.-QdMvsKi.css +1 -0
  96. package/app/.playwright/package/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
  97. package/app/.playwright/package/lib/vite/traceViewer/defaultSettingsView.Bqk9acqE.css +1 -0
  98. package/app/.playwright/package/lib/vite/traceViewer/index.B4cLoZK3.js +1 -0
  99. package/app/.playwright/package/lib/vite/traceViewer/index.B_TqY17P.css +1 -0
  100. package/app/.playwright/package/lib/vite/traceViewer/index.html +44 -0
  101. package/app/.playwright/package/lib/vite/traceViewer/manifest.webmanifest +16 -0
  102. package/app/.playwright/package/lib/vite/traceViewer/playwright-logo.svg +9 -0
  103. package/app/.playwright/package/lib/vite/traceViewer/snapshot.B_Jk1wbt.js +1 -0
  104. package/app/.playwright/package/lib/vite/traceViewer/snapshot.html +10 -0
  105. package/app/.playwright/package/lib/vite/traceViewer/sw.bundle.js +4 -0
  106. package/app/.playwright/package/lib/vite/traceViewer/uiMode.CU5KtEkS.js +5 -0
  107. package/app/.playwright/package/lib/vite/traceViewer/uiMode.CyMfwkXJ.css +1 -0
  108. package/app/.playwright/package/lib/vite/traceViewer/uiMode.html +18 -0
  109. package/app/.playwright/package/lib/vite/traceViewer/xtermModule.kHJ-D0s7.css +1 -0
  110. package/app/.playwright/package/lib/webp_codec.LICENSE +173 -0
  111. package/app/.playwright/package/lib/webp_codec.wasm +0 -0
  112. package/app/.playwright/package/lib/xdg-open +1267 -0
  113. package/app/.playwright/package/package.json +34 -0
  114. package/app/.playwright/package/types/protocol.d.ts +24645 -0
  115. package/app/.playwright/package/types/structs.d.ts +52 -0
  116. package/app/.playwright/package/types/types.d.ts +26632 -0
  117. package/app/BrowserCodingAgent.Api.deps.json +109 -0
  118. package/app/BrowserCodingAgent.Api.dll +0 -0
  119. package/app/BrowserCodingAgent.Api.pdb +0 -0
  120. package/app/BrowserCodingAgent.Api.runtimeconfig.json +20 -0
  121. package/app/BrowserCodingAgent.Api.staticwebassets.endpoints.json +1 -0
  122. package/app/Microsoft.AspNetCore.OpenApi.dll +0 -0
  123. package/app/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
  124. package/app/Microsoft.OpenApi.dll +0 -0
  125. package/app/Microsoft.Playwright.dll +0 -0
  126. package/app/Swashbuckle.AspNetCore.SwaggerUI.dll +0 -0
  127. package/app/appsettings.Development.json +8 -0
  128. package/app/appsettings.json +16 -0
  129. package/app/playwright.ps1 +7 -0
  130. package/app/replacements.json +48 -0
  131. package/app/web.config +11 -0
  132. package/browser-coding-agent.cjs +99 -0
  133. package/package.json +36 -0
@@ -0,0 +1,65 @@
1
+ packages/playwright-core/lib/serverRegistry.js
2
+
3
+ THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
4
+
5
+ The following npm packages are inlined into this bundle.
6
+
7
+ - chokidar@4.0.3 (https://github.com/paulmillr/chokidar)
8
+ - readdirp@4.1.2 (https://github.com/paulmillr/readdirp)
9
+
10
+ %% chokidar@4.0.3 NOTICES AND INFORMATION BEGIN HERE
11
+ =========================================
12
+ The MIT License (MIT)
13
+
14
+ Copyright (c) 2012 Paul Miller (https://paulmillr.com), Elan Shanker
15
+
16
+ Permission is hereby granted, free of charge, to any person obtaining a copy
17
+ of this software and associated documentation files (the “Software”), to deal
18
+ in the Software without restriction, including without limitation the rights
19
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20
+ copies of the Software, and to permit persons to whom the Software is
21
+ furnished to do so, subject to the following conditions:
22
+
23
+ The above copyright notice and this permission notice shall be included in
24
+ all copies or substantial portions of the Software.
25
+
26
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
29
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
30
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
31
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
32
+ THE SOFTWARE.
33
+ =========================================
34
+ END OF chokidar@4.0.3 NOTICES AND INFORMATION
35
+
36
+ %% readdirp@4.1.2 NOTICES AND INFORMATION BEGIN HERE
37
+ =========================================
38
+ MIT License
39
+
40
+ Copyright (c) 2012-2019 Thorsten Lorenz, Paul Miller (https://paulmillr.com)
41
+
42
+ Permission is hereby granted, free of charge, to any person obtaining a copy
43
+ of this software and associated documentation files (the "Software"), to deal
44
+ in the Software without restriction, including without limitation the rights
45
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
46
+ copies of the Software, and to permit persons to whom the Software is
47
+ furnished to do so, subject to the following conditions:
48
+
49
+ The above copyright notice and this permission notice shall be included in all
50
+ copies or substantial portions of the Software.
51
+
52
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
53
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
54
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
55
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
56
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
57
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
58
+ SOFTWARE.
59
+ =========================================
60
+ END OF readdirp@4.1.2 NOTICES AND INFORMATION
61
+
62
+ SUMMARY
63
+ =========================================
64
+ Total Packages: 2
65
+ =========================================
@@ -0,0 +1,141 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var channelSessions_exports = {};
30
+ __export(channelSessions_exports, {
31
+ isKnownChannel: () => isKnownChannel,
32
+ listChannelSessions: () => listChannelSessions
33
+ });
34
+ module.exports = __toCommonJS(channelSessions_exports);
35
+ var import_fs = __toESM(require("fs"));
36
+ var import_net = __toESM(require("net"));
37
+ var import_os = __toESM(require("os"));
38
+ var import_path = __toESM(require("path"));
39
+ var import_extension = require("../utils/extension");
40
+ function isKnownChannel(name) {
41
+ return channelToUserDataDir.has(name);
42
+ }
43
+ async function listChannelSessions() {
44
+ if (process.env.PWTEST_CLI_CHANNEL_SCAN_DISABLED_FOR_TEST)
45
+ return [];
46
+ const result = [];
47
+ for (const [channel, dirs] of channelToUserDataDir) {
48
+ const userDataDir = dirs[process.platform];
49
+ if (!userDataDir)
50
+ continue;
51
+ if (!await pathExists(userDataDir))
52
+ continue;
53
+ const [endpoint, extensionInstalled] = await Promise.all([
54
+ readEndpoint(userDataDir),
55
+ (0, import_extension.isPlaywrightExtensionInstalled)(userDataDir)
56
+ ]);
57
+ result.push({ channel, userDataDir, endpoint, extensionInstalled });
58
+ }
59
+ return result;
60
+ }
61
+ async function pathExists(p) {
62
+ try {
63
+ await import_fs.default.promises.access(p);
64
+ return true;
65
+ } catch {
66
+ return false;
67
+ }
68
+ }
69
+ async function readEndpoint(userDataDir) {
70
+ let contents;
71
+ try {
72
+ contents = await import_fs.default.promises.readFile(import_path.default.join(userDataDir, "DevToolsActivePort"), "utf-8");
73
+ } catch {
74
+ return void 0;
75
+ }
76
+ const port = parseInt(contents.trim().split("\n")[0], 10);
77
+ if (!Number.isFinite(port))
78
+ return void 0;
79
+ if (!await isPortOpen(port))
80
+ return void 0;
81
+ return `http://localhost:${port}`;
82
+ }
83
+ async function isPortOpen(port) {
84
+ return new Promise((resolve) => {
85
+ const socket = import_net.default.createConnection(port, "127.0.0.1");
86
+ const done = (value) => {
87
+ socket.destroy();
88
+ resolve(value);
89
+ };
90
+ socket.once("connect", () => done(true));
91
+ socket.once("error", () => done(false));
92
+ socket.setTimeout(250, () => done(false));
93
+ });
94
+ }
95
+ const channelToUserDataDir = /* @__PURE__ */ new Map([
96
+ ["chrome", {
97
+ "linux": import_path.default.join(import_os.default.homedir(), ".config", "google-chrome"),
98
+ "darwin": import_path.default.join(import_os.default.homedir(), "Library", "Application Support", "Google", "Chrome"),
99
+ "win32": import_path.default.join(process.env.LOCALAPPDATA || import_path.default.join(import_os.default.homedir(), "AppData", "Local"), "Google", "Chrome", "User Data")
100
+ }],
101
+ ["chrome-beta", {
102
+ "linux": import_path.default.join(import_os.default.homedir(), ".config", "google-chrome-beta"),
103
+ "darwin": import_path.default.join(import_os.default.homedir(), "Library", "Application Support", "Google", "Chrome Beta"),
104
+ "win32": import_path.default.join(process.env.LOCALAPPDATA || import_path.default.join(import_os.default.homedir(), "AppData", "Local"), "Google", "Chrome Beta", "User Data")
105
+ }],
106
+ ["chrome-dev", {
107
+ "linux": import_path.default.join(import_os.default.homedir(), ".config", "google-chrome-unstable"),
108
+ "darwin": import_path.default.join(import_os.default.homedir(), "Library", "Application Support", "Google", "Chrome Dev"),
109
+ "win32": import_path.default.join(process.env.LOCALAPPDATA || import_path.default.join(import_os.default.homedir(), "AppData", "Local"), "Google", "Chrome Dev", "User Data")
110
+ }],
111
+ ["chrome-canary", {
112
+ "linux": import_path.default.join(import_os.default.homedir(), ".config", "google-chrome-canary"),
113
+ "darwin": import_path.default.join(import_os.default.homedir(), "Library", "Application Support", "Google", "Chrome Canary"),
114
+ "win32": import_path.default.join(process.env.LOCALAPPDATA || import_path.default.join(import_os.default.homedir(), "AppData", "Local"), "Google", "Chrome SxS", "User Data")
115
+ }],
116
+ ["msedge", {
117
+ "linux": import_path.default.join(import_os.default.homedir(), ".config", "microsoft-edge"),
118
+ "darwin": import_path.default.join(import_os.default.homedir(), "Library", "Application Support", "Microsoft Edge"),
119
+ "win32": import_path.default.join(process.env.LOCALAPPDATA || import_path.default.join(import_os.default.homedir(), "AppData", "Local"), "Microsoft", "Edge", "User Data")
120
+ }],
121
+ ["msedge-beta", {
122
+ "linux": import_path.default.join(import_os.default.homedir(), ".config", "microsoft-edge-beta"),
123
+ "darwin": import_path.default.join(import_os.default.homedir(), "Library", "Application Support", "Microsoft Edge Beta"),
124
+ "win32": import_path.default.join(process.env.LOCALAPPDATA || import_path.default.join(import_os.default.homedir(), "AppData", "Local"), "Microsoft", "Edge Beta", "User Data")
125
+ }],
126
+ ["msedge-dev", {
127
+ "linux": import_path.default.join(import_os.default.homedir(), ".config", "microsoft-edge-dev"),
128
+ "darwin": import_path.default.join(import_os.default.homedir(), "Library", "Application Support", "Microsoft Edge Dev"),
129
+ "win32": import_path.default.join(process.env.LOCALAPPDATA || import_path.default.join(import_os.default.homedir(), "AppData", "Local"), "Microsoft", "Edge Dev", "User Data")
130
+ }],
131
+ ["msedge-canary", {
132
+ "linux": import_path.default.join(import_os.default.homedir(), ".config", "microsoft-edge-canary"),
133
+ "darwin": import_path.default.join(import_os.default.homedir(), "Library", "Application Support", "Microsoft Edge Canary"),
134
+ "win32": import_path.default.join(process.env.LOCALAPPDATA || import_path.default.join(import_os.default.homedir(), "AppData", "Local"), "Microsoft", "Edge SxS", "User Data")
135
+ }]
136
+ ]);
137
+ // Annotate the CommonJS export names for ESM import in node:
138
+ 0 && (module.exports = {
139
+ isKnownChannel,
140
+ listChannelSessions
141
+ });
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ var import_program = require("./program");
3
+ (0, import_program.program)().catch((e) => {
4
+ console.error(e.message);
5
+ process.exit(1);
6
+ });