@lynx-js/devtool-connector 0.18.2 → 0.18.3
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/CHANGELOG.md +4 -0
- package/dist/2.js +1 -1
- package/dist/h.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/2.js
CHANGED
|
@@ -1659,7 +1659,7 @@ const DAEMON_SHUTDOWN_PATH = `${DAEMON_WS_PATH}/shutdown`;
|
|
|
1659
1659
|
const DAEMON_INSPECTOR_PATH = `${DAEMON_WS_PATH}/inspector`;
|
|
1660
1660
|
const DAEMON_COMMAND_PATH_PREFIX = "/command/";
|
|
1661
1661
|
var package_namespaceObject = {
|
|
1662
|
-
rE: "0.18.
|
|
1662
|
+
rE: "0.18.3"
|
|
1663
1663
|
};
|
|
1664
1664
|
const CONNECTOR_VERSION = package_namespaceObject.rE;
|
|
1665
1665
|
const node_modules_semver = __webpack_require__("../../../node_modules/.pnpm/semver@7.8.5/node_modules/semver/index.js");
|
package/dist/h.js
CHANGED
|
@@ -9097,7 +9097,7 @@ class AndroidTransport {
|
|
|
9097
9097
|
}
|
|
9098
9098
|
const output = await spawnWaitText(adb, command);
|
|
9099
9099
|
android_debug(`openApp output ${output}`);
|
|
9100
|
-
if (output.includes("Error:") || output.includes("unable to resolve Intent") || /Error type \d+/u.test(output)) throw new Error(`Failed to open app ${packageName}: ${output.trim()}`);
|
|
9100
|
+
if (output.includes("Error:") || output.includes("Security exception:") || output.includes("Permission Denial:") || output.includes("unable to resolve Intent") || /\b[A-Za-z0-9_$.]*Exception:/u.test(output) || /Error type \d+/u.test(output)) throw new Error(`Failed to open app ${packageName}: ${output.trim()}`);
|
|
9101
9101
|
} catch (e) {
|
|
9102
9102
|
env.error = e;
|
|
9103
9103
|
env.hasError = true;
|