Skip to content

Commit 0e2246d

Browse files
authored
Update deps (#1038)
* chore(deps): upgrade python dependencies * chore(deps): update js deps also run npm run fix and fix npm run lint * fix(tests): fix things broken by the upgrade * chore(release): update Firefox and release notes * fix(test): only use non-prefixed WebRTC classes in test
1 parent eb2a106 commit 0e2246d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+4645
-17442
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
repos:
22
- repo: https://github.com/timothycrosley/isort
3-
rev: 5.10.1
3+
rev: 5.12.0
44
hooks:
5-
- id: isort
5+
- id: isort
66
- repo: https://github.com/psf/black
7-
rev: 22.3.0
7+
rev: 23.3.0
88
hooks:
99
- id: black
1010
language_version: python3
1111
- repo: https://github.com/pre-commit/mirrors-mypy
12-
rev: v0.942
12+
rev: v1.3.0
1313
hooks:
1414
- id: mypy
15-
additional_dependencies: [pytest, types-tabulate, types-PyYAML, types-redis]
15+
additional_dependencies:
16+
[pytest, types-tabulate, types-PyYAML, types-redis]
1617
# We may need to add more and more dependencies here, as pre-commit
1718
# runs in an environment without our dependencies
1819
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
19-
rev: v8.0.0
20+
rev: v9.5.0
2021
hooks:
2122
- id: commitlint
2223
stages: [commit-msg]
23-
24-

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v0.22.0 - 2023-06-17
4+
5+
Bump to Firefox 114.0.1
6+
37
## v0.21.1 - 2022-10-13
48

59
Fix erronous change to demo.py

Extension/.eslintrc.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@ module.exports = {
2424
"node_modules/",
2525
],
2626
plugins: [
27+
"eslint-plugin-html",
2728
"eslint-plugin-import",
2829
"eslint-plugin-jsdoc",
30+
"eslint-plugin-json",
2931
"eslint-plugin-unicorn",
3032
"eslint-plugin-mozilla",
33+
"eslint-plugin-no-unsanitized",
3134
],
3235
rules: {
3336
"arrow-parens": ["off", "always"],
@@ -44,7 +47,13 @@ module.exports = {
4447
"import/no-internal-modules": "error",
4548
"jsdoc/check-alignment": "error",
4649
"jsdoc/check-indentation": "error",
47-
"jsdoc/newline-after-description": "error",
50+
"jsdoc/tag-lines": [
51+
'error',
52+
'any',
53+
{
54+
startLines: 1,
55+
},
56+
],
4857
"linebreak-style": "off",
4958
"max-classes-per-file": ["error", 1],
5059
"max-len": "off",

Extension/bundled/manifest.json

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"version": "1.0",
55
"description": "OpenWPM Client Extension",
66
"background": {
7-
"scripts": ["feature.js"]
7+
"scripts": [
8+
"feature.js"
9+
]
810
},
911
"content_scripts": [],
1012
"applications": {
@@ -25,33 +27,51 @@
2527
"alarms",
2628
"downloads",
2729
"tabs",
28-
"dns"
30+
"dns",
31+
"mozillaAddons"
2932
],
30-
3133
"experiment_apis": {
3234
"sockets": {
3335
"schema": "./privileged/sockets/schema.json",
3436
"parent": {
35-
"scopes": ["addon_parent"],
37+
"scopes": [
38+
"addon_parent"
39+
],
3640
"script": "./privileged/sockets/api.js",
37-
"paths": [["sockets"]]
41+
"paths": [
42+
[
43+
"sockets"
44+
]
45+
]
3846
}
3947
},
4048
"profileDirIO": {
4149
"schema": "./privileged/profileDirIO/schema.json",
4250
"parent": {
43-
"scopes": ["addon_parent"],
51+
"scopes": [
52+
"addon_parent"
53+
],
4454
"script": "./privileged/profileDirIO/api.js",
45-
"paths": [["profileDirIO"]]
55+
"paths": [
56+
[
57+
"profileDirIO"
58+
]
59+
]
4660
}
4761
},
4862
"stackDump": {
4963
"schema": "./privileged/stackDump/schema.json",
5064
"parent": {
51-
"scopes": ["addon_parent"],
65+
"scopes": [
66+
"addon_parent"
67+
],
5268
"script": "./privileged/stackDump/api.js",
53-
"paths": [["stackDump"]]
69+
"paths": [
70+
[
71+
"stackDump"
72+
]
73+
]
5474
}
5575
}
5676
}
57-
}
77+
}

0 commit comments

Comments
 (0)