Bump dependencies
This commit is contained in:
parent
15f062de41
commit
682e306241
5
package-lock.json
generated
5
package-lock.json
generated
|
@ -7942,6 +7942,11 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"webext-launch-web-auth-flow": {
|
||||
"version": "0.1.0",
|
||||
"resolved": "https://registry.npmjs.org/webext-launch-web-auth-flow/-/webext-launch-web-auth-flow-0.1.0.tgz",
|
||||
"integrity": "sha512-3W8ANT9/6uL6NX5SiaKQee439dfiS1NT8wSc+vmjly/2MmH7FBqGFBXLfBFw296w8OOqHNPnEdNcBkDGJQkDgg=="
|
||||
},
|
||||
"webext-tx-fix": {
|
||||
"version": "0.3.3",
|
||||
"resolved": "https://registry.npmjs.org/webext-tx-fix/-/webext-tx-fix-0.3.3.tgz",
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
"stylelint-bundle": "^8.0.0",
|
||||
"stylus-lang-bundle": "^0.54.5",
|
||||
"usercss-meta": "^0.9.0",
|
||||
"uuid": "^8.1.0"
|
||||
"uuid": "^8.1.0",
|
||||
"webext-launch-web-auth-flow": "^0.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"archiver": "^4.0.1",
|
||||
|
|
2
vendor/webext-launch-web-auth-flow/README.md
vendored
2
vendor/webext-launch-web-auth-flow/README.md
vendored
|
@ -1,4 +1,4 @@
|
|||
## webext-launch-web-auth-flow v0.0.0
|
||||
## webext-launch-web-auth-flow v0.1.0
|
||||
|
||||
Following files are copied from npm (node_modules):
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ var webextLaunchWebAuthFlow = (function () {
|
|||
}
|
||||
|
||||
const tabOptions = {
|
||||
active: options.focused,
|
||||
active: options.state !== "minimized",
|
||||
url: options.url
|
||||
};
|
||||
const tab = yield browser.tabs.create(tabOptions);
|
||||
|
@ -112,10 +112,12 @@ var webextLaunchWebAuthFlow = (function () {
|
|||
interactive = false
|
||||
}) {
|
||||
const wInfo = yield createWindow({
|
||||
// Firefox doesn't support focused
|
||||
type: "popup",
|
||||
url,
|
||||
state: "minimized"
|
||||
state: "minimized" // https://crbug.com/783827
|
||||
// note that Firefox doesn't support focused either
|
||||
// focused: false
|
||||
|
||||
});
|
||||
const windowId = wInfo.id;
|
||||
const tabId = wInfo.tabs[0].id;
|
||||
|
|
Loading…
Reference in New Issue
Block a user