@ghostery/config 0.0.5 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2025 Ghostery GmbH
2
+ // Copyright 2025-2026 Ghostery GmbH
3
3
  //
4
4
  // Use of this source code is governed by an MIT-style
5
5
  // license that can be found in the LICENSE file or at
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
- // Copyright 2025 Ghostery GmbH
2
+ // Copyright 2025-2026 Ghostery GmbH
3
3
  //
4
4
  // Use of this source code is governed by an MIT-style
5
5
  // license that can be found in the LICENSE file or at
6
6
  // https://opensource.org/licenses/MIT.
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.FLAGS = exports.FLAG_NOTIFICATION_REVIEW = exports.FLAG_ONBOARDING_SURVEY = exports.FLAG_REDIRECT_PROTECTION = exports.FLAG_PAUSE_ASSISTANT = exports.FLAG_MODES = exports.FLAG_INJECTION_TARGET_DOCUMENT_ID = exports.FLAG_FIREFOX_CONTENT_SCRIPT_SCRIPTLETS = exports.FLAG_EXTENDED_SELECTORS = exports.FLAG_DYNAMIC_DNR_FIXES = exports.FLAG_CHROMIUM_INJECT_COSMETICS_ON_RESPONSE_STARTED = void 0;
8
+ exports.FLAGS = exports.FLAG_SUBFRAME_SCRIPTING = exports.FLAG_NOTIFICATION_REVIEW = exports.FLAG_ONBOARDING_SURVEY = exports.FLAG_REDIRECT_PROTECTION = exports.FLAG_PAUSE_ASSISTANT = exports.FLAG_MODES = exports.FLAG_INJECTION_TARGET_DOCUMENT_ID = exports.FLAG_FIREFOX_CONTENT_SCRIPT_SCRIPTLETS = exports.FLAG_EXTENDED_SELECTORS = exports.FLAG_DYNAMIC_DNR_FIXES = exports.FLAG_CHROMIUM_INJECT_COSMETICS_ON_RESPONSE_STARTED = void 0;
9
9
  exports.isFlag = isFlag;
10
10
  exports.FLAG_CHROMIUM_INJECT_COSMETICS_ON_RESPONSE_STARTED = "chromium-inject-cosmetics-on-response-started";
11
11
  exports.FLAG_DYNAMIC_DNR_FIXES = "dynamic-dnr-fixes";
@@ -17,6 +17,7 @@ exports.FLAG_PAUSE_ASSISTANT = "pause-assistant";
17
17
  exports.FLAG_REDIRECT_PROTECTION = "redirect-protection";
18
18
  exports.FLAG_ONBOARDING_SURVEY = "onboarding-survey";
19
19
  exports.FLAG_NOTIFICATION_REVIEW = "notification-review";
