Skip to content

Commit e7957de

Browse files
committed
fix GH Actions again
1 parent 3aa86c1 commit e7957de

File tree

8 files changed

+52
-32
lines changed

8 files changed

+52
-32
lines changed

.eslintrc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ rules:
99
- error
1010
- 2
1111
- SwitchCase: 1
12-
ignoredNodes:
13-
- 'ConditionalExpression > ConditionalExpression'
1412
linebreak-style:
1513
- error
1614
- unix

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ The token grabber feature allows this plugin to effectively use any Vault authen
2727

2828
2. By default, secrets should be created using the following path template:
2929
`/secret/vaultPass/[someOrg]/[url]` where:
30-
3130
- `someOrg` will be some organisational level in your company to separate access levels
3231
- You can activate and deactivate these "folders" in options
3332
- `url` is a RegEx used to match the website's URL that the credentials are for

browser-polyfill.min.js

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
else if ('undefined' != typeof exports) b(module);
55
else {
66
var c = { exports: {} };
7-
b(c), (a.browser = c.exports);
7+
(b(c), (a.browser = c.exports));
88
}
99
})(
1010
'undefined' == typeof globalThis
@@ -235,10 +235,13 @@
235235
);
236236
class c extends WeakMap {
237237
constructor(a, b = void 0) {
238-
super(b), (this.createItem = a);
238+
(super(b), (this.createItem = a));
239239
}
240240
get(a) {
241-
return this.has(a) || this.set(a, this.createItem(a)), super.get(a);
241+
return (
242+
this.has(a) || this.set(a, this.createItem(a)),
243+
super.get(a)
244+
);
242245
}
243246
}
244247
const d = (a) =>
@@ -249,9 +252,9 @@
249252
a.runtime.lastError
250253
? b.reject(new Error(a.runtime.lastError.message))
251254
: c.singleCallbackArg ||
252-
(1 >= d.length && !1 !== c.singleCallbackArg)
253-
? b.resolve(d[0])
254-
: b.resolve(d);
255+
(1 >= d.length && !1 !== c.singleCallbackArg)
256+
? b.resolve(d[0])
257+
: b.resolve(d);
255258
},
256259
f = (a) => (1 == a ? 'argument' : 'arguments'),
257260
g = (a, b) =>
@@ -273,15 +276,15 @@
273276
try {
274277
c[a](...d, e({ resolve: f, reject: g }, b));
275278
} catch (e) {
276-
console.warn(
279+
(console.warn(
277280
`${a} API method doesn't seem to support the callback parameter, ` +
278281
'falling back to call it without a callback: ',
279282
e
280283
),
281284
c[a](...d),
282285
(b.fallbackToNoCallback = !1),
283286
(b.noCallback = !0),
284-
f();
287+
f());
285288
}
286289
else
287290
b.noCallback
@@ -334,10 +337,10 @@
334337
}),
335338
k
336339
);
337-
return (d[f] = k), k;
340+
return ((d[f] = k), k);
338341
},
339342
set(b, c, e) {
340-
return c in d ? (d[c] = e) : (a[c] = e), !0;
343+
return (c in d ? (d[c] = e) : (a[c] = e), !0);
341344
},
342345
defineProperty(a, b, c) {
343346
return Reflect.defineProperty(d, b, c);
@@ -378,7 +381,7 @@
378381
h = !1,
379382
i = new Promise((a) => {
380383
f = function (b) {
381-
(h = !0), a(b);
384+
((h = !0), a(b));
382385
};
383386
});
384387
try {
@@ -395,15 +398,15 @@
395398
},
396399
(a) => {
397400
let b;
398-
(b =
401+
((b =
399402
a &&
400403
(a instanceof Error || 'string' == typeof a.message)
401404
? a.message
402405
: 'An unexpected error occurred'),
403406
e({
404407
__mozWebExtensionPolyfillReject__: !0,
405408
message: b,
406-
});
409+
}));
407410
}
408411
).catch((a) => {
409412
console.error(
@@ -412,7 +415,7 @@
412415
);
413416
});
414417
};
415-
return j ? k(g) : k(i), !0;
418+
return (j ? k(g) : k(i), !0);
416419
}
417420
: a
418421
),
@@ -423,8 +426,8 @@
423426
? c()
424427
: b(new Error(a.runtime.lastError.message))
425428
: d && d.__mozWebExtensionPolyfillReject__
426-
? b(new Error(d.message))
427-
: c(d);
429+
? b(new Error(d.message))
430+
: c(d);
428431
},
429432
o = (a, b, c, ...d) => {
430433
if (d.length < b.minArgs)
@@ -441,7 +444,7 @@
441444
);
442445
return new Promise((a, b) => {
443446
const e = n.bind(null, { resolve: a, reject: b });
444-
d.push(e), c.sendMessage(...d);
447+
(d.push(e), c.sendMessage(...d));
445448
});
446449
},
447450
p = {

chooseMatch.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html>
33
<head>
44
<title>Vault for Chrome: Multiple Matches Found</title>

options.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />

package-lock.json

Lines changed: 14 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

popup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html>
33
<head>
44
<title>Vault for Chrome</title>

style.css

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ main {
130130
background: var(--color-surface);
131131
border-radius: var(--radius);
132132
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
133-
transition: transform 0.2s, box-shadow 0.2s;
133+
transition:
134+
transform 0.2s,
135+
box-shadow 0.2s;
134136
display: flex;
135137
flex-direction: column;
136138
justify-content: space-between;
@@ -181,7 +183,10 @@ main {
181183
font-size: var(--font-base);
182184
font-weight: 600;
183185
cursor: pointer;
184-
transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
186+
transition:
187+
background 0.2s,
188+
box-shadow 0.2s,
189+
transform 0.2s;
185190
}
186191
.button:hover {
187192
background: var(--grey-light);
@@ -228,7 +233,9 @@ textarea {
228233
border: 1px solid var(--color-border);
229234
border-radius: var(--radius);
230235
font-size: var(--font-base);
231-
transition: border-color 0.2s, box-shadow 0.2s;
236+
transition:
237+
border-color 0.2s,
238+
box-shadow 0.2s;
232239
background: var(--color-surface);
233240
color: var(--color-text);
234241
box-sizing: border-box;
@@ -301,7 +308,11 @@ textarea:focus {
301308

302309
/* float above the line */
303310
margin-bottom: -1px;
304-
transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
311+
transition:
312+
color 0.2s,
313+
background 0.2s,
314+
border-color 0.2s,
315+
box-shadow 0.2s;
305316
}
306317

307318
.tab:hover {

0 commit comments

Comments
 (0)