Skip to content

Commit 3d7e0a0

Browse files
committed
Update libraries and fix js-yaml vuln
js-yaml was used in the dev environment by eslint. Updating this (and others) will improve security. This did not affect the security of the browser extension!
1 parent 2b5ac37 commit 3d7e0a0

6 files changed

Lines changed: 55 additions & 533 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: end-of-file-fixer
1111
- id: check-symlinks
1212
- repo: https://github.com/pre-commit/mirrors-eslint
13-
rev: v9.37.0 # Use the sha / tag you want to point at
13+
rev: v9.39.1 # Use the sha / tag you want to point at
1414
hooks:
1515
- id: eslint
1616
exclude: >

background.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
/* global URL */
22
importScripts('browser-polyfill.min.js');
33

4+
// Manifest V3 uses browser.action instead of browserAction
5+
if (!browser.browserAction) {
6+
browser.browserAction = browser.action;
7+
}
8+
49
const idealTokenTTL = '24h';
510
const tokenCheckAlarm = 'tokenCheck';
611
const tokenRenewAlarm = 'tokenRenew';

0 commit comments

Comments
 (0)