20
+ exports.FLAG_SUBFRAME_SCRIPTING = "subframe-scripting";
20
21
  exports.FLAGS = [
21
22
  exports.FLAG_CHROMIUM_INJECT_COSMETICS_ON_RESPONSE_STARTED,
22
23
  exports.FLAG_DYNAMIC_DNR_FIXES,
@@ -28,6 +29,7 @@ exports.FLAGS = [
28
29
  exports.FLAG_REDIRECT_PROTECTION,
29
30
  exports.FLAG_ONBOARDING_SURVEY,
30
31
  exports.FLAG_NOTIFICATION_REVIEW,
32
+ exports.FLAG_SUBFRAME_SCRIPTING,
31
33
  ];
32
34
  function isFlag(flag) {
33
35
  return exports.FLAGS.includes(flag);
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2025 Ghostery GmbH
2
+ // Copyright 2025-2026 Ghostery GmbH
3
3
  //
4
4
  // Use of this source code is governed by an MIT-style
5
5
  // license that can be found in the LICENSE file or at
@@ -1,19 +1,19 @@
1
1
  "use strict";
2
- // Copyright 2025 Ghostery GmbH
2
+ // Copyright 2025-2026 Ghostery GmbH
3
3
  //
4
4
  // Use of this source code is governed by an MIT-style
5
5
  // license that can be found in the LICENSE file or at
6
6
  // https://opensource.org/licenses/MIT.
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.PLATFORMS = exports.PLATFORM_SAFARI = exports.PLATFORM_FIREFOX = exports.PLATFORM_CHROMIUM = void 0;
8
+ exports.PLATFORMS = exports.PLATFORM_WEBKIT = exports.PLATFORM_FIREFOX = exports.PLATFORM_CHROMIUM = void 0;
9
9
  exports.isPlatform = isPlatform;
10
10
  exports.PLATFORM_CHROMIUM = "chromium";
11
11
  exports.PLATFORM_FIREFOX = "firefox";
12
- exports.PLATFORM_SAFARI = "safari";
12
+ exports.PLATFORM_WEBKIT = "webkit";
13
13
  exports.PLATFORMS = [
14
14
  exports.PLATFORM_CHROMIUM,
15
15
  exports.PLATFORM_FIREFOX,
16
- exports.PLATFORM_SAFARI,
16
+ exports.PLATFORM_WEBKIT,
17
17
  ];
18
18
  function isPlatform(platform) {
19
19
  return exports.PLATFORMS.includes(platform);
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Ghostery GmbH
1
+ // Copyright 2025-2026 Ghostery GmbH
2
2
  //
3
3
  // Use of this source code is governed by an MIT-style
4
4
  // license that can be found in the LICENSE file or at
package/dist/esm/flags.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Ghostery GmbH
1
+ // Copyright 2025-2026 Ghostery GmbH
2
2
  //
3
3
  // Use of this source code is governed by an MIT-style
4
4
  // license that can be found in the LICENSE file or at
@@ -13,6 +13,7 @@ export const FLAG_PAUSE_ASSISTANT = "pause-assistant";
13
13
  export const FLAG_REDIRECT_PROTECTION = "redirect-protection";
14
14
  export const FLAG_ONBOARDING_SURVEY = "onboarding-survey";
15
15
  export const FLAG_NOTIFICATION_REVIEW = "notification-review";
16
+ export const FLAG_SUBFRAME_SCRIPTING = "subframe-scripting";
16
17
  export const FLAGS = [
17
18
  FLAG_CHROMIUM_INJECT_COSMETICS_ON_RESPONSE_STARTED,
18
19
  FLAG_DYNAMIC_DNR_FIXES,
@@ -24,6 +25,7 @@ export const FLAGS = [
24
25
  FLAG_REDIRECT_PROTECTION,
25
26
  FLAG_ONBOARDING_SURVEY,
26
27
  FLAG_NOTIFICATION_REVIEW,
28
+ FLAG_SUBFRAME_SCRIPTING,
27
29
  ];
28
30
  export function isFlag(flag) {
29
31
  return FLAGS.includes(flag);
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Ghostery GmbH
1
+ // Copyright 2025-2026 Ghostery GmbH
2
2
  //
3
3
  // Use of this source code is governed by an MIT-style
4
4
  // license that can be found in the LICENSE file or at
@@ -1,15 +1,15 @@
1
- // Copyright 2025 Ghostery GmbH
1
+ // Copyright 2025-2026 Ghostery GmbH
2
2
  //
3
3
  // Use of this source code is governed by an MIT-style
4
4
  // license that can be found in the LICENSE file or at
5
5
  // https://opensource.org/licenses/MIT.
6
6
  export const PLATFORM_CHROMIUM = "chromium";
7
7
  export const PLATFORM_FIREFOX = "firefox";
8
- export const PLATFORM_SAFARI = "safari";
8
+ export const PLATFORM_WEBKIT = "webkit";
9
9
  export const PLATFORMS = [
10
10
  PLATFORM_CHROMIUM,
11
11
  PLATFORM_FIREFOX,
12
- PLATFORM_SAFARI,
12
+ PLATFORM_WEBKIT,
13
13
  ];
14
14
  export function isPlatform(platform) {
15
15
  return PLATFORMS.includes(platform);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ghostery/config",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "Shared TypeScript types for Ghostery configuration",
5
5
  "files": [
6
6
  "dist"
@@ -26,6 +26,11 @@
26
26
  ],
27
27
  "author": "",
28
28
  "license": "MIT",
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "https://github.com/ghostery/broken-page-reports",
32
+ "directory": "packages/config"
33
+ },
29
34
  "publishConfig": {
30
35
  "access": "public"
31
36
  },