Skip to content

Commit

Permalink
Update deps (#1038)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
vringar authored Jun 25, 2023
1 parent eb2a106 commit 0e2246d
Show file tree
Hide file tree
Showing 45 changed files with 4,645 additions and 17,442 deletions.
15 changes: 7 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
repos:
- repo: https://github.com/timothycrosley/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
- id: isort
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 23.3.0
hooks:
- id: black
language_version: python3
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.942
rev: v1.3.0
hooks:
- id: mypy
additional_dependencies: [pytest, types-tabulate, types-PyYAML, types-redis]
additional_dependencies:
[pytest, types-tabulate, types-PyYAML, types-redis]
# We may need to add more and more dependencies here, as pre-commit
# runs in an environment without our dependencies
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v8.0.0
rev: v9.5.0
hooks:
- id: commitlint
stages: [commit-msg]


4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v0.22.0 - 2023-06-17

Bump to Firefox 114.0.1

## v0.21.1 - 2022-10-13

Fix erronous change to demo.py
Expand Down
11 changes: 10 additions & 1 deletion Extension/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ module.exports = {
"node_modules/",
],
plugins: [
"eslint-plugin-html",
"eslint-plugin-import",
"eslint-plugin-jsdoc",
"eslint-plugin-json",
"eslint-plugin-unicorn",
"eslint-plugin-mozilla",
"eslint-plugin-no-unsanitized",
],
rules: {
"arrow-parens": ["off", "always"],
Expand All @@ -44,7 +47,13 @@ module.exports = {
"import/no-internal-modules": "error",
"jsdoc/check-alignment": "error",
"jsdoc/check-indentation": "error",
"jsdoc/newline-after-description": "error",
"jsdoc/tag-lines": [
'error',
'any',
{
startLines: 1,
},
],
"linebreak-style": "off",
"max-classes-per-file": ["error", 1],
"max-len": "off",
Expand Down
40 changes: 30 additions & 10 deletions Extension/bundled/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"version": "1.0",
"description": "OpenWPM Client Extension",
"background": {
"scripts": ["feature.js"]
"scripts": [
"feature.js"
]
},
"content_scripts": [],
"applications": {
Expand All @@ -25,33 +27,51 @@
"alarms",
"downloads",
"tabs",
"dns"
"dns",
"mozillaAddons"
],

"experiment_apis": {
"sockets": {
"schema": "./privileged/sockets/schema.json",
"parent": {
"scopes": ["addon_parent"],
"scopes": [
"addon_parent"
],
"script": "./privileged/sockets/api.js",
"paths": [["sockets"]]
"paths": [
[
"sockets"
]
]
}
},
"profileDirIO": {
"schema": "./privileged/profileDirIO/schema.json",
"parent": {
"scopes": ["addon_parent"],
"scopes": [
"addon_parent"
],
"script": "./privileged/profileDirIO/api.js",
"paths": [["profileDirIO"]]
"paths": [
[
"profileDirIO"
]
]
}
},
"stackDump": {
"schema": "./privileged/stackDump/schema.json",
"parent": {
"scopes": ["addon_parent"],
"scopes": [
"addon_parent"
],
"script": "./privileged/stackDump/api.js",
"paths": [["stackDump"]]
"paths": [
[
"stackDump"
]
]
}
}
}
}
}
Loading

0 comments on commit 0e2246d

Please sign in to comment.