single-file-cli 2.0.41 → 2.0.43
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/deno.json +1 -1
- package/lib/browser.js +2 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
package/deno.json
CHANGED
package/lib/browser.js
CHANGED
|
@@ -59,6 +59,7 @@ async function launchBrowser(options = {}, indexPath = 0) {
|
|
|
59
59
|
args.push("--proxy-server=" + options.httpProxyServer);
|
|
60
60
|
}
|
|
61
61
|
args.push("--user-data-dir=" + profilePath);
|
|
62
|
+
args.push("--single-process");
|
|
62
63
|
if (options.args) {
|
|
63
64
|
const argNames = options.args.map(arg => arg.split("=")[0]);
|
|
64
65
|
args = args.filter(arg => !argNames.includes(arg.split("=")[0]));
|
|
@@ -121,7 +122,7 @@ async function closeBrowser() {
|
|
|
121
122
|
await remove(profilePath, { recursive: true });
|
|
122
123
|
profilePath = undefined;
|
|
123
124
|
} catch (error) {
|
|
124
|
-
console.log("Warning: failed to remove profile directory: " +
|
|
125
|
+
console.log("Warning: failed to remove profile directory: " + profilePath); // eslint-disable-line no-console
|
|
125
126
|
}
|
|
126
127
|
}
|
|
127
128
|
}
|
package/lib/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = "2.0.
|
|
1
|
+
export const version = "2.0.43";
|