Skip to content

Commit

Permalink
Rename WTM webextension-packages to reporting
Browse files Browse the repository at this point in the history
addresses #1723
  • Loading branch information
chrmod committed Jul 8, 2024
1 parent 9385ed1 commit 05797ad
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 29 deletions.
2 changes: 1 addition & 1 deletion extension-manifest-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@ghostery/trackers-preview": "^1.0.0",
"@ghostery/ui": "^1.0.0",
"@sentry/browser": "7.1.1",
"@whotracksme/webextension-packages": "^5.0.16",
"@whotracksme/reporting": "^5.1.17",
"classnames": "^2.3.2",
"d3": "^7.8.5",
"foundation-sites": "^6.6.2",
Expand Down
2 changes: 1 addition & 1 deletion extension-manifest-v3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@ghostery/trackers-preview": "^1.0.0",
"@ghostery/ui": "^1.0.0",
"@github/relative-time-element": "^4.3.0",
"@whotracksme/webextension-packages": "^5.0.16",
"@whotracksme/reporting": "^5.1.17",
"hybrids": "^9.0.0",
"idb": "^7.1.1",
"jwt-decode": "^4.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0
*/

import AnonymousCommunication from '@whotracksme/webextension-packages/packages/anonymous-communication';
import AnonymousCommunication from '@whotracksme/reporting/communication';

import config from './config.js';
import prefixedIndexedDBKeyValueStore from './storage-indexeddb.js';
Expand Down
5 changes: 1 addition & 4 deletions extension-manifest-v3/src/background/reporting/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
// TODO: This is a temporary solution to avoid throwing errors in iOS Safari
import './webrequest-monkey-patch.js';

import {
setLogLevel,
describeLoggers,
} from '@whotracksme/webextension-packages/packages/reporting';
import { setLogLevel, describeLoggers } from '@whotracksme/reporting/reporting';

import { observe } from '/store/options.js';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0
*/

import { UrlReporter } from '@whotracksme/webextension-packages/packages/reporting';
import { UrlReporter } from '@whotracksme/reporting/reporting';
import { getBrowserInfo } from '@ghostery/libs';

import config from './config.js';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import {
WebRequestPipeline,
RequestReporter,
} from '@whotracksme/webextension-packages/packages/reporting';
} from '@whotracksme/reporting/reporting';
import { getBrowserInfo } from '@ghostery/libs';

import { observe, GLOBAL_PAUSE_ID } from '/store/options.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { recordMouseDown } from '@whotracksme/webextension-packages/packages/reporting/src/request/content-script.js';
import { recordMouseDown } from '@whotracksme/reporting/reporting/src/request/content-script.js';

window.addEventListener('mousedown', (ev) => {
const { event, context, href } = recordMouseDown(ev);
Expand Down
35 changes: 16 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 05797ad

Please sign in to comment.